Sha256: cfbc392ab493d358a52c3bf34ad335c7c9ecb3cbb691f08fe26a12bcc8230719

Contents?: true

Size: 1.11 KB

Versions: 10

Compression:

Stored size: 1.11 KB

Contents

@import 'tao/form/globals';
@import 'tao/form/shared/fields/moment_picker/result';

tao-moment-picker-result {
  justify-content: space-between;
  background: $white-color;
  border: 1px solid $border-color;
  border-radius: $border-radius-s;
  transition: border-color 300ms;
  cursor: pointer;

  &:hover {
    border-color: $form-field-active-border-color;
  }

  &[active],
  &:focus {
    border-color: $form-field-active-border-color;
    outline: none;
  }

  &[disabled] {
    cursor: not-allowed;
    background: $grey-bg-color;
    border-color: $light-border-color;

    &[selected]:hover .link-clear {
      display: none;
    }
  }

  .icon-wrapper,
  .link-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: $form-field-height - 0.125rem;
    height: $form-field-height - 0.125rem;
    fill: $lighter-grey-color;
  }

  .link-clear {
    display: none;
    text-decoration: none;
    outline: none;

    &:hover {
      fill: $grey-color;
    }
  }

  &[selected] {
    &:hover,
    &[active] {
      .link-clear {
        display: flex;
      }
    }
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tao_form-0.1.9 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.8 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.7 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.6 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.5 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.4 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.3 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.2 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.1 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss
tao_form-0.1.0 lib/assets/stylesheets/tao/form/fields/moment_picker/result.scss