Sha256: e4d1aef9a3fec7e77682352b1df54267ef608d1dd84e586aa45182d3fad1aec3

Contents?: true

Size: 1.49 KB

Versions: 75

Compression:

Stored size: 1.49 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;
  overflow: hidden;
  padding: 5px 10px;
  position: relative;
  border: 1px solid #ddd;
}

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

[data-scrivito-field-type="link"] ul li .actions {
  position: absolute;
  bottom: 0;
  right: 0;
}

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

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

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

[data-scrivito-display-mode="editing"] [data-scrivito-field-type="link"] ul li input:first-child {
  border-radius: 5px 5px 0 0;
  border-top-width: 0px;
}

@media (max-width: 550px) {
  [data-scrivito-field-type="link"] ul li .actions {
    float: left;
    position: static;
  }

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

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
scrivito_editors-1.4.3 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.4.2 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.4.1 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.4.1.rc1 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.4.0 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.4.0.rc2 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.4.0.rc1 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.3.1 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.3.1.rc1 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.3.0 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.3.0.rc3 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.3.0.rc2 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.3.0.rc1 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.2.0 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.2.0.rc3 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.2.0.rc2 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.2.0.rc1 app/assets/stylesheets/scrivito_editors/link_editor.css
scrivito_editors-1.1.1 app/assets/stylesheets/scrivito_editors/editors/link_editor.css
scrivito_editors-1.1.0 app/assets/stylesheets/scrivito_editors/editors/link_editor.css
scrivito_editors-1.1.0.rc3 app/assets/stylesheets/scrivito_editors/editors/link_editor.css