]> _ Git - fluidbook-html5.git/commitdiff
#1445 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 13 Jun 2017 16:42:56 +0000 (18:42 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 13 Jun 2017 16:42:56 +0000 (18:42 +0200)
style/mixins.less
style/slider.less

index 0cd8e376374a11905f31cb8ff2947d814c36f407..2e893964b0ca514159a1b89ecd4e99ecb5bd066b 100644 (file)
@@ -2,4 +2,8 @@
        background-color: rgba(0, 0, 0, 0.5);
        transition: opacity 400ms;
        opacity: 0;
+}
+
+.hideifnot(@display) when not (@display) {
+       display: none;
 }
\ No newline at end of file
index f053b4458c466844f3ad86ab48175aaf17ad9980..d4fd99f0fb7c593db6f04cdc86c701962a529322 100644 (file)
@@ -1,11 +1,11 @@
 @slider-background: rgba(0, 0, 0, 0.1);
-@slider-thumb-background: @menu-background;
 
 #slider {
        position: absolute;
        height: 6px;
        bottom: 20px;
        cursor: pointer;
+       .hideifnot(@slider-display);
 
        .visible {
                height: 6px;