@import "compass"; #main { .btn-primary, .btn-secondary { font-family: 'worksans_semibold'; .bi { margin-right: 5px; } } .btn-primary { background-color: $color-primary; border: solid 1px $color-primary; color: white; &:hover, &:active, &:focus { background-color: darken($color-primary, 5); border: solid 1px $color-primary; color: white; } } .btn-secondary { color: black; background-color: $color-gray-light; border: solid 1px $color-gray-light; &:hover, &:focus, &.active { background-color: $color-gray; border: solid 1px $color-gray; color: black; } } .alert-information { padding: 20px; margin-bottom: 20px; border: 0px none; background-color: $color-gray !important; color: black; @include border-radius(0px !important); } } .float-left { float: left; } .float-right { float: right; } /* Navigation utilisateur en haut du site */ .container-nav-user-top { position: relative; z-index: 999; .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 { padding: 0px; margin: 0px; width: 100%; max-width: none; .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: 13px; text-transform: uppercase; } .num { font-size: 30px; line-height: 35px; font-weight: bold; } .month { text-transform: uppercase; line-height: 15px; font-size: 13px; color: darken($color-primary, 5); } } /* Page d'erreur */ #main #content .site-error { .col-lg-6 { margin: 0px auto; float: none; } .panel { .panel-body { padding-bottom: 0px; } h2 { text-transform: none; font-size: 25px; margin-top: 0px; margin-bottom: 0px; } } .alert { padding-bottom: 5px; h2 { margin-top: 5px; } p { margin-bottom: 15px; } .btn { text-decoration: none; } } .actions { //text-align: center; } } /* Paiement */ .payment-detail-remaining-surplus { font-size: 13px; color: gray; strong { font-weight: bold; } }