HTMLテンプレートやBootstrapを追加
This commit is contained in:
12
app/assets/scss/material-dashboard/mixins/_badge.scss
Normal file
12
app/assets/scss/material-dashboard/mixins/_badge.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
@mixin badge-variant($bg) {
|
||||
color: saturate(darken($bg, 10%), 10);
|
||||
background-color: lighten($bg, 32%);
|
||||
|
||||
&[href] {
|
||||
@include hover-focus {
|
||||
color: color-yiq($bg);
|
||||
text-decoration: none;
|
||||
background-color: darken($bg, 12%);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user