Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

394 lines
6.4KB

  1. @import "compass";
  2. #main {
  3. /* Boutons */
  4. .btn-primary,
  5. .btn-secondary {
  6. @include border-radius(0px);
  7. font-family: 'worksans_semibold';
  8. .bi {
  9. margin-right: 5px;
  10. }
  11. }
  12. .btn-primary {
  13. background-color: $color-primary;
  14. border: 0px none;
  15. color: white;
  16. &:hover, &:active, &:focus {
  17. filter: brightness(90%);
  18. border: 0px none;
  19. color: white;
  20. }
  21. }
  22. .btn-secondary {
  23. color: black;
  24. background-color: $color-gray-light;
  25. border: solid 1px $color-gray-light;
  26. &:hover, &.active {
  27. background-color: $color-gray;
  28. border: solid 1px $color-gray;
  29. color: black;
  30. }
  31. }
  32. /* Alertes */
  33. .alert {
  34. border: 0px none;
  35. @include border-radius(0px !important);
  36. color: black;
  37. padding: 20px;
  38. margin-bottom: 20px;
  39. &.alert-success {
  40. background-color: #e4e9ad !important;
  41. }
  42. &.alert-info {
  43. background-color: #97bfc4 !important;
  44. }
  45. &.alert-warning {
  46. background-color: #ecd58e !important;
  47. }
  48. &.alert-danger {
  49. background-color: #edbaa4 !important;
  50. }
  51. &.alert-dark {
  52. background-color: $color-gray !important;
  53. }
  54. a {
  55. color: black;
  56. }
  57. p:last-child {
  58. margin-bottom: 0px;
  59. }
  60. }
  61. /* Tables */
  62. $table-striped-bg-factor: black;
  63. .table {
  64. thead {
  65. tr {
  66. th {
  67. font-family: 'worksans_semibold';
  68. }
  69. }
  70. }
  71. &.table-bordered {
  72. }
  73. &.table-striped {
  74. border: 0px none;
  75. &.table-striped > tbody > tr:nth-of-type(2n) > *,
  76. thead tr th {
  77. background-color: $color-gray;
  78. }
  79. &.table-striped > tbody > tr:nth-of-type(2n+1) > * {
  80. background-color: #f8f7f3;
  81. }
  82. thead tr th,
  83. tbody tr td {
  84. @include box-shadow(-20px 0 20px -20px rgba(0,0,0,0.2) inset);
  85. &:last-child {
  86. @include box-shadow(none);
  87. }
  88. }
  89. thead {
  90. tr {
  91. border: 0px none;
  92. th {
  93. border: 0px none;
  94. padding: 10px 20px;
  95. }
  96. }
  97. }
  98. tbody {
  99. tr {
  100. border: 0px none;
  101. td {
  102. border: 0px none;
  103. padding: 20px;
  104. }
  105. }
  106. }
  107. }
  108. }
  109. /* Formulaires */
  110. form {
  111. .control-label {
  112. font-family: 'worksans_medium';
  113. }
  114. input[type="text"],
  115. input[type="email"],
  116. input[type="password"],
  117. textarea,
  118. select {
  119. @include box-shadow(none);
  120. @include border-radius(0px);
  121. border: solid 1px $color-gray-dark;
  122. }
  123. .form-control:hover {
  124. border: solid 1px gray;
  125. }
  126. .form-control:focus {
  127. @include box-shadow(0px 0px 0px 1px $color-primary) ;
  128. border: solid 1px $color-primary;
  129. }
  130. .has-error {
  131. .control-label {
  132. color: black;
  133. }
  134. .form-control:focus, .form-control {
  135. @include box-shadow(none);
  136. border-color: #a94442;
  137. }
  138. .help-block-error {
  139. color: #a94442;
  140. }
  141. }
  142. .form-buttons {
  143. text-align: right;
  144. }
  145. }
  146. }
  147. /* Divers */
  148. .float-left {
  149. float: left;
  150. }
  151. .float-right {
  152. float: right;
  153. }
  154. .clr {
  155. clear: both;
  156. }
  157. /* Navigation utilisateur en haut du site */
  158. .container-nav-user-top {
  159. position: relative;
  160. z-index: 999;
  161. background-color: white;
  162. .nav-user-top {
  163. position: absolute;
  164. top: 0px;
  165. right: 0px;
  166. background-color: white;
  167. z-index: 100;
  168. .navbar {
  169. @include border-radius(0px);
  170. border: 0px none;
  171. padding: 0px;
  172. margin: 0px;
  173. min-height: 0px;
  174. ul {
  175. position: relative;
  176. left: -10px;
  177. li {
  178. padding-left: 5px;
  179. a.nav-link {
  180. padding-left: 10px;
  181. padding-right: 10px;
  182. padding-top: 7px;
  183. padding-bottom: 7px;
  184. font-family: 'worksans_semibold';
  185. color: black;
  186. font-size: 16px;
  187. &:hover, &:focus, &.active {
  188. background: none;
  189. color: $color-primary;
  190. }
  191. .bi {
  192. color: $color-primary;
  193. font-size: 16px;
  194. margin-right: 2px;
  195. position: relative;
  196. top: 1px;
  197. }
  198. }
  199. .dropdown-menu {
  200. a {
  201. padding: 2px 20px;
  202. &:hover, &:focus {
  203. background-color: $color-gray;
  204. }
  205. }
  206. }
  207. }
  208. }
  209. }
  210. .dropdown-menu {
  211. z-index: 9999;
  212. .divider.dropdown-header {
  213. padding: 0px;
  214. }
  215. }
  216. }
  217. }
  218. @media screen and (max-width: 991px) {
  219. .container-nav-user-top {
  220. .nav-user-top {
  221. position: relative;
  222. .navbar {
  223. ul {
  224. width: 100%;
  225. display: block;
  226. margin-right: 0px;
  227. text-align: center;
  228. li {
  229. display: inline-block;
  230. &.nav-item-producers {
  231. .dropdown-menu {
  232. right: -95px;
  233. }
  234. }
  235. }
  236. }
  237. .link-text {
  238. display: none;
  239. }
  240. .dropdown-menu {
  241. position: absolute;
  242. right: 5%;
  243. left: auto;
  244. border: 1px solid #ddd;
  245. background: #fff;
  246. @include box-shadow(0px 0px 4px gray);
  247. li {
  248. a {
  249. padding-left: 15px;
  250. }
  251. }
  252. }
  253. }
  254. }
  255. }
  256. }
  257. /* Block de date */
  258. .block-date {
  259. margin: 0px auto;
  260. padding-top: 0px;
  261. text-align: center;
  262. .day {
  263. text-transform: capitalize;
  264. line-height: 15px;
  265. font-size: 15px;
  266. text-transform: uppercase;
  267. }
  268. .num {
  269. font-size: 30px;
  270. line-height: 35px;
  271. font-weight: bold;
  272. }
  273. .month {
  274. text-transform: uppercase;
  275. line-height: 15px;
  276. font-size: 15px;
  277. color: darken($color-primary, 5);
  278. }
  279. }
  280. /* Page d'erreur */
  281. #main #content .site-error {
  282. .col-lg-6 {
  283. margin: 0px auto;
  284. float: none;
  285. }
  286. .panel {
  287. .panel-body {
  288. padding-bottom: 0px;
  289. }
  290. h2 {
  291. text-transform: none;
  292. font-size: 25px;
  293. margin-top: 0px;
  294. margin-bottom: 0px;
  295. }
  296. }
  297. .alert {
  298. padding-bottom: 5px;
  299. h2 {
  300. margin-top: 5px;
  301. }
  302. p {
  303. margin-bottom: 15px;
  304. }
  305. .btn {
  306. text-decoration: none;
  307. }
  308. }
  309. .actions {
  310. //text-align: center;
  311. }
  312. }
  313. /* Paiement */
  314. .payment-detail-remaining-surplus {
  315. font-size: 13px;
  316. color: gray;
  317. strong {
  318. font-weight: bold;
  319. }
  320. }