chore: Remove bourbon dependancy (#5215)

This commit is contained in:
Pranav Raj S
2022-08-08 21:02:29 +05:30
committed by GitHub
parent 20f3568583
commit d8de16fd70
27 changed files with 188 additions and 252 deletions

View File

@@ -1,11 +1,10 @@
.status-bar {
@include flex;
flex-direction: column;
@include flex-align($x: center, $y: middle);
background: lighten($warning-color, 36%);
// @include elegant-card();
@include margin($zero);
@include padding($space-normal $space-smaller);
flex-direction: column;
margin: 0;
padding: $space-normal $space-smaller;
.message {
font-weight: $font-weight-medium;
@@ -13,7 +12,7 @@
}
.button {
@include margin($space-smaller $zero $zero);
margin: $space-smaller $zero $zero;
padding: $space-small $space-normal;
}
@@ -23,14 +22,18 @@
.button {
// Default and disabled states
&,
&.disabled, &[disabled],
&.disabled:hover, &[disabled]:hover,
&.disabled:focus, &[disabled]:focus {
&.disabled,
&[disabled],
&.disabled:hover,
&[disabled]:hover,
&.disabled:focus,
&[disabled]:focus {
background-color: $alert-color;
color: $color-white;
}
&:hover, &:focus {
&:hover,
&:focus {
background-color: darken($alert-color, 7%);
color: $color-white;
}