mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-30 02:35:49 +00:00
add alert-variant
This commit is contained in:
parent
680748cb8a
commit
54efdd6bbd
1 changed files with 12 additions and 4 deletions
|
@ -235,10 +235,18 @@ table td.action-column {
|
|||
color: @spring-brown;
|
||||
}
|
||||
|
||||
.alert-variant {
|
||||
background-color: @spring-light-grey;
|
||||
border: @spring-light-grey;
|
||||
color: black;
|
||||
@mixin alert-variant($background, $border, $color) {
|
||||
color: $color;
|
||||
@include gradient-bg($background);
|
||||
border-color: $border;
|
||||
|
||||
hr {
|
||||
border-top-color: darken($border, 5%);
|
||||
}
|
||||
|
||||
.alert-link {
|
||||
color: darken($color, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
|
|
Loading…
Reference in a new issue