File size: 3,449 Bytes
5c7fa16
 
 
 
 
 
 
 
 
ca6d558
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5c7fa16
 
ca6d558
 
 
 
5c7fa16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e173383
 
 
 
5c7fa16
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
.stVerticalBlock {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

.block-container {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

[data-testid="stVerticalBlock"] {
    padding-top: 0rem;
    padding-bottom: 0rem;
}
.st-emotion-cache-40pabj{
    padding-top: 0rem;
    padding-bottom: 0rem;
}
/* Make the toolbar transparent */
.st-emotion-cache-18ni7ap {
    pointer-events: none;
    background: rgb(255 255 255 / 0%)
    }

.stAppHeader {
    display: none;
}

header {visibility: hidden;}
#MainMenu {visibility: hidden;}
[data-testid="stDecoration"] {
    display: none;
}
#root > div:nth-child(1) > div > div > div > div > section > div {
    padding-top: 0rem;
}

section.stMain .block-container {
    padding-top: 0rem;
    z-index: 1;
}

/* Main container */
.stApp {
    background-color: var(--background);
    height: auto;
    overflow: visible;
}

/* Widgets */
.stSelectbox,
.stTextInput,
.stNumberInput {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.4rem;
}

.stMarkdown {
    color: var(--primary);
}

/* Code block styling */
.stCodeBlock {
    max-height: 400px;
    overflow-y: auto !important;
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    background-color: var(--background-shaded);
}

/* Custom scrollbar for code blocks */
.stCodeBlock::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.stCodeBlock::-webkit-scrollbar-track {
    background: var(--background-shaded);
    border-radius: 4px;
}

.stCodeBlock::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.stCodeBlock::-webkit-scrollbar-thumb:hover {
    background: #e13d68;
}



.scrollable-code-container {
    height: 600px;
    overflow-y: auto;
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 5px;
    background-color: var(--background-shaded);
}

.scrollable-code-container pre {
    margin: 0;
    white-space: pre;
    overflow-x: auto;
    font-family: monospace;
}

.scrollable-code-container code {
    display: block;
    min-width: 100%;
    padding: 0;
    tab-size: 4;
}

/* Add custom scrollbar styling for code containers */
.scrollable-code-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollable-code-container::-webkit-scrollbar-track {
    background: var(--background-shaded);
    border-radius: 4px;
}

.scrollable-code-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.scrollable-code-container::-webkit-scrollbar-thumb:hover {
    background: #e13d68;
}

/* Style for expander */
.streamlit-expanderHeader {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    padding: 0.5rem !important;
}

.streamlit-expanderHeader:hover {
    border-color: var(--accent);
}

/* Style for expander content */
.streamlit-expanderContent {
    background-color: var(--background-shaded);
    border: 1px solid var(--border);
    border-radius: 0 0 0.4rem 0.4rem;
    margin-top: -1px;
    padding: 0.5rem !important;
}

/* Style for st.code() blocks */
.stCode {
    max-height: 600px;
    overflow-y: auto;
    background-color: var(--background-shaded) !important;
    border: 1px solid var(--border) !important;
    border-radius: 5px !important;
}

.stCode pre {
    background-color: var(--background-shaded) !important;
}

div[data-testid="InputInstructions"] {
    visibility: hidden;
}