summaryrefslogtreecommitdiffstats
path: root/data/theme/gnome-shell-sass/widgets/_search-entry.scss
blob: faca50e4a3e8887c6c2f89ed89fbcc65dc6edcbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
  }
}