diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index fc5204ed..cd8052a1 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -42,6 +42,22 @@ input[type=text], input[type=url], textarea { color: $text-color; } +.action-btn { + &:hover { + text-decoration: none; + } + -webkit-appearance: button; + color: #0088cc; + background-color: rgb(192, 192, 192); + border-color: rgb(192, 192, 192); + border-style: outset; + border-width: 2px; + display: inline-block; + font-size: 11px; + margin: 2px; + padding: 10px 15px; +} + /*---[ sidebar ]------------------------------------------------------------*/ diff --git a/app/views/organizations/_item.html.haml b/app/views/organizations/_item.html.haml index 75b0bfe4..d8861753 100644 --- a/app/views/organizations/_item.html.haml +++ b/app/views/organizations/_item.html.haml @@ -9,9 +9,8 @@ .organization-title= organization.name .organization-source-actions - .show-sources>= link_to t('.sources.show'), '#' - , - .add-source= link_to t('.sources.add'), new_organization_source_path(organization) + .add-source= link_to t('.sources.add'), new_organization_source_path(organization), :class => 'action-btn', :style => 'padding: 3px 5px' + .show-sources= link_to t('.sources.show'), '#', :class => 'action-btn', :style => 'padding: 3px 5px' - if organization.url? %h2.organization-url-title= t('.url.title') diff --git a/app/views/site/_wiki_props_index.html.haml b/app/views/site/_wiki_props_index.html.haml index d531141a..78ec094a 100644 --- a/app/views/site/_wiki_props_index.html.haml +++ b/app/views/site/_wiki_props_index.html.haml @@ -6,5 +6,6 @@ %h3.wiki-index-title= t('.title', :obj => collection_name) .wiki-actions - - add_link = link_to t('.add'), new_polymorphic_path(collection.klass) + - add_link = link_to t('.add'), new_polymorphic_path(collection.klass), :class => 'action-btn' + = t('.actions', :add => add_link, :obj => object_name, :collection => collection_name).html_safe diff --git a/config/locales/activate/en-x-activate-hub.yml b/config/locales/activate/en-x-activate-hub.yml index 97eb4805..de46b24e 100644 --- a/config/locales/activate/en-x-activate-hub.yml +++ b/config/locales/activate/en-x-activate-hub.yml @@ -5,10 +5,10 @@ en-x-activate-hub: text: > Search for events and organizations in your community. Get educated, get involved, and start making a difference! -
events: index: