mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
added vault search
This commit is contained in:
@@ -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 {
|
||||
|
||||
19
src/popup/less/mixins.less
Normal file
19
src/popup/less/mixins.less
Normal 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;
|
||||
}
|
||||
}
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user