mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-11 07:18:40 +00:00
Optimize scss
This commit is contained in:
parent
3cfe9c7a90
commit
648ba00373
32
alert.scss
32
alert.scss
|
|
@ -7,26 +7,14 @@ div.alert {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.alertbox.ok, .alert.ok {
|
@each $tuple in
|
||||||
background: #aaffad;
|
'ok' #aaffad #81e27d #459442,
|
||||||
border: 2px solid #81e27d;
|
'warning' #f8ffa8 #d6d949 #94972f,
|
||||||
color: #459442;
|
'error' #ff7d79 #ee5649 #a5302a,
|
||||||
}
|
'info' #b6d2ff #85b0ee #4865a5 {
|
||||||
|
.alertbox.#{nth($tuple, 1)}, .alert.#{nth($tuple, 1)} {
|
||||||
.alertbox.warning, .alert.warning {
|
background: #{nth($tuple, 2)};
|
||||||
background: #f8ffa8;
|
border: 2px solid #{nth($tuple, 3)};
|
||||||
border: 2px solid #d6d949;
|
color: #{nth($tuple, 4)};
|
||||||
color: #94972f;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.alertbox.error, .alert.error{
|
|
||||||
background: #ff7d79;
|
|
||||||
border: 2px solid #ee5649;
|
|
||||||
color: #a5302a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.alertbox.info, .alert.info{
|
|
||||||
background: #b6d2ff;
|
|
||||||
border: 2px solid #85b0ee;
|
|
||||||
color: #4865a5;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user