OSDN Git Service

fixed flash message. better tree css
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 12 Feb 2012 17:47:37 +0000 (19:47 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 12 Feb 2012 17:47:37 +0000 (19:47 +0200)
app/assets/stylesheets/common.scss
app/assets/stylesheets/notes.css.scss
app/assets/stylesheets/tree.scss
app/views/layouts/_flash.html.haml
app/views/refs/_tree.html.haml

index d8d2796..2ad6172 100644 (file)
@@ -73,7 +73,8 @@ a {
 
 .container { 
   width:$min_app_width;
-  margin-top:62px;
+  margin-top:50px;
+  padding:$app_padding;
 }
 
 .container  .sidebar { 
index 3e0d141..c493c48 100644 (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; }
 
index 90cdcb0..cacdaa6 100644 (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;
+  }
+}
index 5139aed..2e40f0a 100644 (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");
index 74d194d..d1fcc29 100644 (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