From f8f5f8f92fbb7ae113b6a71d6e53d292034f507d Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Tue, 28 Jun 2011 14:15:28 +0200 Subject: [PATCH] Added more buttons --- compass/buttons.scss | 47 +++++ layouts/main.html | 2 + output/Scratch/assets/css/buttons.css | 126 +++++++++++++ output/Scratch/assets/img/buttons/cross.png | Bin 0 -> 655 bytes output/Scratch/assets/img/buttons/key.png | Bin 0 -> 455 bytes output/Scratch/assets/img/buttons/tick.png | Bin 0 -> 537 bytes site/Scratch/en/blog/index.html | 2 + site/Scratch/en/index.html | 2 + site/Scratch/en/support/index.html | 2 + site/Scratch/fr/blog/index.html | 2 + site/Scratch/fr/index.html | 2 + site/Scratch/fr/support/index.html | 2 + site/css/buttons.css | 126 +++++++++++++ site/css/ie.css | 46 ++--- site/css/link_icons.css | 36 ++-- site/css/main.css | 178 ++++++++++++++---- site/css/print.css | 26 +-- site/css/screen.css | 191 ++++++++++---------- site/src/main.sass | 37 +++- 19 files changed, 640 insertions(+), 187 deletions(-) create mode 100644 compass/buttons.scss create mode 100644 output/Scratch/assets/css/buttons.css create mode 100644 output/Scratch/assets/img/buttons/cross.png create mode 100644 output/Scratch/assets/img/buttons/key.png create mode 100644 output/Scratch/assets/img/buttons/tick.png create mode 100644 site/css/buttons.css diff --git a/compass/buttons.scss b/compass/buttons.scss new file mode 100644 index 0000000..f7c183f --- /dev/null +++ b/compass/buttons.scss @@ -0,0 +1,47 @@ +@import "compass/utilities/general/float"; +@import "blueprint/buttons"; + +// Use the following HTML code to place the buttons on your site: +// +// +// +// +// Change Password +// +// +// +// Cancel +// + +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. + @include 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. + @include button-colors; + @include button-hover-colors; + @include button-active-colors; } + +button { + // The +button-button mixin is just like the +anchor-button mixin, but for