Spaces:
Runtime error
Runtime error
File size: 1,318 Bytes
2189b37 |
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 |
"""
placeholder for all streamlit style hacks
"""
import streamlit as st
def init_style():
return st.write(
"""
<style>
/* Side Bar */
.css-1outpf7 {
background-color:rgb(254 244 219);
width:30rem;
padding:10px 10px 10px 10px;
}
/* Main Panel*/
.css-18e3th9 {
padding:10px 10px 10px 10px;
}
.css-1ubw6au:last-child{
background-color:lightblue;
}
/* Model Panels : element-container */
.element-container{
border-style:none
}
/* Radio Button Direction*/
div.row-widget.stRadio > div{flex-direction:row;}
/* Expander Boz*/
.streamlit-expander {
border-width: 0px;
border-bottom: 1px solid #A29C9B;
border-radius: 10px;
}
.streamlit-expanderHeader {
font-style: italic;
font-weight :600;
font-size:16px;
padding-top:0px;
padding-left: 0px;
color:#A29C9B
/* Section Headers */
.sectionHeader {
font-size:10px;
}
/* text input*/
.st-e5 {
background-color:lightblue;
}
/*line special*/
.line-one{
border-width: 0px;
border-bottom: 1px solid #A29C9B;
border-radius: 50px;
}
</style>
""",
unsafe_allow_html=True,
)
|