]> source.dussan.org Git - redmine.git/commitdiff
Removes large icons.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 17 Dec 2009 18:52:28 +0000 (18:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 17 Dec 2009 18:52:28 +0000 (18:52 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3179 e93f8b46-1217-0410-a6f0-8f06a7374b81

24 files changed:
app/views/boards/index.rhtml
app/views/messages/show.rhtml
app/views/news/show.rhtml
app/views/projects/roadmap.rhtml
app/views/projects/show.rhtml
app/views/welcome/index.rhtml
public/images/22x22/authent.png [deleted file]
public/images/22x22/comment.png [deleted file]
public/images/22x22/file.png [deleted file]
public/images/22x22/groups.png [deleted file]
public/images/22x22/info.png [deleted file]
public/images/22x22/notifications.png [deleted file]
public/images/22x22/options.png [deleted file]
public/images/22x22/package.png [deleted file]
public/images/22x22/plugin.png [deleted file]
public/images/22x22/projects.png [deleted file]
public/images/22x22/role.png [deleted file]
public/images/22x22/settings.png [deleted file]
public/images/22x22/tracker.png [deleted file]
public/images/22x22/users.png [deleted file]
public/images/22x22/workflow.png [deleted file]
public/images/32x32/file.png [deleted file]
public/images/package.png
public/stylesheets/application.css

index 440a77412f76ed85d4beb13c5acdb59adc659b3c..7cc6a0e2f5d2388db8325e4ef93f6472152545fc 100644 (file)
@@ -11,7 +11,7 @@
 <% for board in @boards %>
   <tr class="<%= cycle 'odd', 'even' %>">
     <td>
-      <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "icon22 icon22-comment"  %><br />
+      <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board"  %><br />
       <%=h board.description %>
     </td>
     <td align="center"><%= board.topics_count %></td>
index fd32fad9472d2d0fcd61e552dc134456583990f4..5ddc083e5a4a3d7483936dad42df9a6cd658887c 100644 (file)
@@ -20,7 +20,7 @@
 <br />
 
 <% unless @replies.empty? %>
-<h3 class="icon22 icon22-comment"><%= l(:label_reply_plural) %></h3>
+<h3 class="comments"><%= l(:label_reply_plural) %></h3>
 <% @replies.each do |message| %>
   <div class="message reply" id="<%= "message-#{message.id}" %>">
     <div class="contextual">
index 019a14dfd6cee03f4bd232a0159d0e6e3b23d92e..69c0eab326f1f3a73d9ac9d11fecfbf1f1c4b54d 100644 (file)
@@ -35,7 +35,7 @@
 <br />
 
 <div id="comments" style="margin-bottom:16px;">
-<h3 class="icon22 icon22-comment"><%= l(:label_comment_plural) %></h3>
+<h3 class="comments"><%= l(:label_comment_plural) %></h3>
 <% @comments.each do |comment| %>
     <% next if comment.new_record? %>
     <div class="contextual">
index a31b35385bf694850e28a2595755458440d54ea0..6bd52ed07e218b36e5547dc75b4ef5eba9ca1f03 100644 (file)
@@ -6,7 +6,7 @@
 <div id="roadmap">
 <% @versions.each do |version| %>   
     <%= tag 'a', :name => version.name %>
-    <h3 class="icon22 icon22-package"><%= link_to_version version %></h3>
+    <h3 class="version"><%= link_to_version version %></h3>
     <%= render :partial => 'versions/overview', :locals => {:version => version} %>
     <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
 
index a83d98fe157f694f71819b9fbbb2f551ea9259eb..1e751e2b0e357220483c1b6b6ed287c09cc68867 100644 (file)
@@ -16,8 +16,8 @@
        </ul>   
 
   <% if User.current.allowed_to?(:view_issues, @project) %>
-  <div class="box">    
-    <h3 class="icon22 icon22-tracker"><%=l(:label_issue_tracking)%></h3>
+  <div class="issues box">    
+    <h3><%=l(:label_issue_tracking)%></h3>
     <ul>
     <% for tracker in @trackers %>    
       <li><%= link_to tracker.name, :controller => 'issues', :action => 'index', :project_id => @project, 
@@ -36,8 +36,8 @@
 
 <div class="splitcontentright">
   <% if @users_by_role.any? %>
-       <div class="box">
-               <h3 class="icon22 icon22-users"><%=l(:label_member_plural)%></h3>       
+       <div class="members box">
+               <h3><%=l(:label_member_plural)%></h3>   
                <p><% @users_by_role.keys.sort.each do |role| %>
                <%=h role %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br />
                <% end %></p>
@@ -45,7 +45,7 @@
        <% end %>
     
   <% if @news.any? && authorize_for('news', 'index') %>
-  <div class="box">
+  <div class="news box">
     <h3><%=l(:label_news_latest)%></h3>  
     <%= render :partial => 'news/news', :collection => @news %>
     <p><%= link_to l(:label_news_view_all), :controller => 'news', :action => 'index', :project_id => @project %></p>
index 021e330d850aefa392eca633bc60fa4b552e3626..279c3542165623fb0fb1320a88216f921639ae17 100644 (file)
@@ -3,7 +3,7 @@
 <div class="splitcontentleft">
   <%= textilizable Setting.welcome_text %>
   <% if @news.any? %>
-  <div class="box">
+  <div class="news box">
        <h3><%=l(:label_news_latest)%></h3>
                <%= render :partial => 'news/news', :collection => @news %>
                <%= link_to l(:label_news_view_all), :controller => 'news' %>
@@ -14,8 +14,8 @@
 
 <div class="splitcontentright">
     <% if @projects.any? %>
-       <div class="box">
-       <h3 class="icon22 icon22-projects"><%=l(:label_project_latest)%></h3>
+       <div class="projects box">
+       <h3><%=l(:label_project_latest)%></h3>
                <ul>
                <% for project in @projects %>
                        <li>
diff --git a/public/images/22x22/authent.png b/public/images/22x22/authent.png
deleted file mode 100644 (file)
index d2b2994..0000000
Binary files a/public/images/22x22/authent.png and /dev/null differ
diff --git a/public/images/22x22/comment.png b/public/images/22x22/comment.png
deleted file mode 100644 (file)
index e2f4e70..0000000
Binary files a/public/images/22x22/comment.png and /dev/null differ
diff --git a/public/images/22x22/file.png b/public/images/22x22/file.png
deleted file mode 100644 (file)
index 96c56a2..0000000
Binary files a/public/images/22x22/file.png and /dev/null differ
diff --git a/public/images/22x22/groups.png b/public/images/22x22/groups.png
deleted file mode 100644 (file)
index 92f3962..0000000
Binary files a/public/images/22x22/groups.png and /dev/null differ
diff --git a/public/images/22x22/info.png b/public/images/22x22/info.png
deleted file mode 100644 (file)
index cf54e2c..0000000
Binary files a/public/images/22x22/info.png and /dev/null differ
diff --git a/public/images/22x22/notifications.png b/public/images/22x22/notifications.png
deleted file mode 100644 (file)
index 972f4a2..0000000
Binary files a/public/images/22x22/notifications.png and /dev/null differ
diff --git a/public/images/22x22/options.png b/public/images/22x22/options.png
deleted file mode 100644 (file)
index 48da151..0000000
Binary files a/public/images/22x22/options.png and /dev/null differ
diff --git a/public/images/22x22/package.png b/public/images/22x22/package.png
deleted file mode 100644 (file)
index f1a98dc..0000000
Binary files a/public/images/22x22/package.png and /dev/null differ
diff --git a/public/images/22x22/plugin.png b/public/images/22x22/plugin.png
deleted file mode 100644 (file)
index 455fa6a..0000000
Binary files a/public/images/22x22/plugin.png and /dev/null differ
diff --git a/public/images/22x22/projects.png b/public/images/22x22/projects.png
deleted file mode 100644 (file)
index 4f023be..0000000
Binary files a/public/images/22x22/projects.png and /dev/null differ
diff --git a/public/images/22x22/role.png b/public/images/22x22/role.png
deleted file mode 100644 (file)
index 4de98ed..0000000
Binary files a/public/images/22x22/role.png and /dev/null differ
diff --git a/public/images/22x22/settings.png b/public/images/22x22/settings.png
deleted file mode 100644 (file)
index 54a3b47..0000000
Binary files a/public/images/22x22/settings.png and /dev/null differ
diff --git a/public/images/22x22/tracker.png b/public/images/22x22/tracker.png
deleted file mode 100644 (file)
index f513941..0000000
Binary files a/public/images/22x22/tracker.png and /dev/null differ
diff --git a/public/images/22x22/users.png b/public/images/22x22/users.png
deleted file mode 100644 (file)
index b3bef89..0000000
Binary files a/public/images/22x22/users.png and /dev/null differ
diff --git a/public/images/22x22/workflow.png b/public/images/22x22/workflow.png
deleted file mode 100644 (file)
index 9d1b9d8..0000000
Binary files a/public/images/22x22/workflow.png and /dev/null differ
diff --git a/public/images/32x32/file.png b/public/images/32x32/file.png
deleted file mode 100644 (file)
index 1662b53..0000000
Binary files a/public/images/32x32/file.png and /dev/null differ
index ff629d117be173932964fe2e314508f540e49030..da3c2a2d74bab159ba0f65d7db601768258afcb2 100644 (file)
Binary files a/public/images/package.png and b/public/images/package.png differ
index 7be6bbd48383f3d978f62d462d21b105736d844e..2f13b3d559515f349dcd6167f15b6ca09fe330c6 100644 (file)
@@ -181,8 +181,17 @@ table.attributes { width: 100% }
 table.attributes th { vertical-align: top; text-align: left; }
 table.attributes td { vertical-align: top; }
 
+table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
+
 td.center {text-align:center;}
 
+h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
+
+div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
+div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
+div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
+div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
+
 .highlight { background-color: #FCFD8D;}
 .highlight.token-1 { background-color: #faa;}
 .highlight.token-2 { background-color: #afa;}
@@ -730,14 +739,6 @@ padding-top: 2px;
 padding-bottom: 3px;
 }
 
-.icon22 {
-background-position: 0% 40%;
-background-repeat: no-repeat;
-padding-left: 26px;
-line-height: 22px;
-vertical-align: middle;
-}
-
 .icon-add { background-image: url(../images/add.png); }
 .icon-edit { background-image: url(../images/edit.png); }
 .icon-copy { background-image: url(../images/copy.png); }
@@ -789,21 +790,6 @@ vertical-align: middle;
 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
 
-.icon22-projects { background-image: url(../images/22x22/projects.png); }
-.icon22-users { background-image: url(../images/22x22/users.png); }
-.icon22-groups { background-image: url(../images/22x22/groups.png); }
-.icon22-tracker { background-image: url(../images/22x22/tracker.png); }
-.icon22-role { background-image: url(../images/22x22/role.png); }
-.icon22-workflow { background-image: url(../images/22x22/workflow.png); }
-.icon22-options { background-image: url(../images/22x22/options.png); }
-.icon22-notifications { background-image: url(../images/22x22/notifications.png); }
-.icon22-authent { background-image: url(../images/22x22/authent.png); }
-.icon22-info { background-image: url(../images/22x22/info.png); }
-.icon22-comment { background-image: url(../images/22x22/comment.png); }
-.icon22-package { background-image: url(../images/22x22/package.png); }
-.icon22-settings { background-image: url(../images/22x22/settings.png); }
-.icon22-plugin { background-image: url(../images/22x22/plugin.png); }
-
 img.gravatar { 
        padding: 2px;
   border: solid 1px #d5d5d5;