File size: 1,856 Bytes
2189b37
f760ec3
2189b37
 
 
 
 
64e9fde
2189b37
 
 
2f6616a
19bff85
2f6616a
9213577
19bff85
f760ec3
 
 
9213577
eba677f
2189b37
64e9fde
5d967f5
2189b37
c347a86
f760ec3
2189b37
5f08b6b
2189b37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ab2ff4
56204ef
 
9ab2ff4
56204ef
 
 
 
 
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
"""
 placeholder for all streamlit style hacks
"""
import streamlit as st


def init_style():
    return st.markdown(
        """
    <style>
    /* Side Bar */
    [data-testid="stSidebar"][aria-expanded="true"] > div:first-child {
         width: 250px;
       }
    [data-testid="stSidebar"][aria-expanded="false"] > div:first-child {
        width: 250px;
    }
    [data-testid="stSidebar"]{
        flex-basis: unset;
    }
    .css-1outpf7 {
        background-color:rgb(254 244 219);
        width:10rem;
        padding:10px 10px 10px 10px;
    }

    /* Main Panel*/  
    .css-18e3th9 {
        padding:10px 10px 10px -200px;
    }
    .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;
    }
    [data-testid="stMarkdownContainer]{
        font-family: sans-serif;
        font-weight: 500;
        font-size: 1.5 rem !important;
        color: rgb(250, 250, 250);
        padding: 1.25rem 0px 1rem;
        margin: 0px;
        line-height: 1.4;
    }

    /* 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,
    )