concarneau: update steps (#36765)

This commit is contained in:
Thomas JUND 2019-11-21 16:06:55 +01:00
parent ceff226c59
commit 788a7270eb
2 changed files with 43 additions and 72 deletions

View File

@ -267,58 +267,6 @@ body {
}
}
#steps {
border-top: 12px solid white;
background-color: $tertiary-color;
ol {
padding: 0;
li {
margin: 0 1em;
padding: 1em 0;
border-bottom: 2px solid #BABABA;
word-wrap: break-word;
span {
float: left;
color: #333;
}
span.marker {
width: 20%;
margin-right: 10%;
line-height: 1em;
vertical-align: middle;
text-align: right;
font-family: OpenSans-Bold,Arial,sans-serif;
}
span.label {
max-width: 70%;
vertical-align: middle;
font-style: italic;
font-size: 0.9em;
}
}
li::after {
content: '';
clear: both;
display: block;
}
li:last-child {
border-bottom: none;
}
li.current {
background: $primary-color;
margin: 0;
border-bottom: none;
padding-left: 1em;
span {
color: white;
}
}
}
}
}
.cell {
@ -598,29 +546,43 @@ body #page {
}
}
#steps {
order: 2;
ol li span.marker,
ol li.current span.marker {
background: none;
border: none;
}
ol li {
display: block;
span.marker {
color: $secondary-color;
}
}
ol li.current span.marker {
padding-left: 5px;
}
ol li.current span.label {
font-weight: bold;
}
}
}
}
}
}
// Steps
.wcs-steps {
font-size: 1.4em;
order: 2;
clear: both;
margin-top: 12px;
}
.wcs-step {
&--marker {
font-family: OpenSans-Bold,Arial,sans-serif;
font-weight: 700;
}
&--label {
font-style: italic;
margin: 1em;
font-size: .7em;
}
}
@include desktop-vertical-steps() {
.wcs-step {
font-size: 1.2em;
&.current {
background-color: $primary-color;
color: #fff;
}
&--label {
margin: 0;
font-size: 0.54em;
color: inherit !important;
}
}
}

View File

@ -50,3 +50,12 @@ $button-border: 0;
$button-hover-background: #f39200;
$button-hover-color: black;
$wcs-steps-spacing: 0;
$wcs-step-border-bottom: none;
$wcs-steps-background: $tertiary-color;
$wcs-step-color: #333;
$wcs-step-current-color: #333;
$wcs-step-current-marker-color: #fff;
$wcs-step-current-marker-background: $primary-color;
$wcs-step-marker-size: 2.5em;