1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 19:00:12 +00:00

[tag popup] improvements: 'add tag link', 'more colors', 'darker color'

This commit is contained in:
llj
2018-12-20 14:00:40 +08:00
parent 2dd25b2ae7
commit 3d324389f7
4 changed files with 61 additions and 30 deletions

View File

@@ -1,11 +1,21 @@
.tag-list-container {
padding: 0.5rem;
padding-bottom: 0;
max-height: 15rem;
list-style: none;
overflow: auto;
}
.add-tag-link {
display: block;
color: #666;
padding: .4rem .5rem;
border-radius: 4px;
text-decoration: underline;
}
.add-tag-link:hover {
color: #444;
background: #eee;
}
.tag-list-item {
position: relative;
display: flex;
@@ -17,18 +27,20 @@
.tag-list-item .tag-demo {
flex: 1;
border-radius: 0.25rem;
padding-left: 0.5rem;
display: flex;
align-items: center;
color: #ffffff;
overflow: hidden;
}
.tag-list-item .tag-demo:hover {
border-left: 0.75rem solid #eb8205;
.show-tag-selected {
width: .5em;
align-self: stretch;
}
.tag-demo .tag-name {
flex: 1;
padding-left: 0.5rem;
}
.tag-demo .tag-files {