mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 19:51:32 +03:00
6cf9166c4a
It's become obvious that these random floating points everywhere are unwieldy. Now they're all in one place with some fairly logical variable names which will help out in design->implementation phase.
114 lines
2.7 KiB
SCSS
114 lines
2.7 KiB
SCSS
/*
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
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.
|
|
*/
|
|
|
|
.mx_RoomTileContextMenu {
|
|
padding: 6px;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_tag_icon {
|
|
padding-right: 8px;
|
|
padding-left: 4px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_tag_icon_set {
|
|
padding-right: 8px;
|
|
padding-left: 4px;
|
|
display: none;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_tag_field, .mx_RoomTileContextMenu_leave {
|
|
padding-top: 8px;
|
|
padding-right: 20px;
|
|
padding-bottom: 8px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
align-items: center;
|
|
line-height: $font-16px;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet .mx_RoomTileContextMenu_tag_icon {
|
|
display: none;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet .mx_RoomTileContextMenu_tag_icon_set {
|
|
display: inline-block;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldDisabled {
|
|
color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_separator {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
border-bottom-style: none;
|
|
border-left-style: none;
|
|
border-right-style: none;
|
|
border-top-style: solid;
|
|
border-top-width: 1px;
|
|
border-color: $menu-border-color;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_leave {
|
|
color: $warning-color;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_notif_picker {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 5px;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_notif_field {
|
|
padding-top: 4px;
|
|
padding-right: 6px;
|
|
padding-bottom: 10px;
|
|
padding-left: 8px; /* 20px */
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_notif_field.mx_RoomTileContextMenu_notif_fieldSet {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_notif_field.mx_RoomTileContextMenu_notif_fieldDisabled {
|
|
color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_notif_icon {
|
|
padding-right: 4px;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_notif_activeIcon {
|
|
display: inline-block;
|
|
opacity: 0;
|
|
position: relative;
|
|
left: -5px;
|
|
}
|
|
|
|
.mx_RoomTileContextMenu_notif_fieldSet .mx_RoomTileContextMenu_notif_activeIcon {
|
|
opacity: 1;
|
|
}
|