diff options
| author | Sean Brant | 2013-03-09 15:57:26 -0600 |
|---|---|---|
| committer | Sean Brant | 2013-03-09 15:57:26 -0600 |
| commit | fa90f078e5de5a1acbd9eda529db17ab1b2b4cb3 (patch) | |
| tree | 7d3014b692f53e5272c52a7f87c66f5aa9908b44 /tests/fixtures/sass/buttons.sass | |
| download | pykss-fa90f078e5de5a1acbd9eda529db17ab1b2b4cb3.tar.bz2 | |
Initial Import
Diffstat (limited to 'tests/fixtures/sass/buttons.sass')
| -rw-r--r-- | tests/fixtures/sass/buttons.sass | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/fixtures/sass/buttons.sass b/tests/fixtures/sass/buttons.sass new file mode 100644 index 0000000..2a8bcdf --- /dev/null +++ b/tests/fixtures/sass/buttons.sass @@ -0,0 +1,40 @@ +/* Your standard form button. + * + * :hover - Highlights when hovering. + * :disabled - Dims the button when disabled. + * .primary - Indicates button is the primary action. + * .smaller - A little bit smaller now. + * + * Styleguide 2.1.1. */ +button + padding: 5px 15px + + &.primary, &.primary:hover + color: #fff + + &.smaller + font-size: 11px + + &:hover + color: #337797 + + &:disabled + opacity: 0.5 + +// A button suitable for giving stars to someone. +// +// .star-given - A highlight indicating you've already given a star. +// .disabled - Dims the button to indicate it cannot be used. +// +// Styleguide 2.2.1. +a.button.star + display: inline-block + + .star + font-size: 10px + + &.star-given + color: #ae7e00 + + &.disabled + opacity: 0.5
\ No newline at end of file |
