-
Notifications
You must be signed in to change notification settings - Fork 0
/
crosshub.css
124 lines (107 loc) · 1.96 KB
/
crosshub.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.crosshub-link {
color: inherit;
text-decoration: none;
border-bottom: 1px solid #e4e4e4;
}
.crosshub-link__external,
.crosshub-declaration--contents--link__external {
position: relative;
}
.crosshub-link__external:hover::before,
.crosshub-declaration--contents--link__external:hover::before {
content: '⇗';
position: absolute;
top: -9px;
right: -13px;
font-size: 14px;
width: 14px;
height: 14px;
}
.crosshub-link:hover {
text-decoration: none;
border-bottom: 1px solid #c4c4c4;
}
.crosshub-declarations-popup {
position: absolute;
display: none;
}
.crosshub-declarations-popup.is-visible {
display: block;
}
.crosshub-declaration {
border-bottom: 1px dashed silver;
cursor: help;
}
.crosshub-declaration--contents {
padding: 1em;
max-height: 20em;
margin-right: 0.5em;
overflow: auto;
}
.crosshub-declaration--contents--label {
padding-bottom: 0.5em;
}
.crosshub-declaration--contents ul {
margin: 0;
padding: 0;
list-style: none;
}
.crosshub-declaration--contents li {
margin: 0;
padding: 0;
}
.crosshub-error {
position: fixed;
top: 60px;
right: 10px;
width: 50%;
text-align: left;
font-size: 14px;
}
.crosshub-error--icon {
border: 1px solid red;
background: #ffd1ca;
border-radius: 20px;
width: 40px;
height: 40px;
top: 0px;
right: 0px;
position: absolute;
cursor: pointer;
text-align: center;
}
.crosshub-error--icon--exclamation {
position: absolute;
top: 5px;
width: 100%;
text-align: center;
line-height: 14px;
}
.crosshub-error--icon--label {
position: absolute;
font-size: 8px;
width: 100%;
top: 19px;
left: 0;
}
.crosshub-error--content {
border: 1px solid red;
background: #ffd1ca;
border-radius: 2px;
width: 100%;
top: 0px;
right: 0px;
position: absolute;
font-size: 11px;
padding: 1em 2em;
}
.crosshub-error--close {
position: absolute;
top: 0;
right: 0;
color: red;
font-size: 12px;
background: none;
border: none;
cursor: pointer;
}