fixed flash message. better tree css

This commit is contained in:
Dmitriy Zaporozhets 2012-02-12 19:47:37 +02:00
parent 0cd873c2d3
commit 48bc4fc214
5 changed files with 22 additions and 6 deletions

View file

@ -73,7 +73,8 @@ a {
.container {
width:$min_app_width;
margin-top:62px;
margin-top:50px;
padding:$app_padding;
}
.container .sidebar {

View file

@ -38,7 +38,8 @@
.note span.note-title{margin-bottom: 10px}
.note span.note-author{color: #999; font-weight: normal; font-style: italic;}
.note span.note-author strong{font-weight: bold; font-style: normal;}
.note p { color:$style_color; }
.note .note-author { color: $style_color;}
.note .note-title { margin-left:55px; }

View file

@ -129,3 +129,18 @@ table.highlighttable .linenodiv pre {
}
}
}
.breadcrumb a {
color:$style_color;
font-weight:bold;
}
#tree-slider {
td {
padding:7px;
}
th {
background:#f5f5f5;
}
}

View file

@ -1,9 +1,8 @@
- if alert || notice
- text = alert || notice
%div{:style => "display:none", :id => "flash_container"}
.container
%center
%h4= text
%center
%h4= text
:javascript
$(function(){
$("#flash_container").slideDown("slow");

View file

@ -19,7 +19,7 @@
= render :partial => "refs/tree_file", :locals => { :name => tree.name, :content => tree.data, :file => tree }
- else
- contents = tree.contents
%table#tree-slider.bordered-table.zebra-striped
%table#tree-slider.bordered-table
%thead
%th Name
%th Last Update