mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-21 19:00:12 +00:00
Merge pull request #2677 from haiwen/tag
[tag popup] improvements: 'add tag link', 'more colors', 'darker color'
This commit is contained in:
@@ -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 {
|
||||
@@ -80,3 +92,13 @@
|
||||
.file-tag-item:hover {
|
||||
background-color: #bbb;
|
||||
}
|
||||
|
||||
.tag-dialog-back {
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.tag-dialog-back:hover,
|
||||
.tag-dialog-back:focus {
|
||||
color: #444;
|
||||
}
|
||||
|
Reference in New Issue
Block a user