mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-27 09:00:36 +03:00
mixin btn-shadow must be defined before use.
This commit is contained in:
parent
724b4acf66
commit
12dbc8d160
|
@ -1,3 +1,11 @@
|
||||||
|
.btn-shadow() {
|
||||||
|
.shadow-z-1();
|
||||||
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
&:active:not(.btn-link) {
|
||||||
|
.shadow-z-1-hover();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 8px 30px;
|
padding: 8px 30px;
|
||||||
|
@ -135,11 +143,3 @@
|
||||||
.btn-group-flat {
|
.btn-group-flat {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-shadow() {
|
|
||||||
.shadow-z-1();
|
|
||||||
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
||||||
&:active:not(.btn-link) {
|
|
||||||
.shadow-z-1-hover();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user