2015-07-18 16:33:31 +02:00
|
|
|
/**
|
2017-01-11 16:24:33 +01:00
|
|
|
* Copyright JS Foundation and other contributors, http://js.foundation
|
2015-07-18 16:33:31 +02:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
**/
|
|
|
|
|
|
|
|
|
2017-05-10 16:49:12 +02:00
|
|
|
.red-ui-popover {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
width: auto;
|
|
|
|
padding: 10px;
|
|
|
|
height: auto;
|
|
|
|
background: #fff;
|
|
|
|
|
|
|
|
z-index: 1000;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.4em;
|
|
|
|
@include component-shadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
.red-ui-popover:after, .red-ui-popover:before {
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.red-ui-popover.red-ui-popover-right:after, .red-ui-popover.red-ui-popover-right:before {
|
2018-05-23 11:25:10 +02:00
|
|
|
top: 50%;
|
2017-05-10 16:49:12 +02:00
|
|
|
right: 100%;
|
|
|
|
}
|
|
|
|
.red-ui-popover.red-ui-popover-left:after, .red-ui-popover.red-ui-popover-left:before {
|
2018-05-23 11:25:10 +02:00
|
|
|
top: 50%;
|
2017-05-10 16:49:12 +02:00
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
|
2018-05-23 11:25:10 +02:00
|
|
|
.red-ui-popover.red-ui-popover-bottom:after, .red-ui-popover.red-ui-popover-bottom:before {
|
|
|
|
bottom: 100%;
|
|
|
|
left: 50%;
|
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
|
|
|
|
.red-ui-popover.red-ui-popover-right:after {
|
|
|
|
border-color: rgba(136, 183, 213, 0);
|
|
|
|
border-right-color: #fff;
|
|
|
|
border-width: 10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
|
|
|
.red-ui-popover.red-ui-popover-right:before {
|
|
|
|
border-color: rgba(194, 225, 245, 0);
|
|
|
|
border-right-color: $primary-border-color;
|
|
|
|
border-width: 11px;
|
|
|
|
margin-top: -11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.red-ui-popover.red-ui-popover-left:after {
|
|
|
|
border-color: rgba(136, 183, 213, 0);
|
|
|
|
border-left-color: #fff;
|
|
|
|
border-width: 10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
|
|
|
.red-ui-popover.red-ui-popover-left:before {
|
|
|
|
border-color: rgba(194, 225, 245, 0);
|
|
|
|
border-left-color: $primary-border-color;
|
|
|
|
border-width: 11px;
|
|
|
|
margin-top: -11px;
|
|
|
|
}
|
|
|
|
|
2018-05-23 11:25:10 +02:00
|
|
|
|
|
|
|
.red-ui-popover.red-ui-popover-bottom:after {
|
|
|
|
border-color: rgba(136, 183, 213, 0);
|
|
|
|
border-bottom-color: #fff;
|
|
|
|
border-width: 10px;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
.red-ui-popover.red-ui-popover-bottom:before {
|
|
|
|
border-color: rgba(194, 225, 245, 0);
|
|
|
|
border-bottom-color: $primary-border-color;
|
|
|
|
border-width: 11px;
|
|
|
|
margin-left: -11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-05-10 16:49:12 +02:00
|
|
|
.red-ui-popover-size-small {
|
|
|
|
font-size: 11px;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
&.red-ui-popover-right:after {
|
|
|
|
border-width: 5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
&.red-ui-popover-right:before {
|
|
|
|
border-width: 6px;
|
|
|
|
margin-top: -6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.red-ui-popover-left:after {
|
|
|
|
border-width: 5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
|
|
|
&.red-ui-popover-left:before {
|
|
|
|
border-width: 6px;
|
|
|
|
margin-top: -6px;
|
|
|
|
}
|
2018-05-23 11:25:10 +02:00
|
|
|
&.red-ui-popover-bottom:after {
|
|
|
|
border-width: 5px;
|
|
|
|
margin-left: -5px;
|
|
|
|
}
|
|
|
|
&.red-ui-popover-bottom:before {
|
|
|
|
border-width: 6px;
|
|
|
|
margin-left: -6px;
|
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
}
|