From 028cca0d66b4d519d3b614516fd87175b0b7ca64 Mon Sep 17 00:00:00 2001 From: "tatiana.llorente@artica.es" Date: Fri, 21 Sep 2018 12:59:15 +0200 Subject: [PATCH] Changed colors for buttons - #2726 --- pandora_console/include/functions_visual_map_editor.php | 6 +++--- pandora_console/include/styles/pandora.css | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_visual_map_editor.php b/pandora_console/include/functions_visual_map_editor.php index a20a8c5e42..f3047ce561 100755 --- a/pandora_console/include/functions_visual_map_editor.php +++ b/pandora_console/include/functions_visual_map_editor.php @@ -478,20 +478,20 @@ function visual_map_editor_print_item_palette($visualConsole_id, $background) { $form_items['background_row_2']['items'] = array('background', 'datos'); $form_items['background_row_2']['html'] = '' . __('Original Size') . ' - ' . html_print_button(__('Apply'), 'original_false', false, "setAspectRatioBackground('original')", 'class="sub"', true) . ''; + ' . html_print_button(__('Apply'), 'original_false', false, "setAspectRatioBackground('original')", 'class="sub vs_button_ghost"', true) . ''; $form_items['background_row_3'] = array(); $form_items['background_row_3']['items'] = array('background', 'datos'); $form_items['background_row_3']['html'] = '' . __('Aspect ratio') . ' - ' . html_print_button(__('Width proportional'), 'original_false', false, "setAspectRatioBackground('width')", 'class="sub"', true) . ''; + ' . html_print_button(__('Proportional Width'), 'original_false', false, "setAspectRatioBackground('width')", 'class="sub vs_button_ghost"', true) . ''; $form_items['background_row_4'] = array(); $form_items['background_row_4']['items'] = array('background', 'datos'); $form_items['background_row_4']['html'] = ' - ' . html_print_button(__('Height proportional'), 'original_false', false, "setAspectRatioBackground('height')", 'class="sub"', true) . ''; + ' . html_print_button(__('Height proportional'), 'original_false', false, "setAspectRatioBackground('height')", 'class="sub vs_button_ghost"', true) . ''; $form_items['percentile_bar_row_1'] = array(); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 8cdfa3a9e7..eb7567393e 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -653,6 +653,15 @@ input.sub[disabled] { cursor: default; } +input.vs_button_ghost{ + background-color: transparent !important; + border: 1px solid #82b92e; + color: #82b92e !important; + text-align: center; + padding: 4px 12px; + font-weight: bold; +} + input.next, input.upd, input.ok, input.wand, input.delete, input.cog, input.target, input.search, input.copy, input.add, input.graph, input.percentile, input.binary, input.camera, input.config,