1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-08 11:33:28 +00:00

Added length slider to password generator page

This commit is contained in:
Kyle Spearrin
2016-09-19 21:38:29 -04:00
parent 350d671c26
commit 6ef3ff9f4d
8 changed files with 68 additions and 4 deletions

View File

@@ -331,6 +331,16 @@
text-align: right;
}
}
&.list-section-item-slider {
.slider-value {
color: @gray-light;
&:before {
content: "\00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0";
}
}
}
}
&.list-no-selection {
@@ -341,3 +351,12 @@
}
}
}
.generate-password-block {
margin: 20px;
font-size: 20px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

View File

@@ -1,4 +1,21 @@
@import (reference) "variables.less";
@import "../../../node_modules/angularjs-slider/src/rzslider.less";
/* Slider */
@handleSize: 15px;
@barDimension: 2px;
@handleBgColor: @brand-primary;
@handleInnerColor: @handleBgColor;
@handleActiveColor: @handleBgColor;
@handleHoverColor: @handleBgColor;
@barNormalColor: @border-color-dark;
.list-section-item-slider .rzslider {
width: 182px;
margin: 9px 0 0 5px;
float: right;
}
/* Toastr */