You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
1.9 KiB
97 lines
1.9 KiB
.sidebar-shadow { |
|
will-change: opacity; |
|
opacity: 0; |
|
background-color: black; |
|
pointer-events: none; |
|
transition: opacity 150ms ease-out; |
|
position: fixed; |
|
left: 0; |
|
top: 0; |
|
height: 100%; |
|
width: 100%; |
|
z-index: 20; |
|
} |
|
.sidebar-on .sidebar-shadow { |
|
opacity: .3; |
|
pointer-events: initial; |
|
} |
|
.sidebar-on .sidebar-shadow:active { |
|
opacity: .6; |
|
} |
|
|
|
.sidebar { |
|
user-select: text; |
|
position: fixed; |
|
top: 0; |
|
height: 100%; |
|
background-color: rgba(255,255,255,.7); |
|
overflow-y: auto; |
|
padding-top: 3em; |
|
padding-bottom: 1em; |
|
backdrop-filter: blur(10px); |
|
} |
|
|
|
.sidebar, .sidebar-title { |
|
will-change: left; |
|
left: 100%; |
|
transition: left 150ms ease-out; |
|
z-index: 21; |
|
width: calc(100% - 700px); |
|
} |
|
.sidebar-on .sidebar, .sidebar-on .sidebar-title { |
|
left: 700px; |
|
} |
|
|
|
.sidebar-title { |
|
text-shadow: 0 0 3px white; |
|
font-weight: bold; |
|
position: fixed; |
|
width: 100%; |
|
top: 0; |
|
line-height: 3em; |
|
padding-left: .5em; |
|
background-color: rgba(255,255,255,.6); |
|
pointer-events: none; |
|
backdrop-filter: blur(10px); |
|
box-shadow: 0 3px 5px rgba(0,0,0,.2); |
|
} |
|
.sidebar-title a { |
|
pointer-events: initial; |
|
} |
|
|
|
.sidebar, .sidebar-title { |
|
padding-left: 1em; |
|
padding-right: 1em; |
|
} |
|
|
|
@media screen and (max-width: 1300px) { |
|
.sidebar, .sidebar-title { |
|
width: 550px; |
|
} |
|
.sidebar, .sidebar-title { |
|
padding-left: .5em; |
|
padding-right: .5em; |
|
} |
|
.sidebar-on .sidebar, .sidebar-on .sidebar-title { |
|
left: calc(100% - 550px); |
|
} |
|
} |
|
@media screen and (max-width: 580px) { |
|
.sidebar, .sidebar-title { |
|
width: calc(100% - 30px); |
|
} |
|
.sidebar, .sidebar-title { |
|
padding-left: .25em; |
|
padding-right: .25em; |
|
} |
|
.sidebar-on .sidebar, .sidebar-on .sidebar-title { |
|
left: 30px; |
|
} |
|
} |
|
|
|
.sidebar-flow-item { |
|
display: block; |
|
} |
|
.sidebar-flow-item .box { |
|
width: 100%; |
|
} |