1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-01 16:04:37 +04:00

add card with dimmer

This commit is contained in:
mrszympek
2019-06-01 21:50:56 +02:00
parent 4e49320d0a
commit de4d9c96e0
2 changed files with 29 additions and 0 deletions
+28
View File
@@ -33,3 +33,31 @@
animation-iteration-count: infinite;
}
}
/**
Dimmer
*/
.dimmer {
position: relative;
.loader {
display: none;
margin: 0 auto;
position: absolute;
top: 50%;
left: 0;
right: 0;
transform: translateY(-50%);
}
&.active {
.loader {
display: block;
}
.dimmer-content {
opacity: .1;
pointer-events: none;
}
}
}