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