679 lines
11 KiB
SCSS
679 lines
11 KiB
SCSS
$logo-width: 110px;
|
|
|
|
%title {
|
|
@extend %title;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
%fatlink {
|
|
color: $darkgray;
|
|
border-bottom: 2px solid $orange;
|
|
&:hover {
|
|
border-bottom-width: 3px;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
#header {
|
|
position: relative;
|
|
h1 {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
a {
|
|
display: block;
|
|
text-indent: -10000px;
|
|
background: url(logo-mon-bla.png) top left no-repeat;
|
|
background-size: contain;
|
|
width: 110px;
|
|
height: 40px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $nav-mobile-limit) {
|
|
#logo.has-logo {
|
|
padding-left: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
a {
|
|
width: 100%;
|
|
background-position: center;
|
|
}
|
|
}
|
|
#footer {
|
|
padding-left: 25px;
|
|
padding-right: 25px;
|
|
}
|
|
}
|
|
|
|
nav.site-nav {
|
|
@media screen and (max-width: $nav-mobile-limit) {
|
|
margin-top: 75px;
|
|
div.gru-nav .gru-nav-button {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
& {
|
|
.icon-bar-1, .icon-bar-2, .icon-bar-3 {
|
|
left: auto;
|
|
right: 17%;
|
|
}
|
|
.icon-bar-2 {
|
|
width: 50%;
|
|
}
|
|
.icon-bar-3 {
|
|
width: 33%;
|
|
}
|
|
}
|
|
&.toggled {
|
|
.icon-bar-2, .icon-bar-3 {
|
|
width: 66%;
|
|
}
|
|
}
|
|
+ ul {
|
|
margin-top: 50px;
|
|
}
|
|
&.toggled {
|
|
+ ul {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div#nav {
|
|
border-bottom: 5px solid white;
|
|
margin-bottom: 1em;
|
|
> ul {
|
|
margin-left: #{$logo-width + 40px};
|
|
@media screen and (max-width: $nav-mobile-limit) {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
li.has-submenu {
|
|
> a > span {
|
|
&::after {
|
|
font-family: FontAwesome;
|
|
padding-left: 3px;
|
|
content: "\f107"; // angle-down
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div.gru-nav > ul > li a {
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.cell, .block, .a2-block {
|
|
box-shadow: 0 0 5px #ccc;
|
|
}
|
|
|
|
#footer {
|
|
.cell {
|
|
box-shadow: none;
|
|
border: none;
|
|
}
|
|
h3 {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
.cell.dashboard-cell {
|
|
box-shadow: none;
|
|
border: none;
|
|
padding: 0;
|
|
.cell {
|
|
margin: 0;
|
|
}
|
|
.newsitems, .eventitems {
|
|
padding: 1em;
|
|
margin: 0.5em 0;
|
|
}
|
|
.loading {
|
|
display: none;
|
|
}
|
|
div.deliberations-communales {
|
|
h2:first-child {
|
|
padding-left: 0;
|
|
}
|
|
p {
|
|
margin-top: 0;
|
|
a {
|
|
@extend %fatlink;
|
|
}
|
|
}
|
|
}
|
|
.empty-dashboard {
|
|
margin-left: 1em;
|
|
a {
|
|
@extend %fatlink;
|
|
}
|
|
}
|
|
}
|
|
|
|
.link-cell, .wcs-form-cell {
|
|
a {
|
|
display: block;
|
|
color: $darkgray;
|
|
padding: 1em;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
span {
|
|
display: inline;
|
|
border-bottom: 2px solid $orange;
|
|
}
|
|
&:hover span {
|
|
border-bottom-width: 3px;
|
|
}
|
|
&::after {
|
|
margin-top: 0.5rem;
|
|
font-family: "Open Sans";
|
|
content: "→";
|
|
display: block;
|
|
height: 1.5rem;
|
|
width: 1.5rem;
|
|
text-align: center;
|
|
color: white;
|
|
background: $orange;
|
|
border-radius: 100%;
|
|
}
|
|
}
|
|
p.description {
|
|
margin-left: 1em;
|
|
margin-right: 1em;
|
|
}
|
|
}
|
|
|
|
#footer a {
|
|
color: white;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
div#rub_service.has-sidebox > h2 {
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
#content div.profile-cell {
|
|
div.profile {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
p.edit-link {
|
|
text-align: center;
|
|
margin-right: 1em;
|
|
}
|
|
}
|
|
|
|
.dashboard-settings {
|
|
display: flex;
|
|
.dashboard-meta {
|
|
flex: 1;
|
|
}
|
|
.dashboard-switch {
|
|
margin-top: 1em;
|
|
input {
|
|
-webkit-appearance: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
padding: 0;
|
|
position: relative;
|
|
border: 0;
|
|
outline: 0;
|
|
cursor: pointer;
|
|
overflow: initial;
|
|
$switch-width: 3.5em;
|
|
$switch-height: 1.5em;
|
|
$switch-slider-diameter: 1.75em;
|
|
&::after {
|
|
content: '';
|
|
width: $switch-width;
|
|
height: $switch-height;
|
|
display: inline-block;
|
|
background: rgba(196, 195, 195, .55);
|
|
border-radius: 1em;
|
|
clear: both;
|
|
transition: ease .3s;
|
|
}
|
|
&:checked::after {
|
|
background: $blue;
|
|
}
|
|
&::before {
|
|
content: '';
|
|
width: $switch-slider-diameter;
|
|
height: $switch-slider-diameter;
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: #{($switch-height - $switch-slider-diameter) / 2};
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
box-shadow: 1px 1px 3px rgba(0, 0, 0, .6);
|
|
transition: ease .3s;
|
|
}
|
|
&:checked::before {
|
|
left: #{$switch-width - $switch-slider-diameter};
|
|
box-shadow: -1px 1px 3px rgba(0,0,0,.6)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.gru-content div.cell.deliberations-communales {
|
|
h2 + div.delib {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.delib,
|
|
.eventitem,
|
|
.newsitem {
|
|
display: flex;
|
|
margin-bottom: 1ex;
|
|
@media screen and (max-width: $nav-mobile-limit) {
|
|
flex-direction: column;
|
|
}
|
|
img {
|
|
border-radius: $button-border-radius;
|
|
flex: 0;
|
|
width: 160px;
|
|
height: 160px;
|
|
@media screen and (max-width: $nav-mobile-limit) {
|
|
margin: auto;
|
|
}
|
|
}
|
|
div {
|
|
flex: 1;
|
|
margin-left: 1em;
|
|
h3 {
|
|
margin-top: 1ex;
|
|
margin-bottom: 0;
|
|
a {
|
|
@extend %fatlink;
|
|
}
|
|
}
|
|
h4 {
|
|
color: $darkgray;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#logo.dashboard-change {
|
|
animation-name: favorite_pulse_animation;
|
|
animation-duration: 3000ms;
|
|
animation-iteration-count: 1;
|
|
animation-timing-function: linear;
|
|
}
|
|
|
|
@keyframes favorite_pulse_animation {
|
|
0% { transform: scale(1); }
|
|
20% { transform: scale(1.2); }
|
|
40% { transform: scale(1); }
|
|
60% { transform: scale(1); }
|
|
80% { transform: scale(1.2); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
div.links-list ul > li > a {
|
|
color: $darkgray;
|
|
.form-title {
|
|
border-bottom: 2px solid $orange;
|
|
}
|
|
&::after {
|
|
font-family: "Open Sans";
|
|
content: "→";
|
|
color: $orange;
|
|
display: inline-block;
|
|
height: 1.5rem;
|
|
width: 1.5rem;
|
|
text-align: center;
|
|
margin-left: 1rem;
|
|
position: absolute;
|
|
right: 1em;
|
|
}
|
|
&:hover::after {
|
|
color: white;
|
|
background: $orange;
|
|
border-radius: 100%;
|
|
}
|
|
}
|
|
|
|
div.links-list ul > li.add-more-items > a {
|
|
&::after {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
div.links-list.list-of-forms ul > li > a {
|
|
&::after {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
div.link-cell.has-asset-picture {
|
|
border: none;
|
|
box-shadow: none;
|
|
picture img {
|
|
border-radius: 1ex 1ex 1ex 0;
|
|
max-width: 100%;
|
|
min-height: 100%;
|
|
max-height: none;
|
|
}
|
|
picture {
|
|
overflow: hidden;
|
|
height: 130px;
|
|
max-width: 100%;
|
|
position: relative;
|
|
display: block;
|
|
&::before {
|
|
border-radius: 1ex 1ex 1ex 0;
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: $orange;
|
|
opacity: 0;
|
|
transition: opacity linear 0.2s;
|
|
}
|
|
}
|
|
&:hover picture {
|
|
&::before {
|
|
opacity: 0.5;
|
|
}
|
|
&::after {
|
|
position: absolute;
|
|
top: calc(50% - 1.25rem);
|
|
left: calc(50% - 1.25rem);
|
|
font-family: "Open Sans";
|
|
content: "→";
|
|
display: block;
|
|
height: 2.5rem;
|
|
line-height: 2.2rem;
|
|
width: 2.5rem;
|
|
text-align: center;
|
|
color: white;
|
|
border: 1px solid white;
|
|
border-radius: 100%;
|
|
}
|
|
}
|
|
a.asset-link {
|
|
padding: 0;
|
|
}
|
|
a {
|
|
padding-top: 0;
|
|
padding-left: 0;
|
|
&::after {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.gru-content .cell.no-borders {
|
|
border: none;
|
|
box-shadow: none;
|
|
div.page-title {
|
|
margin-top: -1em;
|
|
height: 260px;
|
|
background: none top right no-repeat;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
h1 {
|
|
font-size: 40px;
|
|
text-transform: uppercase;
|
|
max-width: 20rem; // match for gradient going 20rem -> 40em
|
|
line-height: 1.1;
|
|
}
|
|
@media screen and (max-width: $nav-mobile-limit) {
|
|
height: auto;
|
|
min-height: 100px;
|
|
background-image: none !important;
|
|
h1 {
|
|
text-align: center;
|
|
font-size: 32px;
|
|
max-width: none;
|
|
}
|
|
}
|
|
}
|
|
div.page-intertitle {
|
|
height: 130px;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
h2 {
|
|
font-size: 30px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
span.required {
|
|
color: $orange;
|
|
}
|
|
|
|
div#tracking-code h3 {
|
|
padding-left: 0.3rem;
|
|
}
|
|
|
|
.wcs-step.current {
|
|
border-radius: $cell-border-radius;
|
|
}
|
|
|
|
#evolution-log.section > h2,
|
|
#summary.section > h2 {
|
|
border-bottom: 2px solid $orange;
|
|
}
|
|
|
|
.gru-content div.cell.dashboardcell > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
.newsitems {
|
|
order: 1;
|
|
}
|
|
.config-json-cell.evenements,
|
|
.config-json-cell.actualites {
|
|
display: none;
|
|
}
|
|
.deliberations-communales {
|
|
order: 3;
|
|
padding: 0 1em;
|
|
}
|
|
.eventitems {
|
|
margin-bottom: 1em;
|
|
order: 2;
|
|
}
|
|
}
|
|
|
|
.gru-content div.cell.dashboardcell .eventitems,
|
|
.gru-content div.cell.dashboardcell .newsitems {
|
|
h2 {
|
|
padding: 0 0 1rem 0;
|
|
}
|
|
h2 + div {
|
|
padding: 0;
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
div.buttons .cancel-button button,
|
|
.dashboardcell .categories button.off {
|
|
border: 1px solid $blue;
|
|
color: $font-color;
|
|
background: white;
|
|
}
|
|
|
|
.a2-block {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.gru-content div.cell.no-bottom-margin {
|
|
border-bottom-right-radius: 0;
|
|
+ div.cell {
|
|
border-top-left-radius: 0;
|
|
}
|
|
}
|
|
|
|
|
|
div.gru-nav li > a {
|
|
&::after {
|
|
content: "";
|
|
display: block;
|
|
width: 0px;
|
|
height: 2px;
|
|
background: $orange;
|
|
margin: 5px auto 0 auto;
|
|
transition: width linear 0.2s;
|
|
@media screen and ($max-mobile-viewport) {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.gru-nav > ul li ul {
|
|
box-shadow: 0px 13px 24px 0px rgba(0, 0, 0, 0.34);
|
|
padding: 10px;
|
|
@media screen and ($max-mobile-viewport) {
|
|
padding: 0 20px;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
div.gru-nav > ul > li li a {
|
|
padding: 0.5rem 0.5rem 0.15rem 0.5rem;
|
|
}
|
|
|
|
div.gru-nav li li a::after {
|
|
margin: 0;
|
|
}
|
|
|
|
div.gru-nav li:hover > a,
|
|
div.gru-nav li.selected > a {
|
|
border-bottom-color: transparent;
|
|
&:after {
|
|
width: calc(100% - 50px);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: $mobile-limit) and (max-width: $width) {
|
|
div#page div#main-content-wrapper, div#page main {
|
|
max-width: calc(100vw - 30px);
|
|
padding-left: 15px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $nav-mobile-limit) {
|
|
h2 + div.categories {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.wcs-step.current {
|
|
border: 2px solid $orange;
|
|
background: lighten($orange, 40);
|
|
}
|
|
|
|
.pwa-navigation div > ul li a span {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
#wca-login-box {
|
|
h2 {
|
|
text-align: center;
|
|
}
|
|
#agent-connect-button {
|
|
img {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
p {
|
|
text-align: center;
|
|
}
|
|
span {
|
|
display: inline-block;
|
|
background: linear-gradient(90deg, #bd1f68 0%, #e31049 100%);
|
|
padding: 5px 45px 5px 45px;
|
|
font-size: 18px;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
position: relative;
|
|
background-repeat: no-repeat;
|
|
background-position: left center;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
margin-left: 50px;
|
|
margin-bottom: 20px;
|
|
&::before {
|
|
content: url(../img/wca-button-icon.svg);
|
|
width: 50px;
|
|
height: 50px;
|
|
position: absolute;
|
|
display: inline-block;
|
|
left: -25px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
&::after {
|
|
content: url(../img/wca-button-arrow.svg);
|
|
width: 8px;
|
|
height: auto;
|
|
position: absolute;
|
|
display: inline-block;
|
|
right: 20px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.esirius-swi {
|
|
padding-top: 0 !important;
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.label {
|
|
margin-right: 1em;
|
|
}
|
|
.circle {
|
|
display: block;
|
|
box-sizing: content-box;
|
|
border: 5px solid white;
|
|
height: 40px;
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
padding: 10px;
|
|
width: 40px;
|
|
text-align: center;
|
|
line-height: 1.2em;
|
|
.value {
|
|
font-weight: bold;
|
|
font-size: 1.8rem;
|
|
}
|
|
.unit {
|
|
font-size: .7rem;
|
|
}
|
|
&.closed { border-color: #cccccc; }
|
|
&.unknown { border-color: #cccccc; }
|
|
&.level0 { border-color: #c3f000; }
|
|
&.level1 { border-color: #f0e100; }
|
|
&.level2 { border-color: $orange; }
|
|
&.level3 { border-color: #ff5e00; }
|
|
&.level4 { border-color: #ff1800; }
|
|
}
|
|
}
|
|
|
|
.login-intro {
|
|
text-align: center;
|
|
p {
|
|
margin-top: 0;
|
|
margin-bottom: 2em;
|
|
}
|
|
}
|