Sha256: 01605510f32e4474c9f09e924a6dd461768a31383ad5c4b48df3034f7a37f537

Contents?: true

Size: 1.59 KB

Versions: 14

Compression:

Stored size: 1.59 KB

Contents

/*
  An editor to handle CMS referencelist attributes.
*/

[data-scrivito-field-type="referencelist"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-scrivito-field-type="referencelist"] ul li {
  background-color: #f3f3f3;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  margin: 4px 0;
  overflow: hidden;
  padding: 5px 10px;
  position: relative;
  border: 1px solid #ddd;
}

[data-scrivito-field-type="referencelist"] ul li .list-content {
  display: inline-block;
}

[data-scrivito-field-type="referencelist"] ul li.ui-sortable-placeholder:before {
  display:none;
}

[data-scrivito-field-type="referencelist"] ul li .actions {
  float: right;
}

[data-scrivito-field-type="referencelist"] ul li .actions .editing-button {
  position: absolute;
  top: 0;
  margin-top: 0;
  right: -10px;
  bottom: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

[data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li {
  padding-left: 28px;
}

[data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li:before {
  content: "↕";
  color: #999;
  font-size: 19px;
  line-height: 0;
  position: absolute;
  left: 7px;
  top: 50%;
}

[data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li:hover {
  background-color: #e6f3f7;
  cursor: move;
}

[data-scrivito-display-mode="editing"] [data-scrivito-field-type="referencelist"] ul li.ui-sortable-placeholder {
  background: #f3f3f3;
  border: 2px dashed #9bc2cf;
  height: 36px;
  opacity: .5;
  visibility: visible!important;
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
scrivito_editors-1.1.1 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.1.0 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.1.0.rc3 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.1.0.rc2 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.1.0.rc1 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.0.0 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.0.0.rc4 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.0.0.rc3 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.0.0.rc2 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-1.0.0.rc1 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-0.90.0 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-0.90.0.rc3 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-0.90.0.rc2 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css
scrivito_editors-0.90.0.rc1 app/assets/stylesheets/scrivito_editors/editors/referencelist_editor.css