chore: polish

This commit is contained in:
cha0s 2021-07-09 21:01:20 -05:00
parent 6fa944acf7
commit 7f7a3f9939
3 changed files with 36 additions and 32 deletions

View File

@ -223,7 +223,7 @@ fieldset {
button, .button {
background-color: rgba(0, 0, 0, 0.25);
border: 1px solid rgba(255, 255, 255, 0.1);
border: 2px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
font-size: 100%;
margin: 0.5em 0;

View File

@ -95,7 +95,7 @@ const Sidebar = ({
.find(({matcher}) => value.match(matcher))
.Component;
return (
<div className="label">
<div className="label inline">
{!nodes && <div className={`icon ${displayName}`} />}
<span className="text">{label}</span>
{value === uuid && (

View File

@ -11,17 +11,20 @@
&.open {
left: 0;
}
@media(min-width: 80rem) {
@media(min-width: 90rem) {
position: static;
width: 80rem;
width: 30rem;
}
> .tree > .node > .item .label > .text {
flex-grow: 1;
overflow: hidden;
text-overflow: ellipsis;
}
.label > .icon {
.label.inline {
justify-content: flex-start;
> div:first-child.icon {
background-size: cover;
flex-grow: unset;
margin-right: 0.125em;
width: 1em;
height: 1em;
@ -50,6 +53,7 @@
background-image: url('./img/note.png');
}
}
}
.node {
&.parent > .item .label:before {
color: #999;