-
Notifications
You must be signed in to change notification settings - Fork 16
/
dweb-archive-styles.css
172 lines (159 loc) · 6.66 KB
/
dweb-archive-styles.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/* Styles used for archive.html */
.floatright {margin: 0 0 3px 10px; float: right; clear: right; text-align: right;
position: fixed; z-index: 999999; top: 100px; right: 10px; font-size: 50% }
.floatright li {padding-top: 1px; margin: 0 0 3px 3px;} /* Wide enough for two indicators */
.floatright ul {margin: 0 0 3px 10px; width: 150px;
display: grid; grid-template-columns: repeat(auto-fit, minmax(7em, 1fr)); grid-auto-flow: dense;} /* Wide enogh for two indicators */
.transportstatus0 {color: lawngreen}
.transportstatus1 {color: red}
.transportstatus2 {color: yellow}
.transportstatus3 {color: black}
.transportstatus4 {color: purple}
/* These edits are made to archive-min.js as they are bugs in the CSS rather than changes.
because that file is minimized its hard to see
if update archive-min.js will need to reapply, or can apply here*/
/*
-body.ia-module.tiles .row>.tilebars .item-ia .item-parent .item-parent-img img{max-height:90px;max-width:90px
+body.ia-module.tiles .row>.tilebars .item-ia .item-parent .item-parent-img img{max-height:90px;max-width:90px;width:45px;width:45px}
-body.ia-module.tiles .item-ia .item-parent .item-parent-img img{max-height:90px;max-width:90px}
+body.ia-module.tiles .item-ia .item-parent .item-parent-img img{max-height:90px;max-width:90px;width:45px;width:45px}
-body.ia-module.tiles .item-ia .item-parent .item-parent-img img{max-height:90px;max-width:90px}
+body.ia-module.tiles .item-ia .item-parent .item-parent-img img{max-height:90px;max-width:90px;width:45px;width:45px}
*/
body.navia .navbar #nav-dweb{position:static;margin:0;width:100%;background-color:#353535;text-align:center}
body.navia .navbar #nav-dweb li:hover{color:white !important}
body.navia .navbar #nav-dweb ul{margin-bottom: 0px; display: inline}
/* TODO check and figure out why these break the above rules
@media (max-width:991px){body.navia .navbar #nav-dweb li{margin-left:9px;margin-right:9px}}
@media (max-width:820px){body.navia .navbar #nav-dweb li{margin-left:7px;margin-right:7px}}
@media (max-width:767px){body.navia .navbar #nav-dweb{display:none !important}}
*/
#nav-dweb {
text-align: left;
width: 100%;
color: #ccc;
background-color: #2A2A2A;
padding: 4px 0px 4px 0;
box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
height: auto;
display: block; /* Make sure Dweb ipfs, etc all on one line - flexgrid could be better*/
}
#dweb-status, #dweb-mirrorconfig, #dweb-mirrorreload {
display: inline-block;
}
/*
Override default for <a> as blue
*/
#dweb-mirrorreload a {
color: #ccc
}
#dweb-status ul, #dweb-mirrorconfig ul, #dweb-mirrorreload ul {
padding-left:0;
}
body.navia .navbar #nav-dweb #dweb-status li, body.navia .navbar #nav-dweb a, .navbar #nav-dweb #dweb-mirrorconfig li, .navbar #nav-dweb #dweb-mirrorreload li {
height: auto;
font-size: 12px;
margin: 0 6px;
vertical-align:top;
zoom:1;
line-height:1;
}
body.navia .navbar #nav-dweb #dweb-status clickable, body.navia .navbar #nav-dweb a, .navbar #nav-dweb #dweb-mirrorconfig li, .navbar #nav-dweb #dweb-mirrorreload li {
cursor: pointer;
}
.dwebnavbuttons li {
padding: 5px 8px 5px 8px;
background-size: 14px;
color: #c0c0c0;
}
body.navia .navbar #nav-dweb #dweb-status li, body.navia .navbar #nav-dweb #dweb-mirrorconfig li, .dwebnavbuttons .settings {
padding: 5px 8px 5px 20px;
background-size: 10px;
}
body.navia .navbar #nav-dweb #dweb-status li, body.navia .navbar #nav-dweb #dweb-mirrorconfig li, body.navia .navbar #nav-dweb #dweb-mirrorreload li {
border: 1px solid #848484;
border-radius: 3px;
background-position: 5px 50%;
background-repeat: no-repeat;
display:inline-block;
}
body.navia .navbar #nav-dweb a {
padding: 5px 0px 5px 0px;
display: inline
}
body.navia .navbar #nav-dweb a img {
height: 30px;
margin-top: 4px;
}
.transportstatus0 {
color: #ccc;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="green" /></svg>');
}
.transportstatus1 {
color: #ccc;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="red" /></svg>');
}
.transportstatus2 {
color: #ccc;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="yellow" /></svg>');
}
.transportstatus3 {
color: #ccc;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="black" /></svg>');
}
.transportstatus4 {
color: #ccc;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="purple" /></svg>');
}
/*
.dwebnavbuttons .reload {
background-image: url('/archive/images/baseline-update-24px.svg');
}
*/
/*
.dwebnavbuttons .settings {
background-image: url('/archive/images/settings.svg');
}
.dwebnavbuttons .local {
background-image: url('/archive/images/baseline-home-24px.svg');
}
*/
/*OBS not flagging dweb-message -- .dweb-message { padding-top: 60px; padding-left; 3em } /*Else gets hidden behind navwrap - not sure why */
.dweb-nav-left {
position: relative;
top: 1px;
}
.notavailable {
opacity: 30%
}
.crawlnone {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="red" /></svg>');
}
.crawldownloaded {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="white" /></svg>');
}
.crawldetails {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="green" /></svg>');
}
.crawlall {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="200" height="200"><circle cx="100" cy="100" r="95" fill="blue" /></svg>');
}
/* Naming from here conforms to https://rscss.io */
.settings-item .playbutton {
margin-left: 10px;
border: 1px solid #303030;
padding-left: 4px;
padding-right: 4px;
}
.settings-item .crawlname {
font-size:larger;
font-weight: bolder;
}
radio-player-controller {
--trackColor: black;
--timeColumnWidth: 5rem;
--autoScrollButtonWidth: 13rem;
color: white;
font-size: 16px;
line-height: 1.6;
}