Codebase list gnome-shell-extensions / 07c329c data / gnome-shell-sass / widgets / _search-entry.scss
07c329c

Tree @07c329c (Download .tar.gz)

_search-entry.scss @07c329craw · history · blame

// 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;
  }
}