292 lines
4.7 KiB
SCSS
292 lines
4.7 KiB
SCSS
%button {
|
|
@extend %button;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
font-size: $fz-small;
|
|
|
|
&:hover {
|
|
border-color: $black-blue;
|
|
}
|
|
}
|
|
|
|
%transparent-btn {
|
|
background-color: transparent !important;
|
|
border-color: $desaturated-blue;
|
|
|
|
&:hover {
|
|
background-color: white !important;
|
|
}
|
|
}
|
|
|
|
%cancel-button {
|
|
@extend %transparent-btn;
|
|
}
|
|
|
|
|
|
// Header
|
|
.site-header {
|
|
background-color: $white-blue;
|
|
padding-top: $meuse-toplinks-height;
|
|
color: #fff;
|
|
|
|
#logo {
|
|
font-size: $fz-h4;
|
|
padding-bottom: .5em;
|
|
@media ($max-mobile-viewport) {
|
|
padding-left: $nav-menu-side + 10;
|
|
}
|
|
@media ($min-desktop-viewport) {
|
|
padding-bottom: 2em;
|
|
}
|
|
a {
|
|
display: block;
|
|
color: inherit;
|
|
padding-top: $meuse-logo-height-mobile + 10;
|
|
padding-left: 5px;
|
|
background: url(img/logo-meuse-header.png) no-repeat;
|
|
background-size: auto $meuse-logo-height-mobile;
|
|
background-position: left top 10px;
|
|
|
|
@media ($min-desktop-viewport) {
|
|
padding-top: $meuse-logo-width-desktop / 5;
|
|
padding-bottom: $meuse-logo-width-desktop / 21;
|
|
padding-left: $meuse-logo-width-desktop + 20;
|
|
background-size: $meuse-logo-width-desktop auto;
|
|
background-position: left 10px bottom;
|
|
&::before {
|
|
content: "";
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
height: 1px;
|
|
width: 2em;
|
|
margin-right: .66em;
|
|
border-bottom: 1px dashed;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#header-wrapper {
|
|
background-image: linear-gradient(to bottom, $dark-desaturated-blue, $black-blue);
|
|
min-height: 50px;
|
|
}
|
|
}
|
|
|
|
|
|
// Toplinks
|
|
#toplinks {
|
|
top: -1 * $meuse-toplinks-height;
|
|
height: $meuse-toplinks-height;
|
|
line-height: $meuse-toplinks-height;
|
|
padding: 0 0.7em;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
border: 0 none;
|
|
text-transform: uppercase;
|
|
color: $dark-desaturated-blue;
|
|
|
|
a {
|
|
color: inherit;
|
|
&:first-child {
|
|
font-weight: 700;
|
|
}
|
|
&:hover, &:focus {
|
|
color: black;
|
|
text-decoration: underline dotted;
|
|
}
|
|
}
|
|
|
|
span.sep {
|
|
display: inline-block;
|
|
vertical-align: text-bottom;
|
|
line-height: 1.25em;
|
|
width: 1px;
|
|
overflow: hidden;
|
|
background-color: currentColor;
|
|
margin: 0 .66em;
|
|
}
|
|
|
|
span.connected-user {
|
|
padding-right: 0.7em !important;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
// Nav
|
|
div.gru-nav > ul {
|
|
margin: 0;
|
|
border-top: 0 !important;
|
|
}
|
|
|
|
|
|
// Page layout
|
|
#sidebar {
|
|
background-color: $white-blue;
|
|
padding-top: 2em;
|
|
// change Sidebar gutter with columns
|
|
margin-right: 20px;
|
|
.gru-content & div.cell {
|
|
margin-right: 10px;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
// hack to force sidebar min-height to be 100% of main height
|
|
div#page main,
|
|
#main-content {
|
|
display: flex;
|
|
}
|
|
#main-content,
|
|
#content {
|
|
min-height: 100% !important;
|
|
width: 100%;
|
|
}
|
|
|
|
#columns {
|
|
padding-top: $meuse-main-top-padding;
|
|
> * {
|
|
padding-bottom: $meuse-main-top-padding;
|
|
}
|
|
}
|
|
#footer-wrapper {
|
|
margin-top: 0;
|
|
}
|
|
|
|
|
|
// cells
|
|
.wcsformsofcategorycell,
|
|
.link-list-cell,
|
|
.categories-cell,
|
|
.link-cell {
|
|
box-shadow: 0 0 5px #aaa;
|
|
}
|
|
div.list-of-forms span.form-number {
|
|
opacity: 1;
|
|
font-weight: 300;
|
|
}
|
|
|
|
// WCS
|
|
div#gauche,
|
|
div#rub_service {
|
|
margin-top: 0;
|
|
}
|
|
div#rub_service {
|
|
background-color: $white-blue;
|
|
position: relative;
|
|
|
|
// Start visually rub-services just after nav
|
|
@media ($min-desktop-viewport) {
|
|
&::before {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
bottom: 100%;
|
|
height: $meuse-main-top-padding;
|
|
width: 100%;
|
|
background-color: inherit;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
font-size: $fz-h2;
|
|
}
|
|
|
|
// align with title
|
|
div.dataview,
|
|
dl#evolutions,
|
|
form {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
div.form-validation div.page {
|
|
background-color: inherit;
|
|
}
|
|
|
|
//steps
|
|
.wcs-steps {
|
|
padding-left: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.wcs-step {
|
|
&--marker {
|
|
border: 1px solid;
|
|
}
|
|
&--label {
|
|
text-transform: uppercase;
|
|
@include desktop-vertical-steps() {
|
|
font-size: .65em;
|
|
}
|
|
}
|
|
&.current & {
|
|
&--marker {
|
|
border-color: $primary-color;
|
|
border-style: dotted;
|
|
padding: 0.15em;
|
|
background-clip: content-box;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Foldable arrow
|
|
div.section.foldable > h2:first-child,
|
|
div.cell.foldable > div > h2:first-child {
|
|
&::after {
|
|
width: 1em;
|
|
text-align: center;
|
|
color: $light-red;
|
|
}
|
|
&:hover {
|
|
&::after {
|
|
background-color: #fff;
|
|
box-shadow: 0 0 1px 1px currentColor;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// fargo
|
|
div#user-files {
|
|
thead th {
|
|
text-transform: uppercase;
|
|
font-size: $fz-small;
|
|
font-weight: 400;
|
|
padding: 0.3em 1em;
|
|
}
|
|
thead,
|
|
tbody tr.even {
|
|
background-color: $white-blue;
|
|
}
|
|
}
|
|
|
|
|
|
// Footer
|
|
#footer-wrapper {
|
|
padding-top: 50px;
|
|
|
|
@media (max-width: $very-small-limit) {
|
|
text-align: center;
|
|
}
|
|
|
|
.meuse-logo-footer {
|
|
margin-top: -40px;
|
|
|
|
img {
|
|
width: 100% !important;
|
|
height: auto !important;
|
|
max-width: 150px;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: $footer-color;
|
|
font-size: 0.9em;
|
|
|
|
&:hover {
|
|
color: lighten($primary-color, 25%);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|