2020-06-05 00:34:04 +02:00
|
|
|
/*
|
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2020-07-17 23:27:49 +02:00
|
|
|
.mx_RoomList {
|
2020-07-23 00:34:33 +02:00
|
|
|
padding-right: 7px; // width of the scrollbar, to line things up
|
2020-06-05 00:34:04 +02:00
|
|
|
}
|
2020-08-13 17:18:26 +02:00
|
|
|
|
|
|
|
.mx_RoomList_iconPlus::before {
|
2021-03-02 15:19:40 +01:00
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/plus-circle.svg');
|
|
|
|
}
|
|
|
|
.mx_RoomList_iconHash::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/hash-circle.svg');
|
2020-08-13 17:18:26 +02:00
|
|
|
}
|
|
|
|
.mx_RoomList_iconExplore::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/explore.svg');
|
|
|
|
}
|
2021-03-24 20:43:33 +01:00
|
|
|
.mx_RoomList_iconBrowse::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/browse.svg');
|
|
|
|
}
|
2020-12-23 20:02:01 +01:00
|
|
|
.mx_RoomList_iconDialpad::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/dialpad.svg');
|
|
|
|
}
|
2020-08-17 19:20:00 +02:00
|
|
|
|
|
|
|
.mx_RoomList_explorePrompt {
|
|
|
|
margin: 4px 12px 4px;
|
|
|
|
padding-top: 12px;
|
2021-03-25 13:17:39 +01:00
|
|
|
border-top: 1px solid $input-border-color;
|
2021-03-24 15:18:06 +01:00
|
|
|
font-size: $font-14px;
|
2020-08-17 19:20:00 +02:00
|
|
|
|
|
|
|
div:first-child {
|
2020-08-18 13:00:56 +02:00
|
|
|
font-weight: $font-semi-bold;
|
2021-03-24 15:18:06 +01:00
|
|
|
line-height: $font-18px;
|
|
|
|
color: $primary-fg-color;
|
2020-08-17 19:20:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
2021-03-24 15:18:06 +01:00
|
|
|
color: $primary-fg-color;
|
2020-08-17 19:20:00 +02:00
|
|
|
position: relative;
|
2021-03-24 15:18:06 +01:00
|
|
|
padding: 8px 8px 8px 32px;
|
2020-08-17 19:20:00 +02:00
|
|
|
font-size: inherit;
|
2021-03-24 15:18:06 +01:00
|
|
|
margin-top: 12px;
|
2020-12-17 11:43:53 +01:00
|
|
|
display: block;
|
|
|
|
text-align: start;
|
2021-03-24 15:18:06 +01:00
|
|
|
background-color: $roomlist-button-bg-color;
|
|
|
|
border-radius: 4px;
|
2020-08-17 19:20:00 +02:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
2021-03-24 15:18:06 +01:00
|
|
|
top: 8px;
|
|
|
|
left: 8px;
|
2020-08-17 19:20:00 +02:00
|
|
|
background: $secondary-fg-color;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
2020-11-11 14:21:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_startChat::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/feedback.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_explore::before {
|
2020-08-17 19:20:00 +02:00
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/explore.svg');
|
|
|
|
}
|
2021-03-24 15:18:06 +01:00
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_spaceInvite::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/room/invite.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_spaceExplore::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/browse.svg');
|
|
|
|
}
|
2020-08-17 19:20:00 +02:00
|
|
|
}
|
|
|
|
}
|