Spaces:
Runtime error
Runtime error
section[data-testid='stSidebar'] { | |
background-color: RGB(55, 71, 79); | |
flex-shrink: unset ; | |
} | |
@media(hover:hover) and (min-width: 600px) and (max-width: 769px) { | |
header[data-testid="stHeader"] { | |
display: none; | |
} | |
section[data-testid='stSidebar'] { | |
height: 100%; | |
min-width: 95px ; | |
width: 95px ; | |
margin-left: 305px; | |
position: relative; | |
z-index: 1; | |
top: 0; | |
left: 0; | |
background-color: RGB(55, 71, 79); | |
overflow-x: hidden; | |
transition: 0.5s ease; | |
padding-top: 60px; | |
white-space: nowrap; | |
} | |
section[data-testid='stSidebar']:hover { | |
min-width: 330px ; | |
} | |
button[kind="header"] { | |
display: none; | |
} | |
div[data-testid="collapsedControl"] { | |
display: none; | |
} | |
} | |
@media(hover: hover) and (min-width: 769px) { | |
header[data-testid="stHeader"] { | |
display: none; | |
} | |
section[data-testid='stSidebar'] { | |
height: 100%; | |
min-width: 95px ; | |
width: 95px ; | |
transform: translateX(0px); | |
position: relative; | |
z-index: 1; | |
top: 0; | |
left: 0; | |
background-color: RGB(55, 71, 79); | |
overflow-x: hidden; | |
transition: 0.5s ease; | |
padding-top: 60px; | |
white-space: nowrap; | |
} | |
section[data-testid='stSidebar']:hover { | |
min-width: 330px ; | |
} | |
button[kind="header"] { | |
display: none; | |
} | |
div[data-testid="collapsedControl"] { | |
display: none; | |
} | |
} |