app-bar.css 667 Bytes
:host * {
  box-sizing: border-box;
}

:host(.search-on) {
  left: 0;
  background: inherit;
  z-index: 1001;
}

:host ::content iron-icon {
  margin-right: 15px;
  cursor: pointer;
}

#search {
  position: relative;
}

#search iron-icon {
  margin-right: 0;
}

#search[show] {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 16px;
  background: #fff;
}

#search input {
  display: none;
  font-family: var(--primary-font-family);
  font-size: 15px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 2px;
  -webkit-appearance: none;
}

#search[show] input {
  display: block;
}

#search input:focus {
  outline: 0;
}