|
a |
|
b/openomics_web/assets/general-app-page.css |
|
|
1 |
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400'); |
|
|
2 |
|
|
|
3 |
.dashbio-loading { |
|
|
4 |
display: inline-block; |
|
|
5 |
} |
|
|
6 |
|
|
|
7 |
.dash-default-spinner { |
|
|
8 |
opacity: 0.3 !important; |
|
|
9 |
} |
|
|
10 |
|
|
|
11 |
/* Basic app page with header and content area */ |
|
|
12 |
#app-page-content { |
|
|
13 |
margin: 0px; |
|
|
14 |
margin-top: 0px; /* hide border between header and content */ |
|
|
15 |
width: 100%; |
|
|
16 |
height: auto; |
|
|
17 |
min-height: calc(100vh - 60px); |
|
|
18 |
position: absolute; |
|
|
19 |
top: 60px; |
|
|
20 |
} |
|
|
21 |
|
|
|
22 |
#app-page-header { |
|
|
23 |
width: 100%; |
|
|
24 |
height: 60px !important; |
|
|
25 |
position: absolute; |
|
|
26 |
top: 0px; |
|
|
27 |
} |
|
|
28 |
|
|
|
29 |
#app-page-header > a > img { |
|
|
30 |
height: 70px; |
|
|
31 |
float: left; |
|
|
32 |
padding: 15px; |
|
|
33 |
padding-bottom: 0px; |
|
|
34 |
transition-duration: 500ms; |
|
|
35 |
} |
|
|
36 |
|
|
|
37 |
#app-page-header > a > img:hover { |
|
|
38 |
filter: brightness(2); |
|
|
39 |
} |
|
|
40 |
|
|
|
41 |
#app-page-header h2 { |
|
|
42 |
font-size: 22pt; |
|
|
43 |
font-family: 'Times'; |
|
|
44 |
font-weight: 200 !important; |
|
|
45 |
letter-spacing: 1px; |
|
|
46 |
position: absolute; |
|
|
47 |
top: -5px; |
|
|
48 |
display: inline-block; |
|
|
49 |
} |
|
|
50 |
|
|
|
51 |
#dashbio-logo > img { |
|
|
52 |
height: 30px !important; |
|
|
53 |
} |
|
|
54 |
|
|
|
55 |
#app-page-header > img { |
|
|
56 |
height: 36px; |
|
|
57 |
float: right; |
|
|
58 |
margin-top: 12px; |
|
|
59 |
margin-right: 10px; |
|
|
60 |
transition-duration: 500ms; |
|
|
61 |
} |
|
|
62 |
|
|
|
63 |
#gh-link { |
|
|
64 |
text-decoration: none; |
|
|
65 |
font-size: 10pt; |
|
|
66 |
font-family: sans-serif; |
|
|
67 |
color: white; |
|
|
68 |
border: solid 1px white; |
|
|
69 |
border-radius: 2px; |
|
|
70 |
padding: 2px; |
|
|
71 |
padding-top: 5px; |
|
|
72 |
padding-left: 15px; |
|
|
73 |
padding-right: 15px; |
|
|
74 |
font-weight: 100; |
|
|
75 |
position: relative; |
|
|
76 |
top: 15px; |
|
|
77 |
float: right; |
|
|
78 |
margin-right: 20px; |
|
|
79 |
margin-left: 0px; |
|
|
80 |
transition-duration: 400ms; |
|
|
81 |
} |
|
|
82 |
|
|
|
83 |
#gh-link:hover { |
|
|
84 |
color: #dfe8f3 !important; |
|
|
85 |
border-color: #dfe8f3 !important; |
|
|
86 |
} |
|
|
87 |
|
|
|
88 |
/* Scrollbar */ |
|
|
89 |
#app-page-content ::-webkit-scrollbar { |
|
|
90 |
width: 4px; |
|
|
91 |
height: 0px; |
|
|
92 |
background-color: #f6f6f6; /* Change in individual app stylesheet */ |
|
|
93 |
} |
|
|
94 |
|
|
|
95 |
#app-page-content ::-webkit-scrollbar-thumb { |
|
|
96 |
width: 2px; |
|
|
97 |
border-radius: 15px; |
|
|
98 |
padding-right: 5px; |
|
|
99 |
background-color: #119dff; /* Change in individual app stylesheet */ |
|
|
100 |
} |
|
|
101 |
|
|
|
102 |
/* Body */ |
|
|
103 |
#app-page-content .app-body { |
|
|
104 |
padding: 5px; |
|
|
105 |
min-height: calc(100vh - 70px); |
|
|
106 |
overflow: auto; |
|
|
107 |
background-color: #f6f6f6; /* Change in individual app stylesheet */ |
|
|
108 |
color: #303030; /* Change in individual app stylesheet */ |
|
|
109 |
} |
|
|
110 |
|
|
|
111 |
/* Fonts */ |
|
|
112 |
#app-page-content .app-body { |
|
|
113 |
font-family: 'Open Sans'; |
|
|
114 |
font-weight: 200; |
|
|
115 |
} |
|
|
116 |
|
|
|
117 |
#app-page-content .app-body h4.what-is { |
|
|
118 |
font-weight: 400; |
|
|
119 |
font-size: 20pt; |
|
|
120 |
margin-bottom: 30px; |
|
|
121 |
text-align: center; |
|
|
122 |
} |
|
|
123 |
|
|
|
124 |
/* Tabs */ |
|
|
125 |
#app-page-content .control-tabs { |
|
|
126 |
width: 400px; |
|
|
127 |
height: 550px; |
|
|
128 |
margin: 50px; |
|
|
129 |
margin-right: 0px; |
|
|
130 |
font-size: 10pt; |
|
|
131 |
float: left; |
|
|
132 |
background-color: #ffffff; /* Change in individual app stylesheet */ |
|
|
133 |
} |
|
|
134 |
|
|
|
135 |
#app-page-content .control-tabs .tab-content { |
|
|
136 |
display: inline-block; |
|
|
137 |
padding: 20px; |
|
|
138 |
} |
|
|
139 |
|
|
|
140 |
#app-page-content .control-tab { |
|
|
141 |
height: 415px; |
|
|
142 |
overflow-y: auto; |
|
|
143 |
padding-right: 20px; |
|
|
144 |
margin: 20px; |
|
|
145 |
margin-right: 0px; |
|
|
146 |
} |
|
|
147 |
|
|
|
148 |
#app-page-content .control-tabs .tab { |
|
|
149 |
font-weight: 200; |
|
|
150 |
font-size: 9pt; |
|
|
151 |
height: 50px; |
|
|
152 |
padding: 15px; |
|
|
153 |
background-color: #ffffff; /* Change in individual app stylesheet */ |
|
|
154 |
border: solid 1px #d3d3d3; /* Change in individual app stylesheet */ |
|
|
155 |
} |
|
|
156 |
|
|
|
157 |
#app-page-content .control-tabs .tab--selected { |
|
|
158 |
font-weight: bolder; |
|
|
159 |
border: none; |
|
|
160 |
border-top: solid 2px; |
|
|
161 |
color: #119dff; /* Change in individual app stylesheet */ |
|
|
162 |
} |
|
|
163 |
|
|
|
164 |
/* Control names */ |
|
|
165 |
.app-controls-block { |
|
|
166 |
display: block; |
|
|
167 |
margin-top: 20px; |
|
|
168 |
margin-bottom: 40px; |
|
|
169 |
} |
|
|
170 |
|
|
|
171 |
.app-controls-name { |
|
|
172 |
display: inline-block; |
|
|
173 |
font-weight: 400; |
|
|
174 |
vertical-align: top; |
|
|
175 |
width: 160px; |
|
|
176 |
font-size: 12pt; |
|
|
177 |
margin-top: 5px; |
|
|
178 |
margin-bottom: 5px; |
|
|
179 |
} |
|
|
180 |
|
|
|
181 |
.fullwidth-app-controls-name { |
|
|
182 |
display: inline-block; |
|
|
183 |
font-weight: 400; |
|
|
184 |
vertical-align: top; |
|
|
185 |
width: 100%; |
|
|
186 |
font-size: 12pt; |
|
|
187 |
margin-top: 5px; |
|
|
188 |
margin-bottom: 5px; |
|
|
189 |
width: 100%; |
|
|
190 |
} |
|
|
191 |
|
|
|
192 |
.app-controls-desc { |
|
|
193 |
font-size: 9pt; |
|
|
194 |
margin-left: 10px; |
|
|
195 |
margin-right: 10px; |
|
|
196 |
margin-top: 5px; |
|
|
197 |
} |
|
|
198 |
|
|
|
199 |
/* Dash components */ |
|
|
200 |
#app-page-content .Select { |
|
|
201 |
width: 100% !important; |
|
|
202 |
} |
|
|
203 |
|
|
|
204 |
#app-page-content .Select-menu-outer { |
|
|
205 |
width: 100% !important; |
|
|
206 |
margin: 0px; |
|
|
207 |
} |
|
|
208 |
|
|
|
209 |
#app-page-content .Select-input { |
|
|
210 |
padding-top: 0px !important; |
|
|
211 |
} |
|
|
212 |
|
|
|
213 |
#app-page-content .control-slider { |
|
|
214 |
display: inline-block; |
|
|
215 |
width: 150px; |
|
|
216 |
float: right; |
|
|
217 |
} |
|
|
218 |
|
|
|
219 |
#app-page-content .control-upload { |
|
|
220 |
display: block; |
|
|
221 |
border: dotted 1px #119dff; /* Change in individual app stylesheet */ |
|
|
222 |
border-radius: 5px; |
|
|
223 |
padding: 30px; |
|
|
224 |
font-size: 9pt; |
|
|
225 |
text-align: center; |
|
|
226 |
} |
|
|
227 |
|
|
|
228 |
#app-page-content .control-download { |
|
|
229 |
width: 100%; |
|
|
230 |
margin-top: 10px; |
|
|
231 |
margin-bottom: 20px; |
|
|
232 |
font-size: 7pt; |
|
|
233 |
transition-duration: 500ms; |
|
|
234 |
} |
|
|
235 |
|
|
|
236 |
#app-page-content .control-download:hover { |
|
|
237 |
color: #119dff; /* Change in individual app stylesheet */ |
|
|
238 |
border-color: #119dff; /* Change in individual app stylesheet */ |
|
|
239 |
} |
|
|
240 |
|
|
|
241 |
#app-page-content .rc-slider-rail { |
|
|
242 |
background-color: #f6f6f6; /* Change in individual app stylesheet */ |
|
|
243 |
} |
|
|
244 |
|
|
|
245 |
#app-page-content .rc-slider-track { |
|
|
246 |
background-color: #119dff; /* Change in individual app stylesheet */ |
|
|
247 |
} |
|
|
248 |
|
|
|
249 |
#app-page-content .rc-slider-handle { |
|
|
250 |
border: solid 2px #119dff; /* Change in individual app stylesheet */ |
|
|
251 |
} |
|
|
252 |
|
|
|
253 |
@media (max-width: 800px) { |
|
|
254 |
#app-page-content .control-tabs { |
|
|
255 |
height: 650px; |
|
|
256 |
} |
|
|
257 |
|
|
|
258 |
#app-page-content .control-tabs .tab--selected { |
|
|
259 |
border: solid 1px #d3d3d3; /* Change in individual app stylesheet */ |
|
|
260 |
} |
|
|
261 |
} |