2019-06-20 13:03:22 +02:00
|
|
|
/*
|
|
|
|
Copyright 2019 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_InteractiveTooltip_wrapper {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 5000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_InteractiveTooltip_background {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 1.0;
|
|
|
|
z-index: 5000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_InteractiveTooltip {
|
2019-06-21 12:41:19 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
background-color: $interactive-tooltip-bg-color;
|
|
|
|
color: $interactive-tooltip-fg-color;
|
2019-06-20 13:03:22 +02:00
|
|
|
position: absolute;
|
2019-06-21 12:41:19 +02:00
|
|
|
font-size: 10px;
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 6px;
|
2019-06-20 13:03:22 +02:00
|
|
|
z-index: 5001;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_InteractiveTooltip.mx_InteractiveTooltip_withChevron_top {
|
2019-06-21 12:41:19 +02:00
|
|
|
top: 10px; // 8px chevron + 2px spacing
|
2019-06-20 13:03:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_InteractiveTooltip_chevron_top {
|
|
|
|
position: absolute;
|
2019-06-20 19:33:45 +02:00
|
|
|
left: calc(50% - 8px);
|
2019-06-20 13:03:22 +02:00
|
|
|
top: -8px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-left: 8px solid transparent;
|
2019-06-21 12:41:19 +02:00
|
|
|
border-bottom: 8px solid $interactive-tooltip-bg-color;
|
2019-06-20 13:03:22 +02:00
|
|
|
border-right: 8px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_InteractiveTooltip.mx_InteractiveTooltip_withChevron_bottom {
|
2019-06-21 12:41:19 +02:00
|
|
|
bottom: 10px; // 8px chevron + 2px spacing
|
2019-06-20 13:03:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_InteractiveTooltip_chevron_bottom {
|
|
|
|
position: absolute;
|
2019-06-20 19:33:45 +02:00
|
|
|
left: calc(50% - 8px);
|
2019-06-20 13:03:22 +02:00
|
|
|
bottom: -8px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-left: 8px solid transparent;
|
2019-06-21 12:41:19 +02:00
|
|
|
border-top: 8px solid $interactive-tooltip-bg-color;
|
2019-06-20 13:03:22 +02:00
|
|
|
border-right: 8px solid transparent;
|
|
|
|
}
|