2017-01-25 13:13:28 +00: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 10:18:47 +00: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 {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
2017-04-29 11:19:17 +00:00
|
|
|
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
|
2016-12-22 10:18:47 +00:00
|
|
|
font-style: normal;
|
2017-04-29 11:19:17 +00:00
|
|
|
font-weight: 400;
|
2016-12-22 10:18:47 +00:00
|
|
|
letter-spacing: normal;
|
|
|
|
line-break: auto;
|
2017-04-29 11:19:17 +00:00
|
|
|
line-height: 1.6;
|
2016-12-22 10:18:47 +00:00
|
|
|
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;
|
|
|
|
filter: alpha(opacity = 0);
|
|
|
|
&.in {
|
2017-04-29 13:44:38 +00:00
|
|
|
opacity: 1;
|
|
|
|
filter: alpha(opacity = 100);
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
2017-01-11 13:31:05 +00:00
|
|
|
|
2016-12-22 10:18:47 +00:00
|
|
|
&.top {
|
|
|
|
margin-top: -3px;
|
2017-04-29 11:19:17 +00:00
|
|
|
padding: 10px 0;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
|
|
|
&.bottom {
|
|
|
|
margin-top: 3px;
|
2017-04-29 11:19:17 +00:00
|
|
|
padding: 10px 0;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
2017-01-11 13:31:05 +00:00
|
|
|
|
|
|
|
&.right {
|
|
|
|
margin-left: 3px;
|
2017-04-29 11:19:17 +00:00
|
|
|
padding: 0 10px;
|
2017-01-11 13:31:05 +00:00
|
|
|
.tooltip-arrow {
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
2017-04-29 11:19:17 +00:00
|
|
|
margin-top: -10px;
|
|
|
|
border-width: 10px 10px 10px 0;
|
|
|
|
border-right-color: $color-main-background;
|
2017-01-11 13:31:05 +00:00
|
|
|
}
|
|
|
|
}
|
2016-12-22 10:18:47 +00:00
|
|
|
&.left {
|
|
|
|
margin-left: -3px;
|
|
|
|
padding: 0 5px;
|
2017-01-11 13:31:05 +00:00
|
|
|
.tooltip-arrow {
|
|
|
|
top: 50%;
|
|
|
|
right: 0;
|
2017-04-29 11:19:17 +00:00
|
|
|
margin-top: -10px;
|
|
|
|
border-width: 10px 0 10px 10px;
|
|
|
|
border-left-color: $color-main-background;
|
2017-01-11 13:31:05 +00:00
|
|
|
}
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
|
|
|
|
2017-01-11 13:31:05 +00:00
|
|
|
/* TOP */
|
|
|
|
&.top .tooltip-arrow,
|
|
|
|
&.top-left .tooltip-arrow,
|
|
|
|
&.top-right .tooltip-arrow {
|
2016-12-22 10:18:47 +00:00
|
|
|
bottom: 0;
|
2017-04-29 11:19:17 +00:00
|
|
|
border-width: 10px 10px 0;
|
|
|
|
border-top-color: $color-main-background;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
2017-01-11 13:31:05 +00:00
|
|
|
&.top .tooltip-arrow {
|
|
|
|
left: 50%;
|
2017-04-29 11:19:17 +00:00
|
|
|
margin-left: -10px;
|
2017-01-11 13:31:05 +00:00
|
|
|
}
|
2016-12-22 10:18:47 +00:00
|
|
|
&.top-left .tooltip-arrow {
|
2017-04-29 11:19:17 +00:00
|
|
|
right: 10px;
|
|
|
|
margin-bottom: -10px;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
|
|
|
&.top-right .tooltip-arrow {
|
2017-04-29 11:19:17 +00:00
|
|
|
left: 10px;
|
|
|
|
margin-bottom: -10px;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
2017-01-11 13:31:05 +00:00
|
|
|
|
|
|
|
/* BOTTOM */
|
|
|
|
&.bottom .tooltip-arrow,
|
|
|
|
&.bottom-left .tooltip-arrow,
|
|
|
|
&.bottom-right .tooltip-arrow {
|
|
|
|
top: 0;
|
2017-04-29 11:19:17 +00:00
|
|
|
border-width: 0 10px 10px;
|
|
|
|
border-bottom-color: $color-main-background;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
|
|
|
&.bottom .tooltip-arrow {
|
|
|
|
left: 50%;
|
2017-04-29 11:19:17 +00:00
|
|
|
margin-left: -10px;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
|
|
|
&.bottom-left .tooltip-arrow {
|
2017-04-29 11:19:17 +00:00
|
|
|
right: 10px;
|
|
|
|
margin-top: -10px;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
|
|
|
&.bottom-right .tooltip-arrow {
|
2017-04-29 11:19:17 +00:00
|
|
|
left: 10px;
|
|
|
|
margin-top: -10px;
|
2016-12-22 10:18:47 +00:00
|
|
|
}
|
|
|
|
}
|
2017-01-11 13:31:05 +00:00
|
|
|
|
|
|
|
.tooltip-inner {
|
|
|
|
max-width: 350px;
|
2017-04-29 11:19:17 +00:00
|
|
|
padding: 5px 8px;
|
|
|
|
background-color: $color-main-background;
|
|
|
|
color: $color-main-text;
|
|
|
|
box-shadow: 0 1px 10px rgba(150, 150, 150, .75);
|
2017-01-11 13:31:05 +00:00
|
|
|
text-align: center;
|
2017-04-29 11:19:17 +00:00
|
|
|
border-radius: 3px;
|
2017-01-11 13:31:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip-arrow {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
}
|