From cdd8ff258582f5eba7e3941a5a18007e7aabbbfa Mon Sep 17 00:00:00 2001 From: Daniel Beauchamp Date: Thu, 2 Aug 2012 13:38:19 -0400 Subject: Better generators, sample widgets, and more! --- templates/project/widgets/text/text.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/project/widgets/text/text.scss (limited to 'templates/project/widgets/text/text.scss') diff --git a/templates/project/widgets/text/text.scss b/templates/project/widgets/text/text.scss new file mode 100644 index 0000000..591c32e --- /dev/null +++ b/templates/project/widgets/text/text.scss @@ -0,0 +1,25 @@ +// ---------------------------------------------------------------------------- +// Sass declarations +// ---------------------------------------------------------------------------- +$widget-text_background-color: #ec663c; +$widget-text_value-color: #fff; + +$widget-text_title-color: lighten($widget-text_background-color, 30%); +$widget-text_moreinfo-color: lighten($widget-text_background-color, 30%); + +// ---------------------------------------------------------------------------- +// Widget-text styles +// ---------------------------------------------------------------------------- +.widget-text { + + background-color: $widget-text_background-color; + + .title { + color: $widget-text_title-color; + } + + .text-moreinfo { + color: $widget-text_moreinfo-color; + } + +} \ No newline at end of file -- cgit v1.2.3 From 54c6a04b722663b518bf99b4d98a1c2e86ee5103 Mon Sep 17 00:00:00 2001 From: Daniel Beauchamp Date: Tue, 14 Aug 2012 05:23:57 -0400 Subject: Updated the sample project. --- templates/project/widgets/text/text.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'templates/project/widgets/text/text.scss') diff --git a/templates/project/widgets/text/text.scss b/templates/project/widgets/text/text.scss index 591c32e..4293602 100644 --- a/templates/project/widgets/text/text.scss +++ b/templates/project/widgets/text/text.scss @@ -1,25 +1,25 @@ // ---------------------------------------------------------------------------- // Sass declarations // ---------------------------------------------------------------------------- -$widget-text_background-color: #ec663c; -$widget-text_value-color: #fff; +$background-color: #ec663c;; +$value-color: #fff; -$widget-text_title-color: lighten($widget-text_background-color, 30%); -$widget-text_moreinfo-color: lighten($widget-text_background-color, 30%); +$title-color: lighten($background-color, 40%); +$moreinfo-color: lighten($background-color, 30%); // ---------------------------------------------------------------------------- // Widget-text styles // ---------------------------------------------------------------------------- .widget-text { - background-color: $widget-text_background-color; + background-color: $background-color; .title { - color: $widget-text_title-color; + color: $title-color; } .text-moreinfo { - color: $widget-text_moreinfo-color; + color: $moreinfo-color; } } \ No newline at end of file -- cgit v1.2.3 From a4a4564f760bb1bcd541366186cd46488d5a569b Mon Sep 17 00:00:00 2001 From: Daniel Beauchamp Date: Tue, 30 Oct 2012 05:16:35 -0400 Subject: Added new widgets, and made them more flexible. Ready for 0.1.3! --- templates/project/widgets/text/text.scss | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'templates/project/widgets/text/text.scss') diff --git a/templates/project/widgets/text/text.scss b/templates/project/widgets/text/text.scss index 4293602..4e6c6e3 100644 --- a/templates/project/widgets/text/text.scss +++ b/templates/project/widgets/text/text.scss @@ -1,11 +1,10 @@ // ---------------------------------------------------------------------------- // Sass declarations // ---------------------------------------------------------------------------- -$background-color: #ec663c;; -$value-color: #fff; +$background-color: #ec663c; -$title-color: lighten($background-color, 40%); -$moreinfo-color: lighten($background-color, 30%); +$title-color: rgba(255, 255, 255, 0.7); +$moreinfo-color: rgba(255, 255, 255, 0.7); // ---------------------------------------------------------------------------- // Widget-text styles @@ -18,8 +17,16 @@ $moreinfo-color: lighten($background-color, 30%); color: $title-color; } - .text-moreinfo { + .more-info { color: $moreinfo-color; } + + .updated-at { + color: rgba(255, 255, 255, 0.7); + } + + &.large h3 { + font-size: 65px; + } } \ No newline at end of file -- cgit v1.2.3 From 5934a2729d93d24e67016dc4dd101c689378ae33 Mon Sep 17 00:00:00 2001 From: Ayrton De Craene Date: Fri, 16 Nov 2012 11:18:06 +0100 Subject: Removes whitespace :scissors: --- templates/project/widgets/text/text.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/project/widgets/text/text.scss') diff --git a/templates/project/widgets/text/text.scss b/templates/project/widgets/text/text.scss index 4e6c6e3..45d790e 100644 --- a/templates/project/widgets/text/text.scss +++ b/templates/project/widgets/text/text.scss @@ -9,11 +9,11 @@ $moreinfo-color: rgba(255, 255, 255, 0.7); // ---------------------------------------------------------------------------- // Widget-text styles // ---------------------------------------------------------------------------- -.widget-text { +.widget-text { background-color: $background-color; - - .title { + + .title { color: $title-color; } @@ -24,9 +24,9 @@ $moreinfo-color: rgba(255, 255, 255, 0.7); .updated-at { color: rgba(255, 255, 255, 0.7); } - + &.large h3 { font-size: 65px; } -} \ No newline at end of file +} -- cgit v1.2.3