Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 21e7847

Browse files
authored
Merge pull request #5905 from matrix-org/jryans/image-bg-opacity
Use floats for image background opacity
2 parents ba9cfa0 + b332f6b commit 21e7847

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

res/themes/dark/css/_dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ $dialog-close-fg-color: #9fa9ba;
8585

8686
$dialog-background-bg-color: $header-panel-bg-color;
8787
$lightbox-background-bg-color: #000;
88-
$lightbox-background-bg-opacity: 85%;
88+
$lightbox-background-bg-opacity: 0.85;
8989

9090
$settings-grey-fg-color: #a2a2a2;
9191
$settings-profile-placeholder-bg-color: #21262c;

res/themes/legacy-dark/css/_legacy-dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ $dialog-close-fg-color: #9fa9ba;
8383

8484
$dialog-background-bg-color: $header-panel-bg-color;
8585
$lightbox-background-bg-color: #000;
86-
$lightbox-background-bg-opacity: 85%;
86+
$lightbox-background-bg-opacity: 0.85;
8787

8888
$settings-grey-fg-color: #a2a2a2;
8989
$settings-profile-placeholder-bg-color: #e7e7e7;

res/themes/legacy-light/css/_legacy-light.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ $dialog-close-fg-color: #c1c1c1;
127127

128128
$dialog-background-bg-color: #e9e9e9;
129129
$lightbox-background-bg-color: #000;
130-
$lightbox-background-bg-opacity: 95%;
130+
$lightbox-background-bg-opacity: 0.95;
131131

132132
$imagebody-giflabel: rgba(0, 0, 0, 0.7);
133133
$imagebody-giflabel-border: rgba(0, 0, 0, 0.2);

res/themes/light/css/_light.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ $dialog-close-fg-color: #c1c1c1;
118118

119119
$dialog-background-bg-color: #e9e9e9;
120120
$lightbox-background-bg-color: #000;
121-
$lightbox-background-bg-opacity: 95%;
121+
$lightbox-background-bg-opacity: 0.95;
122122

123123
$imagebody-giflabel: rgba(0, 0, 0, 0.7);
124124
$imagebody-giflabel-border: rgba(0, 0, 0, 0.2);

0 commit comments

Comments
 (0)