Sha256: 9d31dc2c07d2a395d2ce1cc34bcc5149907758362c9ca87afa974e229148f60a

Contents?: true

Size: 1.61 KB

Versions: 62

Compression:

Stored size: 1.61 KB

Contents

@import compass/utilities/general/float
@import blueprint/buttons

//
  Use the following HTML code to place the buttons on your site:
  
  <button type="submit" class="button positive">
    <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
  </button>
  
  <a class="button" href="/password/reset/">
    <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
  </a>
  
  <a href="#" class="button negative">
    <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
  </a>

a.button
  // you can pass "left" or "right" to +anchor-button to float it in that direction
  // or you can pass no argument to leave it inline-block (cross browser safe!) within
  // the flow of your page.
  +anchor-button(left)
  // All the button color mixins take 4 optional arguments:
  // font color, background color, border color, border highlight color
  // the first three default to constants set in blueprint/buttons.sass
  // the last one defaults to a shade lighter than the border color.
  +button-colors
  +button-hover-colors
  +button-active-colors

button
  // The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
  +button-button(left)
  +button-colors
  +button-hover-colors
  +button-active-colors

// We can change the colors for buttons of certain classes, etc.
a.positive, button.positive
  color: #529214
  +button-hover-colors(#529214, #E6EFC2, #C6D880)
  +button-active-colors(#FFF, #529214, #529214)

a.negative, button.negative
  color: #D12F19
  +button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
  +button-active-colors(#FFF, #D12F19, #D12F19)

Version data entries

62 entries across 61 versions & 7 rubygems

Version Path
frontsau-0.0.3 lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons.sass
frontsau-0.0.2 lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons.sass
frontsau-0.0.1 lib/Phamlp/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons.sass
compass-blueprint-1.0.0 framework/blueprint/templates/buttons/buttons.sass
compass-0.12.7 frameworks/blueprint/templates/buttons/buttons.sass
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/frameworks/blueprint/templates/buttons/buttons.sass
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.6 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.5 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.4 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.3 frameworks/blueprint/templates/buttons/buttons.sass
compass-sourcemaps-0.12.4.sourcemaps.a4836f1 frameworks/blueprint/templates/buttons/buttons.sass
compass-blueprint-0.0.1 framework/blueprint/templates/buttons/buttons.sass
compass-0.12.2 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.2.rc.1 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.2.rc.0 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.13.alpha.0 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.1 frameworks/blueprint/templates/buttons/buttons.sass
compass-0.12.0 frameworks/blueprint/templates/buttons/buttons.sass
radiant-1.0.0 ruby-debug/ruby/1.8/gems/compass-0.11.7/frameworks/blueprint/templates/buttons/buttons.sass