add safe and danger classes to alertify styles
parent
803e57c958
commit
0d30a1e00f
|
@ -136,6 +136,18 @@
|
|||
border: 1px solid @alertify-base;
|
||||
border-radius: 5px;
|
||||
|
||||
&.safe, &.danger {
|
||||
color: @old-base;
|
||||
}
|
||||
&.danger {
|
||||
background-color: @cp-red;
|
||||
}
|
||||
|
||||
&.safe {
|
||||
background-color: @cp-green;
|
||||
}
|
||||
|
||||
|
||||
&:hover, &:active {
|
||||
background-color: @alertify-btn-bg-hover;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue