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.

638 lines
14KB

  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. $dir-fonts: '../fonts/' ;
  7. @import "_fonts.scss" ;
  8. $color1: #BB8757 ;
  9. $color2: #F8F1DD ;
  10. .clr {
  11. clear: both ;
  12. }
  13. a {
  14. color: $color1;
  15. &:hover, &:focus, &:active {
  16. color: darken($color1, 10) ;
  17. }
  18. }
  19. .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  20. background-color: $color1 ;
  21. border: solid 1px $color1 ;
  22. }
  23. .pagination > li > a, .pagination > li > span {
  24. color: $color1 ;
  25. &:hover {
  26. color: darken($color1, 10) ;
  27. }
  28. }
  29. .wrap {
  30. .btn-primary,
  31. .btn-success {
  32. background-color: $color1 ;
  33. border: solid 1px $color1 ;
  34. &:hover, &:focus, &:active {
  35. background-color: darken($color1, 10) ;
  36. border: solid 1px darken($color1, 10) ;
  37. }
  38. }
  39. }
  40. .nav-header {
  41. .retour-site {
  42. border-left : solid 1px $color2 ;
  43. padding: 10px 15px ;
  44. }
  45. }
  46. .navbar-brand {
  47. .logo {
  48. height: 40px ;
  49. position: relative ;
  50. top: -10px ;
  51. }
  52. }
  53. .container-body {
  54. padding-top: 117px ;
  55. padding-bottom: 50px ;
  56. }
  57. .navbar-inverse {
  58. background-color: $color1 ;
  59. border-bottom: 0px none ;
  60. .navbar-nav {
  61. padding-top: 12px ;
  62. }
  63. .navbar-nav > li > a {
  64. color: white ;
  65. padding: 3px 14px ;
  66. &:hover {
  67. color: $color2 ;
  68. //background-color: $color2 ;
  69. }
  70. }
  71. .navbar-nav > li.active {
  72. a {
  73. background-color: $color2 ;
  74. color: $color1 ;
  75. padding: 3px 14px ;
  76. @include border-radius(10px) ;
  77. &:hover {
  78. background-color: $color2 ;
  79. color: $color1 ;
  80. }
  81. }
  82. }
  83. }
  84. .nom-boulange {
  85. //font-family: 'Georgia' ;
  86. margin-bottom: 15px ;
  87. text-align: left ;
  88. position: fixed ;
  89. top: 51px ;
  90. left: 0px ;
  91. width: 100% ;
  92. background-color: #515151 ;
  93. background-color: $color2 ;
  94. color: darken($color1,15) ;
  95. z-index: 100 ;
  96. font-size: 20px ;
  97. padding: 8px 15px ;
  98. padding-bottom: 2px ;
  99. padding-top: 5px ;
  100. border-bottom: solid 1px #e0e0e0 ;
  101. @include box-shadow(0px 0px 5px gray) ;
  102. #etat-paiement-etablissement {
  103. float: right ;
  104. text-align: right ;
  105. color: darken($color1,15) ;
  106. font-size: 16px ;
  107. .strong {
  108. background-color: white ;
  109. color: $color1 ;
  110. @include border-radius(10px) ;
  111. padding: 0px 10px ;
  112. }
  113. .btn {
  114. padding: 2px 5px ;
  115. }
  116. }
  117. }
  118. .table {
  119. thead {
  120. th.actions {
  121. width: 220px ;
  122. }
  123. th.order {
  124. width: 58px ;
  125. }
  126. th.actif {
  127. width: 75px ;
  128. text-align: center;
  129. }
  130. }
  131. tbody {
  132. td.center {
  133. text-align: center ;
  134. }
  135. }
  136. }
  137. #page-commande {
  138. #row2 {
  139. }
  140. h1 {
  141. .btn-group {
  142. float: right ;
  143. }
  144. }
  145. #jours-production {
  146. display: none ;
  147. }
  148. #calendar {
  149. h2 {
  150. font-size: 20px ;
  151. position: relative ;
  152. top: 3px ;
  153. }
  154. .fc-header-title {
  155. margin-left: 10px ;
  156. }
  157. $back-day-with-event: lighten(#FDD44B,13) ;
  158. //$back-day-with-event: #FDD44B ;
  159. .dayWithEvent {
  160. background-color: $back-day-with-event ;
  161. cursor: pointer;
  162. }
  163. .fc-event-container {display: none;}
  164. .fc-today {
  165. border-bottom: solid 1px #C9302C ;
  166. background-color: white ;
  167. &.dayWithEvent {
  168. background-color: $back-day-with-event ;
  169. }
  170. }
  171. .fc-day {
  172. cursor: pointer ;
  173. text-align: center ;
  174. &:hover {
  175. @include box-shadow(0px 0px 2px black inset) ;
  176. }
  177. }
  178. .current-date {
  179. @include box-shadow(0px 0px 2px black inset) ;
  180. }
  181. .fc-day-number {
  182. float: none ;
  183. padding-top: 2px ;
  184. }
  185. }
  186. #bloc-production {
  187. .label {
  188. float: right ;
  189. font-size: 13px ;
  190. }
  191. .btn-success {
  192. background-color: #5cb85c ;
  193. border-color: #4cae4c ;
  194. }
  195. #btn-export-commandes {
  196. float: right ;
  197. margin-top: 20px ;
  198. }
  199. }
  200. #produits-production {
  201. .overflow {
  202. //max-height: 400px ;
  203. //overflow-y: scroll ;
  204. table {
  205. width: 100%;
  206. }
  207. thead, tbody, tr, td, th { display: block; }
  208. tr:after {
  209. content: ' ';
  210. display: block;
  211. visibility: hidden;
  212. clear: both;
  213. }
  214. thead th {
  215. height: 30px;
  216. /*text-align: left;*/
  217. }
  218. tbody {
  219. height: 200px;
  220. overflow-y: auto;
  221. }
  222. thead {
  223. }
  224. thead th {
  225. width: 32%;
  226. float: left;
  227. }
  228. tbody td{
  229. width: 33%;
  230. float: left;
  231. }
  232. .td-produit {
  233. width: 60% ;
  234. }
  235. .td-actif, .td-max {
  236. width: 20% ;
  237. text-align: center ;
  238. }
  239. thead {
  240. .td-produit {
  241. width: 57% ;
  242. }
  243. }
  244. }
  245. input.quantite-max {
  246. background-color: white;
  247. border: 1px solid #e0e0e0;
  248. text-align: center;
  249. width: 50px;
  250. }
  251. td {
  252. label {
  253. font-weight: normal ;
  254. }
  255. }
  256. }
  257. .form-commandes-point-vente {
  258. margin-top: 20px ;
  259. table {
  260. border-bottom: solid 1px #e0e0e0 ;
  261. }
  262. .title-point-vente {
  263. background-color: lighten(#fdd44b, 30) ;
  264. border-left: solid 3px $color1 ;
  265. font-weight: bold ;
  266. text-align: left ;
  267. padding: 10px ;
  268. }
  269. .title-totaux {
  270. text-align: center ;
  271. }
  272. .border-left {
  273. border-left: solid 1px #e0e0e0 ;
  274. }
  275. .border-right {
  276. border-right: solid 1px #e0e0e0 ;
  277. }
  278. input.quantite {
  279. //width: 50px ;
  280. width: 30px ;
  281. background-color: white ;
  282. border: solid 1px #e0e0e0 ;
  283. text-align: center ;
  284. }
  285. .td-produit {
  286. text-align: center ;
  287. }
  288. .submit-pv {
  289. float: right ;
  290. }
  291. .select-user {
  292. background-color: #F9F9F9 ;
  293. border: solid 1px #e0e0e0 ;
  294. }
  295. .date-commande {
  296. font-size: 12px ;
  297. }
  298. .datepicker, .text {
  299. background-color: white ;
  300. border: solid 1px #e0e0e0 ;
  301. margin-top: 3px ;
  302. width: 100px ;
  303. }
  304. td.center {
  305. text-align: center ;
  306. }
  307. .depasse {
  308. color: #b32815 ;
  309. }
  310. .total strong span {
  311. font-weight: normal ;
  312. font-size: 13px ;
  313. }
  314. .vrac {
  315. display: none ;
  316. }
  317. td.client {
  318. text-align: left ;
  319. padding: 3px ;
  320. .date-commande {
  321. color: gray ;
  322. }
  323. }
  324. }
  325. .table-header-rotated th.row-header{
  326. //width: auto;
  327. }
  328. .table-header-rotated td{
  329. width: 20px;
  330. padding: 0px ;
  331. border-top: 1px solid #dddddd;
  332. border-left: 1px solid #dddddd;
  333. border-right: 1px solid #dddddd;
  334. vertical-align: middle;
  335. text-align: center;
  336. }
  337. .table-header-rotated th.rotate-45{
  338. height: 80px;
  339. width: 20px;
  340. min-width: 20px;
  341. max-width: 20px;
  342. position: relative;
  343. vertical-align: bottom;
  344. padding: 0;
  345. font-size: 12px;
  346. line-height: 0.8;
  347. }
  348. .table-header-rotated th.rotate-45 > div{
  349. position: relative;
  350. top: 0px;
  351. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  352. height: 100%;
  353. -ms-transform:skew(-45deg,0deg);
  354. -moz-transform:skew(-45deg,0deg);
  355. -webkit-transform:skew(-45deg,0deg);
  356. -o-transform:skew(-45deg,0deg);
  357. transform:skew(-45deg,0deg);
  358. overflow: hidden;
  359. border-left: 1px solid #dddddd;
  360. border-right: 1px solid #dddddd;
  361. border-top: 1px solid #dddddd;
  362. }
  363. .table-header-rotated th.rotate-45 span {
  364. -ms-transform:skew(45deg,0deg) rotate(315deg);
  365. -moz-transform:skew(45deg,0deg) rotate(315deg);
  366. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  367. -o-transform:skew(45deg,0deg) rotate(315deg);
  368. transform:skew(45deg,0deg) rotate(315deg);
  369. position: absolute;
  370. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  371. bottom: 16px; // pour width 20px
  372. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  373. left: 0px ;
  374. display: inline-block;
  375. // width: 100%;
  376. 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*/
  377. width: 43px ;
  378. text-align: left;
  379. white-space: nowrap; /*whether to display in one line or not*/
  380. }
  381. }
  382. #email-masse-form {
  383. #ids-users {
  384. line-height: 30px ;
  385. .label {
  386. text-transform: capitalize ;
  387. }
  388. }
  389. }
  390. .produit-create, .produit-update {
  391. #jours-production {
  392. .form-group {
  393. float: left ;
  394. margin-right: 15px ;
  395. label {
  396. font-weight: normal ;
  397. }
  398. }
  399. }
  400. .field-produit-id_etablissement {
  401. display: none;
  402. }
  403. }
  404. .table-striped > tbody > tr:nth-of-type(2n) {
  405. background-color: white ;
  406. }
  407. .wrap .produit-index {
  408. .td-photo {
  409. max-width: 100px ;
  410. width: 100px ;
  411. }
  412. .photo-produit {
  413. max-width: 100px ;
  414. }
  415. .ui-state-highlight {
  416. height: 75px;
  417. background-color: $color2 ;
  418. }
  419. }
  420. /* communiquer */
  421. .communiquer-mode-emploi {
  422. border: solid 1px #e0e0e0 ;
  423. padding: 10px ;
  424. @include border-radius(10px) ;
  425. margin-bottom: 30px ;
  426. font-family: 'myriadpro-regular' ;
  427. .header {
  428. .logo {
  429. float: left ;
  430. width: 75px ;
  431. padding-right: 20px ;
  432. padding-top: 10px ;
  433. img {
  434. width: 75px ;
  435. }
  436. }
  437. h1 {
  438. font-family: 'comfortaaregular' ;
  439. font-size: 40px ;
  440. margin-top: 0px ;
  441. margin-bottom: 0px ;
  442. font-weight: normal ;
  443. }
  444. h2 {
  445. margin-top: 0px ;
  446. font-family: 'myriadpro-regular' ;
  447. font-size: 20px ;
  448. margin-top: 0px ;
  449. position: relative ;
  450. left: 2px ;
  451. font-weight: normal ;
  452. }
  453. }
  454. h3 {
  455. font-family: 'comfortaalight' ;
  456. font-family: 'myriadpro-regular' ;
  457. font-size: 25px ;
  458. color: $color1 ;
  459. margin-top: 0px ;
  460. margin-bottom: 0px ;
  461. }
  462. }
  463. .communiquer-mode-emploi-encart {
  464. width: 420px ;
  465. margin-top: 20px ;
  466. .header {
  467. .logo {
  468. width: 60px ;
  469. margin-right: 20px ;
  470. padding-top: 5px ;
  471. img {
  472. width: 60px ;
  473. }
  474. }
  475. h1 {
  476. margin-bottom: 3px ;
  477. }
  478. h2 {
  479. }
  480. }
  481. h3 {
  482. margin-top: 15px ;
  483. margin-bottom: 15px ;
  484. }
  485. }
  486. .bloc-mode-emploi-pdf {
  487. width: 49.9% ;
  488. float: left;
  489. border-bottom: dotted 1px gray ;
  490. }
  491. .bloc-mode-emploi-border {
  492. border-right: dotted 1px gray ;
  493. border-bottom: dotted 1px gray ;
  494. }
  495. .communiquer-mode-emploi-pdf {
  496. border: 0px none ;
  497. //border-bottom: dotted 1px gray ;
  498. @include border-radius(0px) ;
  499. margin-bottom: 0px;
  500. padding: 20px 0px 20px 30px ;
  501. .header {
  502. .logo {
  503. float: left ;
  504. width: 55px ;
  505. padding-right: 15px ;
  506. padding-top: 10px ;
  507. img {
  508. width: 55px ;
  509. }
  510. }
  511. h1 {
  512. font-size: 32px ;
  513. }
  514. h2 {
  515. font-size: 16px ;
  516. }
  517. }
  518. h3 {
  519. font-weight: normal ;
  520. }
  521. }
  522. .bloc-mode-emploi-bottom {
  523. border-bottom: 0px none ;
  524. border-bottom: solid 1px white;
  525. }