Some more header adjustments.
This commit is contained in:
parent
3d172c19d4
commit
d1f5d93ffb
2 changed files with 7 additions and 6 deletions
|
|
@ -21,18 +21,18 @@
|
|||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="threecol header_home"><span class="logo_contact">Contact</span><span class="logo_o-rama">-o-Rama</span></div>
|
||||
<div class="threecol header_menu">
|
||||
<div class="fourcol header_menu">
|
||||
<%= link_to 'Home', root_path %>
|
||||
<%= link_to 'A..Z', contacts_path %>
|
||||
<%= link_to 'Birthdays', birthdays_path %>
|
||||
<%= link_to 'New', new_contact_path %>
|
||||
</div>
|
||||
<div class="twocol header_search">
|
||||
<div class="onecol header_search">
|
||||
<%= form_tag("/search", :method => "get") do %>
|
||||
<%= text_field_tag(:q, nil, :placeholder => "Search…") %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="threecol header_user">
|
||||
<div class="fourcol last header_user">
|
||||
<% if current_user.nil? %>
|
||||
|
||||
<% else %>
|
||||
|
|
@ -40,7 +40,6 @@
|
|||
(<%= link_to '|', destroy_user_session_path %>)
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="onecol"> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ h2 {
|
|||
width: 9ex;
|
||||
}
|
||||
.header_search { text-align: left; }
|
||||
.header_search input { background: #f9f9f9; font-size: 130%; }
|
||||
.header_search input { background: #f9f9f9; font-size: 110%; }
|
||||
.header_user { color: #909090; text-align: right; }
|
||||
.header_actions, .header_actions a {
|
||||
color: #909090; /* medium grey */
|
||||
|
|
@ -285,10 +285,12 @@ font-weight: 400;
|
|||
border-bottom-color: #909090; /* medium grey */
|
||||
border-bottom-style: dotted;
|
||||
border-bottom-width: 1px;
|
||||
border-radius: 5;
|
||||
box-shadow: 3px 3px 2px #888;
|
||||
margin-top: 2em;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.name_summary {
|
||||
font-size: 150%;
|
||||
font-weight: bold;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue