Checked but disabled booleans did not appear as disabled
authorAlexander Ebert <ebert@woltlab.com>
Fri, 8 Jun 2018 12:50:31 +0000 (14:50 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 8 Jun 2018 12:50:31 +0000 (14:50 +0200)
wcfsetup/install/files/style/ui/buttonGroupFlexible.scss

index 03fc4fc5e0356457e915e94303412529d3bbfa56..31cf34a6f4b0ae4144672b231e21fc7148df3879 100644 (file)
                                color: #000;
                        }
                }
-               
-               > input[type="radio"]:disabled + label {
-                       background-color: rgb(242, 242, 242) !important;
-                       color: rgb(125, 130, 100) !important;
-                       cursor: default;
-                       
-                       > .icon {
-                               color: rgb(125, 130, 100) !important;
-                               cursor: default !important;
-                       }
-               }
+       }
+}
+
+.disabled .flexibleButtonGroup > li > input[type="radio"]:checked + label,
+.flexibleButtonGroup > li > input[type="radio"]:disabled + label {
+       background-color: rgb(242, 242, 242) !important;
+       color: rgb(125, 130, 100) !important;
+       cursor: default;
+       
+       > .icon {
+               color: rgb(125, 130, 100) !important;
+               cursor: default !important;
        }
 }