Sha256: fb62ebb0b843ea08f65cc318d8136464c341f7665f0c386a84aaa94fb079dabd

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

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

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

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

[data-scrivito-field-type="link"] ul li:last-child {
  margin: 0;
}

[data-scrivito-field-type="link"] ul li .list-content {
  float: left;
  line-height: 35px;
  width: 70%;
}

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

[data-scrivito-field-type="link"] ul li .actions {
  position: absolute;
  top: 33px;
  right: 63px;
}

[data-scrivito-field-type="link"] ul li .actions .editing-button {
  margin: 0;
}


[data-scrivito-display-mode="editing"] [data-scrivito-field-type="link"] ul li {
  padding: 10px 135px 10px 25px;
}

[data-scrivito-display-mode="editing"] [data-scrivito-field-type="link"] ul li input {
  background: #fff;
  border: 1px solid #ddd;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #555555;
  display: block;
  float: left;
  font-size: 14px;
  height: 34px;
  margin: 0 10px 5px 0;
  padding: 6px 12px;
  width: 100%;
}

@media (max-width: 1100px) {
  [data-scrivito-display-mode="editing"] [data-scrivito-field-type="link"] ul li {
    padding: 10px 10px 10px 25px;
  }

  [data-scrivito-field-type="link"] ul li .actions {
    float: left;
    position: static;
  }

  [data-scrivito-field-type="link"] ul li .actions .editing-button {
    margin: 0 10px 0 0;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scrivito_editors-0.0.13 app/assets/stylesheets/scrivito_editors/editors/link_editor.css