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.

371 lines
6.1KB

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