lil restyle
This commit is contained in:
parent
c66bc99fb7
commit
c8b955a44b
15 changed files with 71 additions and 61 deletions
BIN
app/assets/images/add_new.png
Normal file
BIN
app/assets/images/add_new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 288 B |
|
@ -5,7 +5,7 @@
|
|||
var Tree = {
|
||||
init:
|
||||
function() {
|
||||
(new Image).src = "/assets/ajax-loader-tree.gif";
|
||||
(new Image).src = "ajax-loader-facebook.gif";
|
||||
|
||||
$('#tree-slider td.tree-item-file-name a, #tree-breadcrumbs a').live("click", function() {
|
||||
history.pushState({ path: this.path }, '', this.href)
|
||||
|
@ -20,8 +20,8 @@ var Tree = {
|
|||
});
|
||||
|
||||
$('#tree-slider td.tree-item-file-name a, #tree-breadcrumbs a').live({
|
||||
"ajax:beforeSend": function() { $('h2.icon').addClass("loading") },
|
||||
"ajax:complete": function() { $('h2.icon').removeClass("loading")}
|
||||
"ajax:beforeSend": function() { $('.tree_progress').addClass("loading"); },
|
||||
"ajax:complete": function() { $('.tree_progress').removeClass("loading"); }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -693,3 +693,36 @@ a.project-update.titled {
|
|||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.add_new {
|
||||
float:right;
|
||||
padding: 5px 12px;
|
||||
border: 1px solid #CCC;
|
||||
|
||||
&:hover {
|
||||
background:#eee;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background:#ddd;
|
||||
}
|
||||
}
|
||||
|
||||
.tree_progress {
|
||||
float:left;
|
||||
width:16px;
|
||||
height:16px;
|
||||
margin:6px;
|
||||
&.loading {
|
||||
background-position: 0px 0px;
|
||||
background: url("ajax-loader-facebook.gif") no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
#tree-breadcrumbs {
|
||||
h2 {
|
||||
margin:0;
|
||||
margin-bottom:20px;
|
||||
float:left;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue