2014-06-24 00:42:43 +02:00
|
|
|
@font-face {
|
2014-10-25 09:50:37 +02:00
|
|
|
font-family: 'FontAwesome';
|
|
|
|
src: url('fonts/fontawesome-webfont.ttf') format('truetype');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
2014-06-24 00:42:43 +02:00
|
|
|
.fa {
|
|
|
|
font-family: FontAwesome;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1;
|
|
|
|
vertical-align: baseline;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-08-24 16:04:22 +02:00
|
|
|
|
|
|
|
/* https://developer.mozilla.org/en-US/docs/Web/CSS/::after#Tooltips */
|
2014-10-21 16:45:54 +02:00
|
|
|
[data-tip] {
|
2014-08-24 16:04:22 +02:00
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
}
|
2015-01-13 21:33:26 +01:00
|
|
|
body:not(.advancedUser) [data-tip]:after {
|
2014-08-24 16:04:22 +02:00
|
|
|
background-color: #ffffee;
|
|
|
|
border: 1px solid gray;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 1px 1px 3px gray;
|
|
|
|
color: black;
|
|
|
|
content: attr(data-tip);
|
2015-01-06 17:44:06 +01:00
|
|
|
font: 12px sans-serif;
|
2014-08-24 16:04:22 +02:00
|
|
|
left: 0;
|
|
|
|
line-height: 130%;
|
2014-10-17 21:44:19 +02:00
|
|
|
min-width: 55%;
|
2014-08-24 16:04:22 +02:00
|
|
|
padding: 4px 6px;
|
|
|
|
position: absolute;
|
2014-10-21 16:45:54 +02:00
|
|
|
text-align: left;
|
2014-08-24 16:04:22 +02:00
|
|
|
top: 110%;
|
|
|
|
white-space: pre-line;
|
|
|
|
z-index: 20;
|
2014-12-25 14:53:30 +01:00
|
|
|
pointer-events: none;
|
2015-01-13 21:33:26 +01:00
|
|
|
opacity: 0;
|
2014-12-25 14:53:30 +01:00
|
|
|
}
|
2015-01-13 21:33:26 +01:00
|
|
|
[data-tip]:hover:after {
|
|
|
|
opacity: 1 !important;
|
|
|
|
-webkit-transition: opacity 0.2s 0.4s;
|
|
|
|
transition: opacity 0.2s 0.4s;
|
2014-08-24 16:04:22 +02:00
|
|
|
}
|
2014-10-21 16:45:54 +02:00
|
|
|
body[dir=rtl] [data-tip]:hover:after {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2015-01-07 18:19:37 +01:00
|
|
|
body [data-tip][data-tip-anchor="top"]:hover:after {
|
2014-12-05 15:53:59 +01:00
|
|
|
bottom: 140%;
|
2014-08-24 16:04:22 +02:00
|
|
|
top: auto;
|
|
|
|
}
|
2014-12-05 15:53:59 +01:00
|
|
|
body[dir=ltr] [data-tip][data-tip-anchor="top"]:hover:after {
|
|
|
|
left: -500%;
|
|
|
|
right: 0;
|
|
|
|
}
|
2014-10-21 16:45:54 +02:00
|
|
|
body[dir=rtl] [data-tip][data-tip-anchor="top"]:hover:after {
|
2014-12-05 15:53:59 +01:00
|
|
|
left: 0;
|
|
|
|
right: -500%;
|
2014-10-21 16:45:54 +02:00
|
|
|
}
|
|
|
|
|
2014-10-25 09:50:37 +02:00
|
|
|
.hiddenFileInput {
|
|
|
|
visibility: hidden;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|