Sha256: 8f2ce15a1fc66540688f1c1d96d2b8d17882573b69e5c0dbc962df304ab18be4

Contents?: true

Size: 987 Bytes

Versions: 42

Compression:

Stored size: 987 Bytes

Contents

// Basic p/ol/ul styles for long content areas (for now, only on task detail description, pdf layout, and mailings edit page)
.reset-body-text {
  font-size: $font-size-base;
  ul, ol {
    margin-bottom: 0;
    margin-left: 0;
    padding-left: ($spacer * .5);
    font-size: $font-size-base;
    li {
      line-height: 1.3;
      + li { margin-top: ($spacer * .25); }
      span[style*="inline-block"] { vertical-align: text-top; } // used to adjust for line-height on inline-block elements inside list items
    }
  }
  p, ul, ol {
    + p, + ul, + ol { margin-top: ($spacer * .5); }
  }
  code, pre { font-size: $font-size-sm; }

  // Styles meant for tables inside reset-body-text specifically direct mail
  table {
    border-collapse: collapse;
    width: 100%;
    td, th {
      padding: 6px;
      border: $border-width solid $border-color;
      vertical-align: top;
    }
    thead td,
    th {
      font-weight: bold;
      border-bottom-color: $border-color;
    }
  }
}

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
nfg_ui-6.17.2 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-6.17.1 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-6.17.0 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-6.16.3 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-6.16.2 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-6.16.1 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-6.16.0 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-5.15.7 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-5.15.6 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-5.15.5 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-5.15.4 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-5.15.3 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.15.2 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.15.1 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.15.0 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.14.7 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.14.6.3 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.14.6.2 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.14.6.1 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
nfg_ui-0.14.6 app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss