Rename RoomList2 SCSS variables

This commit is contained in:
Travis Ralston 2020-07-17 15:59:35 -06:00
parent c5d732a631
commit a30da8dcdb
9 changed files with 24 additions and 24 deletions

View file

@ -17,7 +17,7 @@ limitations under the License.
$tagPanelWidth: 56px; // only applies in this file, used for calculations
.mx_LeftPanel {
background-color: $roomlist2-bg-color;
background-color: $roomlist-bg-color;
min-width: 260px;
max-width: 50%;
@ -46,7 +46,7 @@ $tagPanelWidth: 56px; // only applies in this file, used for calculations
// panel, such as the menu options, breadcrumbs, filtering, etc
.mx_LeftPanel_roomListContainer {
width: calc(100% - $tagPanelWidth);
background-color: $roomlist2-bg-color;
background-color: $roomlist-bg-color;
// Create another flexbox (this time a column) for the room list components
display: flex;
@ -114,7 +114,7 @@ $tagPanelWidth: 56px; // only applies in this file, used for calculations
width: 28px;
height: 28px;
border-radius: 20px;
background-color: $roomlist2-button-bg-color;
background-color: $roomlist-button-bg-color;
position: relative;
margin-left: 8px;

View file

@ -18,7 +18,7 @@ limitations under the License.
.mx_RoomSearch {
flex: 1;
border-radius: 20px;
background-color: $roomlist2-button-bg-color;
background-color: $roomlist-button-bg-color;
height: 28px;
padding: 2px;

View file

@ -45,7 +45,7 @@ limitations under the License.
// to work correctly.
padding-bottom: 8px;
height: 24px;
color: $roomlist2-header-color;
color: $roomlist-header-color;
.mx_RoomSublist_stickable {
flex: 1;
@ -310,7 +310,7 @@ limitations under the License.
width: 32px !important; // !important to override hover styles
height: 32px !important; // !important to override hover styles
margin-left: 0 !important; // !important to override hover styles
background-color: $roomlist2-button-bg-color;
background-color: $roomlist-button-bg-color;
margin-top: 8px;
&::before {
@ -350,7 +350,7 @@ limitations under the License.
// This is the same color as the left panel background because it needs
// to occlude the sublist title
background-color: $roomlist2-bg-color;
background-color: $roomlist-bg-color;
&::before {
top: 0;

View file

@ -18,7 +18,7 @@ limitations under the License.
width: 12px;
height: 12px;
border-radius: 12px;
background-color: $roomlist2-bg-color; // to match the room list itself
background-color: $roomlist-bg-color; // to match the room list itself
}
.mx_RoomTileIcon_globe::before {