-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjreader.css
98 lines (88 loc) · 2.19 KB
/
jreader.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/* .jr-new { background: #B3F0FF; border-radius: 7px; white-space: nowrap; } */
/* .jr-hl { background: #F2F23F; border-radius: 7px; white-space: nowrap; } */
.jr-new { border-bottom: 3px solid #22D; border-radius: 7px; white-space: nowrap; }
.jr-hl { border-bottom: 3px solid #FFAC0F; border-radius: 7px; white-space: nowrap; }
.jr-l { border-bottom-right-radius: 0; }
.jr-m { border-radius: 0; }
.jr-r { border-bottom-left-radius: 0; }
.jr-hover {
background-color: #bcd5eb !important;
outline: 1px solid #5166bb !important;
transition: 0.05s;
}
#jr-tooltip {
position: absolute;
top: -1.8em;
right: 0;
font-family: sans-serif;
font-size: 13px;
background: #EEE;
color: #FF7C0F;
padding: 2px 5px;
padding-top: 4px;
font-weight: bold;
border-bottom-left-radius: 8px;
border: 1px solid #CCC;
z-index: 1000002;
line-height: 1em;
letter-spacing: normal;
white-space: normal
}
#jr-tooltip > span:nth-child(2) {
color: #88D;
margin-left: 1px;
}
#jr-tooltip>img#jr-check, #jr-tooltip>img#jr-close {
height: 16px;
width: auto;
vertical-align: middle;
margin: 0;
padding: 0;
border: 0;
background: transparent;
display: inline;
}
.jr-ttParent { position: relative; }
#jr-tooltip .jr-hoverText {
visibility: hidden;
background-color: black;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
border-radius-bottom: 5px;
font-size: 10px;
--hover-width: 19em;
width: var(--hover-width);
top: 100%;
left: 50%;
margin-left: calc(var(--hover-width) * -0.5);
/* Position the tooltip text - see examples below! */
position: absolute;
z-index: 1000003;
}
/* Show the tooltip text when you mouse over the tooltip container */
#jr-tooltip:hover .jr-hoverText {
visibility: visible;
}
#jr-tooltip img {
cursor: pointer;
}
.floatAway {
position: absolute;
right: 0;
font-size: 11px;
mix-blend-mode: difference;
color: #FFF;
animation-name: floatAway;
animation-duration: 1s;
animation-timing-function: linear;
z-index: 1000001;
}
@keyframes floatAway {
0% { opacity: 0.0; top: -2em; }
15% { opacity: 1.0; }
50% { opacity: 1.0; }
100% { opacity: 0.0; top: -4em; }
}
.jr-white { background-color: #FFF; }