public
Description: The kick ass (non-commercial) home for musicians and their music
Homepage: http://alonetone.com
Clone URL: git://github.com/sudara/alonetone.git
we can haz iconz?!?1
sudara (author)
Tue Apr 29 08:19:30 -0700 2008
commit  3a30a6aa051a0df49eb5515bc8265c51e7a1f5c7
tree    2d9366d60b1277178303cfe4ebfae962018dcad3
parent  26b0849d70a8b3ba9adbd9288b4b08fc05d1a959
...
9
10
11
12
 
13
14
15
...
18
19
20
21
 
22
23
24
...
26
27
28
29
 
30
31
32
...
9
10
11
 
12
13
14
15
...
18
19
20
 
21
22
23
24
...
26
27
28
 
29
30
31
32
0
@@ -9,7 +9,7 @@
0
 </div>
0
 
0
 <% content_for :left do%>
0
- <h2 class="box">Latest uploaded</h2>
0
+ <h2 id="latest_uploaded" class="box">Latest uploaded</h2>
0
   <div class="box">
0
     <%= render :partial => 'assets/asset', :collection => @assets %>
0
   </div>
0
@@ -18,7 +18,7 @@
0
 
0
 <% content_for :right do %>
0
 
0
- <h2 class="box">Currently kicking ass</h2>
0
+ <h2 id="kicking_ass" class="box">Currently kicking ass</h2>
0
   <%= link_to 'view all', top_path(40), :class => 'view_all' %>
0
 
0
   <% @referer = 'home' %>
0
@@ -26,7 +26,7 @@
0
     <%= render :partial => 'assets/asset', :collection => @popular %>
0
   </div>
0
   
0
- <h2 class="box">Latest Comments</h2>
0
+ <h2 id="latest_comments" class="box">Latest Comments</h2>
0
   <div class="box">
0
     <%= render :partial => 'shared/comment', :collection => @comments%>
0
   </div>
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@
0
        <h2><%= @playlist.title %></h2>
0
        <h3><%= pluralize @playlist.tracks_count, 'track'%> by <%= (@playlist.is_mix? ? 'various alonetone artists' : @playlist.user.name )%></h3>
0
         <% if authorized_for(@playlist) %>
0
- <%= link_to "edit", edit_user_playlist_path(@user, @playlist), :class => 'edit' %>
0
+ <%= link_to "edit", edit_user_playlist_path(@user, @playlist), :class => 'edit right' %>
0
         <% end %>
0
         
0
       </div>
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@
0
   </div>
0
   
0
   <div class="delete-button button">
0
- <%= link_to 'remove', remove_track_user_playlist_path(@user, @playlist, :track_id => track), :class=> 'delete button' %>
0
+ <%= link_to 'remove', remove_track_user_playlist_path(@user, @playlist, :track_id => track), :class=> 'remove button' %>
0
   </div>
0
   
0
 <% end %>
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@
0
   
0
   <div id="edit_playlist">
0
     <% render :layout => 'playlist_layout' do %>
0
- <%= link_to 'edit title &amp; description','#edit_playlist_info',:class=>'slide_open_href edit' %>
0
+ <%= link_to 'edit title &amp; description','#edit_playlist_info',:class=>'slide_open_href edit right' %>
0
       <div id="pic_upload" class="static_content" style="display:none;">
0
       Upload a square photo, 400px by 400px for best results.<br/>
0
         <% form_for :pic, :url => attach_pic_user_playlist_path(@user, @playlist), :html => {:multipart => true, :method => :post} do |f| %>
...
16
17
18
19
 
20
21
22
...
16
17
18
 
19
20
21
22
0
@@ -16,7 +16,7 @@
0
     </span>
0
   
0
   <% if admin? %>
0
- <div class="delete"><%= link_to 'Delete', comment_path(comment), :confirm => 'Are you sure?', :method => :delete %></div>
0
+ <%= link_to 'Delete', comment_path(comment), :class=> 'delete button', :confirm => 'Are you sure?', :method => :delete %>
0
   <% end %>
0
   </div>
0
   <div class="comment_body">
...
13
14
15
16
 
17
18
19
...
13
14
15
 
16
17
18
19
0
@@ -13,7 +13,7 @@
0
     </div>
0
   
0
   <% if admin? %>
0
- <div class="delete"><%= link_to 'Delete', user_report_path(user_report), :confirm => 'Are you sure?', :method => :delete %></div>
0
+ <%= link_to 'Delete', user_report_path(user_report), :class => 'delete button', :confirm => 'Are you sure?', :method => :delete %>
0
   <% end %>
0
   </div>
0
   <div class="comment_body">
...
7
8
9
10
 
11
12
13
...
7
8
9
 
10
11
12
13
0
@@ -7,7 +7,7 @@
0
 
0
   </div>
0
     <% if authorized? %>
0
- <%= link_to 'edit your profile', edit_user_path(@user), :class => 'edit' %>
0
+ <%= link_to 'edit your profile', edit_user_path(@user), :class => 'edit right' %>
0
     <% end %>
0
   <div id="user_links">
0
     <ul class="user_links">
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
   <% content_for :left do %>
0
     <div id="bio" class="box">
0
       <h2 class="box static">All about <%=h @user.name %></h2>
