ppt.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /******************************************************************************
  2. Point Of Sale - Product Template module for Odoo
  3. Copyright (C) 2014-Today Akretion (http://www.akretion.com)
  4. @author Sylvain LE GAL (https://twitter.com/legalsylvain)
  5. Some part of code from Odoo Project,
  6. Copyright (C) 2004-Today Odoo SA. (<http://odoo.com>).
  7. This program is free software: you can redistribute it and/or modify
  8. it under the terms of the GNU Affero General Public License as
  9. published by the Free Software Foundation, either version 3 of the
  10. License, or (at your option) any later version.
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. GNU Affero General Public License for more details.
  15. You should have received a copy of the GNU Affero General Public License
  16. along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. ******************************************************************************/
  18. /* ********* Variant Selector PopUp ************************************** */
  19. .pos .modal-dialog .popup-select-variant{
  20. margin-left:0;
  21. margin-top:0;
  22. left:5%;
  23. width: 90%;
  24. top:5%;
  25. height:85%;
  26. }
  27. .pos .modal-dialog .popup-select-variant .variant-title{
  28. height: 8%;
  29. }
  30. .pos .modal-dialog .popup-select-variant .variant-title #variant-popup-cancel{
  31. margin: -10px 3px 3px 3px;
  32. }
  33. .pos .modal-dialog .popup-select-variant .container-attribute-list{
  34. width:100%;
  35. height:40%;
  36. overflow: hidden;
  37. overflow-y: auto;
  38. border-bottom: 1px dashed #444;
  39. -webkit-overflow-scrolling: touch;
  40. }
  41. .pos .modal-dialog .popup-select-variant .container-variant-list{
  42. width:100%;
  43. height:50%;
  44. overflow: hidden;
  45. overflow-y: auto;
  46. -webkit-overflow-scrolling: touch;
  47. }
  48. .pos .variant-list {
  49. padding: 10px;
  50. text-align: left;
  51. -webkit-transform: translate3d(0,0,0);
  52. }
  53. /* ********* Attribut Display ******************************************** */
  54. .pos .attribute {
  55. position:relative;
  56. width: 100%;
  57. vertical-align: top;
  58. display: inline-block;
  59. }
  60. .pos .attribute .attribute-name{
  61. float: left;
  62. font-size: 13px;
  63. width: 20%;
  64. overflow:hidden;
  65. }
  66. .pos .attribute .value-list-container{
  67. width:78%;
  68. float: left;
  69. }
  70. .pos .attribute .selected{
  71. background-color: white;
  72. }
  73. .pos .attribute .attribute-value {
  74. float: left;
  75. width: 150px;
  76. padding-left: 15px;
  77. }
  78. .pos .attribute .attribute-value .button{
  79. width: 100%;
  80. }
  81. .pos .attribute .attribute-value .attribute-value-header{
  82. width: 100%;
  83. height: 15px;
  84. text-align: right;
  85. }
  86. .pos .attribute .attribute-value .attribute-value-name{
  87. width: 100%;
  88. height: 25px;
  89. line-height:25px;
  90. overflow: hidden;
  91. font-size: 10px;
  92. text-align: left;
  93. font-weight: normal;
  94. padding: 2px;
  95. }
  96. .pos .attribute .attribute-value .variant-quantity{
  97. position: relative;
  98. top: 2px;
  99. right: 0px;
  100. vertical-align: top;
  101. color: #FFF;
  102. line-height: 13px;
  103. background: none repeat scroll 0% 0% #7F82AC;
  104. padding: 2px 5px;
  105. border-radius: 2px;
  106. font-size: 9px;
  107. margin-right:3px;
  108. }
  109. /* ********* Variant Display ********************************************* */
  110. /* This part is a copy paste from Odoo Project, with some values changed */
  111. .pos .variant {
  112. position:relative;
  113. vertical-align: top;
  114. display: inline-block;
  115. line-height: 100px;
  116. font-size: 11px;
  117. margin: 5px !important;
  118. width: 200px;
  119. height: 150px;
  120. background:#fff;
  121. border: 1px solid #e2e2e2;
  122. border-radius: 3px;
  123. border-bottom-width: 3px;
  124. overflow: hidden;
  125. cursor: pointer;
  126. }
  127. .pos .variant .variant-header {
  128. position: relative;
  129. width: 200px;
  130. height: 50px;
  131. background: white;
  132. text-align: center;
  133. }
  134. .pos .variant .price-tag {
  135. position: absolute;
  136. top: 2px;
  137. right: 2px;
  138. vertical-align: top;
  139. color: white;
  140. line-height: 13px;
  141. background: #7f82ac;
  142. padding: 2px 5px;
  143. border-radius: 2px;
  144. }
  145. .pos .variant .variant-name {
  146. font-weight: normal;
  147. position: absolute;
  148. -webkit-box-sizing: border-box;
  149. -moz-box-sizing: border-box;
  150. -ms-box-sizing: border-box;
  151. box-sizing: border-box;
  152. bottom:0;
  153. top:auto;
  154. line-height: 14px;
  155. width:100%;
  156. overflow: hidden;
  157. text-overflow: ellipsis;
  158. background: -webkit-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
  159. background: -moz-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
  160. background: -ms-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
  161. /* troublesome in latest webkit
  162. background: linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
  163. */
  164. /*background:#FFF;*/
  165. padding: 3px;
  166. padding-top:15px;
  167. }
  168. /*.pos .variant-list-scroller{*/
  169. /* -webkit-box-sizing: border-box;*/
  170. /* -moz-box-sizing: border-box;*/
  171. /* -ms-box-sizing: border-box;*/
  172. /* box-sizing: border-box;*/
  173. /* width:50%;*/
  174. /* height:50%;*/
  175. /* overflow: hidden;*/
  176. /* overflow-y: auto;*/
  177. /* -webkit-overflow-scrolling: touch;*/
  178. /* -webkit-transform: translate3d(0,0,0);*/
  179. /*}*/