diff options
Diffstat (limited to 'templates/project/assets')
-rw-r--r-- | templates/project/assets/images/logo.png | bin | 0 -> 68147 bytes | |||
-rw-r--r-- | templates/project/assets/javascripts/application.coffee | 12 | ||||
-rw-r--r-- | templates/project/assets/stylesheets/application.scss | 40 |
3 files changed, 39 insertions, 13 deletions
diff --git a/templates/project/assets/images/logo.png b/templates/project/assets/images/logo.png Binary files differnew file mode 100644 index 0000000..aabf199 --- /dev/null +++ b/templates/project/assets/images/logo.png diff --git a/templates/project/assets/javascripts/application.coffee b/templates/project/assets/javascripts/application.coffee index c84aa05..be030e1 100644 --- a/templates/project/assets/javascripts/application.coffee +++ b/templates/project/assets/javascripts/application.coffee @@ -8,17 +8,17 @@ console.log("Yeah! The dashboard has started!") Dashing.on 'ready', -> - widget_margins = [5, 5] - widget_base_dimensions = [240, 330] - numColumns = 4 + Dashing.widget_margins ||= [5, 5] + Dashing.widget_base_dimensions ||= [300, 360] + Dashing.numColumns ||= 4 - contentWidth = (widget_base_dimensions[0] + widget_margins[0] * 2) * numColumns + contentWidth = (Dashing.widget_base_dimensions[0] + Dashing.widget_margins[0] * 2) * Dashing.numColumns Batman.setImmediate -> $('.gridster').width(contentWidth) $('.gridster ul:first').gridster - widget_margins: widget_margins - widget_base_dimensions: widget_base_dimensions + widget_margins: Dashing.widget_margins + widget_base_dimensions: Dashing.widget_base_dimensions avoid_overlapped_widgets: !Dashing.customGridsterLayout draggable: stop: Dashing.showGridsterInstructions diff --git a/templates/project/assets/stylesheets/application.scss b/templates/project/assets/stylesheets/application.scss index 7c5f300..ea2cd86 100644 --- a/templates/project/assets/stylesheets/application.scss +++ b/templates/project/assets/stylesheets/application.scss @@ -95,11 +95,11 @@ h1 { margin-bottom: 12px; text-align: center; font-size: 30px; - font-weight: 300; + font-weight: 400; } h2 { text-transform: uppercase; - font-size: 80px; + font-size: 76px; font-weight: 700; color: $text-color; } @@ -116,6 +116,16 @@ h3 { margin: 0px auto; } +.icon-background { + width: 100%!important; + height: 100%; + position: absolute; + left: 0; + top: 0; + opacity: 0.1; + font-size: 275px; +} + .list-nostyle { list-style: none; } @@ -146,7 +156,7 @@ h3 { display: inline-block; } - .title, .text-moreinfo { + .title, .more-info { color: $text-warning-color; } } @@ -160,14 +170,25 @@ h3 { display: inline-block; } - .title, .text-moreinfo { + .title, .more-info { color: $text-danger-color; } } -.text-moreinfo { - margin-top: 12px; +.more-info { font-size: 15px; + position: absolute; + bottom: 32px; + left: 0; + right: 0; +} + +.updated-at { + font-size: 15px; + position: absolute; + bottom: 12px; + left: 0; + right: 0; } #save-gridster { @@ -220,10 +241,15 @@ h3 { display: none; } +#container { + padding-top: 5px; +} + // ---------------------------------------------------------------------------- // Clearfix // ---------------------------------------------------------------------------- .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; } .clearfix:after { clear: both; } -.clearfix { zoom: 1; }
\ No newline at end of file +.clearfix { zoom: 1; } + |