Update folder item styles and add delete button
This commit is contained in:
@@ -297,11 +297,6 @@ body {
|
||||
border-color: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.folder-item.is-open {
|
||||
border-color: var(--border-strong);
|
||||
background: var(--bg-active);
|
||||
}
|
||||
|
||||
.folder-item__toggle {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
@@ -313,7 +308,7 @@ body {
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
font-size: 0.9rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.folder-item__title {
|
||||
@@ -323,6 +318,26 @@ body {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.folder-item__delete {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid transparent;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.folder-item__delete:hover {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.folder-item__input {
|
||||
width: 100%;
|
||||
font: inherit;
|
||||
|
||||
Reference in New Issue
Block a user