SVGs are all broken, and some of the more exotic colours haven't been updated. There's been no attempt to use SASS to remove duplication from the CSS yet. no attempt to switch it at runtime yet.
106 lines
2.3 KiB
SCSS
106 lines
2.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_ContextualMenu_wrapper {
|
|
position: fixed;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.mx_ContextualMenu_background {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 1.0;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.mx_ContextualMenu {
|
|
border: solid 1px $menu-border-color;
|
|
border-radius: 4px;
|
|
background-color: $menu-bg-color;
|
|
color: $primary-fg-color;
|
|
position: absolute;
|
|
padding: 6px;
|
|
font-size: 14px;
|
|
z-index: 2001;
|
|
}
|
|
|
|
.mx_ContextualMenu.mx_ContextualMenu_right {
|
|
right: 8px;
|
|
}
|
|
|
|
.mx_ContextualMenu_chevron_right {
|
|
position: absolute;
|
|
right: -8px;
|
|
top: 0px;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 8px solid transparent;
|
|
border-left: 8px solid $menu-border-color;
|
|
border-bottom: 8px solid transparent;
|
|
}
|
|
|
|
.mx_ContextualMenu_chevron_right:after {
|
|
content:'';
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 7px solid transparent;
|
|
border-left: 7px solid $menu-bg-color;
|
|
border-bottom: 7px solid transparent;
|
|
position:absolute;
|
|
top: -7px;
|
|
right: 1px;
|
|
}
|
|
|
|
.mx_ContextualMenu.mx_ContextualMenu_left {
|
|
left: 8px;
|
|
}
|
|
|
|
.mx_ContextualMenu_chevron_left {
|
|
position: absolute;
|
|
left: -8px;
|
|
top: 0px;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 8px solid transparent;
|
|
border-right: 8px solid $menu-border-color;
|
|
border-bottom: 8px solid transparent;
|
|
}
|
|
|
|
.mx_ContextualMenu_chevron_left:after{
|
|
content:'';
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 7px solid transparent;
|
|
border-right: 7px solid $menu-bg-color;
|
|
border-bottom: 7px solid transparent;
|
|
position:absolute;
|
|
top: -7px;
|
|
left: 1px;
|
|
}
|
|
|
|
.mx_ContextualMenu_field {
|
|
padding: 3px 6px 3px 6px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mx_ContextualMenu_spinner {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|