Skip to content

Commit d44fbda

Browse files
Make disabled checkbox look more convincingly useless
1 parent 3b1f0db commit d44fbda

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

res/css/views/settings/tabs/user/_AppearanceUserSettingsTab.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ limitations under the License.
6868
border-radius: 10px;
6969
width: 180px;
7070

71-
background: rgba($radio-bg-color, 0.2);
71+
background: $radio-bg-color;
72+
opacity: 0.4;
7273

7374
flex-shrink: 1;
7475
flex-grow: 0;
@@ -85,7 +86,9 @@ limitations under the License.
8586
}
8687

8788
> .mx_RadioButton_enabled {
88-
// These need to be hardcoded because they don't change with the theme
89+
opacity: 1;
90+
91+
// These colors need to be hardcoded because they don't change with the theme
8992
&.mx_ThemeSelector_light {
9093
background-color: #f3f8fd;
9194
color: #2e2f32;

0 commit comments

Comments
 (0)