1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +00:00

added vault search

This commit is contained in:
Kyle Spearrin
2016-09-13 00:14:49 -04:00
parent a2916418ac
commit 348f5e7ef1
10 changed files with 112 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
@import (reference) "variables.less";
@import (reference) "mixins.less";
.header {
min-height: 44px;
@@ -52,6 +53,7 @@
display: block;
right: 0;
position: absolute;
z-index: 99999;
a, button {
padding: 12px 10px;
@@ -65,6 +67,35 @@
float: right;
}
}
.search {
text-align: left;
position: relative;
input {
background: darken(@brand-primary, 8%);
border: none;
color: white;
padding: 5px 10px 5px 30px;
border-radius: 5px;
width: 85%;
margin: 7px 0 0 7px;
.placeholder-color(lighten(@brand-primary, 35%));
&:focus {
border-radius: 5px;
outline: none;
background: darken(@brand-primary, 10%);
}
}
.fa-search {
position: absolute;
top: 15px;
left: 15px;
color: lighten(@brand-primary, 30%);
}
}
}
.tabs {

View File

@@ -0,0 +1,19 @@
.placeholder-color(@color) {
&:-moz-placeholder {
color: @color;
opacity: 1;
}
&::-moz-placeholder {
color: @color;
opacity: 1;
}
&:-ms-input-placeholder {
color: @color;
}
&::-webkit-input-placeholder {
color: @color;
}
}

View File

@@ -1,5 +1,6 @@
@import "../../../node_modules/bootstrap/less/bootstrap.less";
@import "variables.less";
@import "mixins.less";
@import "components.less";
@import "animations.less";
@import "plugins.less";