publik-base-theme/static/hautes-pyrenees-cd65/_custom.scss

290 lines
4.7 KiB
SCSS

div#header {
height: 80px;
position: static;
@media (min-width: $nav-mobile-limit + 1) {
padding: 1rem 0;
height: calc(80px + 2rem);
}
#logo {
position: absolute;
left: 1em;
padding-left: 0;
}
}
.site-header {
margin-bottom: 2rem;
}
#logo.has-logo a {
height: 80px;
}
div.cell.text-cell.h1title{
background: #ffffff;
border: none;
}
div.cell.text-cell.h1title > div > h1 {
text-decoration: underline;
text-decoration-color: #c9e0a9;
}
div.cell.text-cell.h1title > div > h1::before {
content: "";
padding-right: 0.7rem;
display: inline-block;
text-decoration: none;
}
div.wcsformsofcategorycell {
ul {
background: #e4f0d5;
> li > a {
color: black;
display: block;
&::before {
content: "";
color: black;
font-family: fontawesome;
padding-right: 5px;
left: 1rem;
display: inline-block;
line-height: 1.7;
}
}
}
}
div.wcscurrentformscell ul {
& > li {
&:nth-child(odd) {
background: darken($cell-background, 10);
}
> a {
color: #000;
}
}
}
div.h1 {
background-color: green;
}
.gru-content div.link-list-cell.has-asset-picture picture img,
.gru-content div.wcsformsofcategorycell.has-asset-picture picture img {
max-width: 100%;
display: block;
padding: 0.5rem;
margin-left: auto;
margin-right: auto;
}
div.cell.foldable > div > h2:first-child {
background: $vert;
color: #fff;
padding-right: 1.75em;
&::after {
content: '\f068'; /* fa-minus" */
color: #000;
background: #fff;
border-radius: 50%;
padding: 0.1em;
right: 0.5em;
width: 1.2em;
height: 1.2em;
text-align: center;
}
}
div.cell.foldable.folded > div > h2:first-child {
background: #fff;
color: $vert;
&::after {
content: '\f067'; /* fa-plus */
background: $vert;
}
}
div.cell.trackingcodeinputcell {
background: #93c255;
color: white;
}
.gru-content div.wcs-tracking-code-input h2:first-child
{
color: white;
}
.pwa-navigation {
display: block;
@media screen and (min-width: $nav-mobile-limit) {
top: 0;
right: 0;
bottom: auto;
width: 50%;
position: absolute;
div > ul li a {
height: calc(80px + 2rem);
padding-top: 5rem;
span {
font-size: 0.8em;
}
}
}
div > ul li {
a {
position: relative;
background-size: 4em auto;
@media screen and ($max-mobile-viewport) {
background-size: 1.7em auto;
padding-top: 2.5em;
}
}
&:not(:first-child) {
a::after {
position: absolute;
left: 0;
content: "";
display: block;
width: 1px;
background: #fff;
top: 10%;
height: 80%;
transition: background 0.5s;
}
}
&:hover, &.selected {
a::after {
background: transparent;
}
+ li a::after {
background: transparent;
}
}
}
}
div.wcs-tracking-code-input {
display: flex;
padding: 1em 0.5em;
@media screen and ($max-mobile-viewport) {
flex-direction: column;
}
button {
background: #fff;
color: #000;
position: relative;
border-radius: 50%;
line-height: 0.75em;
width: 1em;
margin: 0 0.3em;
&::after {
font-family: FontAwesome;
content: '\f124';
position: absolute;
left: calc(50% - 0.5em);
}
}
}
div.wcs-tracking-code-input--title {
@media (min-width: $nav-mobile-limit + 1) {
text-align: right;
border-right: 1px solid #fff;
margin-right: 1em;
}
}
#tracking-code {
color: #000;
width: 90%;
background-color: rgba(255, 255, 255, 0.5);
opacity: 0.5;
border: 0;
border-bottom: 2px solid #fff;
}
.page-template-header_three_columns {
@media ($min-desktop-viewport) {
#columns {
display: flex;
}
.header_three_columns--column {
flex: 1 0 0;
}
}
}
.header_three_columns--header {
.cell {
@media ($min-desktop-viewport) {
margin-left: #{$columns-gutter / 2};
margin-right: #{$columns-gutter / 2};
}
}
div[class^="grid-"].cell, > div[class*=" grid-"].cell {
padding-right: 0;
margin-right: 1rem;
margin-left: 0;
}
}
h2.enter-title {
padding-left: 1em;
position: relative;
border-bottom: 2px solid $vert;
&::before {
font-family: FontAwesome;
content: '\f090';
position: absolute;
left: 0;
}
}
/* OU separator styles */
@media (min-width: $nav-mobile-limit + 1) {
#login-page.methods2, #registration-blocks.methods2 {
> .block, > .a2-block {
margin-right: 4em;
&:not(:first-child) {
margin-right: 0;
}
&:not(:first-child)::after {
left: -3.5rem;
}
}
}
#login-page.methods3 {
> .block {
margin-right: 3em;
&:last-child {
margin-right: 0;
}
&:not(:first-child)::after {
left: -3rem;
}
}
}
}
.block-saml {
border: 1px solid $bleu;
background: #c0d4e7;
h3 {
margin-top: 0;
}
div > div {
display: flex;
justify-content: center;
}
}
#nav-button {
display: none;
}
#publik-portal-agent {
display: none;
}