Commit 48bc4fc214934160af39958c70f3adb6d7e00b5a

Authored by Dmitriy Zaporozhets
1 parent 0cd873c2

fixed flash message. better tree css

app/assets/stylesheets/common.scss
... ... @@ -73,7 +73,8 @@ a {
73 73  
74 74 .container {
75 75 width:$min_app_width;
76   - margin-top:62px;
  76 + margin-top:50px;
  77 + padding:$app_padding;
77 78 }
78 79  
79 80 .container .sidebar {
... ...
app/assets/stylesheets/notes.css.scss
... ... @@ -38,7 +38,8 @@
38 38 .note span.note-title{margin-bottom: 10px}
39 39 .note span.note-author{color: #999; font-weight: normal; font-style: italic;}
40 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 44 .note .note-title { margin-left:55px; }
44 45  
... ...
app/assets/stylesheets/tree.scss
... ... @@ -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 1 - if alert || notice
2 2 - text = alert || notice
3 3 %div{:style => "display:none", :id => "flash_container"}
4   - .container
5   - %center
6   - %h4= text
  4 + %center
  5 + %h4= text
7 6 :javascript
8 7 $(function(){
9 8 $("#flash_container").slideDown("slow");
... ...
app/views/refs/_tree.html.haml
... ... @@ -19,7 +19,7 @@
19 19 = render :partial => "refs/tree_file", :locals => { :name => tree.name, :content => tree.data, :file => tree }
20 20 - else
21 21 - contents = tree.contents
22   - %table#tree-slider.bordered-table.zebra-striped
  22 + %table#tree-slider.bordered-table
23 23 %thead
24 24 %th Name
25 25 %th Last Update
... ...