Updated color schema for image viewer
authorAlexander Ebert <ebert@woltlab.com>
Sat, 20 Aug 2016 11:02:33 +0000 (13:02 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 20 Aug 2016 11:02:33 +0000 (13:02 +0200)
wcfsetup/install/files/style/ui/imageViewer.scss

index 679b2974ed7d7da869a0b585abb41e1fbacef77c..e04cb45c63f149a19c888aac50064f8a2a4bbee5 100644 (file)
@@ -14,9 +14,7 @@ $wcfImageViewerFontColor: rgba(211, 211, 211, 1);
        z-index: 399;
        
        .icon {
-               color: rgba(102, 102, 102, 1);
-               
-               text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
+               color: rgb(158, 158, 158);
        }
        
        &.open {
@@ -253,6 +251,10 @@ $wcfImageViewerFontColor: rgba(211, 211, 211, 1);
        }
        
        &:not(.wcfImageViewerMobile) {
+               .icon:hover {
+                       color: rgb(255, 255, 255);
+               }
+               
                > header {
                        transition: top .24s linear;
                }
@@ -284,6 +286,10 @@ $wcfImageViewerFontColor: rgba(211, 211, 211, 1);
                                > li {
                                        flex: 0 0 auto;
                                        
+                                       &:not(.pointer) > .icon {
+                                               color: rgb(66, 66, 66) !important;
+                                       }
+                                       
                                        &.pointer > span.icon {
                                                cursor: pointer;
                                        }