Skip to content

Commit

Permalink
Add sortupdate function
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwill committed Oct 31, 2011
1 parent 7edd587 commit 2625605
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 1 addition & 2 deletions static/css/excssive.less
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ header{

.alert-message{
&.highlight{
@color: #1d91f8;
.gradientBar(lighten(@color, 15%), @color);
.gradientBar(lighten(@purple, 30%), lighten(@purple, 20%));
height: 18px;
}
&.purple{
Expand Down
1 change: 1 addition & 0 deletions static/js/dropzone.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class Sortable
list.sortable({
axis: 'y'
placeholder: 'alert-message highlight'
update: -> new Compressor
})
list.disableSelection()

Expand Down
5 changes: 4 additions & 1 deletion static/js/dropzone.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@

<div class="append hidden">
<div class="container">

<div class="page-header">
<h1>Minified CSS <small>That's both sortable and removable</small></h1>
</div>

<div class="row">

<ul class="sortable-list span6"></ul>
Expand Down

0 comments on commit 2625605

Please sign in to comment.