Add UI for viewing labels on a manifest in the tags view
This commit is contained in:
parent
69e476b1f4
commit
f17ef4adda
13 changed files with 336 additions and 112 deletions
|
@ -127,11 +127,12 @@
|
|||
color: black;
|
||||
}
|
||||
|
||||
.arepo-panel-tags-element .tag-span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 250px;
|
||||
display: inline-block;
|
||||
.repo-panel-tags-element tr.expanded-view td {
|
||||
border-bottom: 0px;
|
||||
}
|
||||
|
||||
.repo-panel-tags-element .labels-col {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
|
|
9
static/css/directives/ui/label-list.css
Normal file
9
static/css/directives/ui/label-list.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
.label-list-element .label-view {
|
||||
margin-right: 6px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.label-list-element .empty-list {
|
||||
font-size: 12px;
|
||||
color: #ccc;
|
||||
}
|
25
static/css/directives/ui/label-view.css
Normal file
25
static/css/directives/ui/label-view.css
Normal file
|
@ -0,0 +1,25 @@
|
|||
.label-view-element {
|
||||
display: inline-block;
|
||||
padding: 1px;
|
||||
border-radius: 9px;
|
||||
background-color: #eee;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font-size: 12px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.label-view-element .kind {
|
||||
text-transform: uppercase;
|
||||
font-size: 8px;
|
||||
color: #aaa;
|
||||
margin-right: 2px;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.label-view-element .value {
|
||||
max-width: 100px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
8
static/css/directives/ui/manifest-label-list.css
Normal file
8
static/css/directives/ui/manifest-label-list.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
.manifest-label-list-element {
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.manifest-label-list-element .none {
|
||||
font-size: 12px;
|
||||
color: #ccc;
|
||||
}
|
Reference in a new issue