222 lines
4.6 KiB
CSS
222 lines
4.6 KiB
CSS
|
|
|
|
.navbar {
|
|
position: sticky;
|
|
|
|
top: 0px;
|
|
|
|
background: var(--bg_2);
|
|
|
|
box-shadow: 0px 5px 5px 0px #00000040;
|
|
z-index: 5;
|
|
|
|
& > ._titles {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
|
|
height: 2.3rem;
|
|
|
|
list-style-type: none;
|
|
padding: 0px;
|
|
|
|
& li {
|
|
padding: 0.2rem 0.8rem;
|
|
|
|
font-style: bold;
|
|
font-size: 1.5rem;
|
|
|
|
background: var(--highlight_1);
|
|
}
|
|
}
|
|
|
|
& ._search_field {
|
|
position: relative;
|
|
|
|
width: 1.3em;
|
|
height: auto;
|
|
|
|
margin-right: 0.2em;
|
|
|
|
overflow-x: clip;
|
|
|
|
/*transition: width 0.5s ease;*/
|
|
|
|
& > input {
|
|
color: var(--text_1);
|
|
|
|
height: 1em;
|
|
width: 100%;
|
|
|
|
font-size: 1em;
|
|
|
|
background-color: transparent;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
padding-left: 1.3rem;
|
|
}
|
|
|
|
& .fa-icn {
|
|
position: absolute;
|
|
left: 0.1em;
|
|
top: 0.3em;
|
|
|
|
pointer-events: none;
|
|
}
|
|
|
|
&:focus-within, &:hover, &:has(:focus) {
|
|
width: min(20em, 60vw);
|
|
min-width: min(20em, 60vw);
|
|
|
|
& ._search_list {
|
|
display: block;
|
|
opacity: 1;
|
|
}
|
|
& input {
|
|
border-bottom: 0.15em solid var(--bg_2);
|
|
}
|
|
}
|
|
|
|
& ._search_list {
|
|
display: none;
|
|
opacity: 0;
|
|
|
|
background: var(--bg_2);
|
|
|
|
transition: opacity 0.3s ease 0.5s;
|
|
transition: visibility 0s none 1s;
|
|
|
|
width: 100%
|
|
max-height: 50vh;
|
|
overflow-y: scroll;
|
|
|
|
padding: 0.5em;
|
|
|
|
z-index: 6;
|
|
|
|
& li {
|
|
border-bottom: 1px solid var(--highlight_1);
|
|
|
|
&:hover {
|
|
background: var(--highlight_1a);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
& ._path {
|
|
width: 100%;
|
|
height: 1.5rem;
|
|
padding-left: 0.5rem;
|
|
padding-right: 0.6rem;
|
|
|
|
background: var(--highlight_1);
|
|
|
|
font-size: 1.1rem;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
list-style-type: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
& > a {
|
|
color: var(--text_1);
|
|
padding-right: 0.2rem;
|
|
}
|
|
}
|
|
|
|
& ._path_list {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
margin-right: 1em;
|
|
|
|
font-style: italic;
|
|
|
|
background: var(--highlight_1);
|
|
|
|
font-size: 1.1rem;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
list-style-type: none;
|
|
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
& a {
|
|
color: var(--text_1);
|
|
padding-right: 0.2rem;
|
|
}
|
|
}
|
|
|
|
& > ._expand_label {
|
|
cursor: pointer;
|
|
}
|
|
& > ._details {
|
|
background-color: var(--bg_3);
|
|
|
|
border: 0.15rem solid var(--highlight_1);
|
|
border-top: none;
|
|
|
|
border-radius: 0 0 0.2rem 0.2rem;
|
|
overflow: clip;
|
|
|
|
padding-bottom: 0.2rem;
|
|
padding-left: 0.3rem;
|
|
|
|
max-height: 80vh;
|
|
overflow-y: scroll;
|
|
|
|
& > ._full_path {
|
|
width: 100%;
|
|
font-style: italic;
|
|
padding-left: 0.2rem;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
list-style-type: none;
|
|
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
& li {
|
|
margin-left: 0.3rem;
|
|
}
|
|
}
|
|
|
|
& > ._folder_list {
|
|
list-style: none;
|
|
padding-left: 0.4rem;
|
|
margin-left: 0.4rem;
|
|
|
|
border-left: 1px solid var(--text_border);
|
|
|
|
& ul {
|
|
list-style: none;
|
|
padding-left: 0.4rem;
|
|
margin-left: 0.4rem;
|
|
|
|
border-left: 1px solid var(--text_border);
|
|
}
|
|
|
|
& a:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
& span, & label {
|
|
width: 1rem;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
}
|