2020-06-05 01:34:04 +03: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-18 00:27:49 +03:00
|
|
|
.mx_RoomList {
|
2020-07-23 01:34:33 +03:00
|
|
|
padding-right: 7px; // width of the scrollbar, to line things up
|
2020-06-05 01:34:04 +03:00
|
|
|
}
|
2020-08-13 18:18:26 +03:00
|
|
|
|
|
|
|
.mx_RoomList_iconPlus::before {
|
2021-03-02 17:19:40 +03: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 18:18:26 +03:00
|
|
|
}
|
|
|
|
.mx_RoomList_iconExplore::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/explore.svg');
|
|
|
|
}
|
2021-03-24 22:43:33 +03:00
|
|
|
.mx_RoomList_iconBrowse::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/browse.svg');
|
|
|
|
}
|
2020-12-23 22:02:01 +03:00
|
|
|
.mx_RoomList_iconDialpad::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/dialpad.svg');
|
|
|
|
}
|
2020-08-17 20:20:00 +03:00
|
|
|
|
|
|
|
.mx_RoomList_explorePrompt {
|
|
|
|
margin: 4px 12px 4px;
|
|
|
|
padding-top: 12px;
|
2021-03-25 15:17:39 +03:00
|
|
|
border-top: 1px solid $input-border-color;
|
2021-03-24 17:18:06 +03:00
|
|
|
font-size: $font-14px;
|
2020-08-17 20:20:00 +03:00
|
|
|
|
|
|
|
div:first-child {
|
2020-08-18 14:00:56 +03:00
|
|
|
font-weight: $font-semi-bold;
|
2021-03-24 17:18:06 +03:00
|
|
|
line-height: $font-18px;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2020-08-17 20:20:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2020-08-17 20:20:00 +03:00
|
|
|
position: relative;
|
2021-03-24 17:18:06 +03:00
|
|
|
padding: 8px 8px 8px 32px;
|
2020-08-17 20:20:00 +03:00
|
|
|
font-size: inherit;
|
2021-03-24 17:18:06 +03:00
|
|
|
margin-top: 12px;
|
2020-12-17 13:43:53 +03:00
|
|
|
display: block;
|
|
|
|
text-align: start;
|
2021-11-29 15:52:09 +03:00
|
|
|
background-color: $panel-actions;
|
2021-03-24 17:18:06 +03:00
|
|
|
border-radius: 4px;
|
2020-08-17 20:20:00 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
2021-03-24 17:18:06 +03:00
|
|
|
top: 8px;
|
|
|
|
left: 8px;
|
2021-08-12 12:30:35 +03:00
|
|
|
background: $secondary-content;
|
2020-08-17 20:20:00 +03:00
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
2020-11-11 16:21:20 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_startChat::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/feedback.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_explore::before {
|
2020-08-17 20:20:00 +03:00
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/explore.svg');
|
|
|
|
}
|
2021-03-24 17:18:06 +03: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 20:20:00 +03:00
|
|
|
}
|
|
|
|
}
|