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.

478 lines
10KB

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