OSDN Git Service

Fix branch selector. Few css fixed also
authorrandx <dmitriy.zaporozhets@gmail.com>
Sat, 18 Aug 2012 20:53:58 +0000 (23:53 +0300)
committerrandx <dmitriy.zaporozhets@gmail.com>
Sat, 18 Aug 2012 20:53:58 +0000 (23:53 +0300)
app/assets/stylesheets/sections/login.scss
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/themes/ui_modern.scss
app/views/notes/_show.html.haml
app/views/refs/_tree.html.haml
app/views/refs/_tree_commit.html.haml

index 3726d9f..5b8763c 100644 (file)
@@ -27,6 +27,7 @@ body.login-page{
   -moz-border-radius-topright: 5px;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
+  margin-bottom:0px;
 }
 
 .login-box input.text.bottom{
index b498277..c846e6a 100644 (file)
@@ -48,7 +48,7 @@
   p { color:$style_color; }
   .note-author { color: $style_color;}
 
-  .note-title { margin-left:50px; padding-top: 5px;}
+  .note-title { padding-top: 5px;}
   .avatar { 
     margin-top:3px;
   }
index 29c857e..3fd9bb5 100644 (file)
@@ -37,6 +37,7 @@
      *
      */
     .app_logo {
+      width:160px;
       a {
         h1 {
           opacity: 0.7;
@@ -56,7 +57,7 @@
       .separator {
         width: 1px;
         height: 40px;
-        margin: 0 9px;
+        margin: 0 10px;
         overflow: hidden;
         background: #222;
         border-left: 1px solid #333;
@@ -73,6 +74,7 @@
         background:none;
         margin-left:8px;
         font-size: 13px;
+        font-weight:bold;
         line-height: 19px;
         color:#ccc;
         &:hover {
@@ -81,6 +83,7 @@
         border: none;
         box-shadow:none;
         text-shadow: 0 -1px 0 #000000;
+        border-left: 1px solid #333;
       }
     }
 
     .project_name {
       line-height:34px;
       font-size:22px;
-      color:#fff;
+      color:#ccc;
       text-shadow: 0 1px 1px #111;
     }
 
index bdb0054..3412e4e 100644 (file)
@@ -1,5 +1,5 @@
 %li{id: dom_id(note), class: "note"}
-  = image_tag gravatar_icon(note.author.email), class: "avatar"
+  = image_tag gravatar_icon(note.author.email), class: "avatar s32"
   %div.note-author
     %strong= note.author_name
     = link_to "##{dom_id(note)}", name: dom_id(note) do
index 6f8175d..c231c40 100644 (file)
@@ -51,8 +51,6 @@
 
 :javascript
   $(function(){
-    $('select#branch').selectmenu({style:'popup', width:200});
-    $('select#tag').selectmenu({style:'popup', width:200});
     $('.project-refs-select').chosen();
 
     history.pushState({ path: this.path }, '', "#{@history_path}");
index a5681aa..1bcf1a7 100644 (file)
@@ -1,3 +1,3 @@
 - if tm
-  %strong= link_to "[#{tm.user_name}]", project_team_member_path(@project, tm)
+  = link_to "[#{tm.user_name}]", project_team_member_path(@project, tm)
 = link_to_gfm truncate(content_commit.title, length: tm ? 30 : 50), project_commit_path(@project, content_commit.id), class: "tree-commit-link"