forked from BLE-LTER/Zotero-JavaScript-Search-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.css
More file actions
115 lines (94 loc) · 1.75 KB
/
search.css
File metadata and controls
115 lines (94 loc) · 1.75 KB
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
.loading {
width: 100px;
margin: auto;
}
.search-input {
width: 250px;
margin-bottom: 10px;
}
.resultCount {
color: #808080;
text-align: center;
}
.result-query {
font-weight: bold;
}
#searchResults {
margin-top: 10px;
}
.pagination {
margin: 16px 8px 16px 8px;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.pagination a {
color: black;
padding: 8px 16px;
text-decoration: none;
}
.pagination a.active {
background-color: #0d3760;
color: white;
}
.pagination a:hover:not(.active) {
background-color: #ddd;
}
/* collapsible */
input[type='checkbox'].collapse-toggle {
display: none;
}
.lbl-toggle {
cursor: pointer;
transition: all 0.25s ease-out;
}
.lbl-toggle::before {
content: ' ';
display: inline-block;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid currentColor;
vertical-align: middle;
margin-right: .1rem;
transform: translateY(-2px);
transition: transform .2s ease-out;
}
.collapse-toggle:checked + .lbl-toggle::before {
transform: rotate(90deg) translateX(-3px);
}
.collapse-toggle:checked + .lbl-toggle {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.collapsible {
padding: 0 11px;
max-height: 0;
overflow: hidden;
transition: max-height .25s ease-in-out;
}
.collapse-toggle:checked + .lbl-toggle + .collapsible {
max-height: 500px;
}
.input-block {
border-bottom: 1px dashed gray;
margin-bottom: 5px;
max-width: 256px;
}
.group-label {
font-weight: bold;
margin-left: 7px;
}
.csl-entry {
display: inline;
vertical-align: top;
line-height: 1.6;
}
td {
font-size: 16px;
}
td.year, th.year {
min-width: 60px;
}
td.type, th.type {
white-space: nowrap;
}