From b8f7f4c978681ad1bb65e190b5de606bd147e062 Mon Sep 17 00:00:00 2001 From: jbridson Date: Mon, 12 Mar 2012 14:40:45 +1300 Subject: [PATCH] ENHANCEMENT:SSF-25 - removed find button when linking existing user - also made SCSS less specific so that it adds styling for the link existing button across the CMS. --- css/GridField.css | 5 +++-- scss/GridField.scss | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/css/GridField.css b/css/GridField.css index d5f1226ce..80d7c8dcc 100644 --- a/css/GridField.css +++ b/css/GridField.css @@ -2,11 +2,12 @@ .cms .ss-gridfield > div { margin-bottom: 36px; } .cms .ss-gridfield[data-selectable] tr.ui-selected, .cms .ss-gridfield[data-selectable] tr.ui-selecting { background: #FFFAD6 !important; } .cms .ss-gridfield[data-selectable] td { cursor: pointer; } -.cms .ss-gridfield .add-existing-autocompleter { width: 500px; } -.cms .ss-gridfield .add-existing-autocompleter input.relation-search { width: 380px; } +.cms .ss-gridfield span button#action_gridfield_relationfind { display: none; } .cms .ss-gridfield p button#action_export { margin-top: 12px; } .cms .ss-gridfield p button#action_export span.btn-icon-download-csv { height: 17px; } .cms .ss-gridfield p button#action_export span.ui-button-text { padding-left: 26px; } +.cms .ss-gridfield .add-existing-autocompleter { width: 500px; } +.cms .ss-gridfield .add-existing-autocompleter input.relation-search { width: 380px; } .cms table.ss-gridfield-table { display: table; box-shadow: none; padding: 0; border-collapse: separate; border-bottom: 0 none; width: 100%; } .cms table.ss-gridfield-table thead { color: #1d2224; background: transparent; } .cms table.ss-gridfield-table thead tr.filter-header .fieldgroup { max-width: 512px; } diff --git a/scss/GridField.scss b/scss/GridField.scss index ae98a241c..7c0b175e1 100644 --- a/scss/GridField.scss +++ b/scss/GridField.scss @@ -53,6 +53,10 @@ $gf_grid_x: 16px; } } + span button#action_gridfield_relationfind { + display:none; //hides find button - redundant functionality + } + p button#action_export { margin-top:$gf_grid_y; span.btn-icon-download-csv {