File size: 1,368 Bytes
bde00fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# style.py
custom_css = """

body {

    background-color: #121212;

    color: white;

}



.centered-text {

    text-align: center;

    margin-left: auto;

    margin-right: auto;

}





/* 🔵 Primary LawBot buttons (Get Answer) */

#lawbot-submit-btn {

    background-color: #1a237e !important;

    color: white !important;

    font-weight: bold;

    border-radius: 8px !important;

    padding: 10px 20px;

}



#lawbot-submit-btn:hover {

    background-color: #0f1a5e !important;

    cursor: pointer;

}



/* ⚪ Secondary button (Clear) */

#lawbot-clear-btn {

    background-color: #444444 !important;

    color: white !important;

    font-weight: bold;

    border-radius: 8px !important;

    padding: 10px 20px;

}



#lawbot-clear-btn:hover {

    background-color: #333333 !important;

    cursor: pointer;

}



/* 📄 Tab highlight */

.tabitem.selected {

    color: #1a237e !important;

    border-bottom: 3px solid #1a237e !important;

}



/* 🔁 Reset Button Styling */

#id-reset-btn {

    background-color: #1a237e !important;

    color: white !important;

    font-weight: bold;

    border-radius: 8px;

    padding: 10px 20px;

}



#id-reset-btn:hover {

    background-color: #0f1a5e !important;

    cursor: pointer;

}



/* 📄 Markdown cleanup */

.gr-markdown > div {

    background: transparent !important;

}

"""