add theme for meuse (CD-55) (#38484)
This commit is contained in:
parent
04074b23b7
commit
3c4d57765d
|
@ -0,0 +1,278 @@
|
|||
%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-width: $mobile-limit) {
|
||||
padding-left: $nav-menu-side + 10;
|
||||
}
|
||||
@media (min-width: $mobile-limit + 1) {
|
||||
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-width: $mobile-limit + 1) {
|
||||
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 {
|
||||
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-width: $mobile-limit + 1) {
|
||||
&::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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,82 @@
|
|||
// CUSTOM VARS
|
||||
// Nuancier
|
||||
$white-blue: #EEF5FA;
|
||||
$desaturated-blue: #698296;
|
||||
$dark-desaturated-blue: #3C4F5F;
|
||||
$xdark-blue: #142C3F;
|
||||
$black-blue: #091F30;
|
||||
$light-red: #ff5a4e;
|
||||
//font-sizes
|
||||
$fz-h1: 2.8em;
|
||||
$fz-h2: 2.125em;
|
||||
$fz-h3: 1.625em;
|
||||
$fz-h4: 1.44em;
|
||||
$fz-h5: 1.18em;
|
||||
$fz-small: 0.85em;
|
||||
// layout
|
||||
$meuse-toplinks-height: 3.125rem;
|
||||
$meuse-main-top-padding: 2rem;
|
||||
$meuse-logo-height-mobile: 50px;
|
||||
$meuse-logo-width-desktop: 322px;
|
||||
|
||||
// CORE VARS
|
||||
$primary_color: $light-red;
|
||||
|
||||
$font-family: 'Source Sans Pro', sans-serif;
|
||||
$font-color: $black-blue;
|
||||
$link-color: $desaturated-blue;
|
||||
|
||||
$width: 1440px;
|
||||
$mobile-limit: 960px;
|
||||
$very-small-limit: 560px;
|
||||
$border-radius: 0;
|
||||
$sidebar-width: 25%;
|
||||
$sidebar-max-width: 19rem;
|
||||
$sidebar-min-width: 16rem;
|
||||
|
||||
$nav-background: $dark-desaturated-blue;
|
||||
$nav-mobile-menu-background: $dark-desaturated-blue;
|
||||
$nav-full-width-background: true;
|
||||
$nav-color: white;
|
||||
$nav-mobile-menu-item-color: white;
|
||||
$nav-item-selected-background: $xdark-blue;
|
||||
$nav-button-background: $xdark-blue;
|
||||
$nav-menu-side: 40px;
|
||||
$nav-border-color: transparent;
|
||||
|
||||
$title-color: $black-blue;
|
||||
$title-background: transparent;
|
||||
$title-font-size: $fz-h4;
|
||||
$title-weight: 700;
|
||||
|
||||
$cell-border: none;
|
||||
$cell-background: transparent;
|
||||
$cell-image-position: top;
|
||||
$cell-image-padding: 0;
|
||||
$cell-entry-hover-background: lighten($light-red, 25%);
|
||||
$cell-entry-border-color: lighten($desaturated-blue, 20%);
|
||||
|
||||
$button-background: $light-red;
|
||||
$button-color: $dark-desaturated-blue;
|
||||
$button-hover-color: $black-blue;
|
||||
$button-border: 1px solid darken($light-red, 20%);
|
||||
$button-border-radius: 5px;
|
||||
|
||||
$widget-focus-color: $black-blue;
|
||||
$widget-background: hsla(0,0%,100%,0.3);
|
||||
$widget-focus-background: white;
|
||||
$widget-border: 1px solid lighten($desaturated-blue, 20%);
|
||||
$widget-focus-border: 1px solid $desaturated-blue;
|
||||
|
||||
$wcs-steps-spacing: 1rem;
|
||||
$wcs-step-color: $desaturated-blue;
|
||||
$wcs-step-current-color: $xdark-blue;
|
||||
$wcs-step-border-bottom: none;
|
||||
$wcs-step-marker-type: disc tied;
|
||||
$wcs-step-marker-background: white;
|
||||
$wcs-step-current-marker-background: $primary-color;
|
||||
$wcs-step-marker-tie-width: 2px;
|
||||
$wcs-step-current-marker-enlarge: 1.4;
|
||||
|
||||
$footer-background: $dark-desaturated-blue;
|
||||
$footer-color: white;
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"label": "Meuse (CD55)",
|
||||
"variables": {
|
||||
"theme_color": "#142c3f"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
|
@ -0,0 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
@import '../includes/font-source-sans-pro.scss';
|
||||
|
||||
@import 'vars';
|
||||
@import '../includes/publik';
|
||||
@import 'custom';
|
Loading…
Reference in New Issue