This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/css/directives/ui/strength-indicator.css

71 lines
1.6 KiB
CSS
Raw Normal View History

2015-07-20 18:56:04 +00:00
.strength-indicator {
display: inline-block;
}
.strength-indicator .indicator-sliver {
2015-07-20 18:56:04 +00:00
display: inline-block;
margin: 0px;
margin-right: 2px;
width: 4px;
border: 1px solid #D5D5D5;
transition: 0.5s ease;
}
2015-07-20 18:56:04 +00:00
.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 {
2015-07-20 18:56:04 +00:00
background: #83D29C;
border-color: #83D29C;
}
2015-07-20 18:56:04 +00:00
/** Fair */
.strength-indicator .strength-indicator-element.fair .indicator-sliver {
2015-07-20 18:56:04 +00:00
background: #E4C212;
border-color: #E4C212;
}
.strength-indicator .strength-indicator-element.fair .indicator-sliver:last-child {
background: transparent;
2015-07-20 18:56:04 +00:00
border-color: #D5D5D5;
}
2015-07-20 18:56:04 +00:00
/** Bairly */
.strength-indicator .strength-indicator-element.barely .indicator-sliver {
2015-07-20 18:56:04 +00:00
background: rgb(255, 155, 0);
border-color: rgb(255, 155, 0);
}
.strength-indicator .strength-indicator-element.barely .indicator-sliver:last-child {
background: transparent;
2015-07-20 18:56:04 +00:00
border-color: #D5D5D5;
}
.strength-indicator .strength-indicator-element.barely .indicator-sliver:nth-child(3) {
background: transparent;
2015-07-20 18:56:04 +00:00
border-color: #D5D5D5;
}
2015-07-20 18:56:04 +00:00
/** Poor */
.strength-indicator .strength-indicator-element.poor .indicator-sliver:first-child {
background: red;
2015-07-20 18:56:04 +00:00
border-color: red;
}