Browse Source

Minor UI fixes

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
aadd71d4cc
2 changed files with 14 additions and 9 deletions
  1. +8
    -3
      src/LessPass.scss
  2. +6
    -6
      src/components/Options.vue

+ 8
- 3
src/LessPass.scss View File

@@ -32,7 +32,6 @@
//@import "~bootstrap/scss/popover"; //@import "~bootstrap/scss/popover";
//@import "~bootstrap/scss/carousel"; //@import "~bootstrap/scss/carousel";
@import "~bootstrap/scss/utilities"; @import "~bootstrap/scss/utilities";

@import '~font-awesome/css/font-awesome.css'; @import '~font-awesome/css/font-awesome.css';
@import '~hint.css/hint.css'; @import '~hint.css/hint.css';
@import '~awesomplete/awesomplete.css'; @import '~awesomplete/awesomplete.css';
@@ -48,14 +47,20 @@
#lesspass { #lesspass {
color: #464646; color: #464646;
max-width: 420px; max-width: 420px;
border: none;

.card-header {
border-bottom: none;
}
} }


.lesspass__inner-box { .lesspass__inner-box {
min-height: 240px; min-height: 240px;
border: $card-border-width solid $card-border-color;
} }


@media (max-width: 419px) { @media (max-width: 419px) {
#lesspass {
.lesspass__inner-box {
border: none; border: none;
} }
} }
@@ -95,6 +100,6 @@ button, .pointer {
padding-right: 30px; padding-right: 30px;
} }


.border-blue{
.border-blue {
border-color: $blue !important; border-color: $blue !important;
} }

+ 6
- 6
src/components/Options.vue View File

@@ -55,12 +55,12 @@
</div> </div>
</div> </div>
<div class="form-group row mb-0"> <div class="form-group row mb-0">
<div class="col-6 col-sm-4">
<div class="col-5 col-sm-4">
<label for="passwordLength">{{ $t('Length') }}</label> <label for="passwordLength">{{ $t('Length') }}</label>
<div class="input-group input-group-sm"> <div class="input-group input-group-sm">
<span class="input-group-btn" v-on:click="password.length=decrement(password.length, {min: 5, max: 35})"> <span class="input-group-btn" v-on:click="password.length=decrement(password.length, {min: 5, max: 35})">
<button id="decreaseLength__btn" class="btn btn-primary border-blue px-2" type="button"> <button id="decreaseLength__btn" class="btn btn-primary border-blue px-2" type="button">
<i class="fa fa-minus"></i>
<small><i class="fa fa-minus"></i></small>
</button> </button>
</span> </span>
<input id="passwordLength" <input id="passwordLength"
@@ -72,12 +72,12 @@
<span class="input-group-btn" <span class="input-group-btn"
v-on:click="password.length=increment(password.length, {min: 5, max: 35})"> v-on:click="password.length=increment(password.length, {min: 5, max: 35})">
<button id="increaseLength__btn" class="btn btn-primary border-blue px-2" type="button"> <button id="increaseLength__btn" class="btn btn-primary border-blue px-2" type="button">
<i class="fa fa-plus"></i>
<small><i class="fa fa-plus"></i></small>
</button> </button>
</span> </span>
</div> </div>
</div> </div>
<div class="col-6 col-sm-4">
<div class="col-5 col-sm-4">
<label for="passwordCounter" <label for="passwordCounter"
class="hint--top hint--medium" class="hint--top hint--medium"
v-bind:aria-label="$t('CounterFieldHelp','Increment this value to change the generated password without changing your master options.')"> v-bind:aria-label="$t('CounterFieldHelp','Increment this value to change the generated password without changing your master options.')">
@@ -87,7 +87,7 @@
<span id="decreaseCounter__btn" class="input-group-btn" <span id="decreaseCounter__btn" class="input-group-btn"
v-on:click="password.counter=decrement(password.counter, {min: 1})"> v-on:click="password.counter=decrement(password.counter, {min: 1})">
<button class="btn btn-primary border-blue px-2" type="button"> <button class="btn btn-primary border-blue px-2" type="button">
<i class="fa fa-minus"></i>
<small><i class="fa fa-minus"></i></small>
</button> </button>
</span> </span>
<input id="passwordCounter" <input id="passwordCounter"
@@ -98,7 +98,7 @@
<span id="increaseCounter__btn" class="input-group-btn" <span id="increaseCounter__btn" class="input-group-btn"
v-on:click="password.counter=increment(password.counter, {min: 1})"> v-on:click="password.counter=increment(password.counter, {min: 1})">
<button class="btn btn-primary border-blue px-2" type="button"> <button class="btn btn-primary border-blue px-2" type="button">
<i class="fa fa-plus"></i>
<small><i class="fa fa-plus"></i></small>
</button> </button>
</span> </span>
</div> </div>


Loading…
Cancel
Save