Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

412 lines
6.6KB

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