Commit 48bc4fc214934160af39958c70f3adb6d7e00b5a
1 parent
0cd873c2
Exists in
master
and in
4 other branches
fixed flash message. better tree css
Showing
5 changed files
with
22 additions
and
6 deletions
Show diff stats
app/assets/stylesheets/common.scss
app/assets/stylesheets/notes.css.scss
| @@ -38,7 +38,8 @@ | @@ -38,7 +38,8 @@ | ||
| 38 | .note span.note-title{margin-bottom: 10px} | 38 | .note span.note-title{margin-bottom: 10px} |
| 39 | .note span.note-author{color: #999; font-weight: normal; font-style: italic;} | 39 | .note span.note-author{color: #999; font-weight: normal; font-style: italic;} |
| 40 | .note span.note-author strong{font-weight: bold; font-style: normal;} | 40 | .note span.note-author strong{font-weight: bold; font-style: normal;} |
| 41 | - | 41 | +.note p { color:$style_color; } |
| 42 | +.note .note-author { color: $style_color;} | ||
| 42 | 43 | ||
| 43 | .note .note-title { margin-left:55px; } | 44 | .note .note-title { margin-left:55px; } |
| 44 | 45 |
app/assets/stylesheets/tree.scss
| @@ -129,3 +129,18 @@ table.highlighttable .linenodiv pre { | @@ -129,3 +129,18 @@ table.highlighttable .linenodiv pre { | ||
| 129 | } | 129 | } |
| 130 | } | 130 | } |
| 131 | } | 131 | } |
| 132 | + | ||
| 133 | +.breadcrumb a { | ||
| 134 | + color:$style_color; | ||
| 135 | + font-weight:bold; | ||
| 136 | +} | ||
| 137 | + | ||
| 138 | +#tree-slider { | ||
| 139 | + td { | ||
| 140 | + padding:7px; | ||
| 141 | + } | ||
| 142 | + | ||
| 143 | + th { | ||
| 144 | + background:#f5f5f5; | ||
| 145 | + } | ||
| 146 | +} |
app/views/layouts/_flash.html.haml
| 1 | - if alert || notice | 1 | - if alert || notice |
| 2 | - text = alert || notice | 2 | - text = alert || notice |
| 3 | %div{:style => "display:none", :id => "flash_container"} | 3 | %div{:style => "display:none", :id => "flash_container"} |
| 4 | - .container | ||
| 5 | - %center | ||
| 6 | - %h4= text | 4 | + %center |
| 5 | + %h4= text | ||
| 7 | :javascript | 6 | :javascript |
| 8 | $(function(){ | 7 | $(function(){ |
| 9 | $("#flash_container").slideDown("slow"); | 8 | $("#flash_container").slideDown("slow"); |
app/views/refs/_tree.html.haml
| @@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
| 19 | = render :partial => "refs/tree_file", :locals => { :name => tree.name, :content => tree.data, :file => tree } | 19 | = render :partial => "refs/tree_file", :locals => { :name => tree.name, :content => tree.data, :file => tree } |
| 20 | - else | 20 | - else |
| 21 | - contents = tree.contents | 21 | - contents = tree.contents |
| 22 | - %table#tree-slider.bordered-table.zebra-striped | 22 | + %table#tree-slider.bordered-table |
| 23 | %thead | 23 | %thead |
| 24 | %th Name | 24 | %th Name |
| 25 | %th Last Update | 25 | %th Last Update |