parent
7043ddc935
commit
2b1bbcb579
16 changed files with 416 additions and 134 deletions
32
static/css/directives/ui/repo-list-table.css
Normal file
32
static/css/directives/ui/repo-list-table.css
Normal file
|
@ -0,0 +1,32 @@
|
|||
.repo-list-table {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.repo-list-table .repo-name-icon .avatar {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.repo-list-table .repo-name-icon .namespace {
|
||||
color: #444;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.repo-list-table .repo-name-icon .namespace:after {
|
||||
content: " / ";
|
||||
}
|
||||
|
||||
.repo-list-table .empty {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.repo-list-table .last-modified {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.repo-list-table .strength-indicator {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.repo-list-table .popularity {
|
||||
line-height: 10px;
|
||||
}
|
42
static/css/directives/ui/strength-indicator.css
Normal file
42
static/css/directives/ui/strength-indicator.css
Normal file
|
@ -0,0 +1,42 @@
|
|||
.strength-indicator .indicator-sliver {
|
||||
margin: 1px;
|
||||
width: 14px;
|
||||
height: 3px;
|
||||
border: 1px solid #D5D5D5;
|
||||
transition: 0.5s ease;
|
||||
}
|
||||
|
||||
.strength-indicator .strength-indicator-element.good .indicator-sliver {
|
||||
background: green;
|
||||
border: 1px solid green;
|
||||
}
|
||||
|
||||
.strength-indicator .strength-indicator-element.fair .indicator-sliver {
|
||||
background: orange;
|
||||
border: 1px solid orange;
|
||||
}
|
||||
|
||||
.strength-indicator .strength-indicator-element.fair .indicator-sliver:last-child {
|
||||
border: 1px solid #D5D5D5;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.strength-indicator .strength-indicator-element.barely .indicator-sliver {
|
||||
background: rgb(255, 61, 0);
|
||||
border: 1px solid rgb(255, 61, 0);
|
||||
}
|
||||
|
||||
.strength-indicator .strength-indicator-element.barely .indicator-sliver:last-child {
|
||||
border: 1px solid #D5D5D5;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.strength-indicator .strength-indicator-element.barely .indicator-sliver:nth-child(3) {
|
||||
border: 1px solid #D5D5D5;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.strength-indicator .strength-indicator-element.poor .indicator-sliver:first-child {
|
||||
border: 1px solid red;
|
||||
background: red;
|
||||
}
|
Reference in a new issue