mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-24 17:38:40 +08:00
fabfae172b
* Fix class names - from m_ to mx_ * Move mx_RoomView_auxPanel from _RoomView.pcss to _AuxPanel.pcss The class name 'mx_RoomView_auxPanel' belongs to AuxPanel, not RoomView * Correct naming * Strictify: mx_RoomView_auxPanel * * Nest mx_AuxPanel_stateViews_span * Sort * Run prettier * Use custom properties * Revert "Use custom properties" This reverts commit fe720d05f4572e74e71887203d43c491f0723a92.
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
/*
|
|
Copyright 2018 New Vector 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_AuxPanel {
|
|
min-width: 0px;
|
|
width: 100%;
|
|
margin: 0px auto;
|
|
|
|
overflow: auto;
|
|
|
|
.mx_AuxPanel_stateViews {
|
|
padding: 5px;
|
|
padding-left: 19px;
|
|
border-bottom: 1px solid $primary-hairline-color;
|
|
}
|
|
|
|
.mx_AuxPanel_stateViews_span {
|
|
&[data-severity="warning"] {
|
|
font-weight: bold;
|
|
color: orange;
|
|
}
|
|
|
|
&[data-severity="alert"] {
|
|
font-weight: bold;
|
|
color: red;
|
|
}
|
|
|
|
&[data-severity="normal"] {
|
|
font-weight: normal;
|
|
}
|
|
|
|
&[data-severity="notice"] {
|
|
font-weight: normal;
|
|
color: $settings-grey-fg-color;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.mx_AuxPanel_stateViews_delim {
|
|
padding: 0 5px;
|
|
color: $settings-grey-fg-color;
|
|
}
|
|
}
|