|
@@ -898,23 +898,29 @@ html {
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
- * STATES
|
|
|
+ * DEFAULT STATES
|
|
|
*********************************************/
|
|
|
|
|
|
-.blurred #reveal * {
|
|
|
- color: rgba( 255, 255, 255, 0 );
|
|
|
- text-shadow: 0px 0px 5px #fff;
|
|
|
-
|
|
|
- -webkit-transition: color .8s ease,
|
|
|
- text-shadow .8s ease;
|
|
|
- -moz-transition: color .8s ease,
|
|
|
- text-shadow .8s ease;
|
|
|
- -ms-transition: color .8s ease,
|
|
|
- text-shadow .8s ease;
|
|
|
- -o-transition: color .8s ease,
|
|
|
- text-shadow .8s ease;
|
|
|
- transition: color .8s ease,
|
|
|
- text-shadow .8s ease;
|
|
|
+.state-background {
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: rgba( 0, 0, 0, 0 );
|
|
|
+
|
|
|
+ -webkit-transition: background 800ms ease;
|
|
|
+ -moz-transition: background 800ms ease;
|
|
|
+ -ms-transition: background 800ms ease;
|
|
|
+ -o-transition: background 800ms ease;
|
|
|
+ transition: background 800ms ease;
|
|
|
+}
|
|
|
+.alert .state-background {
|
|
|
+ background: rgba( 200, 50, 30, 0.6 );
|
|
|
+}
|
|
|
+.soothe .state-background {
|
|
|
+ background: rgba( 50, 200, 90, 0.4 );
|
|
|
+}
|
|
|
+.blackout .state-background {
|
|
|
+ background: rgba( 0, 0, 0, 0.6 );
|
|
|
}
|
|
|
|
|
|
|