Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

405 linhas
6.5KB

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