Sha256: 4dc79562b14c8769b40123c314dcb70bcc3cd068aa1ea0e2bd620728a842e575

Contents?: true

Size: 1.98 KB

Versions: 6

Compression:

Stored size: 1.98 KB

Contents

@use 'sass:color';

[data-state=select-item] .show-on-new-item {
  display: none;
}
[data-state=new-item] .show-on-select-item {
  display: none;
}
.pg-form {
  .pg_associable_inline, .pg_associable {
    .limpiar {
      display: none;
      position: absolute;
      top: 8px;
      right: 10px;
      i {
        color: #6f7071;
      }
    }
    .pencil {
      position: absolute;
      top: 6px;
      right: 9px;
      color: #6f7071;
      cursor: pointer;
    }
    &.focus .pencil {
      display: none;
    }
    input[type=text] {
      background-color: white;
    }
    &.filled {
      .pencil {
        display: none;
      }
      .limpiar {
        display: inline-block;
      }
      input, input:focus {
        background-color: color.adjust(#a7b7bb, $saturation: +10%, $lightness: +20%);
      }
    }
    .resultados-wrapper {
      display: none;
      position: relative;
    }
    &:focus-within {
      .search-box {
        // outline: 1px solid color.adjust(#a7b7bb, $saturation: +30%);
        // border-radius: 3px;
      }

      &:has(.resultados) {
        input[type=text] {
          border-bottom-left-radius: 0!important;
          border-bottom-right-radius: 0!important;
          &:focus, &:focus-visible {
            outline: none!important;
          }
        }
      }
      .resultados-wrapper {
        display: block;
      }
    }
    .resultados {
      position: absolute;
      // top: 30px;
      background-color: white;
      border: 1px solid #a7b7bb;
      border-top: none;
      border-radius: 4px;
      padding: 5px 11px;
      width: 100%;

      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }
  }
}
.modal-asociable {
  .buscar input[type=text] {
    max-width: 180px;
  }
  .resultados {
    margin-top: 16px;
    border: 1px solid #c8c8c8;
  }
}
.resultados {
  .list-group-item:hover {
    background-color: color.adjust(#a7b7bb, $saturation: +10%, $lightness: +20%);
  }
}

.modal-asociable .modal-footer {
  justify-content: space-between;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pg_rails-7.0.7 pg_associable/app/assets/css/pg_associable.scss
pg_rails-7.0.6 pg_associable/app/assets/css/pg_associable.scss
pg_rails-7.0.5 pg_associable/app/assets/css/pg_associable.scss
pg_rails-7.0.4 pg_associable/app/assets/css/pg_associable.scss
pg_rails-7.0.3 pg_associable/app/assets/css/pg_associable.scss
pg_rails-7.0.2 pg_associable/app/assets/css/pg_associable.scss