DG MS; changed the gear on top nav to not be a tab

This commit is contained in:
Daniel Vincent Grippi 2010-09-08 12:34:08 -07:00
parent 5fd105c1dc
commit f7dd0b10b9
4 changed files with 23 additions and 5 deletions

View file

@ -255,8 +255,7 @@ class User
end
def terse_url
terse= self.url.gsub(/https?:\/\//, '')
terse.gsub!(/www\./, '')
terse = self.url.gsub(/(https?:|www\.)\/\//, '')
terse = terse.chop! if terse[-1, 1] == '/'
terse
end

View file

@ -9,9 +9,8 @@
%li.new_group= link_to("+", "#add_group_pane", :id => "add_group_button")
%li
%span{:class => '⚙'}
= link_to "⚙", edit_group_path(Group.first), :class => "edit_group_button", :title => "Manage your facets."
#group_edit_button
= link_to "edit", edit_group_path(Group.first), :class => "edit_group_button", :title => "Manage your facets."
.yo{ :style => "display:none;"}
#add_group_pane

View file

@ -448,7 +448,14 @@ h1.big_text {
display: none; }
#group_nav {
position: relative;
color: black; }
#group_nav #group_edit_button {
display: inline;
margin-top: 1px;
font-size: 12px; }
#group_nav #group_edit_button a {
color: #999999; }
#group_nav ul {
margin-bottom: 0;
padding: 0;

View file

@ -567,7 +567,19 @@ h1.big_text
:display none
#group_nav
:position relative
:color #000
#group_edit_button
:display inline
:margin
:top 1px
:font
:size 12px
a
:color #999
ul
:margin
:bottom 0
@ -602,6 +614,7 @@ h1.big_text
a
:color #999
.selected
:font