mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 05:38:41 +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.
55 lines
1.3 KiB
SCSS
55 lines
1.3 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_RoomDropTarget_container {
|
|
background-color: $secondary-accent-color;
|
|
padding-left: 18px;
|
|
padding-right: 18px;
|
|
padding-top: 8px;
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
.collapsed .mx_RoomDropTarget_container {
|
|
padding-right: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.mx_RoomDropTarget {
|
|
font-size: $font-13px;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
border: 1px dashed $accent-color;
|
|
color: $primary-fg-color;
|
|
background-color: $droptarget-bg-color;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
|
|
.mx_RoomDropTarget_label {
|
|
position: relative;
|
|
margin-top: 3px;
|
|
line-height: $font-21px;
|
|
z-index: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.collapsed .mx_RoomDropTarget_avatar {
|
|
float: none;
|
|
}
|
|
|
|
.collapsed .mx_RoomDropTarget_label {
|
|
display: none;
|
|
}
|