Merge pull request #217 from Safelite/CSR-266-validation-validation
CSR-266 update styles. Very minor style update.
This commit is contained in:
commit
9d40c9c29f
3 changed files with 20 additions and 4 deletions
|
|
@ -62,7 +62,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col my-3 d-flex align-items-center">
|
<div class="col my-3 d-flex align-items-center">
|
||||||
<buttonMain buttonText="secondary" loaderColor="white" sizeInRem="1" />
|
<buttonMain buttonText="Secondary" loaderColor="white" sizeInRem="1" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,24 @@
|
||||||
&.list-button,
|
&.list-button,
|
||||||
&.list-card,
|
&.list-card,
|
||||||
&.list-button-horizontal {
|
&.list-button-horizontal {
|
||||||
|
border: 1px solid transparent;
|
||||||
|
box-shadow: 0 0 0 1px $red;
|
||||||
color: $red;
|
color: $red;
|
||||||
label {
|
label {
|
||||||
border: 1px solid $red;
|
box-shadow: 0 0 0 2.5px $red;
|
||||||
|
border-radius: .5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
input[type=checkbox]:focus + label,
|
||||||
|
input[type=radio]:checked + label {
|
||||||
|
box-shadow: 0 0 0 2.5px transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-test-error {
|
.form-test-error {
|
||||||
color: $red;
|
color: $red;
|
||||||
font-weight: bold;
|
font-size: .875rem;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-test-invalid {
|
.form-test-invalid {
|
||||||
|
|
@ -28,4 +36,4 @@
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,10 @@ export default {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: $border-radius-lg;
|
border-radius: $border-radius-lg;
|
||||||
}
|
}
|
||||||
|
&.has-loader {
|
||||||
|
color: $white;
|
||||||
|
background: $blue-700;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.btn-secondary {
|
&.btn-secondary {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -97,6 +101,10 @@ export default {
|
||||||
color: $white;
|
color: $white;
|
||||||
@include blue-gradient;
|
@include blue-gradient;
|
||||||
}
|
}
|
||||||
|
&:active {
|
||||||
|
@include blue-gradient;
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
&:focus, // Mouse, touch, stylus focus
|
&:focus, // Mouse, touch, stylus focus
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
// Keyboard focus for accessibility
|
// Keyboard focus for accessibility
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue