diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:22 +0000 |
commit | f9d480cfe50ca1d7a0f0b5a2b8bb9932962bfbe7 (patch) | |
tree | ce9e8db2d4e8799780fa72ae8f1953039373e2ee /data/theme/gnome-shell-sass/widgets/_search-entry.scss | |
parent | Initial commit. (diff) | |
download | gnome-shell-f9d480cfe50ca1d7a0f0b5a2b8bb9932962bfbe7.tar.xz gnome-shell-f9d480cfe50ca1d7a0f0b5a2b8bb9932962bfbe7.zip |
Adding upstream version 3.38.6.upstream/3.38.6upstream
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 | 35 |
1 files changed, 35 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..329dbc7 --- /dev/null +++ b/data/theme/gnome-shell-sass/widgets/_search-entry.scss @@ -0,0 +1,35 @@ +// Search entry + +$search_entry_width: 320px; +$search_entry_height: 36px; + +%search_entry, +.search-entry { + width: $search_entry_width; + padding: $base_padding+1 $base_padding+3; + border-radius: $search_entry_height * 0.5; // half the height + color: transparentize($fg_color,0.3); + background-color: $bg_color; + border-color: $borders_color; + + &:hover { + background-color: $hover_bg_color; + border-color: $hover_borders_color; + color: $hover_fg_color; + } + + &:focus { + padding: $base_padding $base_padding+2; // 1px less to account for wider border + border-width: 2px; + border-style: solid; + border-color: $selected_bg_color; + color: $fg_color; + box-shadow: inset 0 1px 2px 1px rgba(0,0,0,0.2); + } + + .search-entry-icon { + icon-size: $base_icon_size; + padding: 0 4px; + color: inherit; + } +}
\ No newline at end of file |