armentieres: fix wcs summary & buttons layout (#70745)
This commit is contained in:
parent
769c01a44c
commit
c77a4bf2b4
|
@ -2,21 +2,29 @@
|
|||
h1 {
|
||||
font-size: $fz-1;
|
||||
font-family: 'Archivo Black', 'Rubik', sans-serif;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: $fz-2;
|
||||
font-family: 'Viga', 'Rubik', sans-serif;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: $fz-3;
|
||||
font-family: 'Viga', 'Rubik', sans-serif;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: $fz-4;
|
||||
font-family: 'Viga', 'Rubik', sans-serif;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
// Layout
|
||||
|
@ -43,16 +51,18 @@ div#main-content-wrapper {
|
|||
// Notices
|
||||
.errornotice, .warningnotice, .successnotice, .infonotice {
|
||||
border-radius: $border-radius;
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
padding-right: 2rem;
|
||||
padding: 25px 60px;
|
||||
color: $gray-dark;
|
||||
|
||||
a {
|
||||
color: $red;
|
||||
}
|
||||
|
||||
&::before {
|
||||
top: calc(50% - 1rem);
|
||||
top: 15px;
|
||||
left: 20px;
|
||||
right: auto;
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ $notification_error_color: $red-light;
|
|||
$notification_warning_color: #e5e5e5;
|
||||
$notification_success_color: $green-light;
|
||||
$notification_info_color: $yellow-light;
|
||||
$notification-icon-size: 2rem;
|
||||
$sidebar-columns-gutter: 50px;
|
||||
$back-top-display: block;
|
||||
$back-top-icon-character: "\f062";
|
||||
|
|
|
@ -73,8 +73,11 @@ div#tracking-code {
|
|||
// Widgets
|
||||
%button {
|
||||
box-shadow: none;
|
||||
height: 35px;
|
||||
vertical-align: center;
|
||||
height: 45px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
@media($max-mobile-viewport) {
|
||||
height: 45px;
|
||||
}
|
||||
|
@ -139,6 +142,18 @@ input::placeholder {
|
|||
|
||||
.form-content {
|
||||
&--body .buttons.submit {
|
||||
@media($max-mobile-viewport) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
.content {
|
||||
width: 100%;
|
||||
|
||||
button { width: 100%; }
|
||||
}
|
||||
}
|
||||
|
||||
.form-next{
|
||||
@include form-button-right('\f054');
|
||||
}
|
||||
|
@ -159,9 +174,14 @@ input::placeholder {
|
|||
|
||||
.back-home-button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-content: stretch;
|
||||
|
||||
a {
|
||||
@extend %button;
|
||||
|
||||
width: 100%;
|
||||
margin: 0 0.5rem;
|
||||
|
||||
&::after {
|
||||
content: '\f0e2';
|
||||
font-family: FontAwesome;
|
||||
|
@ -192,6 +212,27 @@ input::placeholder {
|
|||
}
|
||||
}
|
||||
|
||||
div.form-validation div.page {
|
||||
border-radius: $border-radius;
|
||||
div.form-validation, div#summary{
|
||||
div.page {
|
||||
border-radius: $border-radius;
|
||||
background: $gray-xlight;
|
||||
padding: 1rem 1rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
div#summary {
|
||||
&::after {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
display: inline-block;
|
||||
background: $gray-dark;
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
||||
.timetable-widget {
|
||||
.head {
|
||||
font-size: $fz-small;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue