mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-27 03:54:13 +03:00
84 lines
2.5 KiB
SCSS
84 lines
2.5 KiB
SCSS
// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
|
|
|
|
@mixin shadow-z-1(){
|
|
box-shadow:
|
|
0 1px 6px 0 rgba(0, 0, 0, 0.12),
|
|
0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
@mixin shadow-z-1-hover(){
|
|
box-shadow:
|
|
0 5px 11px 0 rgba(0, 0, 0, 0.18),
|
|
0 4px 15px 0 rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
@mixin shadow-z-2(){
|
|
box-shadow:
|
|
0 8px 17px 0 rgba(0, 0, 0, 0.2),
|
|
0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
}
|
|
|
|
@mixin shadow-z-3(){
|
|
box-shadow:
|
|
0 12px 15px 0 rgba(0, 0, 0, 0.24),
|
|
0 17px 50px 0 rgba(0, 0, 0, 0.19);
|
|
}
|
|
|
|
@mixin shadow-z-4(){
|
|
box-shadow:
|
|
0 16px 28px 0 rgba(0, 0, 0, 0.22),
|
|
0 25px 55px 0 rgba(0, 0, 0, 0.21);
|
|
}
|
|
|
|
@mixin shadow-z-5(){
|
|
box-shadow:
|
|
0 27px 24px 0 rgba(0, 0, 0, 0.2),
|
|
0 40px 77px 0 rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
|
|
/* Shadows (from mdl http://www.getmdl.io/) */
|
|
|
|
// Focus shadow mixin.
|
|
@mixin focus-shadow(){
|
|
box-shadow: 0 0 8px rgba(0,0,0,.18),0 8px 16px rgba(0,0,0,.36);
|
|
}
|
|
|
|
@mixin shadow-2dp(){
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
|
|
0 3px 1px -2px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity),
|
|
0 1px 5px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity);
|
|
}
|
|
@mixin shadow-3dp(){
|
|
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
|
|
0 3px 3px -2px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity),
|
|
0 1px 8px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity);
|
|
}
|
|
@mixin shadow-4dp(){
|
|
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
|
|
0 1px 10px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
|
|
0 2px 4px -1px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
|
|
}
|
|
@mixin shadow-6dp(){
|
|
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
|
|
0 1px 18px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
|
|
0 3px 5px -1px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
|
|
}
|
|
@mixin shadow-8dp(){
|
|
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
|
|
0 3px 14px 2px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
|
|
0 5px 5px -3px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
|
|
}
|
|
|
|
@mixin shadow-16dp(){
|
|
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
|
|
0 6px 30px 5px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
|
|
0 8px 10px -5px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
|
|
}
|
|
|
|
@mixin shadow-24dp(){
|
|
box-shadow: 0 9px 46px 8px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
|
|
0 11px 15px -7px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
|
|
0 24px 38px 3px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
|
|
}
|