0
- <%= link_to 'Edit', edit_user_path(@user),:class=>'edit' if authorized? %>
0
+ <%= link_to 'Edit', edit_user_path(@user),:class=>'edit right' if authorized? %>
0
 
0
         <div class="bio static_content">
0
           <p>
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
   <% content_for :left do %>
0
   <div class="edit_profile box">
0
     <h2 class="box">Edit your profile</h2>
0
- <%= link_to_function 'Change your pic',nil, :id => 'pic_upload_link',:class =>'edit' do |page|
0
+ <%= link_to_function 'Change your pic',nil, :id => 'pic_upload_link',:class =>'edit right with_text' do |page|
0
         page[:pic_upload].toggle
0
       end %>
0
       <div id="pic_upload" class="static_content" style="display:none">
...
142
143
144
145
 
146
147
148
...
142
143
144
 
145
146
147
148
0
@@ -142,7 +142,7 @@ SortablePlaylist = $.klass({
0
   },
0
   // catch all delete/remove calls
0
   onclick: $.delegate({
0
- 'a.delete' : function(e){ return this.remove_track(e.target)}
0
+ 'a.remove' : function(e){ return this.remove_track(e.target)}
0
   }),
0
   onmouseover:$.delegate({
0
     '.asset':function(e){ $(e).css({cursor:'move'})}
...
136
137
138
139
 
140
141
142
...
136
137
138
 
139
140
141
142
0
@@ -136,7 +136,7 @@
0
       :padding-top 8px
0
     a
0
       :font-weight bold
0
- .delete, .edit
0
+ .edit
0
       :position absolute
0
       :top 15px
0
       :right 10px
...
92
93
94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
96
97
...
113
114
115
116
 
117
118
119
120
121
 
122
123
124
...
157
158
159
160
161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
...
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
...
143
144
145
 
146
147
148
149
150
 
151
152
153
154
...
187
188
189
 
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
0
@@ -92,6 +92,36 @@ h2.box_title
0
   :line-height 20px
0
   :text-shadow rgba(255,246,211,0.55) 2px 2px 1px
0
 
0
+// iconified headers
0
+#latest_playlists
0
+ h2
0
+ :background url(../images/icons/playlists.png) no-repeat left center
0
+ :padding-left 35px
0
+
0
+#user-index #static_header h1.static
0
+ :background-image url(../images/icons/user.png)
0
+ :background-repeat no-repeat
0
+ :background-position -4px -3px
0
+ :padding-left 27px
0
+
0
+h2#latest_uploaded
0
+ :background-image url(../images/icons/latest.png)
0
+ :background-repeat no-repeat
0
+ :background-position 15px 10px
0
+ :text-indent 51px
0
+
0
+h2#kicking_ass
0
+ :background-image url(../images/icons/stars.png)
0
+ :background-repeat no-repeat
0
+ :background-position 15px 10px
0
+ :text-indent 51px
0
+
0
+h2#latest_comments
0
+ :background-image url(../images/icons/comment.png)
0
+ :background-repeat no-repeat
0
+ :background-position 15px 10px
0
+ :text-indent 51px
0
+
0
 .playlist_title h2
0
   :text-shadow #fff 1px 1px 1px
0
 
0
@@ -113,12 +143,12 @@ div.flash
0
   :margin-bottom 20px
0
 
0
 // links that float right
0
-a.arrows, a.view_more, a.view_all,a.edit
0
+a.arrows, a.view_more, a.view_all
0
   :background url(../images/buttons/arrow.png) no-repeat right center
0
   :padding-right 12px
0
   
0
 .content
0
- a.view_all, a.edit, a.view_more
0
+ a.view_all, a.view_more
0
     :color = !text_color
0
     :position relative
0
     :float right
0
@@ -157,4 +187,51 @@ input.facebook
0
   :padding 2px 20px
0
   
0
 small
0
- :font-size 11px
0
\ No newline at end of file
0
+ :font-size 11px
0
+
0
+
0
+// icon links (add/delete/etc)
0
+a.edit
0
+ :display block
0
+ :background url(../images/icons/edit.png) no-repeat left center
0
+ :text-indent -1000px
0
+ :height 20px
0
+ :width 31px
0
+ :float left
0
+ &.right
0
+ :position relative
0
+ :margin-top -31px
0
+ :margin-right 25px
0
+ :float right
0
+ :top 0px
0
+ &.with_text
0
+ :background none
0
+ :text-indent 0px
0
+ :width 120px
0
+ :height 12px
0
+ :background url(../images/buttons/arrow.png) no-repeat right center
0
+
0
+a.button
0
+ &.add, &.new
0
+ :background url(../images/icons/new.png) no-repeat left center
0
+ :height 20px
0
+ :line-height 20px
0
+ :text-indent 25px
0
+ :display block
0
+ :margin 10px 0
0
+ :font-weight bold
0
+ &.delete, &.remove
0
+ :position absolute
0
+ :background url(../images/icons/delete.png) no-repeat center top
0
+ :display block
0
+ :height 30px
0
+ :font-size 10px
0
+ :font-weight normal
0
+ :line-height 35px
0
+ :top 5px
0
+ :right 10px
0
+ :padding-top 8px
0
+.asset div.button a.remove, .asset.hover div.button a.remove
0
+ :background url(../images/icons/remove.png) no-repeat center top
0
+ :height 30px
0
+ :width 30px
0
\ No newline at end of file

Comments

    No one has commented yet.