mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* ux: Add magnifying glass icon to search input and remove the text label (#10188) * ux: Add new look on search field to manage dashboards, users, teams, data sources, plugins. Change to use our own icon class instead of .fa (#10188) * ux: Add new search look on org/users (#10188)
This commit is contained in:
committed by
Torkel Ödegaard
parent
776c39fd79
commit
b012131050
@@ -1,6 +1,7 @@
|
||||
$gf-form-margin: 3px;
|
||||
$input-border: 1px solid $input-border-color;
|
||||
|
||||
|
||||
.gf-form {
|
||||
margin-bottom: $gf-form-margin;
|
||||
display: flex;
|
||||
@@ -31,6 +32,27 @@ $input-border: 1px solid $input-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
.gf-form--has-input-icon {
|
||||
position: relative;
|
||||
|
||||
.gf-form-input-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -9px;
|
||||
font-size: $font-size-lg;
|
||||
left: 10px;
|
||||
color: $input-color-placeholder;
|
||||
}
|
||||
|
||||
> input {
|
||||
padding-left: 30px;
|
||||
|
||||
&:focus + .gf-form-input-icon {
|
||||
color: $gray-4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gf-form-disabled {
|
||||
color: $text-color-weak;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user