All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.lib.components.extensions-picker.extension-search-bar.scss Maven / Gradle / Ivy

There is a newer version: 37
Show newest version
.search-bar {
  margin: 0 auto;
  width: 100%;
  display: flex;

  .form-group {
    border: 1px solid var(--extensionsPickerSearchBorderColor);
    border-left: none;
    display: flex;
    flex-grow: 1;

    svg.search-icon {
      margin: 10px;
      width: 20px;
      font-size: 1.2rem;
    }
    &:focus-within {
      border-color: var(--extensionsPickerSearchBorderColorOnFocus);

      svg {
        color: var(--extensionsPickerSearchBorderColorOnFocus);
      }
    }
  }
  .filter-shortcut {
    .dropdown-item.list-item {
      width: 700px;
      height: auto;
      display: block;
      border: none;
      cursor: auto;
      line-height: 30px;
      margin-right: 10px;


      span {
        display: inline-block;
        margin-left: 7px;
        font-size: 0.9rem;
        cursor: pointer;
        color: var(--extensionsPickerSearchBorderColorOnFocus);
        border: none;
        text-decoration: underline;

        &.active {
          color: var(--extensionsPickerSearchClearColor);
          font-weight: bold;
        }
      }
    }
    .dropdown-item {
      font-weight: normal;
      line-height: 35px;
      height: 35px;
    }

    .dropdown-item.clear-filter {
      color: var(--extensionsPickerSearchClearColor);
    }
  }

  .filter-shortcut-button {
    display: flex;
    cursor: pointer;
    background-color: transparent;
    color: var(--extensionsPickerSearchTextColor);
    line-height: 40px;
    font-weight: bold;
    padding: 0 10px;
    align-items: center;
    border: 1px solid var(--extensionsPickerSearchBorderColor);
    svg {
      font-size: 1rem;
      width: 20px;
      margin-left: 10px;
    }
  }

  input.form-control {
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    width: 100%;
    background: transparent;
    color: var(--extensionsPickerSearchTextColor);
    font-family: var(--inputFont);
    border: none;
    outline: none;

    &:focus {
      outline: none;
    }
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy