Commit 5a6d1d4ec5cb93ed8c9dbaf71990f58281afb7e6

Simplify rounded corners css, and add webkit support

Commit diff

app/views/layouts/application.html.erb

 
5151 <ul id="submenu" class="<%= @content_for_submenu.blank? ? "white" : "" -%>">
5252 <li class="<%= submenu_selected_class_if_current?(:overview) -%>">
5353 <%= link_to "Project Overview",
54 project_path(@project), :class => "round-tl-5 round-tr-5" -%>
54 project_path(@project), :class => "round-top-5" -%>
5555 </li>
5656 <li class="<%= submenu_selected_class_if_current?(:repositories) -%>">
5757 <%= link_to "Repositories",
58 project_repositories_path(@project), :class => "round-tl-5 round-tr-5" -%>
58 project_repositories_path(@project), :class => "round-top-5" -%>
5959 </li>
6060 </ul>
6161 <% end -%>
toggle raw diff

public/stylesheets/base.css

 
277277}
278278
279279/* Round corners */
280.round-tl-5 { -moz-border-radius-topleft: 5px; }
281.round-tr-5 { -moz-border-radius-topright: 5px; }
282.round-bl-5 { -moz-border-radius-bottomleft: 5px; }
283.round-br-5 { -moz-border-radius-bottomright: 5px; }
280.round-top-5 {
281 -moz-border-radius-topleft: 5px;
282 -moz-border-radius-topright: 5px;
283 -webkit-border-top-left-radius: 5px;
284 -webkit-border-top-right-radius: 5px;
285}
286.round-bottom-5 {
287 -moz-border-radius-bottomleft: 5px;
288 -moz-border-radius-bottomright: 5px;
289 -webkit-border-bottom-left-radius: 5px;
290 -webkit-border-bottom-right-radius: 5px;
291}
292.round-5 {
293 -moz-border-radius: 5px;
294 -webkit-border-radius: 5px;
295}
284296
285297
286298/* submenu */
toggle raw diff