You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

screen.scss 7.7KB

8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. /* Welcome to Compass.
  2. * In this file you should write your main styles. (or centralize your imports)
  3. * Import this file using the following HTML or equivalent:
  4. * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
  5. @import "compass" ;
  6. .clr {
  7. clear: both ;
  8. }
  9. .nav-header {
  10. @include box-shadow(0px 0px 5px black) ;
  11. .retour-site {
  12. //color: #9d9d9d ;
  13. border-left : solid 1px #9d9d9d ;
  14. //@include border-radius(5px) ;
  15. padding: 10px 15px ;
  16. }
  17. }
  18. .container-body {
  19. padding-top: 70px ;
  20. }
  21. .nom-boulange {
  22. margin-bottom: 15px ;
  23. text-align: center ;
  24. span {
  25. position: relative ;
  26. top: -12px ;
  27. background-color: #337ab7 ;
  28. color: white ;
  29. @include border-radius(0px 0px 5px 5px) ;
  30. font-size: 20px ;
  31. padding: 8px 15px ;
  32. margin-bottom: 20px ;
  33. }
  34. }
  35. .table {
  36. thead {
  37. th.actions {
  38. width: 220px ;
  39. }
  40. th.order {
  41. width: 58px ;
  42. }
  43. th.actif {
  44. width: 75px ;
  45. text-align: center;
  46. }
  47. }
  48. tbody {
  49. td.center {
  50. text-align: center ;
  51. }
  52. }
  53. }
  54. #page-commande {
  55. #row2 {
  56. }
  57. h1 {
  58. .btn-group {
  59. float: right ;
  60. }
  61. }
  62. #jours-production {
  63. display: none ;
  64. }
  65. #calendar {
  66. h2 {
  67. font-size: 20px ;
  68. position: relative ;
  69. top: 3px ;
  70. }
  71. .fc-header-title {
  72. margin-left: 10px ;
  73. }
  74. $back-day-with-event: lighten(#FDD44B,13) ;
  75. //$back-day-with-event: #FDD44B ;
  76. .dayWithEvent {
  77. background-color: $back-day-with-event ;
  78. cursor: pointer;
  79. }
  80. .fc-event-container {display: none;}
  81. .fc-today {
  82. border-bottom: solid 1px #C9302C ;
  83. background-color: white ;
  84. &.dayWithEvent {
  85. background-color: $back-day-with-event ;
  86. }
  87. }
  88. .fc-day {
  89. cursor: pointer ;
  90. text-align: center ;
  91. &:hover {
  92. @include box-shadow(0px 0px 2px black inset) ;
  93. }
  94. }
  95. .current-date {
  96. @include box-shadow(0px 0px 2px black inset) ;
  97. }
  98. .fc-day-number {
  99. float: none ;
  100. padding-top: 2px ;
  101. }
  102. }
  103. #produits-production {
  104. .overflow {
  105. //max-height: 400px ;
  106. //overflow-y: scroll ;
  107. table {
  108. width: 100%;
  109. }
  110. thead, tbody, tr, td, th { display: block; }
  111. tr:after {
  112. content: ' ';
  113. display: block;
  114. visibility: hidden;
  115. clear: both;
  116. }
  117. thead th {
  118. height: 30px;
  119. /*text-align: left;*/
  120. }
  121. tbody {
  122. height: 200px;
  123. overflow-y: auto;
  124. }
  125. thead {
  126. /* fallback */
  127. }
  128. thead th {
  129. width: 32%;
  130. float: left;
  131. }
  132. tbody td{
  133. width: 33%;
  134. float: left;
  135. }
  136. }
  137. input.quantite-max {
  138. background-color: white;
  139. border: 1px solid #e0e0e0;
  140. text-align: center;
  141. width: 50px;
  142. }
  143. td {
  144. label {
  145. font-weight: normal ;
  146. }
  147. }
  148. }
  149. .form-commandes-point-vente {
  150. margin-top: 20px ;
  151. table {
  152. border-bottom: solid 1px #e0e0e0 ;
  153. }
  154. .title-point-vente {
  155. background-color: lighten(#fdd44b, 30) ;
  156. border-left: solid 3px #fdd44b ;
  157. font-weight: bold ;
  158. text-align: left ;
  159. padding: 10px ;
  160. }
  161. .title-totaux {
  162. text-align: center ;
  163. }
  164. .border-left {
  165. border-left: solid 1px #e0e0e0 ;
  166. }
  167. .border-right {
  168. border-right: solid 1px #e0e0e0 ;
  169. }
  170. input.quantite {
  171. //width: 50px ;
  172. width: 30px ;
  173. background-color: white ;
  174. border: solid 1px #e0e0e0 ;
  175. text-align: center ;
  176. }
  177. .td-produit {
  178. text-align: center ;
  179. }
  180. .submit-pv {
  181. float: right ;
  182. }
  183. .select-user {
  184. background-color: #F9F9F9 ;
  185. border: solid 1px #e0e0e0 ;
  186. }
  187. .date-commande {
  188. font-size: 12px ;
  189. }
  190. .datepicker, .text {
  191. background-color: white ;
  192. border: solid 1px #e0e0e0 ;
  193. margin-top: 3px ;
  194. width: 100px ;
  195. }
  196. td.center {
  197. text-align: center ;
  198. }
  199. .depasse {
  200. color: #b32815 ;
  201. }
  202. .total strong span {
  203. font-weight: normal ;
  204. font-size: 13px ;
  205. }
  206. .vrac {
  207. display: none ;
  208. }
  209. td.client {
  210. text-align: left ;
  211. padding: 3px ;
  212. .date-commande {
  213. color: gray ;
  214. }
  215. }
  216. }
  217. .table-header-rotated th.row-header{
  218. //width: auto;
  219. }
  220. .table-header-rotated td{
  221. width: 20px;
  222. padding: 0px ;
  223. border-top: 1px solid #dddddd;
  224. border-left: 1px solid #dddddd;
  225. border-right: 1px solid #dddddd;
  226. vertical-align: middle;
  227. text-align: center;
  228. }
  229. .table-header-rotated th.rotate-45{
  230. height: 80px;
  231. width: 20px;
  232. min-width: 20px;
  233. max-width: 20px;
  234. position: relative;
  235. vertical-align: bottom;
  236. padding: 0;
  237. font-size: 12px;
  238. line-height: 0.8;
  239. }
  240. .table-header-rotated th.rotate-45 > div{
  241. position: relative;
  242. top: 0px;
  243. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  244. height: 100%;
  245. -ms-transform:skew(-45deg,0deg);
  246. -moz-transform:skew(-45deg,0deg);
  247. -webkit-transform:skew(-45deg,0deg);
  248. -o-transform:skew(-45deg,0deg);
  249. transform:skew(-45deg,0deg);
  250. overflow: hidden;
  251. border-left: 1px solid #dddddd;
  252. border-right: 1px solid #dddddd;
  253. border-top: 1px solid #dddddd;
  254. }
  255. .table-header-rotated th.rotate-45 span {
  256. -ms-transform:skew(45deg,0deg) rotate(315deg);
  257. -moz-transform:skew(45deg,0deg) rotate(315deg);
  258. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  259. -o-transform:skew(45deg,0deg) rotate(315deg);
  260. transform:skew(45deg,0deg) rotate(315deg);
  261. position: absolute;
  262. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  263. bottom: 16px; // pour width 20px
  264. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  265. left: 0px ;
  266. display: inline-block;
  267. // width: 100%;
  268. width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
  269. width: 43px ;
  270. text-align: left;
  271. white-space: nowrap; /*whether to display in one line or not*/
  272. }
  273. }
  274. #email-masse-form {
  275. #ids-users {
  276. line-height: 30px ;
  277. .label {
  278. text-transform: capitalize ;
  279. }
  280. }
  281. }