/* GLOBAL STYLES */ /* bootstrap override */ .container-fluid { max-width: 1170px; padding-left: 0; padding-right: 0; overflow: hidden; @media (min-width: 768px) { padding-left: 15px; padding-right: 15px; overflow: visible; } } .separator { margin: 30px 0; border-top: 1px solid #e3ebf1; } .btn { white-space: normal; @media (min-width: 768px) { white-space: nowrap; } } .form-control:focus, .btn:focus, .btn.focus { box-shadow: none; } .form-wrapper { position: relative; .contact-form & { margin-bottom: 30px; } /*&:before { content: ''; display: block; position: absolute; left: 8px; top: 5px; width: 1px; height: 29px; border-right: 1px solid #90a2b0; z-index: 10; }*/ .form-control { font-size: 14px; font-style: italic; color: #728594; background-color: #e1eaf0; border: none !important; padding-left: 13px; line-height: 1.5; height: 38px; &.textarea { height: auto; } } .btn { background-color: #ce8921; font-size: 14px; font-weight: $font-semibold; color: #fff; i { font-size: 28px; vertical-align: -7px; } } &.select-wrapper { overflow: hidden; select { -webkit-appearance:none; -moz-appearance:none; -ms-appearance:none; appearance:none; background:#e1eaf0 url(assets/images/select-bg.png) 96% 50% no-repeat; } } } .form-group { label { font-size: 14px; color: #293034; font-weight: $font-semibold; } } .border-left { border-color: #e3ebf1; } figure { img { max-width: 100%; } } /* global */ body.menu-open { overflow: hidden; @media (min-width: 768px) { overflow: auto; } } i.icon-left, i.icon-right { font-size: 28px; vertical-align: -7px; width: 27px; display: inline-block; margin-left: -27px; &.icon-secondary { color: $secondary; } &.icon-primary-light { color: $primary-light; } } i.icon-right { margin-left: 0; } .link-icon { text-decoration: underline; font-size: 14px; &.link-secondary { color: $secondary; } &.link-primary-light { color: $primary-light; } &:hover { text-decoration: none; } } .breadcrumb { font-size: 14px; background: none; padding: 15px 15px 20px; color: $primary-light; font-weight: $font-semibold; @media (min-width: 768px) { margin-top: -50px; padding: 0 0 20px; } span.noLink{ color: #293034; margin: 0 5px; font-weight: normal; } a{ color: #293034; text-decoration: underline; margin: 0 5px; font-weight: normal; } .mobile-app & { display: none; } } /* Spécifique à la page eAriary (isFullWidth → .eariary-page sur .main) */ .eariary-page { /* Empêche la scrollbar horizontale (éléments décoratifs, positions négatives, etc.) */ overflow-x: hidden; } .eariary-page .breadcrumb { position: sticky; top: 120px; /* sous le header fixe */ z-index: 50; background: #ffffff; } /* Réserver l’espace à gauche pour la side-nav fixe : évite le chevauchement avec le contenu central au zoom (ex. 175 %). */ .eariary-page .main-content { padding-left: 180px; } /* Side-nav en barre horizontale sous le navbar : plus de marge à gauche */ @media (max-width: 1280px) { .eariary-page .main-content { padding-left: 0; } } @media (max-width: 840px) { .eariary-page .main-content { padding-left: 0; } } .main { position: relative; padding: 125px 0 35px; @media (min-width: 768px) { padding: 130px 0 35px; } &.mobile-app { padding: 100px 0 15px; background: url("assets/images/background-page.png") left bottom no-repeat; background-attachment: fixed; min-height: 100vh; } } .navbar-wrapper { width: 100% !important; // background: #fcc; position: fixed; top:0; z-index: 100 !important; @media (min-width: 768px) { position: absolute; height: 60px; box-shadow: 0px 16px 16px 0px rgba(111,128,147,0.75); } } .search-wrapper { .input-group { margin-bottom: 35px; .btn { width: 40px; background:#ce8921 url('assets/images/loupe.png') center center no-repeat; } } &.search-bar { height: 60px; position: absolute; top:0; left: 0; width: 100%; z-index: 20; background-color: $primary; align-items: center; display: none; &.searchOpen { display: flex; } .input-group-text, .form-control, .btn { background: none; border: none; color: #fff; } .form-control { font-style: italic; font-weight: $font-light; } .btn,.input-group-text { font-size: 22px; width: auto; } .btn{ opacity: 0.6; &:hover { opacity: 1; color: #fff; } } .input-group { margin-bottom: 0; } } } .main-content { padding-bottom: 60px; .mobile-app & { margin-left: 15px; margin-right: 15px; background-color: rgba(255,255,255,0.90); } } .page-content { h1 { font-weight: $font-semibold; font-size: 24px; color: $primary; text-transform: uppercase; margin-top: -5px; margin-bottom: 20px; padding-left: 15px; padding-right: 15px; @media (min-width: 768px) { padding-left: 0px; padding-right: 0px; } } p.text-intro { font-size: 14px; font-weight: bold; color: #293034; } .mobile-app & { h2 { font-size: 18px; padding-left: 15px; } } } /* ngx-bootstrap */ accordion.panel-group { .panel { .card { border: none; } .card-header { border-bottom-color: #fff; background-color: #90a9bb; padding: 0; .panel-title { font-size: 14px; color: #fff; text-transform: uppercase; display: block; position: relative; cursor: pointer; .accordion-toggle { display: block; padding: 10px; i { position: absolute; font-size: 28px; top: 4px; right: 5px; } } &:hover { text-decoration: none; } } } .card-body { padding: 0; .page-content & { background-color: #eff4f7; padding: 25px 60px; color: #304e63; font-size: 14px; } .panel-inner-content { div { overflow-x: auto; } } } &.panel-open { .card-header { background-color: $primary-light; .page-content & { background-color: $secondary; } .panel-title .accordion-toggle i { transform: rotateX(180deg); top: 9px; } } } } } /* PAgination */ pagination { ul { border:none; &.pagination { display: none; @media (min-width: 768px) { display: flex; } li { font-size: 14px; margin: 0 5px; a { &.page-link { background-color: #eff4f7; border: none; color: #90a9bb; } } &.pagination-prev, &.pagination-next { a { background-color: #90a9bb; border:none; color: #fff; width: 120px; text-align: center; } } &.pagination-first.disabled, &.pagination-last.disabled, &.pagination-prev.disabled, &.pagination-next.disabled{ display: none; } &.active { a { &.page-link { background-color: #ce8921; border: none; color: #fff; } } } } } } } /*CSS loader*/ .loading-wrapper { .ajax-loader { position: absolute; top: -29px; right: 0; display: flex; justify-content: center; align-items: center; z-index: 30; @media (min-width: 1200px) { right: 70px; } } } button[type="submit"] { background-color: rgba(206,137,33,1); &.disabled, &:disabled { background-color: rgba(206,137,33,0.65); opacity: initial; } } .csColumnGap { display: none!important; } .csColumn { padding: 0 5px!important; width: 100%!important; text-align: center; span, strong { display: block; } @media (min-width: 640px) { width: 50%!important; height: 340px; } @media (min-width: 992px) { margin-bottom: 0; width: 23%!important; height:inherit; } } /* Notification */ $notifier-shadow-color: rgba(0, 0, 0, .2) !default; .notifier__container { position: fixed; bottom: 0; z-index: 1000; } .notifier__notification--material { /*border-radius: 3px; box-shadow: 0 1px 3px $notifier-shadow-color;*/ border-radius: 0; box-shadow: none; width: 100%; cursor: default; // Default cursor, even when hovering over text padding: { top: 7px; right: 26px; bottom: 15px; left: 26px; } display: flex; justify-content: space-between; align-items: baseline; .notifier__notification { &-message { display: inline-block; margin: { // Reset paragraph default styles top: 0; bottom: 0; } vertical-align: top; line-height: 32px; font-size: 15px; } &-button { display: inline-block; transition: opacity .2s ease; opacity: .5; margin: { right: -10px; left: 10px; }; outline: none; border: none; background: none; cursor: pointer; // Make it obvious that the "button" (or, more honestly, icon) is clickable (#UX) padding: 6px; width: 32px; height: 32px; // vertical-align: top; line-height: 32px; &:hover, &:focus { opacity: 1; // Make me "feel" the clickability with a transparency change (#UX) } &:active { transform: scale(.82); // Make me "feel" the click by a push back (#UX) opacity: 1; } } } } // NOTIFIER: DEFAULT TYPE STYLES $notifier-default-background-color: #444 !default; $notifier-default-font-color: #FFF !default; $notifier-default-icon-color: #FFF !default; .notifier__notification--default { background-color: $notifier-default-background-color; color: $notifier-default-font-color; .notifier__notification-button-icon { // 16x16 fixed size fill: $notifier-default-icon-color; } } // NOTIFIER: ERROR TYPE STYLES $notifier-error-background-color: #D9534F !default; $notifier-error-font-color: #FFF !default; $notifier-error-icon-color: #FFF !default; .notifier__notification--error { background-color: $notifier-error-background-color; color: $notifier-error-font-color; .notifier__notification-button-icon { // 16x16 fixed size fill: $notifier-error-icon-color; } } // NOTIFIER: INFO TYPE STYLES $notifier-info-background-color: #5BC0DE !default; $notifier-info-font-color: #FFF !default; $notifier-info-icon-color: #FFF !default; .notifier__notification--info { background-color: $notifier-info-background-color; color: $notifier-info-font-color; .notifier__notification-button-icon { // 16x16 fixed size fill: $notifier-info-icon-color; } } // NOTIFIER: SUCCESS TYPE STYLES $notifier-success-background-color: #004877; $notifier-success-font-color: #FFF; $notifier-success-icon-color: #FFF; .notifier__notification--success { background-color: $notifier-success-background-color; color: $notifier-success-font-color; .notifier__notification-button-icon { // 16x16 fixed size fill: $notifier-success-icon-color; } } // NOTIFIER: WARNING TYPE STYLES $notifier-warning-background-color: #F0AD4E !default; $notifier-warning-font-color: #FFF !default; $notifier-warning-icon-color: #FFF !default; .notifier__notification--warning { background-color: $notifier-warning-background-color; color: $notifier-warning-font-color; .notifier__notification-button-icon { // 16x16 fixed size fill: $notifier-warning-icon-color; } } .taux-maonia { text-align: center; margin-top: 5px; font-size: 20px; } .scroolltop { display: block; position: fixed; width: 40px; height: 40px; line-height: 40px; background-color: #004877; bottom: 40px; right: 40px; text-align: center; color: #fff; font-size: 32px; visibility: hidden; opacity: 0; z-index: 101; transition: opacity 1s linear; &:hover { text-decoration: none; color: #fff; background-color: $secondary; } .scroll & { opacity: 1; visibility: visible; } }