CSR-266 update styles.
This commit is contained in:
parent
dc75bef8e8
commit
5bbb6dc9f5
3 changed files with 20 additions and 4 deletions
|
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<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 class="row">
|
||||
|
|
|
|||
|
|
@ -2,16 +2,24 @@
|
|||
&.list-button,
|
||||
&.list-card,
|
||||
&.list-button-horizontal {
|
||||
border: 1px solid transparent;
|
||||
box-shadow: 0 0 0 1px $red;
|
||||
color: $red;
|
||||
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 {
|
||||
color: $red;
|
||||
font-weight: bold;
|
||||
font-size: .875rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.form-test-invalid {
|
||||
|
|
@ -28,4 +36,4 @@
|
|||
box-shadow: none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,6 +85,10 @@ export default {
|
|||
border: none;
|
||||
border-radius: $border-radius-lg;
|
||||
}
|
||||
&.has-loader {
|
||||
color: $white;
|
||||
background: $blue-700;
|
||||
}
|
||||
}
|
||||
&.btn-secondary {
|
||||
position: relative;
|
||||
|
|
@ -97,6 +101,10 @@ export default {
|
|||
color: $white;
|
||||
@include blue-gradient;
|
||||
}
|
||||
&:active {
|
||||
@include blue-gradient;
|
||||
color: $white;
|
||||
}
|
||||
&:focus, // Mouse, touch, stylus focus
|
||||
&:focus-visible {
|
||||
// Keyboard focus for accessibility
|
||||
|
|
|
|||
Loading…
Reference in a new issue