You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/02/15 05:55:36 UTC
[07/10] stratos git commit: fix overlap issue on help text
fix overlap issue on help text
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/c92b3c46
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/c92b3c46
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/c92b3c46
Branch: refs/heads/master
Commit: c92b3c46f205efb3c9d0bece4edc51e40cf1a9c1
Parents: e099ed5
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Sun Feb 8 16:16:38 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sun Feb 15 10:25:20 2015 +0530
----------------------------------------------------------------------
.../console/themes/theme0/css/custom/style.css | 2 +-
.../console/themes/theme0/partials/configure_form.hbs | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/c92b3c46/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css b/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
index a5b76d7..ee66998 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
@@ -248,7 +248,7 @@ button.hover-delete-autoscale{
cursor: pointer;
}
-.help-block {
+.notification {
background-color: rgb(255, 252, 196);
padding: 2px 10px;
border-radius: 4px;
http://git-wip-us.apache.org/repos/asf/stratos/blob/c92b3c46/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
index f769c6f..64e240c 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/configure_form.hbs
@@ -430,6 +430,7 @@
//handling inline help
$('.help-block').each(function( index ) {
+ $(this).addClass('notification');
if($(this).text() !=''){
$(this).parent().find('.control-label').after('<i class="fa fa-question-circle input-help-inline" ></i>');
}
@@ -437,7 +438,11 @@
$('.help-block').hide();
$('.fa-question-circle').click(function(){
- $(this).parent().find('.help-block').toggle();
+ $(this).parent().find('.notification').toggle();
+ });
+
+ $('.notification').on('click', function(){
+ $(this).hide();
});
});