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

Commit 43208c0

Browse files
committed
Fix variable naming
1 parent a5d01f2 commit 43208c0

File tree

11 files changed

+30
-30
lines changed

11 files changed

+30
-30
lines changed

res/css/structures/_CustomRoomTagPanel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ limitations under the License.
2222
}
2323

2424
.mx_CustomRoomTagPanel {
25-
background-color: $GroupFilterPanel-bg-color;
25+
background-color: $groupFilterPanel-bg-color;
2626
max-height: 40vh;
2727
}
2828

res/css/structures/_GroupFilterPanel.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
.mx_GroupFilterPanel {
1818
flex: 1;
19-
background-color: $GroupFilterPanel-bg-color;
19+
background-color: $groupFilterPanel-bg-color;
2020
cursor: pointer;
2121

2222
display: flex;
@@ -34,7 +34,7 @@ limitations under the License.
3434
height: 0px;
3535
width: 90%;
3636
border: none;
37-
border-bottom: 1px solid $GroupFilterPanel-divider-color;
37+
border-bottom: 1px solid $groupFilterPanel-divider-color;
3838
}
3939

4040
.mx_GroupFilterPanel .mx_GroupFilterPanel_scroller {

res/css/structures/_LeftPanel.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
$GroupFilterPanelWidth: 56px; // only applies in this file, used for calculations
17+
$groupFilterPanelWidth: 56px; // only applies in this file, used for calculations
1818

1919
.mx_LeftPanel {
2020
background-color: $roomlist-bg-color;
@@ -27,7 +27,7 @@ $GroupFilterPanelWidth: 56px; // only applies in this file, used for calculation
2727
.mx_LeftPanel_GroupFilterPanelContainer {
2828
flex-grow: 0;
2929
flex-shrink: 0;
30-
flex-basis: $GroupFilterPanelWidth;
30+
flex-basis: $groupFilterPanelWidth;
3131
height: 100%;
3232

3333
// Create another flexbox so the GroupFilterPanel fills the container
@@ -45,7 +45,7 @@ $GroupFilterPanelWidth: 56px; // only applies in this file, used for calculation
4545
// Note: The 'room list' in this context is actually everything that isn't the tag
4646
// panel, such as the menu options, breadcrumbs, filtering, etc
4747
.mx_LeftPanel_roomListContainer {
48-
width: calc(100% - $GroupFilterPanelWidth);
48+
width: calc(100% - $groupFilterPanelWidth);
4949
background-color: $roomlist-bg-color;
5050

5151
// Create another flexbox (this time a column) for the room list components
@@ -170,7 +170,7 @@ $GroupFilterPanelWidth: 56px; // only applies in this file, used for calculation
170170

171171
// We have to forcefully set the width to override the resizer's style attribute.
172172
&.mx_LeftPanel_hasGroupFilterPanel {
173-
width: calc(68px + $GroupFilterPanelWidth) !important;
173+
width: calc(68px + $groupFilterPanelWidth) !important;
174174
}
175175
&:not(.mx_LeftPanel_hasGroupFilterPanel) {
176176
width: 68px !important;

res/css/views/rooms/_MemberInfo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ limitations under the License.
7070
}
7171

7272
.mx_MemberInfo_avatar {
73-
background: $GroupFilterPanel-bg-color;
73+
background: $groupFilterPanel-bg-color;
7474
margin-bottom: 16px;
7575
}
7676

res/themes/dark/css/_dark.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $info-plinth-fg-color: #888;
3939

4040
$preview-bar-bg-color: $header-panel-bg-color;
4141

42-
$GroupFilterPanel-bg-color: rgba(38, 39, 43, 0.82);
42+
$groupFilterPanel-bg-color: rgba(38, 39, 43, 0.82);
4343
$inverted-bg-color: $base-color;
4444

4545
// used by AddressSelector
@@ -98,7 +98,7 @@ $roomheader-color: $text-primary-color;
9898
$roomheader-bg-color: $bg-color;
9999
$roomheader-addroom-bg-color: rgba(92, 100, 112, 0.3);
100100
$roomheader-addroom-fg-color: $text-primary-color;
101-
$GroupFilterPanel-button-color: $header-panel-text-primary-color;
101+
$groupFilterPanel-button-color: $header-panel-text-primary-color;
102102
$groupheader-button-color: $header-panel-text-primary-color;
103103
$rightpanel-button-color: $header-panel-text-primary-color;
104104
$icon-button-color: #8E99A4;
@@ -118,7 +118,7 @@ $roomlist-bg-color: rgba(33, 38, 44, 0.90);
118118
$roomlist-header-color: $tertiary-fg-color;
119119
$roomsublist-divider-color: $primary-fg-color;
120120

121-
$GroupFilterPanel-divider-color: $roomlist-header-color;
121+
$groupFilterPanel-divider-color: $roomlist-header-color;
122122

123123
$roomtile-preview-color: $secondary-fg-color;
124124
$roomtile-default-badge-bg-color: #61708b;
@@ -187,7 +187,7 @@ $reaction-row-button-selected-border-color: $accent-color;
187187

188188
$kbd-border-color: #000000;
189189

190-
$tooltip-timeline-bg-color: $GroupFilterPanel-bg-color;
190+
$tooltip-timeline-bg-color: $groupFilterPanel-bg-color;
191191
$tooltip-timeline-fg-color: #ffffff;
192192

193193
$interactive-tooltip-bg-color: $base-color;
@@ -202,7 +202,7 @@ $appearance-tab-border-color: $room-highlight-color;
202202

203203
// blur amounts for left left panel (only for element theme, used in _mods.scss)
204204
$roomlist-background-blur-amount: 60px;
205-
$GroupFilterPanel-background-blur-amount: 30px;
205+
$groupFilterPanel-background-blur-amount: 30px;
206206

207207
$composer-shadow-color: rgba(0, 0, 0, 0.28);
208208

res/themes/dark/css/dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@import "../../light/css/_fonts.scss";
44
@import "../../light/css/_light.scss";
55
// important this goes before _mods,
6-
// as $GroupFilterPanel-background-blur-amount and
6+
// as $groupFilterPanel-background-blur-amount and
77
// $roomlist-background-blur-amount
88
// are overridden in _dark.scss
99
@import "_dark.scss";

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ $info-plinth-fg-color: #888;
3737

3838
$preview-bar-bg-color: $header-panel-bg-color;
3939

40-
$GroupFilterPanel-bg-color: $base-color;
41-
$inverted-bg-color: $GroupFilterPanel-bg-color;
40+
$groupFilterPanel-bg-color: $base-color;
41+
$inverted-bg-color: $groupFilterPanel-bg-color;
4242

4343
// used by AddressSelector
4444
$selected-color: $room-highlight-color;
@@ -95,7 +95,7 @@ $topleftmenu-color: $text-primary-color;
9595
$roomheader-color: $text-primary-color;
9696
$roomheader-addroom-bg-color: #3c4556; // $search-placeholder-color at 0.5 opacity
9797
$roomheader-addroom-fg-color: $text-primary-color;
98-
$GroupFilterPanel-button-color: $header-panel-text-primary-color;
98+
$groupFilterPanel-button-color: $header-panel-text-primary-color;
9999
$groupheader-button-color: $header-panel-text-primary-color;
100100
$rightpanel-button-color: $header-panel-text-primary-color;
101101
$icon-button-color: $header-panel-text-primary-color;
@@ -115,7 +115,7 @@ $roomlist-bg-color: $header-panel-bg-color;
115115

116116
$roomsublist-divider-color: $primary-fg-color;
117117

118-
$GroupFilterPanel-divider-color: $roomlist-header-color;
118+
$groupFilterPanel-divider-color: $roomlist-header-color;
119119

120120
$roomtile-preview-color: #9e9e9e;
121121
$roomtile-default-badge-bg-color: #61708b;
@@ -182,7 +182,7 @@ $reaction-row-button-selected-border-color: $accent-color;
182182

183183
$kbd-border-color: #000000;
184184

185-
$tooltip-timeline-bg-color: $GroupFilterPanel-bg-color;
185+
$tooltip-timeline-bg-color: $groupFilterPanel-bg-color;
186186
$tooltip-timeline-fg-color: #ffffff;
187187

188188
$interactive-tooltip-bg-color: $base-color;

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ $preview-bar-bg-color: #f7f7f7;
6767
$secondary-accent-color: #f2f5f8;
6868
$tertiary-accent-color: #d3efe1;
6969

70-
$GroupFilterPanel-bg-color: #27303a;
71-
$inverted-bg-color: $GroupFilterPanel-bg-color;
70+
$groupFilterPanel-bg-color: #27303a;
71+
$inverted-bg-color: $groupFilterPanel-bg-color;
7272

7373
// used by RoomDirectory permissions
7474
$plinth-bg-color: $secondary-accent-color;
@@ -162,7 +162,7 @@ $roomheader-color: #45474a;
162162
$roomheader-bg-color: $primary-bg-color;
163163
$roomheader-addroom-bg-color: #91a1c0;
164164
$roomheader-addroom-fg-color: $accent-fg-color;
165-
$GroupFilterPanel-button-color: #91a1c0;
165+
$groupFilterPanel-button-color: #91a1c0;
166166
$groupheader-button-color: #91a1c0;
167167
$rightpanel-button-color: #91a1c0;
168168
$icon-button-color: #91a1c0;
@@ -182,7 +182,7 @@ $roomlist-bg-color: $header-panel-bg-color;
182182
$roomlist-header-color: $primary-fg-color;
183183
$roomsublist-divider-color: $primary-fg-color;
184184

185-
$GroupFilterPanel-divider-color: $roomlist-header-color;
185+
$groupFilterPanel-divider-color: $roomlist-header-color;
186186

187187
$roomtile-preview-color: #9e9e9e;
188188
$roomtile-default-badge-bg-color: #61708b;
@@ -305,7 +305,7 @@ $reaction-row-button-selected-border-color: $accent-color;
305305

306306
$kbd-border-color: $reaction-row-button-border-color;
307307

308-
$tooltip-timeline-bg-color: $GroupFilterPanel-bg-color;
308+
$tooltip-timeline-bg-color: $groupFilterPanel-bg-color;
309309
$tooltip-timeline-fg-color: #ffffff;
310310

311311
$interactive-tooltip-bg-color: #27303a;

res/themes/light-custom/css/_custom.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $roomtile-selected-bg-color: var(--roomlist-highlights-color);
4949
//
5050
// --sidebar-color
5151
$interactive-tooltip-bg-color: var(--sidebar-color);
52-
$GroupFilterPanel-bg-color: var(--sidebar-color);
52+
$groupFilterPanel-bg-color: var(--sidebar-color);
5353
$tooltip-timeline-bg-color: var(--sidebar-color);
5454
$dialog-backdrop-color: var(--sidebar-color-50pct);
5555
$roomlist-button-bg-color: var(--sidebar-color-15pct);

res/themes/light/css/_light.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ $preview-bar-bg-color: #f7f7f7;
6262
$secondary-accent-color: #f2f5f8;
6363
$tertiary-accent-color: #d3efe1;
6464

65-
$GroupFilterPanel-bg-color: rgba(232, 232, 232, 0.77);
65+
$groupFilterPanel-bg-color: rgba(232, 232, 232, 0.77);
6666

6767
// used by RoomDirectory permissions
6868
$plinth-bg-color: $secondary-accent-color;
@@ -156,7 +156,7 @@ $roomheader-color: #45474a;
156156
$roomheader-bg-color: $primary-bg-color;
157157
$roomheader-addroom-bg-color: rgba(92, 100, 112, 0.2);
158158
$roomheader-addroom-fg-color: #5c6470;
159-
$GroupFilterPanel-button-color: #91A1C0;
159+
$groupFilterPanel-button-color: #91A1C0;
160160
$groupheader-button-color: #91A1C0;
161161
$rightpanel-button-color: #91A1C0;
162162
$icon-button-color: #C1C6CD;
@@ -176,7 +176,7 @@ $roomlist-bg-color: rgba(245, 245, 245, 0.90);
176176
$roomlist-header-color: $tertiary-fg-color;
177177
$roomsublist-divider-color: $primary-fg-color;
178178

179-
$GroupFilterPanel-divider-color: $roomlist-header-color;
179+
$groupFilterPanel-divider-color: $roomlist-header-color;
180180

181181
$roomtile-preview-color: $secondary-fg-color;
182182
$roomtile-default-badge-bg-color: #61708b;
@@ -320,7 +320,7 @@ $appearance-tab-border-color: $input-darker-bg-color;
320320

321321
// blur amounts for left left panel (only for element theme, used in _mods.scss)
322322
$roomlist-background-blur-amount: 40px;
323-
$GroupFilterPanel-background-blur-amount: 20px;
323+
$groupFilterPanel-background-blur-amount: 20px;
324324

325325
$composer-shadow-color: rgba(0, 0, 0, 0.04);
326326

0 commit comments

Comments
 (0)