app/assets/stylesheets/semantic-ui/modules/dimmer.less in semantic-ui-rails-0.11.0 vs app/assets/stylesheets/semantic-ui/modules/dimmer.less in semantic-ui-rails-0.12.0
- old
+ new
@@ -31,60 +31,28 @@
background-color: rgba(0, 0, 0, 0.85);
opacity: 0;
line-height: 1;
- -webkit-animation-fill-mode: both;
- -moz-animation-fill-mode: both;
- -o-animation-fill-mode: both;
- -ms-animation-fill-mode: both;
animation-fill-mode: both;
-
- -webkit-animation-duration: 0.5s;
- -moz-animation-duration: 0.5s;
- -o-animation-duration: 0.5s;
- -ms-animation-duration: 0.5s;
animation-duration: 0.5s;
- -webkit-transition:
- background-color 0.5s linear
- ;
- -moz-transition:
- background-color 0.5s linear
- ;
- -o-transition:
- background-color 0.5s linear
- ;
- -ms-transition:
- background-color 0.5s linear
- ;
transition:
background-color 0.5s linear
;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
user-select: none;
-
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -ms-box-sizing: border-box;
box-sizing: border-box;
z-index: 1000;
}
/* Dimmer Content */;
.ui.dimmer > .content {
width: 100%;
height: 100%;
display: table;
-
- -webkit-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
user-select: text;
}
.ui.dimmer > .content > div {
display: table-cell;
vertical-align: middle;
@@ -92,18 +60,14 @@
}
/* Loose Coupling */
.ui.segment > .ui.dimmer {
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
border-radius: 5px;
}
.ui.horizontal.segment > .ui.dimmer,
.ui.vertical.segment > .ui.dimmer {
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
border-radius: 5px;
}
/*******************************
States
@@ -145,13 +109,13 @@
.ui.scrolling.dimmable > .dimmer,
.ui.scrolling.page.dimmer {
position: absolute;
}
-/*
+
+/* Blurred Background
body.ui.dimmed.dimmable > :not(.dimmer){
- -webkit-filter: ~"blur(15px) grayscale(0.7)";
- -moz-filter: ~"blur(15px) grayscale(0.7)";
+ filter: ~"blur(15px) grayscale(0.7)";
}
*/
/*--------------
Aligned
\ No newline at end of file