diff options
author | Daniel Beauchamp <daniel.beauchamp@shopify.com> | 2012-08-08 18:02:56 -0400 |
---|---|---|
committer | Daniel Beauchamp <daniel.beauchamp@shopify.com> | 2012-08-08 18:06:58 -0400 |
commit | 780fe49f715c2fced88e958b02541bf8e7dca934 (patch) | |
tree | 7cd147e96913c9f95cda54f4bd341d0630e34c66 /templates/project/widgets/table | |
parent | cdd8ff258582f5eba7e3941a5a18007e7aabbbfa (diff) |
Rename project to 'Dashing', and do some other cleanups
Diffstat (limited to 'templates/project/widgets/table')
-rw-r--r-- | templates/project/widgets/table/table.coffee | 2 | ||||
-rw-r--r-- | templates/project/widgets/table/table.html | 8 | ||||
-rw-r--r-- | templates/project/widgets/table/table.scss | 42 |
3 files changed, 0 insertions, 52 deletions
diff --git a/templates/project/widgets/table/table.coffee b/templates/project/widgets/table/table.coffee deleted file mode 100644 index 5735316..0000000 --- a/templates/project/widgets/table/table.coffee +++ /dev/null @@ -1,2 +0,0 @@ -class AllTheThings.Table extends AllTheThings.Widget - source: 'table'
\ No newline at end of file diff --git a/templates/project/widgets/table/table.html b/templates/project/widgets/table/table.html deleted file mode 100644 index e5aeb99..0000000 --- a/templates/project/widgets/table/table.html +++ /dev/null @@ -1,8 +0,0 @@ -<h1 class="title" data-bind="title"></h1> - -<table> - <tr data-foreach-item="items"> - <td class="label" data-bind="item.label"></td> - <td class="value" data-bind="item.value | shortenedNumber"></td> - </tr> -</table>
\ No newline at end of file diff --git a/templates/project/widgets/table/table.scss b/templates/project/widgets/table/table.scss deleted file mode 100644 index 0d38164..0000000 --- a/templates/project/widgets/table/table.scss +++ /dev/null @@ -1,42 +0,0 @@ -// ---------------------------------------------------------------------------- -// Sass declarations -// ---------------------------------------------------------------------------- -$widget-table_background-color: #82b53d; -$widget-table_value-color: #fff; - -$widget-table_title-color: lighten($widget-table_background-color, 45%); -$widget-table_label-color: lighten($widget-table_background-color, 45%); - -// ---------------------------------------------------------------------------- -// Widget-table styles -// ---------------------------------------------------------------------------- -.widget-table { - - background-color: $widget-table_background-color; - - th { - font-weight: 400; - font-size: 16px; - } - - td.label { - vertical-align: middle; - text-align: left; - font-size: 23px; - } - - .title { - color: $widget-table_title-color; - } - - .label { - color: $widget-table_label-color; - } - - .value { - font-weight: 700; - font-size: 54px; - color: $widget-table_value-color; - } - -}
\ No newline at end of file |