From 0bf28410e67a9e83c735fd903d6960f7ba7b6f62 Mon Sep 17 00:00:00 2001 From: Shai Mor Date: Wed, 17 Sep 2014 10:59:36 -0400 Subject: [PATCH] switch metaset view changes --- app/assets/stylesheets/application.css | 16 +++++++++++++++- app/views/shared/_switchmetacodes.html.erb | 7 ++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index aba37d09..8cdea3d6 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1413,6 +1413,7 @@ float: left; font-size: 17px; line-height: 21px; border: none; + background: none; } #metacodeSwitchTabs .setTitle { @@ -1420,12 +1421,24 @@ float: left; #metacodeSwitchTabs .setDesc { margin-bottom: 5px; } +#switchMetacodes > p { + margin: 16px 0 16px 0; +} +#metacodeSwitchTabs > ul { + width: 130px; +} +#metacodeSwitchTabs > ul li { + font-size: 14px; +} +#metacodeSwitchTabs li.ui-state-active a { + color: #00BCD4; +} .customMetacodeList, .metacodeSetList { height: 301px; overflow: hidden; margin: 5px 0 15px 0; - border-bottom: 1px solid #BBB; + /* border-bottom: 1px solid #BBB;*/ } .customMetacodeList ul li { cursor: pointer; @@ -1461,6 +1474,7 @@ float: left; width: auto !important; padding: 0 10px; font-weight: normal; + float: right; } /* about, getInvolved */ diff --git a/app/views/shared/_switchmetacodes.html.erb b/app/views/shared/_switchmetacodes.html.erb index 2fae5a70..238a83a3 100644 --- a/app/views/shared/_switchmetacodes.html.erb +++ b/app/views/shared/_switchmetacodes.html.erb @@ -13,18 +13,19 @@ index = allMetacodeSets.index(set) end %>

Switch Metacode Set

+ +

Use metacode sets to enter different modes of mapping.

<% allMetacodeSets.each_with_index do |m, localindex| %>
-

<%= m.name %>

<% @list = '' %> <% m.metacodes.sort{|x,y| x.name <=> y.name }.each_with_index do |m, index| %> <% @list += '
  • ' + m.name + '

    ' + m.name.downcase + '

  • ' %> @@ -37,7 +38,7 @@
    <% end %>