This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
atreal-publik-themes/static/avray/_custom.scss

633 lines
14 KiB
SCSS

@import '../../publik-base-theme/static/includes/fonts/din';
header {
background-color: white;
#header {
padding: 0 1ex 1ex;
#top {
#logo a {
box-sizing: content-box;
background: url(img/logo.jpg) bottom left no-repeat;
background-size: 700px;
height: 221px;
line-height: 240px;
text-indent: -10000px;
font-weight: normal;
display: block;
color: white;
padding-bottom: 20px;
position: relative;
left: -1rem;
padding-left: 730px;
@media screen and ($max-mobile-viewport){
height: 75px;
padding-left: 0;
max-width: 90%;
background-size: contain;
left: 0;
margin-right: 140px;
}
}
}
#toplinks {
border: none;
box-shadow: none;
.login {
font-size: 0;
}
a {
color: #aeaeae;
font-family: Arial, sans-serif !important;
font-size: 14px;
font-weight: bold;
text-decoration: none;
margin: 2px 0;
white-space: nowrap;
vertical-align: baseline;
line-height: 30px;
border-left: 1px solid #aeaeae;
padding: 0 5px 0;
}
a:hover {
text-decoration: none;
}
a:first-child {
border-left: none;
padding-left: 0;
}
a:last-child {
padding-right: 0;
}
span.sep {
display: none;
}
}
#social-networks {
z-index: 900;
position: relative;
float: right;
margin: -71px -1px 0 0;
ul, ul > li, ul > li > a {
margin: 0;
padding: 0;
}
ul > li {
list-style-type: none;
display: inline-block;
}
ul > li:first-child {
margin-right: 11px;
}
ul > li > a {
display: block;
height: 51px;
width: 51px;
text-decoration: none;
font-size: 0px;
background-repeat: no-repeat;
background-color: transparent;
cursor: pointer;
}
ul > li.twitter > a {
background-image: url('img/twitter_network.png')
}
ul > li.facebook > a {
background-image: url('img/facebook_network.png')
}
}
}
}
nav {
background-color: #dbdbdb;
border-bottom: 25px solid white;
#nav-wrapper {
#nav {
ul {
margin: 0;
}
ul > li {
padding: 7px 0 0;
margin: 0 3px;
}
ul > li:first-child {
margin-left: 0;
}
ul > li:last-child {
margin-right: 0;
}
ul > li > a {
padding-left: 15px;
padding-right: 15px;
font-weight: 500;
text-align: center;
text-transform: uppercase;
font-size: 19px;
transition: none;
border-bottom: 4px solid transparent;
}
ul > li.menu-la-ville > a {
border-bottom: 4px solid $color-rubrique-la-ville;
}
ul > li.menu-cadre-vie > a {
border-bottom: 4px solid $color-rubrique-cadre-vie;
}
ul > li.menu-economie-commerces > a {
border-bottom: 4px solid $color-rubrique-economie-commerces;
}
ul > li.menu-enfance-jeunesse > a {
border-bottom: 4px solid $color-rubrique-enfance-jeunesse;
}
ul > li.menu-sports-culture > a {
border-bottom: 4px solid $color-rubrique-sports-culture;
}
ul > li.menu-social-aines > a {
border-bottom: 4px solid $color-rubrique-social-aines;
}
ul > li > ul > li > a {
color: white !important;
font-size: 12px;
font-weight: 500;
line-height: 20px;
}
ul > li:hover, ul > li:hover a {
color: white !important;
}
ul > li:hover, ul > li:hover > ul {
color: $title-background;
background-color: $title-color;
}
ul > li.menu-la-ville:hover, ul > li.menu-la-ville:hover > ul {
background-color: $color-rubrique-la-ville;
}
ul > li.menu-cadre-vie:hover, ul > li.menu-cadre-vie:hover > ul {
background-color: $color-rubrique-cadre-vie;
}
ul > li.menu-economie-commerces:hover, ul > li.menu-economie-commerces:hover > ul {
background-color: $color-rubrique-economie-commerces;
}
ul > li.menu-enfance-jeunesse:hover, ul > li.menu-enfance-jeunesse:hover > ul {
background-color: $color-rubrique-enfance-jeunesse;
}
ul > li.menu-sports-culture:hover, ul > li.menu-sports-culture:hover > ul {
background-color: $color-rubrique-sports-culture;
}
ul > li.menu-social-aines:hover, ul > li.menu-social-aines:hover > ul {
background-color: $color-rubrique-social-aines;
}
@media screen and ($max-mobile-viewport){
ul > li > ul > li > a {
color: black !important;
}
}
}
}
}
#page {
background-color: #00a4e2;
#main-content-wrapper {
background: white;
padding: 0 1rem 1rem;
#content {
div.textcell h3,
div.textcell h4,
div.textcell h5,
div.textcell p,
div.textcell table {
margin: 1ex 0;
}
a {
color: #1287b5;
}
p {
font-family: Arial;
font-size: medium;
font-weight: normal;
}
h1, h2, h3, h4, h5, h6 {
text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, span.h1, span.h2, span.h3, span.h4, span.h5, span.h6 {
margin: 1em 0 .5em 0;
line-height: 1.2;
font-weight: bold;
font-style: normal;
}
h1 {
color: $title-color;
font-weight: 600;
font-size: 23px;
padding-bottom: 6px;
padding-top: 13px;
text-transform: uppercase;
}
h2 {
color: $title-color;
font-family: Arial;
text-decoration: none;
font-size: 1.4em;
font-weight: bold;
}
h3 {
color: $title-color;
font-size: medium;
}
.cell.wcsformsofcategorycell h2 {
padding-left: 0;
margin-bottom: 0;
}
.cell.titre-h1 h1 {
font-size: 23px;
font-weight: 600;
padding: 4px 0;
text-transform: uppercase;
border-bottom: none;
}
.cell.titre-h2 h2 {
font-size: 23px;
font-weight: 600;
padding: 4px 0;
text-transform: uppercase;
border-bottom: none;
}
.cell.h1-souligne h1::after,
.cell.h2-souligne h2::after,
.cell.h3-souligne h3::after {
content: '';
display: block;
height: 3px;
width: 65px;
border-bottom: 3px solid transparent;
}
#sidebar {
.cell {
margin-left: 0;
}
.cell.titre-menu {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 12px;
a {
font-size: 23px;
font-weight: 600;
padding: 4px 0;
text-transform: uppercase;
border-bottom: none;
}
}
.cell.titre-menu::after {
content: '';
display: block;
height: 3px;
width: 65px;
border-bottom: 3px solid transparent;
}
.cell.titre-menu a:hover {
background-color: transparent;
}
.cell.menucell {
background-color: #f3f3f3;
div ul > li > a {
padding: 1px 0 1px 15px;
line-height: 35px;
border-bottom: 1px solid #cccdca;
font-size: 11px;
font-size: 16px;
color: black;
}
div ul > li > a:hover {
color: white !important;
}
div > ul > li > a {
padding: 6px 0 4px 7px;
border-bottom: 2px solid #5c5e51;
font-size: 17px;
overflow: hidden;
text-overflow: ellipsis;
color: white;
}
}
}
#columns {
padding-right: 20px;
}
}
}
}
#la-ville, .la-ville, .page-la-ville, .section-la-ville, .content-la-ville {
h1, h2, h3, h4, h5, h6, #content a:hover, #sidebar .cell.titre-menu a {
color: $color-rubrique-la-ville !important;
}
.cell.h1-souligne h1::after,
.cell.h2-souligne h2::after,
.cell.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-la-ville;
}
#sidebar {
.cell.titre-menu::after {
border-bottom: 3px solid $color-rubrique-la-ville !important;
}
.cell.menucell > div > ul > li > a, .cell.menucell div ul > li > a:hover {
background-color: $color-rubrique-la-ville !important;
}
}
}
.cell.la-ville.h1-souligne h1::after,
.cell.la-ville.h2-souligne h2::after,
.cell.la-ville.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-la-ville !important;
}
#cadre-vie, .cadre-vie, .page-cadre-vie, .section-cadre-vie, .content-cadre-vie {
h1, h2, h3, h4, h5, h6, #content a:hover, #sidebar .cell.titre-menu a {
color: $color-rubrique-cadre-vie !important;
}
.cell.h1-souligne h1::after,
.cell.h2-souligne h2::after,
.cell.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-cadre-vie;
}
#sidebar {
.cell.titre-menu::after {
border-bottom: 3px solid $color-rubrique-cadre-vie !important;
}
.cell.menucell > div > ul > li > a, .cell.menucell div ul > li > a:hover {
background-color: $color-rubrique-cadre-vie !important;
}
}
}
.cell.cadre-vie.h1-souligne h1::after,
.cell.cadre-vie.h2-souligne h2::after,
.cell.cadre-vie.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-cadre-vie !important;
}
#economie-commerces, .economie-commerces, .page-economie-commerces, .section-economie-commerces, .content-economie-commerces {
h1, h2, h3, h4, h5, h6, #content a:hover, #sidebar .cell.titre-menu a {
color: $color-rubrique-economie-commerces !important;
}
.cell.h1-souligne h1::after,
.cell.h2-souligne h2::after,
.cell.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-economie-commerces;
}
#sidebar {
.cell.titre-menu::after {
border-bottom: 3px solid $color-rubrique-economie-commerces !important;
}
.cell.menucell > div > ul > li > a, .cell.menucell div ul > li > a:hover {
background-color: $color-rubrique-economie-commerces !important;
}
}
}
.cell.economie-commerces.h1-souligne h1::after,
.cell.economie-commerces.h2-souligne h2::after,
.cell.economie-commerces.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-economie-commerces !important;
}
#enfance-jeunesse, .enfance-jeunesse, .page-enfance-jeunesse, .section-enfance-jeunesse, .content-enfance-jeunesse {
h1, h2, h3, h4, h5, h6, #content a:hover, #sidebar .cell.titre-menu a {
color: $color-rubrique-enfance-jeunesse !important;
}
.cell.h1-souligne h1::after,
.cell.h2-souligne h2::after,
.cell.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-enfance-jeunesse;
}
#sidebar {
.cell.titre-menu::after {
border-bottom: 3px solid $color-rubrique-enfance-jeunesse !important;
}
.cell.menucell > div > ul > li > a, .cell.menucell div ul > li > a:hover {
background-color: $color-rubrique-enfance-jeunesse !important;
}
}
}
.cell.enfance-jeunesse.h1-souligne h1::after,
.cell.enfance-jeunesse.h2-souligne h2::after,
.cell.enfance-jeunesse.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-enfance-jeunesse !important;
}
#sports-culture, .sports-culture, .page-sports-culture, .section-sports-culture, .content-sports-culture {
h1, h2, h3, h4, h5, h6, #content a:hover, #sidebar .cell.titre-menu a {
color: $color-rubrique-sports-culture !important;
}
.cell.h1-souligne h1::after,
.cell.h2-souligne h2::after,
.cell.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-sports-culture;
}
#sidebar {
.cell.titre-menu::after {
border-bottom: 3px solid $color-rubrique-sports-culture !important;
}
.cell.menucell > div > ul > li > a, .cell.menucell div ul > li > a:hover {
background-color: $color-rubrique-sports-culture !important;
}
}
}
.cell.sports-culture.h1-souligne h1::after,
.cell.sports-culture.h2-souligne h2::after,
.cell.sports-culture.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-sports-culture !important;
}
#social-aines, .social-aines, .page-social-aines, .section-social-aines, .content-social-aines {
h1, h2, h3, h4, h5, h6, #content a:hover, #sidebar .cell.titre-menu a {
color: $color-rubrique-social-aines !important;
}
.cell.h1-souligne h1::after,
.cell.h2-souligne h2::after,
.cell.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-social-aines;
}
#sidebar {
.cell.titre-menu::after {
border-bottom: 3px solid $color-rubrique-social-aines !important;
}
.cell.menucell > div > ul > li > a, .cell.menucell div ul > li > a:hover {
background-color: $color-rubrique-social-aines !important;
}
}
}
.cell.social-aines.h1-souligne h1::after,
.cell.social-aines.h2-souligne h2::after,
.cell.social-aines.h3-souligne h3::after {
border-bottom: 3px solid $color-rubrique-social-aines !important;
}
/* Custommization des titres avec un soulignage
* dans les pages de formulaires.
*/
div#tracking-code h3,
div#rub_service h2,
div#rub_service div.category h3,
.gru-content div.a2-block h2,
.gru-content div.block h2 {
background: transparent;
color: $font-color;
font-size: 150%;
font-weight: bold;
padding-left: 0.5rem;
text-align: left;
&::after {
display: block;
content: "";
background: $primary-color;
margin-top: 7px;
width: 40px;
height: 4px;
}
}
div.large div#rub_service h3,
div#rub_service h3 {
border-bottom: 2px solid $title-color;
}
//steps
.wcs-step--marker {
font-weight: bold;
}
@include desktop-vertical-steps() {
.wcs-step {
padding-left: 0;
&--label {
margin-left: 0;
}
&.current {
background-color: $primary-color;
}
&.current & {
&--label {
color: #fff;
font-weight: normal;
}
}
}
}
/* customization des liens dans les catégories de formulaires */
div#rub_service div.category ul,
div#services > ul > li > ul,
div#account-management ul,
div.links-list ul,
div.menucell ul,
div.wcsformcell,
div.notificationscell ul,
div.categoriescell ul,
div.wcsformsofcategorycell ul,
div.wcscurrentdraftscell ul,
div.wcscurrentformscell ul {
& > li > a {
padding-top: 0.6rem;
padding-bottom: 0.6rem;
}
}
@media screen and ($max-mobile-viewport){
#header #top #logo a {
display: block;
height: 75px;
}
.gru-nav-wrapper {
margin-top: -48px;
}
#nav-wrapper div.gru-nav > ul {
padding-top: 0;
margin-top: 0;
}
#nav-wrapper div.gru-nav > ul > li:first-child a {
padding-left: 20px;
}
}
footer {
#footer-top-wrapper {
background-color: white;
#footer-top {
box-sizing: content-box;
clear: both;
max-width: calc(#{$width} - 30px);
margin: 0 auto;
padding: 25px 15px 0;
height: 25px;
text-align: right;
.cell.linkcell, .cell.linkcell ul, .cell.linkcell ul li {
display: inline-block;
}
.cell.linkcell a {
text-decoration: none;
color: black;
font-family: Arial;
font-size: 12px;
line-height: 15px;
border: none;
padding: 0 7px 0 0;
}
.cell.linkcell a::after {
content: " / ";
margin-left: 10px;
}
.cell.linkcell.dernier a::after {
content: "";
margin-left: 0;
}
}
}
#footer-wrapper {
#footer {
min-height: 130px;
#footer-logo-text {
float: left;
width: 300px;
min-height: 75px;
margin: 10px;
padding: 65px 0 0 65px;
background-color: transparent;
background-repeat: no-repeat;
background-image: url('img/logobaspage.png');
background-position: left 0 top 0;
color: $color-rubrique-sports-culture;
font-size: 15px;
line-height: 15px;
font-weight: 700;
}
}
}
}