Chocobozzz/PeerTube

View on GitHub
client/src/app/shared/shared-main/search/simple-search-input.component.scss

Summary

Maintainability
Test Coverage
@use '_variables' as *;
@use '_mixins' as *;

.root {
  display: flex;
}

.search-button,
.close-search-button {
  @include margin-left(10px);

  my-global-icon {
    height: 28px;
    width: 28px;
    color: pvar(--mainColor);

    &:hover {
      color: pvar(--mainHoverColor);
    }
  }
}

input {
  @include peertube-input-text(200px);

  &:focus {
    box-shadow: 0 0 5px 0 #a5a5a5;
  }
}

.form-control-clear my-global-icon {
  width: 20px;
  height: 20px;
}