|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- @import "compass";
-
- /* Environnement beta */
- .badge-environment-beta {
- position: relative;
- display: inline-block;
- font-size: 13px;
- line-height: 20px;
- font-family: 'worksans_semibold';
- font-weight: normal;
- padding: 1px 10px;
- border-radius: 10px;
- color: white;
- background-color: black;
- text-align: center;
- vertical-align: baseline;
- }
-
- #main {
- /* Boutons */
- .btn-primary,
- .btn-secondary {
- @include border-radius(0px);
- font-family: 'worksans_semibold';
-
- .bi {
- margin-right: 5px;
- }
- }
-
- .btn-primary {
- background-color: $color-primary;
- border: 0px none;
- color: white;
-
- &:hover, &:active, &:focus {
- filter: brightness(90%);
- border: 0px none;
- color: white;
- }
- }
-
- .btn-secondary {
- color: black;
- background-color: $color-gray-light;
- border: solid 1px $color-gray-light;
-
- &:hover, &.active {
- background-color: $color-gray;
- border: solid 1px $color-gray;
- color: black;
- }
- }
-
- /* Alertes */
- .alert {
- border: 0px none;
- @include border-radius(0px !important);
- color: black;
- padding: 20px;
- margin-bottom: 20px;
-
- &.alert-success {
- background-color: #e4e9ad !important;
- }
-
- &.alert-info {
- background-color: #97bfc4 !important;
- }
-
- &.alert-warning {
- background-color: #ecd58e !important;
- }
-
- &.alert-danger {
- background-color: #edbaa4 !important;
- }
-
- &.alert-dark {
- background-color: $color-gray !important;
- }
-
- a {
- color: black;
- }
-
- p:last-child {
- margin-bottom: 0px;
- }
- }
-
- /* Card */
- .card {
- @include border-radius(0px);
- }
-
- /* Tables */
- $table-striped-bg-factor: black;
- .table {
-
- thead {
- tr {
- th {
- font-family: 'worksans_semibold';
- }
- }
- }
-
- &.table-bordered {
-
- }
-
- &.table-striped {
- border: 0px none;
-
- &.table-striped > tbody > tr:nth-of-type(2n) > *,
- thead tr th {
- background-color: $color-gray;
- }
-
- &.table-striped > tbody > tr:nth-of-type(2n+1) > * {
- background-color: #f8f7f3;
- }
-
- thead tr th,
- tbody tr td {
- @include box-shadow(-20px 0 20px -20px rgba(0,0,0,0.2) inset);
-
- &:last-child {
- @include box-shadow(none);
- }
- }
-
- thead {
- tr {
- border: 0px none;
- th {
- border: 0px none;
- padding: 10px 20px;
- }
- }
- }
-
- tbody {
- tr {
- border: 0px none;
- td {
- border: 0px none;
- padding: 20px;
- }
- }
- }
- }
-
- .btn-secondary {
- display: inline-block;
- margin-bottom: 5px;
- }
- }
-
- /* Formulaires */
- form {
- .control-label {
- font-family: 'worksans_medium';
- }
-
- input[type="text"],
- input[type="email"],
- input[type="password"],
- textarea,
- select {
- @include box-shadow(none);
- @include border-radius(0px);
- border: solid 1px $color-gray-dark;
- }
-
- .form-control {
- @include appearance(auto);
- }
-
- .form-control:hover {
- border: solid 1px gray;
- }
-
- .form-control:focus {
- @include box-shadow(0px 0px 0px 1px $color-primary) ;
- border: solid 1px $color-primary;
- }
-
- .has-error {
- .control-label {
- color: black;
- }
-
- .form-control:focus, .form-control {
- @include box-shadow(none);
- border-color: #a94442;
- }
-
- .help-block-error {
- color: #a94442;
- }
- }
-
- .form-buttons {
- text-align: right;
- }
- }
- }
-
- /* Divers */
- .float-left {
- float: left;
- }
-
- .float-right {
- float: right;
- }
-
- .clr {
- clear: both;
- }
-
- /* Navigation utilisateur en haut du site */
- .container-nav-user-top {
- position: relative;
- z-index: 999;
- background-color: white;
-
- .badge-environment-beta {
- position: absolute;
- top: 8px;
- left: 15px;
- }
-
- .nav-user-top {
- position: absolute;
- top: 0px;
- right: 0px;
- background-color: white;
- z-index: 100;
-
- .navbar {
- @include border-radius(0px);
- border: 0px none;
- padding: 0px;
- margin: 0px;
- min-height: 0px;
-
- ul {
- position: relative;
- left: -10px;
-
- li {
- padding-left: 5px;
-
- a.nav-link {
- padding-left: 10px;
- padding-right: 10px;
- padding-top: 7px;
- padding-bottom: 7px;
- font-family: 'worksans_semibold';
- color: black;
- font-size: 16px;
-
- &:hover, &:focus, &.active {
- background: none;
- color: $color-primary;
- }
-
- .bi {
- color: $color-primary;
- font-size: 16px;
- margin-right: 2px;
- position: relative;
- top: 1px;
- }
- }
-
- .dropdown-menu {
- a {
- padding: 2px 20px;
-
- &:hover, &:focus {
- background-color: $color-gray;
- }
- }
- }
- }
- }
- }
-
- .dropdown-menu {
- z-index: 9999;
- .divider.dropdown-header {
- padding: 0px;
- }
- }
- }
-
- }
-
- @media screen and (max-width: 991px) {
-
- .container-nav-user-top {
- .nav-user-top {
- position: relative;
-
- .navbar {
- ul {
- width: 100%;
- display: block;
- margin-right: 0px;
- text-align: center;
-
- li {
- display: inline-block;
-
- &.nav-item-producers {
- .dropdown-menu {
- right: -95px;
- }
- }
- }
- }
-
- .link-text {
- display: none;
- }
-
- .dropdown-menu {
- position: absolute;
- right: 5%;
- left: auto;
- border: 1px solid #ddd;
- background: #fff;
- @include box-shadow(0px 0px 4px gray);
-
- li {
- a {
- padding-left: 15px;
- }
- }
- }
- }
- }
- }
- }
-
-
-
- /* Block de date */
- .block-date {
- margin: 0px auto;
- padding-top: 0px;
- text-align: center;
-
- .day {
- text-transform: capitalize;
- line-height: 15px;
- font-size: 15px;
- text-transform: uppercase;
- }
-
- .num {
- font-size: 30px;
- line-height: 35px;
- font-weight: bold;
- }
-
- .month {
- text-transform: uppercase;
- line-height: 15px;
- font-size: 15px;
- color: darken($color-primary, 5);
- }
- }
-
- /* Page d'erreur */
- #main #content .site-error {
- .col-lg-6 {
- margin: 0px auto;
- float: none;
- }
-
- .panel {
- .panel-body {
-
- }
-
- h2 {
- text-transform: none;
- font-size: 25px;
- margin-top: 0px;
- margin-bottom: 20px;
- }
-
- p:last-child {
- margin-bottom: 0px;
- padding-bottom: 0px;
- }
- }
-
- .alert {
- padding-bottom: 5px;
-
- h3 {
- margin-top: 5px;
- margin-bottom: 18px;
- }
-
- p {
- margin-bottom: 15px;
- }
-
- .btn {
- text-decoration: none;
- }
- }
-
- p.error-message {
- font-weight: bold;
- }
- }
-
- /* Paiement */
- .payment-detail-remaining-surplus {
- font-size: 13px;
- color: gray;
-
- strong {
- font-weight: bold;
- }
- }
|