Adjust add room button for dark theme
This commit is contained in:
parent
c490606f15
commit
402992cee4
4 changed files with 21 additions and 10 deletions
|
@ -49,11 +49,11 @@ limitations under the License.
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
background-color: $roomheader-addroom-color;
|
background-color: $roomheader-addroom-bg-color;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
background-color: $accent-fg-color;
|
background-color: $roomheader-addroom-fg-color;
|
||||||
mask: url('$(res)/img/icons-create-room.svg');
|
mask: url('$(res)/img/icons-create-room.svg');
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-position: center;
|
mask-position: center;
|
||||||
|
|
|
@ -83,15 +83,24 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomSubList_addRoom {
|
.mx_RoomSubList_addRoom {
|
||||||
background-color: $roomheader-addroom-color;
|
background-color: $roomheader-addroom-bg-color;
|
||||||
color: $roomsublist-background;
|
|
||||||
background-image: url('$(res)/img/icons-room-add.svg');
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center;
|
|
||||||
border-radius: 10px; // 16/2 + 2 padding
|
border-radius: 10px; // 16/2 + 2 padding
|
||||||
height: 16px;
|
height: 16px;
|
||||||
flex: 0 0 16px;
|
flex: 0 0 16px;
|
||||||
background-clip: content-box;
|
position: relative;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
background-color: $roomheader-addroom-fg-color;
|
||||||
|
mask: url('$(res)/img/icons-room-add.svg');
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
mask-position: center;
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomSubList_badgeHighlight {
|
.mx_RoomSubList_badgeHighlight {
|
||||||
|
|
|
@ -82,7 +82,8 @@ $settings-subsection-fg-color: $text-secondary-color;
|
||||||
|
|
||||||
$topleftmenu-color: $text-primary-color;
|
$topleftmenu-color: $text-primary-color;
|
||||||
$roomheader-color: $text-primary-color;
|
$roomheader-color: $text-primary-color;
|
||||||
$roomheader-addroom-color: $header-panel-text-primary-color;
|
$roomheader-addroom-bg-color: #3c4556; // $search-placeholder-color at 0.5 opacity
|
||||||
|
$roomheader-addroom-fg-color: $text-primary-color;
|
||||||
$tagpanel-button-color: $header-panel-text-primary-color;
|
$tagpanel-button-color: $header-panel-text-primary-color;
|
||||||
$roomheader-button-color: $header-panel-text-primary-color;
|
$roomheader-button-color: $header-panel-text-primary-color;
|
||||||
$groupheader-button-color: $header-panel-text-primary-color;
|
$groupheader-button-color: $header-panel-text-primary-color;
|
||||||
|
|
|
@ -145,7 +145,8 @@ $rte-group-pill-color: #aaa;
|
||||||
|
|
||||||
$topleftmenu-color: #212121;
|
$topleftmenu-color: #212121;
|
||||||
$roomheader-color: #45474a;
|
$roomheader-color: #45474a;
|
||||||
$roomheader-addroom-color: #91A1C0;
|
$roomheader-addroom-bg-color: #91A1C0;
|
||||||
|
$roomheader-addroom-fg-color: $accent-fg-color;
|
||||||
$tagpanel-button-color: #91A1C0;
|
$tagpanel-button-color: #91A1C0;
|
||||||
$roomheader-button-color: #91A1C0;
|
$roomheader-button-color: #91A1C0;
|
||||||
$groupheader-button-color: #91A1C0;
|
$groupheader-button-color: #91A1C0;
|
||||||
|
|
Loading…
Reference in a new issue