Sha256: 4c57ced133d05c0cd3f6575994f1c47e4493b8feacef85e8b150f24c9d06428f

Contents?: true

Size: 1014 Bytes

Versions: 8

Compression:

Stored size: 1014 Bytes

Contents

.node-select--node,
.node-select--node-url {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.node-select--node {
  display: flex;
  align-items: center;
  height: 21px;

  > alchemy-icon {
    margin: 0 8px 0 4px;
  }

  .icon {
    .select2-highlighted & {
      fill: $white;
    }
  }
}

.node-select--node-display_name,
.node-select--node-ancestors {
  display: inline-flex;
  align-items: center;
}

.node-select--node-name {
  font-weight: bold;
}

.node-select--node-url {
  margin-left: auto;
  padding: $default-padding 2 * $default-padding;
  color: $dark-gray;
  font-size: $small-font-size;

  .select2-highlighted & {
    color: $white;
  }
}

// The container of the rendered node is slightly larger than other a line of
// text, as it would be for the Alchemy::Ingredients::Page. Reducing the padding here from 0.6em
// to 0.4em centers the content nicely.
.ingredient-editor.node {
  .select2-container.alchemy_selectbox .select2-choice {
    padding: 0.4em 0.75em;
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-7.2.8 app/assets/stylesheets/alchemy/node-select.scss
alchemy_cms-7.2.7 app/assets/stylesheets/alchemy/node-select.scss
alchemy_cms-7.2.6 app/assets/stylesheets/alchemy/node-select.scss
alchemy_cms-7.2.5 app/assets/stylesheets/alchemy/node-select.scss
alchemy_cms-7.2.4 app/assets/stylesheets/alchemy/node-select.scss
alchemy_cms-7.2.3 app/assets/stylesheets/alchemy/node-select.scss
alchemy_cms-7.2.2 app/assets/stylesheets/alchemy/node-select.scss
alchemy_cms-7.2.1 app/assets/stylesheets/alchemy/node-select.scss