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.

424 lines
9.2KB

  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. $color1: #BB8757 ;
  7. $color2: #F8F1DD ;
  8. .clr {
  9. clear: both ;
  10. }
  11. a {
  12. color: $color1;
  13. &:hover, &:focus, &:active {
  14. color: darken($color1, 10) ;
  15. }
  16. }
  17. .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  18. background-color: $color1 ;
  19. border: solid 1px $color1 ;
  20. }
  21. .pagination > li > a, .pagination > li > span {
  22. color: $color1 ;
  23. &:hover {
  24. color: darken($color1, 10) ;
  25. }
  26. }
  27. .wrap {
  28. .btn-primary,
  29. .btn-success {
  30. background-color: $color1 ;
  31. border: solid 1px $color1 ;
  32. &:hover, &:focus, &:active {
  33. background-color: darken($color1, 10) ;
  34. border: solid 1px darken($color1, 10) ;
  35. }
  36. }
  37. }
  38. .nav-header {
  39. .retour-site {
  40. border-left : solid 1px #9d9d9d ;
  41. padding: 10px 15px ;
  42. }
  43. }
  44. .navbar-brand {
  45. .logo {
  46. height: 40px ;
  47. position: relative ;
  48. top: -10px ;
  49. }
  50. }
  51. .container-body {
  52. padding-top: 117px ;
  53. padding-bottom: 50px ;
  54. }
  55. .nom-boulange {
  56. margin-bottom: 15px ;
  57. text-align: left ;
  58. position: fixed ;
  59. top: 51px ;
  60. left: 0px ;
  61. width: 100% ;
  62. background-color: $color1 ;
  63. color: white ;
  64. z-index: 100 ;
  65. font-size: 20px ;
  66. padding: 8px 15px ;
  67. }
  68. .table {
  69. thead {
  70. th.actions {
  71. width: 220px ;
  72. }
  73. th.order {
  74. width: 58px ;
  75. }
  76. th.actif {
  77. width: 75px ;
  78. text-align: center;
  79. }
  80. }
  81. tbody {
  82. td.center {
  83. text-align: center ;
  84. }
  85. }
  86. }
  87. #page-commande {
  88. #row2 {
  89. }
  90. h1 {
  91. .btn-group {
  92. float: right ;
  93. }
  94. }
  95. #jours-production {
  96. display: none ;
  97. }
  98. #calendar {
  99. h2 {
  100. font-size: 20px ;
  101. position: relative ;
  102. top: 3px ;
  103. }
  104. .fc-header-title {
  105. margin-left: 10px ;
  106. }
  107. $back-day-with-event: lighten(#FDD44B,13) ;
  108. //$back-day-with-event: #FDD44B ;
  109. .dayWithEvent {
  110. background-color: $back-day-with-event ;
  111. cursor: pointer;
  112. }
  113. .fc-event-container {display: none;}
  114. .fc-today {
  115. border-bottom: solid 1px #C9302C ;
  116. background-color: white ;
  117. &.dayWithEvent {
  118. background-color: $back-day-with-event ;
  119. }
  120. }
  121. .fc-day {
  122. cursor: pointer ;
  123. text-align: center ;
  124. &:hover {
  125. @include box-shadow(0px 0px 2px black inset) ;
  126. }
  127. }
  128. .current-date {
  129. @include box-shadow(0px 0px 2px black inset) ;
  130. }
  131. .fc-day-number {
  132. float: none ;
  133. padding-top: 2px ;
  134. }
  135. }
  136. #produits-production {
  137. .overflow {
  138. //max-height: 400px ;
  139. //overflow-y: scroll ;
  140. table {
  141. width: 100%;
  142. }
  143. thead, tbody, tr, td, th { display: block; }
  144. tr:after {
  145. content: ' ';
  146. display: block;
  147. visibility: hidden;
  148. clear: both;
  149. }
  150. thead th {
  151. height: 30px;
  152. /*text-align: left;*/
  153. }
  154. tbody {
  155. height: 200px;
  156. overflow-y: auto;
  157. }
  158. thead {
  159. }
  160. thead th {
  161. width: 32%;
  162. float: left;
  163. }
  164. tbody td{
  165. width: 33%;
  166. float: left;
  167. }
  168. .td-produit {
  169. width: 60% ;
  170. }
  171. .td-actif, .td-max {
  172. width: 20% ;
  173. text-align: center ;
  174. }
  175. thead {
  176. .td-produit {
  177. width: 57% ;
  178. }
  179. }
  180. }
  181. input.quantite-max {
  182. background-color: white;
  183. border: 1px solid #e0e0e0;
  184. text-align: center;
  185. width: 50px;
  186. }
  187. td {
  188. label {
  189. font-weight: normal ;
  190. }
  191. }
  192. }
  193. .form-commandes-point-vente {
  194. margin-top: 20px ;
  195. table {
  196. border-bottom: solid 1px #e0e0e0 ;
  197. }
  198. .title-point-vente {
  199. background-color: lighten(#fdd44b, 30) ;
  200. border-left: solid 3px $color1 ;
  201. font-weight: bold ;
  202. text-align: left ;
  203. padding: 10px ;
  204. }
  205. .title-totaux {
  206. text-align: center ;
  207. }
  208. .border-left {
  209. border-left: solid 1px #e0e0e0 ;
  210. }
  211. .border-right {
  212. border-right: solid 1px #e0e0e0 ;
  213. }
  214. input.quantite {
  215. //width: 50px ;
  216. width: 30px ;
  217. background-color: white ;
  218. border: solid 1px #e0e0e0 ;
  219. text-align: center ;
  220. }
  221. .td-produit {
  222. text-align: center ;
  223. }
  224. .submit-pv {
  225. float: right ;
  226. }
  227. .select-user {
  228. background-color: #F9F9F9 ;
  229. border: solid 1px #e0e0e0 ;
  230. }
  231. .date-commande {
  232. font-size: 12px ;
  233. }
  234. .datepicker, .text {
  235. background-color: white ;
  236. border: solid 1px #e0e0e0 ;
  237. margin-top: 3px ;
  238. width: 100px ;
  239. }
  240. td.center {
  241. text-align: center ;
  242. }
  243. .depasse {
  244. color: #b32815 ;
  245. }
  246. .total strong span {
  247. font-weight: normal ;
  248. font-size: 13px ;
  249. }
  250. .vrac {
  251. display: none ;
  252. }
  253. td.client {
  254. text-align: left ;
  255. padding: 3px ;
  256. .date-commande {
  257. color: gray ;
  258. }
  259. }
  260. }
  261. .table-header-rotated th.row-header{
  262. //width: auto;
  263. }
  264. .table-header-rotated td{
  265. width: 20px;
  266. padding: 0px ;
  267. border-top: 1px solid #dddddd;
  268. border-left: 1px solid #dddddd;
  269. border-right: 1px solid #dddddd;
  270. vertical-align: middle;
  271. text-align: center;
  272. }
  273. .table-header-rotated th.rotate-45{
  274. height: 80px;
  275. width: 20px;
  276. min-width: 20px;
  277. max-width: 20px;
  278. position: relative;
  279. vertical-align: bottom;
  280. padding: 0;
  281. font-size: 12px;
  282. line-height: 0.8;
  283. }
  284. .table-header-rotated th.rotate-45 > div{
  285. position: relative;
  286. top: 0px;
  287. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  288. height: 100%;
  289. -ms-transform:skew(-45deg,0deg);
  290. -moz-transform:skew(-45deg,0deg);
  291. -webkit-transform:skew(-45deg,0deg);
  292. -o-transform:skew(-45deg,0deg);
  293. transform:skew(-45deg,0deg);
  294. overflow: hidden;
  295. border-left: 1px solid #dddddd;
  296. border-right: 1px solid #dddddd;
  297. border-top: 1px solid #dddddd;
  298. }
  299. .table-header-rotated th.rotate-45 span {
  300. -ms-transform:skew(45deg,0deg) rotate(315deg);
  301. -moz-transform:skew(45deg,0deg) rotate(315deg);
  302. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  303. -o-transform:skew(45deg,0deg) rotate(315deg);
  304. transform:skew(45deg,0deg) rotate(315deg);
  305. position: absolute;
  306. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  307. bottom: 16px; // pour width 20px
  308. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  309. left: 0px ;
  310. display: inline-block;
  311. // width: 100%;
  312. 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*/
  313. width: 43px ;
  314. text-align: left;
  315. white-space: nowrap; /*whether to display in one line or not*/
  316. }
  317. }
  318. #email-masse-form {
  319. #ids-users {
  320. line-height: 30px ;
  321. .label {
  322. text-transform: capitalize ;
  323. }
  324. }
  325. }
  326. .produit-create {
  327. #jours-production {
  328. .form-group {
  329. float: left ;
  330. margin-right: 15px ;
  331. label {
  332. font-weight: normal ;
  333. }
  334. }
  335. }
  336. .field-produit-id_etablissement {
  337. display: none;
  338. }
  339. }
  340. .produit-index {
  341. .td-photo {
  342. max-width: 100px ;
  343. width: 100px ;
  344. }
  345. .photo-produit {
  346. max-width: 100px ;
  347. }
  348. }