1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/web/src/components/UsageIndicator.css
Brandon Caton 03b7fec211 ui: implementing github and gitlab build triggers (PROJQUAY-6585) (#2614)
Adds the creation of GitHub and GitLab build triggers.
2024-01-25 13:00:51 -05:00

72 lines
1.6 KiB
CSS

.strength-indicator {
display: inline-block;
}
.strength-indicator .indicator-sliver {
display: inline-block;
margin: 0px;
margin-right: 2px;
width: 4px;
border: 1px solid #D5D5D5;
transition: 0.5s ease;
}
.strength-indicator .strength-indicator-element .indicator-sliver:nth-child(1) {
height: 10px;
}
.strength-indicator .strength-indicator-element .indicator-sliver:nth-child(2) {
height: 14px;
}
.strength-indicator .strength-indicator-element .indicator-sliver:nth-child(3) {
height: 18px;
}
.strength-indicator .strength-indicator-element .indicator-sliver:nth-child(4) {
height: 22px;
}
/** Good */
.strength-indicator .strength-indicator-element.good .indicator-sliver {
background: #83D29C;
border-color: #83D29C;
}
/** Fair */
.strength-indicator .strength-indicator-element.fair .indicator-sliver {
background: #E4C212;
border-color: #E4C212;
}
.strength-indicator .strength-indicator-element.fair .indicator-sliver:last-child {
background: transparent;
border-color: #D5D5D5;
}
/** Bairly */
.strength-indicator .strength-indicator-element.barely .indicator-sliver {
background: rgb(255, 155, 0);
border-color: rgb(255, 155, 0);
}
.strength-indicator .strength-indicator-element.barely .indicator-sliver:last-child {
background: transparent;
border-color: #D5D5D5;
}
.strength-indicator .strength-indicator-element.barely .indicator-sliver:nth-child(3) {
background: transparent;
border-color: #D5D5D5;
}
/** Poor */
.strength-indicator .strength-indicator-element.poor .indicator-sliver:first-child {
background: red;
border-color: red;
}