2017-01-25 16:13:28 +03:00
|
|
|
/**
|
|
|
|
* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
|
|
|
|
* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
|
|
|
|
* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>
|
|
|
|
* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>
|
|
|
|
* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
|
|
|
|
*
|
2016-12-22 13:18:47 +03:00
|
|
|
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
|
|
|
* Copyright 2011-2015 Twitter, Inc.
|
|
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tooltip {
|
2018-04-21 11:02:32 +03:00
|
|
|
position: absolute;
|
|
|
|
display: block;
|
2018-10-17 16:36:52 +03:00
|
|
|
font-family: 'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
|
2018-04-21 11:02:32 +03:00
|
|
|
font-style: normal;
|
2018-10-02 00:29:46 +03:00
|
|
|
font-weight: normal;
|
2018-04-21 11:02:32 +03:00
|
|
|
letter-spacing: normal;
|
|
|
|
line-break: auto;
|
|
|
|
line-height: 1.6;
|
|
|
|
text-align: left;
|
|
|
|
text-align: start;
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: none;
|
|
|
|
text-transform: none;
|
|
|
|
white-space: normal;
|
|
|
|
word-break: normal;
|
|
|
|
word-spacing: normal;
|
|
|
|
word-wrap: normal;
|
|
|
|
font-size: 12px;
|
|
|
|
opacity: 0;
|
|
|
|
z-index: 100000;
|
|
|
|
/* default to top */
|
|
|
|
margin-top: -3px;
|
|
|
|
padding: 10px 0;
|
2018-06-03 12:24:44 +03:00
|
|
|
filter: drop-shadow(0 1px 10px var(--color-box-shadow));
|
2018-04-21 11:02:32 +03:00
|
|
|
&.in,
|
|
|
|
&.tooltip[aria-hidden='false'] {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity .15s;
|
|
|
|
}
|
|
|
|
&.top .tooltip-arrow,
|
|
|
|
&[x-placement^='top'] {
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
&.bottom,
|
|
|
|
&[x-placement^='bottom'] {
|
|
|
|
margin-top: 3px;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
&.right,
|
|
|
|
&[x-placement^='right'] {
|
|
|
|
margin-left: 3px;
|
|
|
|
padding: 0 10px;
|
|
|
|
.tooltip-arrow {
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
margin-top: -10px;
|
|
|
|
border-width: 10px 10px 10px 0;
|
2018-06-03 12:24:44 +03:00
|
|
|
border-right-color: var(--color-main-background);
|
2018-04-21 11:02:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.left,
|
|
|
|
&[x-placement^='left'] {
|
|
|
|
margin-left: -3px;
|
|
|
|
padding: 0 5px;
|
|
|
|
.tooltip-arrow {
|
|
|
|
top: 50%;
|
|
|
|
right: 0;
|
|
|
|
margin-top: -10px;
|
|
|
|
border-width: 10px 0 10px 10px;
|
2018-06-03 12:24:44 +03:00
|
|
|
border-left-color: var(--color-main-background);
|
2018-04-21 11:02:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
/* TOP */
|
|
|
|
&.top,
|
|
|
|
&.top-left,
|
|
|
|
&[x-placement^='top'],
|
|
|
|
&.top-right {
|
|
|
|
.tooltip-arrow {
|
|
|
|
bottom: 0;
|
|
|
|
border-width: 10px 10px 0;
|
2018-06-03 12:24:44 +03:00
|
|
|
border-top-color: var(--color-main-background);
|
2018-04-21 11:02:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.top-left .tooltip-arrow {
|
|
|
|
right: 10px;
|
|
|
|
margin-bottom: -10px;
|
|
|
|
}
|
|
|
|
&.top-right .tooltip-arrow {
|
|
|
|
left: 10px;
|
|
|
|
margin-bottom: -10px;
|
|
|
|
}
|
|
|
|
/* BOTTOM */
|
|
|
|
&.bottom,
|
|
|
|
&[x-placement^='bottom'],
|
|
|
|
&.bottom-left,
|
|
|
|
&.bottom-right {
|
|
|
|
.tooltip-arrow {
|
|
|
|
top: 0;
|
|
|
|
border-width: 0 10px 10px;
|
2018-06-03 12:24:44 +03:00
|
|
|
border-bottom-color: var(--color-main-background);
|
2018-04-21 11:02:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&[x-placement^='bottom'] .tooltip-arrow,
|
|
|
|
&.bottom .tooltip-arrow {
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
&.bottom-left .tooltip-arrow {
|
|
|
|
right: 10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
|
|
|
&.bottom-right .tooltip-arrow {
|
|
|
|
left: 10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
2016-12-22 13:18:47 +03:00
|
|
|
}
|
2017-01-11 16:31:05 +03:00
|
|
|
|
|
|
|
.tooltip-inner {
|
2018-04-21 11:02:32 +03:00
|
|
|
max-width: 350px;
|
|
|
|
padding: 5px 8px;
|
2018-06-03 12:24:44 +03:00
|
|
|
background-color: var(--color-main-background);
|
|
|
|
color: var(--color-main-text);
|
2018-04-21 11:02:32 +03:00
|
|
|
text-align: center;
|
2018-06-03 12:24:44 +03:00
|
|
|
border-radius: var(--border-radius);
|
2017-01-11 16:31:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip-arrow {
|
2018-04-21 11:02:32 +03:00
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
2018-10-17 16:36:52 +03:00
|
|
|
}
|