Forking what is left of ZeroNet and hopefully adding an AT Proto Frontend/Proxy
1
2/* ---- Console.css ---- */
3
4
5.console-container { width: 100%; z-index: 998; position: absolute; top: -100vh; padding-bottom: 100%; }
6.console-container .console { background-color: #212121; height: 100vh; -webkit-transform: translateY(0px); -moz-transform: translateY(0px); -o-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px) ; padding-top: 80px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box ; }
7
8.console-top { color: white; font-family: Consolas, monospace; font-size: 11px; line-height: 20px; height: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box ; letter-spacing: 0.5px;}
9.console-text { overflow-y: scroll; height: calc(100% - 10px); color: #DDD; padding: 5px; margin-top: -36px; overflow-wrap: break-word; }
10.console-tabs {
11 background-color: #41193fad; position: relative; margin-right: 17px; /*backdrop-filter: blur(2px);*/
12 -webkit-box-shadow: -30px 0px 45px #7d2463; -moz-box-shadow: -30px 0px 45px #7d2463; -o-box-shadow: -30px 0px 45px #7d2463; -ms-box-shadow: -30px 0px 45px #7d2463; box-shadow: -30px 0px 45px #7d2463 ; background: -webkit-linear-gradient(-75deg, #591a48ed, #70305e66);background: -moz-linear-gradient(-75deg, #591a48ed, #70305e66);background: -o-linear-gradient(-75deg, #591a48ed, #70305e66);background: -ms-linear-gradient(-75deg, #591a48ed, #70305e66);background: linear-gradient(-75deg, #591a48ed, #70305e66); border-bottom: 1px solid #792e6473;
13}
14.console-tabs a {
15 margin-right: 5px; padding: 5px 15px; text-decoration: none; color: #AAA;
16 font-size: 11px; font-family: "Consolas"; text-transform: uppercase; border: 1px solid #666;
17 border-bottom: 0px; display: inline-block; margin: 5px; margin-bottom: 0px; background-color: rgba(0,0,0,0.5);
18}
19.console-tabs a:hover { color: #FFF }
20.console-tabs a.active { background-color: #46223c; color: #FFF }
21.console-middle {height: 0px; top: 50%; position: absolute; width: 100%; left: 50%; display: none; }
22
23.console .mynode {
24 border: 0.5px solid #aaa; width: 50px; height: 50px; -webkit-transform: rotateZ(45deg); -moz-transform: rotateZ(45deg); -o-transform: rotateZ(45deg); -ms-transform: rotateZ(45deg); transform: rotateZ(45deg) ; margin-top: -25px; margin-left: -25px;
25 opacity: 1; display: inline-block; background-color: #EEE; z-index: 9; position: absolute; outline: 5px solid #EEE;
26}
27.console .peers { width: 0px; height: 0px; position: absolute; left: -20px; top: -20px; text-align: center; }
28.console .peer { left: 0px; top: 0px; position: absolute; }
29.console .peer .icon { width: 20px; height: 20px; padding: 10px; display: inline-block; text-decoration: none; left: 200px; position: absolute; color: #666; }
30.console .peer .icon:before { content: "\25BC"; position: absolute; margin-top: 3px; margin-left: -1px; opacity: 0; -webkit-transition: all 0.3s ; -moz-transition: all 0.3s ; -o-transition: all 0.3s ; -ms-transition: all 0.3s ; transition: all 0.3s }
31.console .peer .icon:hover:before { opacity: 1; -webkit-transition: none ; -moz-transition: none ; -o-transition: none ; -ms-transition: none ; transition: none }
32.console .peer .line {
33 width: 187px; border-top: 1px solid #CCC; position: absolute; top: 20px; left: 20px;
34 -webkit-transform: rotateZ(334deg); -moz-transform: rotateZ(334deg); -o-transform: rotateZ(334deg); -ms-transform: rotateZ(334deg); transform: rotateZ(334deg) ; transform-origin: bottom left;
35}
36
37
38/* ---- Menu.css ---- */
39
40
41.menu {
42 background-color: white; padding: 10px 0px; position: absolute; top: 0px; left: 0px; max-height: 0px; overflow: hidden; -webkit-transform: translate(0px, -30px); -moz-transform: translate(0px, -30px); -o-transform: translate(0px, -30px); -ms-transform: translate(0px, -30px); transform: translate(0px, -30px) ; pointer-events: none;
43 -webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.3); -moz-box-shadow: 0px 2px 8px rgba(0,0,0,0.3); -o-box-shadow: 0px 2px 8px rgba(0,0,0,0.3); -ms-box-shadow: 0px 2px 8px rgba(0,0,0,0.3); box-shadow: 0px 2px 8px rgba(0,0,0,0.3) ; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; -ms-border-radius: 2px; border-radius: 2px ; opacity: 0; -webkit-transition: opacity 0.2s ease-out, transform 1s ease-out, max-height 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-out, transform 1s ease-out, max-height 0.2s ease-in-out; -o-transition: opacity 0.2s ease-out, transform 1s ease-out, max-height 0.2s ease-in-out; -ms-transition: opacity 0.2s ease-out, transform 1s ease-out, max-height 0.2s ease-in-out; transition: opacity 0.2s ease-out, transform 1s ease-out, max-height 0.2s ease-in-out ;
44}
45.menu.visible { opacity: 1; max-height: 350px; -webkit-transform: translate(0px, 0px); -moz-transform: translate(0px, 0px); -o-transform: translate(0px, 0px); -ms-transform: translate(0px, 0px); transform: translate(0px, 0px) ; -webkit-transition: opacity 0.1s ease-out, transform 0.3s ease-out, max-height 0.3s ease-in-out; -moz-transition: opacity 0.1s ease-out, transform 0.3s ease-out, max-height 0.3s ease-in-out; -o-transition: opacity 0.1s ease-out, transform 0.3s ease-out, max-height 0.3s ease-in-out; -ms-transition: opacity 0.1s ease-out, transform 0.3s ease-out, max-height 0.3s ease-in-out; transition: opacity 0.1s ease-out, transform 0.3s ease-out, max-height 0.3s ease-in-out ; pointer-events: all }
46
47.menu-item { display: block; text-decoration: none; color: black; padding: 6px 24px; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; -o-transition: all 0.2s; -ms-transition: all 0.2s; transition: all 0.2s ; border-bottom: none; font-weight: normal; padding-left: 30px; }
48.menu-item-separator { margin-top: 5px; border-top: 1px solid #eee }
49
50.menu-item:hover { background-color: #F6F6F6; -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none; transition: none ; color: inherit; border: none }
51.menu-item:active, .menu-item:focus { background-color: #AF3BFF; color: white; -webkit-transition: none ; -moz-transition: none ; -o-transition: none ; -ms-transition: none ; transition: none }
52.menu-item.selected:before {
53 content: "L"; display: inline-block; -webkit-transform: rotateZ(45deg) scaleX(-1); -moz-transform: rotateZ(45deg) scaleX(-1); -o-transform: rotateZ(45deg) scaleX(-1); -ms-transform: rotateZ(45deg) scaleX(-1); transform: rotateZ(45deg) scaleX(-1) ;
54 font-weight: bold; position: absolute; margin-left: -17px; font-size: 12px; margin-top: 2px;
55}
56
57@media only screen and (max-width: 800px) {
58.menu, .menu.visible { position: absolute; left: unset !important; right: 20px; }
59}
60
61/* ---- Scrollbable.css ---- */
62
63
64.scrollable {
65 overflow: hidden;
66}
67
68.scrollable.showScroll::after {
69 position: absolute;
70 content: '';
71 top: 5%;
72 right: 7px;
73 height: 90%;
74 width: 3px;
75 background: rgba(224, 224, 255, .3);
76}
77
78.scrollable .content-wrapper {
79 width: 100%;
80 height: 100%;
81 padding-right: 50%;
82 overflow-y: scroll;
83}
84.scroller {
85 margin-top: 5px;
86 z-index: 5;
87 cursor: pointer;
88 position: absolute;
89 width: 7px;
90 -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; -ms-border-radius: 5px; border-radius: 5px ;
91 background: #3A3A3A;
92 top: 0px;
93 left: 395px;
94 -webkit-transition: top .08s;
95 -moz-transition: top .08s;
96 -ms-transition: top .08s;
97 -o-transition: top .08s;
98 -webkit-transition: top .08s; -moz-transition: top .08s; -o-transition: top .08s; -ms-transition: top .08s; transition: top .08s ;
99}
100.scroller {
101 -webkit-touch-callout: none;
102 -webkit-user-select: none;
103 -khtml-user-select: none;
104 -moz-user-select: none;
105 -ms-user-select: none;
106 user-select: none;
107}
108
109
110/* ---- Sidebar.css ---- */
111
112
113.menu {
114 font-family: Roboto, 'Segoe UI', 'Helvetica Neue'; z-index: 999;
115}
116
117.drag-bg { width: 100%; height: 100%; position: fixed; }
118.fixbutton.dragging { cursor: -webkit-grabbing; }
119.fixbutton-bg:active { cursor: -webkit-grabbing; }
120
121
122.body-sidebar, .body-console { background-color: #666 !important; }
123#inner-iframe { -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; -o-transition: 0.3s ease-in-out; -ms-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out ; transform-origin: left bottom; }
124.body-sidebar iframe { -webkit-transform: rotateY(5deg); -moz-transform: rotateY(5deg); -o-transform: rotateY(5deg); -ms-transform: rotateY(5deg); transform: rotateY(5deg) ; opacity: 0.8; pointer-events: none; outline: 1px solid transparent }
125.body-console iframe { -webkit-transform: rotateX(5deg); -moz-transform: rotateX(5deg); -o-transform: rotateX(5deg); -ms-transform: rotateX(5deg); transform: rotateX(5deg) ; opacity: 0.8; pointer-events: none; outline: 1px solid transparent }
126
127.sidebar .label-right { float: right; margin-right: 7px; margin-top: 1px; float: right; }
128.sidebar .link-right { color: white; text-decoration: none; border-bottom: 1px solid #666; text-transform: uppercase; }
129.sidebar .link-right:hover { border-color: #CCC; }
130.sidebar .link-right:active { background-color: #444 }
131.sidebar .link-outline { outline: 1px solid #eee6; padding: 2px 13px; border-bottom: none; font-size: 80%; }
132/* SIDEBAR */
133
134.sidebar-container { width: 100%; height: 100%; overflow: hidden; position: fixed; top: 0px; z-index: 2;}
135.sidebar { background-color: #212121; position: fixed; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -o-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden ; right: -1200px; height: 100%; width: 1200px; } /*box-shadow: inset 0px 0px 10px #000*/
136.sidebar .content { margin: 30px; font-family: "Segoe UI Light", "Segoe UI", "Helvetica Neue"; color: white; width: 375px; height: 300px; font-weight: 200; -webkit-transition: all 1s; -moz-transition: all 1s; -o-transition: all 1s; -ms-transition: all 1s; transition: all 1s ; opacity: 0 }
137.sidebar-container.loaded .content { opacity: 1; -webkit-transform: none ; -moz-transform: none ; -o-transform: none ; -ms-transform: none ; transform: none }
138.sidebar h1, .sidebar h2 { font-weight: lighter; }
139.sidebar .close { color: #999; float: right; text-decoration: none; margin-top: -5px; padding: 0px 5px; font-size: 33px; margin-right: 20px; display: none }
140.sidebar .button { margin: 0px; display: inline-block; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; -ms-transition: all 0.3s; transition: all 0.3s ; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box ; max-width: 260px }
141.sidebar .button.hidden { padding: 0px; max-width: 0px; opacity: 0; pointer-events: none }
142.sidebar #button-delete { background-color: transparent; border: 1px solid #333; color: #AAA; margin-left: 10px }
143.sidebar #button-delete:hover { border: 1px solid #666; color: white }
144
145.sidebar .flex { display: flex }
146.sidebar .flex .input.text, .sidebar .flex input.text { width: 100%; }
147.sidebar .flex .button { margin-left: 4px; white-space: nowrap; }
148
149/* FIELDS */
150
151.sidebar .fields { padding: 0px; list-style-type: none; width: 355px; }
152.sidebar .fields > li, .sidebar .fields .settings-owned > li { margin-bottom: 30px }
153.sidebar .fields > li:after, .sidebar .fields .settings-owned > li:after { clear: both; content: ''; display: block }
154.sidebar .fields label {
155 font-family: Consolas, monospace; text-transform: uppercase; font-size: 13px; color: #ACACAC; display: inline-block; margin-bottom: 10px;
156 vertical-align: text-bottom; margin-right: 10px; width: 100%
157}
158.sidebar .fields label small { font-weight: normal; color: white; text-transform: none; }
159.sidebar .fields .text { background-color: black; border: 0px; padding: 10px; color: white; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; border-radius: 3px ; width: 260px; font-family: Consolas, monospace; }
160.sidebar .fields .text.long { width: 330px; font-size: 72%; }
161.sidebar .fields .disabled { color: #AAA; background-color: #3B3B3B; }
162.sidebar .fields .text-num { width: 30px; text-align: right; padding-right: 30px; }
163.sidebar .fields .text-post { color: white; font-family: Consolas, monospace; display: inline-block; font-size: 13px; margin-left: -25px; width: 25px; }
164
165/* Select */
166.sidebar .fields select {
167 width: 225px; background-color: #3B3B3B; color: white; font-family: Consolas, monospace; -webkit-appearance: none; -moz-appearance: none; -o-appearance: none; -ms-appearance: none; appearance: none ;
168 padding: 5px; padding-right: 25px; border: 0px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; border-radius: 3px ; height: 35px; vertical-align: 1px; -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.5); -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.5); -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.5); -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.5); box-shadow: 0px 1px 2px rgba(0,0,0,0.5) ;
169}
170.sidebar .fields .select-down { margin-left: -39px; width: 34px; display: inline-block; -webkit-transform: rotateZ(90deg); -moz-transform: rotateZ(90deg); -o-transform: rotateZ(90deg); -ms-transform: rotateZ(90deg); transform: rotateZ(90deg) ; height: 35px; vertical-align: -8px; pointer-events: none; font-weight: bold }
171
172/* Checkbox */
173.sidebar .fields .checkbox { width: 50px; height: 24px; position: relative; z-index: 999; opacity: 0; }
174.sidebar .fields .checkbox-skin { background-color: #CCC; width: 50px; height: 24px; -webkit-border-radius: 15px; -moz-border-radius: 15px; -o-border-radius: 15px; -ms-border-radius: 15px; border-radius: 15px ; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out ; display: inline-block; margin-left: -59px; }
175.sidebar .fields .checkbox-skin:before {
176 content: ""; position: relative; width: 20px; background-color: white; height: 20px; display: block; -webkit-border-radius: 100%; -moz-border-radius: 100%; -o-border-radius: 100%; -ms-border-radius: 100%; border-radius: 100% ; margin-top: 2px; margin-left: 2px;
177 -webkit-transition: all 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86); -moz-transition: all 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86); -o-transition: all 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86); -ms-transition: all 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86); transition: all 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86) ;
178}
179.sidebar .fields .checkbox:checked ~ .checkbox-skin:before { margin-left: 27px; }
180.sidebar .fields .checkbox:checked ~ .checkbox-skin { background-color: #2ECC71; }
181
182/* Fake input */
183.sidebar .input { font-size: 13px; width: 250px; display: inline-block; overflow: hidden; text-overflow: ellipsis; vertical-align: top }
184
185/* GRAPH */
186
187.graph { padding: 0px; list-style-type: none; width: 351px; background-color: black; height: 10px; -webkit-border-radius: 8px; -moz-border-radius: 8px; -o-border-radius: 8px; -ms-border-radius: 8px; border-radius: 8px ; overflow: hidden; position: relative; font-size: 0 }
188.graph li { height: 100%; position: absolute; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; -ms-transition: all 0.3s; transition: all 0.3s ; }
189.graph-stacked { white-space: nowrap; }
190.graph-stacked li { position: static; display: inline-block; height: 20px }
191
192.graph-legend { padding: 0px; list-style-type: none; margin-top: 13px; font-family: Consolas, "Andale Mono", monospace; font-size: 13px; text-transform: capitalize; }
193.sidebar .graph-legend li { margin: 0px; margin-top: 5px; margin-left: 0px; width: 160px; float: left; position: relative; }
194.sidebar .graph-legend li:nth-child(odd) { margin-right: 29px }
195.graph-legend span { position: absolute; }
196.graph-legend b { text-align: right; display: inline-block; width: 50px; float: right; font-weight: normal; }
197.graph-legend li:before { content: '\2022'; font-size: 23px; line-height: 0px; vertical-align: -3px; margin-right: 5px; }
198
199.filelist { font-size: 12px; font-family: monospace; margin: 0px; padding: 0px; list-style-type: none; line-height: 1.5em; }
200.filelist li:before { content: '\2022'; font-size: 11px; line-height: 0px; vertical-align: 0px; margin-right: 5px; color: #FFBE00; }
201.filelist li { overflow: hidden; text-overflow: ellipsis; }
202
203/* COLORS */
204
205.back-green { background-color: #2ECC71 }
206.color-green:before { color: #2ECC71 }
207.back-blue { background-color: #3BAFDA }
208.color-blue:before { color: #3BAFDA }
209.back-darkblue { background-color: #156fb7 }
210.color-darkblue:before { color: #156fb7 }
211.back-purple { background-color: #B10DC9 }
212.color-purple:before { color: #B10DC9 }
213.back-yellow { background-color: #FFDC00 }
214.color-yellow:before { color: #FFDC00 }
215.back-orange { background-color: #FF9800 }
216.color-orange:before { color: #FF9800 }
217.back-gray { background-color: #ECF0F1 }
218.color-gray:before { color: #ECF0F1 }
219.back-black { background-color: #34495E }
220.color-black:before { color: #34495E }
221.back-red { background-color: #5E4934 }
222.color-red:before { color: #5E4934 }
223.back-gray { background-color: #9e9e9e }
224.color-gray:before { color: #9e9e9e }
225.back-white { background-color: #EEE }
226.color-white:before { color: #EEE }
227.back-red { background-color: #E91E63 }
228.color-red:before { color: #E91E63 }
229
230
231/* Settings owned */
232
233.owned-title { float: left }
234#checkbox-owned { margin-bottom: 25px; margin-top: 26px; margin-left: 11px; }
235.settings-owned { clear: both }
236#checkbox-owned ~ .settings-owned { opacity: 0; max-height: 0px; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -o-transition: all 0.3s linear; -ms-transition: all 0.3s linear; transition: all 0.3s linear ; overflow: hidden }
237#checkbox-owned:checked ~ .settings-owned { opacity: 1; max-height: 420px }
238
239/* Settings autodownload */
240
241.settings-autodownloadoptional { clear: both; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box ; padding-top: 0px; }
242#checkbox-autodownloadoptional ~ .settings-autodownloadoptional { opacity: 0; max-height: 0px; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out ; overflow: hidden; }
243#checkbox-autodownloadoptional:checked ~ .settings-autodownloadoptional { opacity: 1; max-height: 120px; padding-top: 30px; }
244
245/* Globe */
246.globe { width: 360px; height: 360px }
247.globe.loading { background: url(/uimedia/img/loading-circle.gif) center center no-repeat }
248.globe.error { text-align: center; padding-top: 156px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box ; opacity: 0.2; }
249
250/* Sign publish */
251.contents { background-color: #3B3B3B; color: white; padding: 7px 10px; font-family: Consolas; font-size: 11px; display: inline-block; margin-bottom: 6px; margin-top: 10px }
252.contents a { color: white }
253.contents a:active { background-color: #6B6B6B }
254
255.contents + .flex.active {
256 padding-bottom: 100px;
257}
258#wrapper-sign-publish {
259 padding: 0;
260}
261#button-sign-publish, #menu-sign-publish {
262 display: inline-block;
263 margin: 5px 10px;
264
265 text-decoration: none;
266}
267#button-sign-publish {
268 margin-right: 5px;
269}
270#menu-sign-publish {
271 margin-left: 5px;
272 color: #AAA;
273 padding: 7px;
274 margin: 0px;
275}
276#menu-sign-publish:hover { color: white }
277
278/* Small screen */
279@media screen and (max-width: 600px) {
280 .sidebar .close { display: block }
281}