-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.html
108 lines (91 loc) · 2.73 KB
/
styles.html
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
<style>
@font-face {
font-family: PermanentMarker;
src: url(app/static/PermanentMarker-Regular.ttf);
}
.title {
font-family: PermanentMarker;
color: red;
font-size: 3em;
}
h3 {
font-family: "Open Sans", sans-serif;
font-size: 1.1em;
font-weight: 700;
color: #174C4F;
}
div[data-testid="stVerticalBlockBorderWrapper"]:has(.stHtml > .watchlist_card) {
padding-bottom: 0em;
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_symbol_name) {
& p {
color: #174C4F;
font-family: "Open Sans", sans-serif;
font-size: 1em;
font-weight: 700;
margin-bottom: 0;
}
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_ticker) {
text-align: right;
& p {
font-size: 0.8em;
margin-bottom: 0;
}
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_price_label) {
& p {
font-size: 0.8em;
margin-bottom: 0;
}
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .watchlist_price_value) {
& p {
color: #174C4F;
font-family: "Open Sans", sans-serif;
font-size: 1.2em;
margin-bottom: 0;
}
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .column_plotly) {
& .stPlotlyChart {
margin-top: 1em;
padding: 1em;
border-radius: 16px;
box-shadow: 0px 0px 10px rgba(81, 85, 195, 0.2);
}
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .column_indicator) {
margin-top: 2.5em;
padding-left: 4em;
}
/* Adapted from https://startbootstrap.com/theme/sb-admin-2 */
div[data-testid="stMetric"] {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
padding: 1em 2em;
border-radius: 5px;
box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}
label[data-testid="stMetricLabel"] p {
font-size: 1em;
}
div[data-testid="stMetricValue"] {
font-size: 1.3em;
font-weight: 700;
color: #174C4F;
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .low_indicator) {
& div[data-testid="stMetric"] {
border-left: 0.5rem solid red;
}
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .high_indicator) {
& div[data-testid="stMetric"] {
border-left: 0.5rem solid green;
}
}
div[data-testid="stVerticalBlock"]:has(> div > .stHtml > .bottom_indicator) {
margin-top: 0.5em;
}
</style>