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 {
|
2022-07-27 15:39:29 +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 {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/plus-circle.svg");
|
2021-03-02 15:19:40 +01:00
|
|
|
}
|
2022-04-01 16:36:10 +02:00
|
|
|
.mx_RoomList_iconNewRoom::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-plus.svg");
|
2020-08-13 17:18:26 +02:00
|
|
|
}
|
2022-04-01 16:36:10 +02:00
|
|
|
.mx_RoomList_iconNewVideoRoom::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-video.svg");
|
2022-04-01 16:36:10 +02:00
|
|
|
}
|
2021-11-30 19:08:46 +01:00
|
|
|
.mx_RoomList_iconAddExistingRoom::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash.svg");
|
2020-08-13 17:18:26 +02:00
|
|
|
}
|
2021-11-30 19:08:46 +01:00
|
|
|
.mx_RoomList_iconExplore::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-search.svg");
|
2021-03-24 20:43:33 +01:00
|
|
|
}
|
2020-12-23 20:02:01 +01:00
|
|
|
.mx_RoomList_iconDialpad::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/dialpad.svg");
|
2020-12-23 20:02:01 +01:00
|
|
|
}
|
2022-02-17 10:20:15 +01:00
|
|
|
.mx_RoomList_iconStartChat::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/member-plus.svg");
|
2021-11-30 19:08:46 +01:00
|
|
|
}
|
2022-02-17 10:20:15 +01:00
|
|
|
.mx_RoomList_iconInvite::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/share.svg");
|
2021-11-30 19:08:46 +01:00
|
|
|
}
|
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;
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2020-08-17 19:20:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
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-11-29 13:52:09 +01:00
|
|
|
background-color: $panel-actions;
|
2021-03-24 15:18:06 +01:00
|
|
|
border-radius: 4px;
|
2020-08-17 19:20:00 +02:00
|
|
|
|
|
|
|
&::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
content: "";
|
2020-08-17 19:20:00 +02:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
2021-03-24 15:18:06 +01:00
|
|
|
top: 8px;
|
|
|
|
left: 8px;
|
2021-08-12 11:30:35 +02:00
|
|
|
background: $secondary-content;
|
2020-08-17 19:20:00 +02:00
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
2020-11-11 14:21:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_startChat::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/feedback.svg");
|
2020-11-11 14:21:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_RoomList_explorePrompt_explore::before {
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/explore.svg");
|
2020-08-17 19:20:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|