-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.scss
144 lines (144 loc) · 5.9 KB
/
admin.scss
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// `header.s-lib-cmd-bar` only appears on admin pages
header.s-lib-cmd-bar {
& ~ #s-lg-guide-main, & ~ #s-lg-side-nav-content {
// highlight proxy links that should be updated; the highlighting is only
// visible in the editing interface due to the `#s-lg-guide-main` selector
// above
a {
&[href^="https://caltech.idm.oclc.org/login?url="] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://go.oreilly.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & O’REILLY/SAFARI LINKS SHOULD NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://learning.oreilly.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & O’REILLY/SAFARI LINKS SHOULD NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://caltech.overdrive.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & OVERDRIVE LINKS SHOULD NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://search.ebscohost.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & EBSCO LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://go.gale.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & GALE/CENGAGE LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://link.gale.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & GALE/CENGAGE LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://ebookcentral.proquest.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & PROQUEST/EBRARY LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://www.proquest.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & PROQUEST LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://search.proquest.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & PROQUEST LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://caltech.idm.oclc.org/login?url=https://proquest.umi.com"] {
background-color: yellow;
&::before {
content: "‼️ [** LINK CONTAINS AN OLD PROXY PREFIX & PROQUEST LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://go.oreilly.com"] {
background-color: yellow;
&::before {
content: "‼️ [** O’REILLY/SAFARI LINKS SHOULD NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://learning.oreilly.com"] {
background-color: yellow;
&::before {
content: "‼️ [** O’REILLY/SAFARI LINKS SHOULD NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://caltech.overdrive.com"] {
background-color: yellow;
&::before {
content: "‼️ [** OVERDRIVE LINKS SHOULD NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://search.ebscohost.com"] {
background-color: yellow;
&::before {
content: "‼️ [** EBSCO LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://go.gale.com"] {
background-color: yellow;
&::before {
content: "‼️ [** GALE/CENGAGE LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://link.gale.com"] {
background-color: yellow;
&::before {
content: "‼️ [** GALE/CENGAGE LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://ebookcentral.proquest.com"] {
background-color: yellow;
&::before {
content: "‼️ [** PROQUEST/EBRARY LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://www.proquest.com"] {
background-color: yellow;
&::before {
content: "‼️ [** PROQUEST LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://search.proquest.com"] {
background-color: yellow;
&::before {
content: "‼️ [** PROQUEST LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
&[href^="https://go.openathens.net/redirector/caltech.edu?url=https://proquest.umi.com"] {
background-color: yellow;
&::before {
content: "‼️ [** PROQUEST LINKS NEED NOT BE PROXIED **] ‼️ ";
}
}
}
// ensure details/summary elements indicate that they are clickable
details > summary {
cursor: pointer;
display: list-item;
& > h3 {
display: inline-block;
}
}
}
}