rairo commited on
Commit
422039c
·
verified ·
1 Parent(s): d958815

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +76 -0
style.css CHANGED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section[data-testid='stSidebar'] {
2
+ background-color: #111;
3
+ flex-shrink: unset !important;
4
+
5
+ }
6
+
7
+ @media(hover:hover) and (min-width: 600px) and (max-width: 769px){
8
+
9
+ header[data-testid="stHeader"] {
10
+ display:none;
11
+ }
12
+
13
+ section[data-testid='stSidebar'] {
14
+ height: 100%;
15
+ min-width:95px !important;
16
+ width: 95px !important;
17
+ margin-left: 305px;
18
+ position: relative;
19
+ z-index: 1;
20
+ top: 0;
21
+ left: 0;
22
+ background-color: #111;
23
+ overflow-x: hidden;
24
+ transition: 0.5s ease;
25
+ padding-top: 60px;
26
+ white-space: nowrap;
27
+ }
28
+
29
+ section[data-testid='stSidebar']:hover{
30
+ min-width: 330px !important;
31
+ }
32
+
33
+ button[kind="header"] {
34
+ display: none;
35
+ }
36
+
37
+ div[data-testid="collapsedControl"]{
38
+ display: none;
39
+ }
40
+
41
+ }
42
+
43
+ @media(hover: hover) and (min-width: 769px){
44
+
45
+ header[data-testid="stHeader"] {
46
+ display:none;
47
+ }
48
+
49
+ section[data-testid='stSidebar'] {
50
+ height: 100%;
51
+ min-width:95px !important;
52
+ width: 95px !important;
53
+ transform:translateX(0px);
54
+ position: relative;
55
+ z-index: 1;
56
+ top: 0;
57
+ left: 0;
58
+ background-color: #111;
59
+ overflow-x: hidden;
60
+ transition: 0.5s ease;
61
+ padding-top: 60px;
62
+ white-space: nowrap;
63
+ }
64
+
65
+ section[data-testid='stSidebar']:hover{
66
+ min-width: 330px !important;
67
+ }
68
+
69
+ button[kind="header"] {
70
+ display: none;
71
+ }
72
+
73
+ div[data-testid="collapsedControl"]{
74
+ display: none;
75
+ }
76
+ }