Sha256: 4a7ed8a5a967d04f73b94861aab9200dc46317b34d551152a04006ee703277ff

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

// InfoBox

.@{prefix}-infobox {
  .inline-block();
  text-shadow: @text-shadow;
  overflow: hidden;
  border: 1px solid red;

  div {
    display: block;
    margin: 5px;

    button {
      position: absolute;
      top: 50%; right: 4px;
      cursor: pointer;
      margin-top: -8px;
      display: none;
    }

    button:focus {
      outline: 2px solid @btn-border-hover;
    }
  }
}

.@{prefix}-infobox.@{prefix}-has-help {
  div {
    margin-right: 25px;
  }

  button {
    display: block;
  }
}

.@{prefix}-infobox.@{prefix}-success {
  background: @infobox-success-bg;
  border-color: @infobox-success-border;

  div {
    color: @infobox-success-text;
  }
}

.@{prefix}-infobox.@{prefix}-warning {
  background: @infobox-warning-bg;
  border-color: @infobox-warning-border;

  div {
    color: @infobox-warning-text;
  }
}

.@{prefix}-infobox.@{prefix}-error {
  background: @infobox-error-bg;
  border-color: @infobox-error-border;

  div {
    color: @infobox-error-text;
  }
}

// RTL

.@{prefix}-rtl .@{prefix}-infobox {
  div {
    text-align: right;
    direction: rtl;
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trestle-tinymce-0.2.1 src/trestle/less/InfoBox.less
trestle-tinymce-0.2.0 src/trestle/less/InfoBox.less
trestle-tinymce-0.1.3 src/trestle/less/InfoBox.less
trestle-tinymce-0.1.2 src/trestle/less/InfoBox.less
trestle-tinymce-0.1.1 src/trestle/less/InfoBox.less
trestle-tinymce-0.1.0 src/trestle/less/InfoBox.less