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 8.7KB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  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. /* fallback */
  160. }
  161. thead th {
  162. width: 32%;
  163. float: left;
  164. }
  165. tbody td{
  166. width: 33%;
  167. float: left;
  168. }
  169. }
  170. input.quantite-max {
  171. background-color: white;
  172. border: 1px solid #e0e0e0;
  173. text-align: center;
  174. width: 50px;
  175. }
  176. td {
  177. label {
  178. font-weight: normal ;
  179. }
  180. }
  181. }
  182. .form-commandes-point-vente {
  183. margin-top: 20px ;
  184. table {
  185. border-bottom: solid 1px #e0e0e0 ;
  186. }
  187. .title-point-vente {
  188. background-color: lighten(#fdd44b, 30) ;
  189. border-left: solid 3px $color1 ;
  190. font-weight: bold ;
  191. text-align: left ;
  192. padding: 10px ;
  193. }
  194. .title-totaux {
  195. text-align: center ;
  196. }
  197. .border-left {
  198. border-left: solid 1px #e0e0e0 ;
  199. }
  200. .border-right {
  201. border-right: solid 1px #e0e0e0 ;
  202. }
  203. input.quantite {
  204. //width: 50px ;
  205. width: 30px ;
  206. background-color: white ;
  207. border: solid 1px #e0e0e0 ;
  208. text-align: center ;
  209. }
  210. .td-produit {
  211. text-align: center ;
  212. }
  213. .submit-pv {
  214. float: right ;
  215. }
  216. .select-user {
  217. background-color: #F9F9F9 ;
  218. border: solid 1px #e0e0e0 ;
  219. }
  220. .date-commande {
  221. font-size: 12px ;
  222. }
  223. .datepicker, .text {
  224. background-color: white ;
  225. border: solid 1px #e0e0e0 ;
  226. margin-top: 3px ;
  227. width: 100px ;
  228. }
  229. td.center {
  230. text-align: center ;
  231. }
  232. .depasse {
  233. color: #b32815 ;
  234. }
  235. .total strong span {
  236. font-weight: normal ;
  237. font-size: 13px ;
  238. }
  239. .vrac {
  240. display: none ;
  241. }
  242. td.client {
  243. text-align: left ;
  244. padding: 3px ;
  245. .date-commande {
  246. color: gray ;
  247. }
  248. }
  249. }
  250. .table-header-rotated th.row-header{
  251. //width: auto;
  252. }
  253. .table-header-rotated td{
  254. width: 20px;
  255. padding: 0px ;
  256. border-top: 1px solid #dddddd;
  257. border-left: 1px solid #dddddd;
  258. border-right: 1px solid #dddddd;
  259. vertical-align: middle;
  260. text-align: center;
  261. }
  262. .table-header-rotated th.rotate-45{
  263. height: 80px;
  264. width: 20px;
  265. min-width: 20px;
  266. max-width: 20px;
  267. position: relative;
  268. vertical-align: bottom;
  269. padding: 0;
  270. font-size: 12px;
  271. line-height: 0.8;
  272. }
  273. .table-header-rotated th.rotate-45 > div{
  274. position: relative;
  275. top: 0px;
  276. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  277. height: 100%;
  278. -ms-transform:skew(-45deg,0deg);
  279. -moz-transform:skew(-45deg,0deg);
  280. -webkit-transform:skew(-45deg,0deg);
  281. -o-transform:skew(-45deg,0deg);
  282. transform:skew(-45deg,0deg);
  283. overflow: hidden;
  284. border-left: 1px solid #dddddd;
  285. border-right: 1px solid #dddddd;
  286. border-top: 1px solid #dddddd;
  287. }
  288. .table-header-rotated th.rotate-45 span {
  289. -ms-transform:skew(45deg,0deg) rotate(315deg);
  290. -moz-transform:skew(45deg,0deg) rotate(315deg);
  291. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  292. -o-transform:skew(45deg,0deg) rotate(315deg);
  293. transform:skew(45deg,0deg) rotate(315deg);
  294. position: absolute;
  295. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  296. bottom: 16px; // pour width 20px
  297. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  298. left: 0px ;
  299. display: inline-block;
  300. // width: 100%;
  301. 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*/
  302. width: 43px ;
  303. text-align: left;
  304. white-space: nowrap; /*whether to display in one line or not*/
  305. }
  306. }
  307. #email-masse-form {
  308. #ids-users {
  309. line-height: 30px ;
  310. .label {
  311. text-transform: capitalize ;
  312. }
  313. }
  314. }
  315. .produit-create {
  316. #jours-production {
  317. .form-group {
  318. float: left ;
  319. margin-right: 15px ;
  320. label {
  321. font-weight: normal ;
  322. }
  323. }
  324. }
  325. .field-produit-id_etablissement {
  326. display: none;
  327. }
  328. }