-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
402 lines (361 loc) · 7.21 KB
/
style.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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
@font-face{
font-family: Rubik;
src: url('./assets/Rubik-Regular.ttf');
}
*{
font-family: Rubik;
}
body{
background-image: radial-gradient(aliceblue, beige 15%, white 95%);
margin:0;
}
body::after{
content: "";
background-image: url("./assets/bankOfAvion.png");
background-size: 40%;
background-repeat: no-repeat;
background-position: center;
opacity:0.5;
top: 0;
left: 0;
right: 0;
bottom: 0;
position: fixed;
z-index: -1000;
}
/* div.navbar{
margin-bottom: 1em;
background-color: aliceblue;
} */
a#home,a#view,a#transactions{
font-size: 2vw;
color: white;
}
a{
color: black;
text-decoration: none;
}
a:hover{
color:white;
}
div.sidemenu:hover{
background-color: green;
}
div#userbox{
border: 1px solid black;
border-radius: 1.5em;
margin: .25em;
padding-left: .5em;
padding-right: .5em;
box-shadow: 2px 2px 1px dimgray;
background-color: aliceblue;
opacity: 85%;
min-height: 7.5em;
}
div#userbox:hover{
box-shadow: 4px 4px 2px dimgray;
background-color: black;
color:white;
}
div#userbox > h2{
margin: .25em;
}
div#userbox>p{
margin: .5em;
}
div.add-container, div.transaction-container{
margin-top: 1em;
padding: .5em;
background-color: aliceblue;
border: 1px solid black;
border-radius: 1em;
display:none;
}
div#submitAllContainer{
display: flex;
justify-content: center;
margin-top: 1em;
margin-bottom: 1em;
}
div.body-wrapper{
background-color: aliceblue;
opacity: 85%;
padding-left: 1em;
padding-bottom: 1em;
}
div.user-container{
display:grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
div.singleTransaction{
margin-bottom: .5em;
}
button{
padding: .5em;
margin-right: .5em;
box-shadow: 1px 1px 1px aliceblue;
font-size: 20px;
z-index: 1;
border-radius: 1em;
}
button:hover{
box-shadow: 4px 4px 2px dimgray;
z-index: 100;
}
form{
display: inline;
}
/* div.dev-bar{
position:static;
bottom:0;
width: 100%;
text-align: center;
} */
/* div.button-container{
display: flex;
position: absolute;
float: right;
top: 0;
margin-top: 40px;
right: 20px;
z-index: 10;
padding: 10px 10px 10px 10px;
color: #ffffff;
background-color: #1d6baf;
font-weight: 700;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
} */
#loadDataBtn, #clearLocal{
margin: 0 1em;
font-size: 20px;
display:none;
}
div.newsfeed{
display: grid;
grid-template-columns:2fr 2fr;
grid-template-areas: 'news1 news2' 'graph graph' ;
grid-template-rows: 1fr .5fr;
}
div.worldnews, div.businessnews{
background-color: aliceblue;
margin: .5em;
border-radius: 2em;
padding: .5em;
box-shadow: 2px 2px 1px dimgray,-2px -2px 1px black;
text-shadow: .5px .5px 0 dimgray;
opacity: 98%;
}
div.worldnews>h4, div.businessnews>h4{
text-decoration: underline;
}
table{
border-collapse: collapse;
margin-top: 2em;
width: 100%;
background: aliceblue;
opacity: 90%;
}
th,td{
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
border: 1px solid dimgray;
}
tr:nth-child(even) {
background-color: #dddddd;
}
textarea, div#userbox>div{
margin-left: .5em;
}
div.button-container{
display: flex;
position: absolute;
float: right;
top: 0;
margin-top: 80px;
right: 0;
z-index: 10;
padding: 10px 10px 10px 10px;
color: #ffffff;
background-color: #104c36;
font-weight: 700;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
#dev-options {
display: inline;
position: absolute;
width: 5.5em;
top: 0;
margin-top: 0px;
right: 0;
z-index: 10;
padding: 10px 10px 10px 10px;
color: #ffffff;
background-color: #104c36;
font-weight: 700;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
div.worldnews{
grid-area: news1;
}
div.businessnews{
grid-area: news2;
}
div.tradingview-widget-container{
display:flex;
flex-flow:column;
align-items: center;
grid-area: graph;
}
@media only screen and (max-width: 900px){
div.user-container{
display:grid;
grid-template-columns: 1fr 1fr 1fr;
}
div.newsfeed{
display: grid;
grid-template-columns: 1fr;
grid-template-areas: 'news1' 'news2' 'graph';
grid-template-rows: 1fr 1fr 1fr;
}
}
@media only screen and (max-width: 600px){
div.user-container{
display:grid;
grid-template-columns: 1fr 1fr;
}
div.newsfeed{
display: grid;
grid-template-columns: 1fr;
grid-template-areas: 'news1' 'news2' 'graph';
grid-template-rows: 1fr 1fr 1fr;
}
}
@media only screen and (max-width: 360px){
div.user-container{
display:block;
}
div.newsfeed{
display: grid;
grid-template-columns: 1fr;
grid-template-areas: 'news1' 'news2' 'graph';
grid-template-rows: 1fr 1fr 2fr;
}
}
@keyframes fade{
from{opacity:30%;}
to{opacity:100%}
}
#sidebar, #content {
float:left;
transition: width .5s;
overflow:auto;
}
#sidebar {
width: 15%;
text-shadow: 1px 1px 0 dimgray;
background-color: #104c36;
height: 105vh;
overflow: hidden;
}
#sidebar.collapsed {
width: 0;
}
#sidebar.collapsed + #content {
width: 100%;
}
#content {
width: 85%;
height: 95vh;
}
button#toggle {
box-shadow: none;
width: 50px;
height: 50px;
background: #104c36;
border-radius: 0%;
margin-bottom: 10px;
border-radius: 0 0 30% 0;
border:none;
outline:none;
}
div.sidemenu{
width:100%;
margin-top: 1em;
}
div.sidemenu::before{
content: " ";
margin-left: .75em;
}
h2#subtitle{
position: relative;
top: -3vh;
}
.active::before{
content:"";
border-left: 5px solid lightgreen;
height: 100%;
margin-right: .5em;
}
h1#title{
padding-top:1em;
}
#icon-a{
color:white;
}
#toggle:hover{
background-color:green;
}
input {
border:1px solid #000000;
border-radius:7px;
font-size:15px;
padding:5px;
}
input:focus {
outline:none;
border-color:#9ecaed;
box-shadow:0 0 10px #9ecaed;
}
.trxn{
margin:auto;
width:90vw;
border-radius: 20px;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
padding: 20px;
}
button.transact, button.addusers, button#submitAll{
margin-left:20px;
color: white;
background-color: #4CAF50;
padding: 13px;
border: none;
font-size: 18px;
}
.singleTransaction>button{
padding: 1rem;
border: 1px solid grey;
border-radius: 0.7rem;
font-size: 1.2rem;
color: black;
}
.batchTransaction>button{
padding: 1rem;
border: 1px solid grey;
border-radius: 0.7rem;
font-size: 1.2rem;
color: black;
}
#loadDataBtn,#clearLocal{
padding: 1rem;
border: 1px solid grey;
border-radius: 0.7rem;
font-size: 1.0rem;
color: black;
}