Commit 1b15db33076b653acd586fbd4af2f7dae8785266
Tweak the colors and element positioning a bit on the new frontpage
| |   |
| 23 | 23 | :html => {:method => "get", :id => "main_menu_search_form"} do |f| |
| 24 | 24 | %> |
| 25 | 25 | |
| <%= text_field_tag :q, params[:q], :id => "main_menu_search_form_query" %> |
| <%= text_field_tag :q, params[:q], |
| :id => "main_menu_search_form_query", :class => "unfocused", %> |
| 27 | 28 | <%= submit_tag "Search" %> |
| 28 | 29 | <% end %> |
| 29 | 30 | </li> |
| … | … | |
| 88 | 88 | <div id="footer"> |
| 89 | 89 | <div class="marginizer"> |
| 90 | 90 | <ul class="simple left"> |
| <li><%= link_to image_tag("logo_shortcut_mini.png"), "http://shortcut.no/" %></li> |
| 92 | 91 | <li><%= link_to "Contact", contact_path %> </li> |
| 93 | 92 | <li><%= link_to t("views.layout.discussion"), "http://groups.google.com/group/gitorious" %></li> |
| 94 | 93 | <li><%= link_to t("views.layout.blog"), "http://blog.gitorious.org/" %></li> |
| 95 | 94 | |
| 96 | 95 | <% if GitoriousConfig["terms_of_use"] -%> |
| <li><%= link_to "Terms of Service", "http://en.gitorious.org/tos" %></li> |
| <li><%= link_to "Privacy Policy", "http://en.gitorious.org/privacy_policy" %></li> |
| <li class="secondary"><%= link_to "Terms of Service", "http://en.gitorious.org/tos" %></li> |
| <li class="secondary"><%= link_to "Privacy Policy", "http://en.gitorious.org/privacy_policy" %></li> |
| 99 | 98 | <% end %> |
| </ul> |
| <ul class="meta"> |
| <li class="meta"><%= link_to image_tag("logo_shortcut_mini.png"), "http://shortcut.no/" %></li> |
| 100 | 102 | </ul> |
| 101 | 103 | </div> |
| 102 | 104 | </div> |
| |   |
| 184 | 184 | searchInput.observe("focus", function(){ |
| 185 | 185 | if (searchInput.value == labelText) { |
| 186 | 186 | searchInput.value = ""; |
| searchInput.removeClassName("unfocused") |
| 187 | 188 | } |
| 188 | 189 | }); |
| 189 | 190 | |
| 190 | 191 | searchInput.observe("blur", function(){ |
| 191 | 192 | if (searchInput.value == "") { |
| 192 | 193 | searchInput.value = labelText; |
| searchInput.addClassName("unfocused") |
| 193 | 195 | } |
| 194 | 196 | }); |
| 195 | 197 | |
| |   |
| 61 | 61 | color:#fff; |
| 62 | 62 | } |
| 63 | 63 | |
| #big_header a { |
| color: #92B92D; |
| } |
|
| 64 | 68 | #main_menu{ |
| 65 | 69 | float:right; |
| 66 | 70 | height:50px; |
| 67 | 71 | line-height:50px; |
| font-size:11px; |
| font-size:12px; |
| 69 | 73 | |
| 70 | 74 | text-shadow:rgba(0, 0, 0, 0.5) 0px -1px 1px; |
| 71 | 75 | } |
| … | … | |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | #main_menu a{ |
| color:#fff; |
| color: #92B92D; |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | #main_menu_search_form{ |
| … | … | |
| 100 | 100 | -moz-border-radius:3px; |
| 101 | 101 | } |
| 102 | 102 | |
| #main_menu_search_form_query.unfocused { |
| color: #777; |
| } |
|
| 103 | 107 | #main_menu_search_form_graphic_submit{ |
| 104 | 108 | width:20px; |
| 105 | 109 | height:20px; |
| … | … | |
| 443 | 443 | } |
| 444 | 444 | |
| 445 | 445 | #footer a{ |
| color:#999; |
| color: #92B92D; |
| 447 | 447 | } |
| 448 | 448 | |
| #footer li.secondary a { |
| color: #999; |
| font-size: 11px; |
| } |
|
|
| #footer ul.meta { |
| float: right; |
| position: relative; |
| list-style: none; |
| margin: 0; |
| } |
|
| 449 | 462 | /*#################### |
| 450 | 463 | Avatars |
| 451 | 464 | ####################*/ |
| … | … | |
| 573 | 573 | background-image:url(../images/buttons_big.png); |
| 574 | 574 | background-repeat:no-repeat; |
| 575 | 575 | background-position:right -138px; |
| color: #fff !important; |
| 576 | 577 | } |
| 577 | 578 | |
| 578 | 579 | button.big span, |