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.

437 lines
9.5KB

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