-
Notifications
You must be signed in to change notification settings - Fork 5
/
style.py
43 lines (43 loc) · 1.46 KB
/
style.py
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
custom_css = '''
<style>
.block-container > div >
[data-testid="stVerticalBlock"] >
[data-testid="stHorizontalBlock"] >
[data-testid="column"]:nth-of-type(1) {
border: 1px solid rgba(49, 51, 63, 0.2);
border-radius: 0.25rem;
padding: calc(1em - 1px);
}
.block-container > div >
[data-testid="stVerticalBlock"] >
[data-testid="stHorizontalBlock"] >
[data-testid="column"]:nth-of-type(1) > div >
[data-testid="stVerticalBlock"] > .element-container:nth-of-type(1) {
position: absolute;
}
.block-container > div >
[data-testid="stVerticalBlock"] >
[data-testid="stHorizontalBlock"] >
[data-testid="column"]:nth-of-type(2) {
height: 120vh;
overflow-x: hidden;
overflow-y: scroll;
}
.block-container > div >
[data-testid="stVerticalBlock"] >
[data-testid="stHorizontalBlock"] >
[data-testid="column"]:nth-of-type(2)
div:not([data-testid="stExpander"]):not([data-testid="stImage"]) {
width: 100%!important;
}
button:disabled, button:disabled:hover, button:disabled:active {
border-color: transparent!important;
color: unset!important;
cursor: auto!important;
padding-left: 0px;
}
thead {
display: none;
}
</style>
'''