Sha256: f7640c5d9d6075adea358869ffecff79fece023948b8f285fda285be79c0b41b

Contents?: true

Size: 1.39 KB

Versions: 87

Compression:

Stored size: 1.39 KB

Contents

.dl-horizontal {
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.5rem;

  p {
    padding-left: 0;
  }

  dt,
  dd {
    font-weight: normal;
    // border-top: dotted 1px #ddd;

    // &:first-child {
    //   border-top: none;
    // }


    &.inset {
      margin-left: 0.8em;
    }
  }

  dd:nth-child(2) {
    border-top: none;
  }

  dt {
    clear: left;
    float: left;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: $dl-horizontal-dt-width;
  }

  dd {
    margin-bottom: 0;
    margin-left: $dl-horizontal-dt-width + 1rem;

    &:before {
      content: " ";
      display: table;
    }

    &:after {
      clear: both;
      content: " ";
      display: table;
    }
  }

  &.xlarge {
    dt {
      width: $dl-horizontal-dt-width + 5.5rem;
    }

    dd {
      margin-left: $dl-horizontal-dt-width + 6.5rem;
    }
  }

  &.xxlarge {
    dt {
      width: $dl-horizontal-dt-width + 9.5rem;
    }
  }

  // Default
  &.large {
  }

  &.medium {

    dt {
      width: $dl-horizontal-dt-width - 2.5rem;
    }

    dd {
      margin-left: $dl-horizontal-dt-width - 1.5rem;
    }
  }

  &.small {

    dt {
      width: $dl-horizontal-dt-width - 5rem;
    }

    dd {
      margin-left: $dl-horizontal-dt-width - 4rem;
    }
  }
}

ul.indented {
  li {
    list-style-position: outside;
    padding-left: 1.5em;
    text-indent: -1.5em;
  }
}

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.1.0 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.167 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.166 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.165 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.164 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.163 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.162 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.161 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.160 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.159 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.158 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.157 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.156 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.155 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.153 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.152 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.151 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.149 app/assets/stylesheets/renalware/partials/_lists.scss
renalware-core-2.0.148 app/assets/stylesheets/renalware/partials/_lists.scss