diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
commit | e4283f6d48b98e764b988b43bbc86b9d52e6ec94 (patch) | |
tree | c8f7f7a6c2f5faa2942d27cefc6fd46cca492656 /data/theme/gnome-shell-sass/widgets/_search-entry.scss | |
parent | Initial commit. (diff) | |
download | gnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.tar.xz gnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.zip |
Adding upstream version 43.9.upstream/43.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'data/theme/gnome-shell-sass/widgets/_search-entry.scss')
-rw-r--r-- | data/theme/gnome-shell-sass/widgets/_search-entry.scss | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/data/theme/gnome-shell-sass/widgets/_search-entry.scss b/data/theme/gnome-shell-sass/widgets/_search-entry.scss new file mode 100644 index 0000000..faca50e --- /dev/null +++ b/data/theme/gnome-shell-sass/widgets/_search-entry.scss @@ -0,0 +1,26 @@ +// Search entry + +$search_entry_width: 320px; +$search_entry_height: 36px; + +%search_entry, +.search-entry { + border-radius: $search_entry_height * 0.5; // half the height + + margin-top: $base_padding * 2; + margin-bottom: $base_padding; + padding: $base_padding+1 $base_padding+3; + width: $search_entry_width; + + @include entry(normal); + &:hover { @include entry(hover);} + &:focus { @include entry(focus);} + &:insensitive { @include entry(insensitive);} + + .search-entry-icon { + color: inherit; + icon-size: $base_icon_size; + margin-top: 2px; // center vertically + padding: 0 4px; + } +} |