Sha256: d2fedfea3285949d29a173533e6d652acaca11c7da8698ad5388e081d183b958

Contents?: true

Size: 944 Bytes

Versions: 8

Compression:

Stored size: 944 Bytes

Contents

// Style DITA note elements w/ Bootstrap components

// Apply `.alert` rule from `_alerts.scss`
div.note,
div.important,
div.attention {
  @extend .alert;
  margin: 1em;

  a {
    @extend .alert-link;
  }
}

// Import alert settings for note variants

// Note = alert alert-info
.note {
  @extend .alert-info;
  // Tip = alert alert-success
  &.tip {
    @extend .alert-success;
  }
}

// Important = alert alert-warning
.attention,
.important {
  @extend .alert-warning;
}

// Caution, Warning = alert alert-danger
.caution,
.warning {
  @extend .alert-danger;
}

// Title styles

// Common `.note__title` class for v2.2 and newer
// Legacy `.*title` classes for backwards compatibility w/ v2.1 and earlier (removed in v2.4)
.note__title,
.notetitle,
.tiptitle,
.fastpathtitle,
.restrictiontitle,
.importanttitle,
.remembertitle,
.attentiontitle,
.cautiontitle,
.noticetitle,
.dangertitle,
.warningtitle,
.othertitle {
  font-weight: bold;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cms-dita-jekyll-theme-0.1.7 _sass/_notes.scss
cms-dita-jekyll-theme-0.1.6 _sass/_notes.scss
cms-dita-jekyll-theme-0.1.5 _sass/_notes.scss
cms-dita-jekyll-theme-0.1.4 _sass/_notes.scss
cms-dita-jekyll-theme-0.1.3 _sass/_notes.scss
cms-dita-jekyll-theme-0.1.2 _sass/_notes.scss
cms-dita-jekyll-theme-0.1.1 _sass/_notes.scss
cms-dita-jekyll-theme-0.1.0 _sass/_notes.scss