Sha256: 73ae3667037fb8fc59e78247bfe813ef6853b37f2454f9ab9d3300c997af0f62

Contents?: true

Size: 611 Bytes

Versions: 5

Compression:

Stored size: 611 Bytes

Contents

// Turn off the bullet for an element of a list
=no-bullet
  :list-style-type none
  :margin-left 0px

// turns off the bullets for an entire list
=no-bullets
  li
    +no-bullet

// Make a list(ul/ol) have an image bullet
// mixin should be used like this for an icon that is 5x7:
// ul.pretty
//   +pretty-bullets(/images/my-icon.png, 5px, 7px)
=pretty-bullets(!bullet_icon, !width, !height, !line_height = 18px, !padding = 14px)
  :margin-left 0
  li
    :padding-left= !padding
    :background= url(!bullet_icon) no-repeat ((!padding - !width) / 2) ((!line_height - !height) / 2)
    :list-style-type none

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chriseppstein-compass-0.1.1 frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
chriseppstein-compass-0.3.0 frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
chriseppstein-compass-0.3.1 frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
chriseppstein-compass-0.3.2 frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
chriseppstein-compass-0.3.3 frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass