Permalink
Browse files

blue theme

  • Loading branch information...
1 parent 0c1cecc commit 058391e178c658bd2956a5ee8dbfbdc038762d4b @barthezslavik committed Dec 23, 2012
Showing with 27 additions and 23 deletions.
  1. +6 −4 app/assets/stylesheets/main.css.sass
  2. +21 −19 app/views/samples/show.html.haml
@@ -3,7 +3,7 @@ p, a
font-size: 13px
body
- background: #f2f1f0
+ background: #4b7299
.simple_form label
font-size: 12px
@@ -25,7 +25,7 @@ body
clear: both
pre
- background: #D7E7EF
+ background: #ccc
.block
width: 300px
@@ -35,8 +35,9 @@ pre
height: 150px
margin: 5px
padding: 10px
+ border: 1px solid #000
a
- color: #E98C08
+ color: #0001f8
font-size: 16px
text-decoration: none
font-weight: bold
@@ -61,6 +62,7 @@ pre
background: #fff
padding: 8px
margin: 5px
- color: #E98C08
+ color: #000
text-decoration: none
font-weight: bold
+ border: 1px solid #000
@@ -1,26 +1,28 @@
-= link_to "Главная", "/", :class => "link"
-%br
-%br
-.wide_block
- /%p#notice= notice
+.center
+ = link_to "Главная", "/", :class => "link"
+ %br
+ %br
+ .wide_block
+ /%p#notice= notice
- .left
- %h2= @sample.name
- .right
- %br
- = link_to 'Edit', edit_sample_path(@sample), :class => "link"
+ .left
+ %h2= @sample.name
+ .right
+ %br
+ = link_to 'Edit', edit_sample_path(@sample), :class => "link"
- %br
- %br.both
+ %br
+ %br.both
- %pre= @sample.description
- - if @sample.screenshot_file_name?
- =link_to image_tag(@sample.screenshot.url :large), @sample.screenshot.url
+ %pre= @sample.description
+ - if @sample.screenshot_file_name?
+ =link_to image_tag(@sample.screenshot.url :large), @sample.screenshot.url
- %br
- %br
+ %br
+ %br
- =link_to "Demo", "/#{@sample.demo}", :class => "link"
+ -if @sample.demo?
+ =link_to "Demo", "/#{@sample.demo}", :class => "link"
- /= link_to 'Back', samples_path
+ /= link_to 'Back', samples_path

0 comments on commit 058391e

Please sign in to comment.