From 7c1f6a090119a7412c7288eeb8551af8ad723a77 Mon Sep 17 00:00:00 2001 From: hparfr Date: Wed, 16 Sep 2015 18:11:26 +0200 Subject: [PATCH 1/2] [FIX] web_environment_ribbon : Fix menu_navbar overlap Set correct z-index on ribbon Move position accordingly Cf #191 --- web_environment_ribbon/static/src/css/ribbon.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_environment_ribbon/static/src/css/ribbon.css b/web_environment_ribbon/static/src/css/ribbon.css index be26397d..14d83685 100644 --- a/web_environment_ribbon/static/src/css/ribbon.css +++ b/web_environment_ribbon/static/src/css/ribbon.css @@ -2,7 +2,7 @@ width: 200px; background: #e43; position: absolute; - top: 25px; + top: 40px; left: -50px; text-align: center; line-height: 50px; @@ -13,7 +13,7 @@ -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); - z-index: 10000; + z-index: 1000; position: fixed; box-shadow: 0 0 3px rgba(0,0,0,.3); background: rgba(255, 0, 0, .6);; From cfd5433e98dea6cd983428b24b29417a6793bf52 Mon Sep 17 00:00:00 2001 From: hparfr Date: Wed, 23 Sep 2015 10:13:50 +0200 Subject: [PATCH 2/2] [IMP] web_environment_ribbon increase margin + 10px --- web_environment_ribbon/static/src/css/ribbon.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_environment_ribbon/static/src/css/ribbon.css b/web_environment_ribbon/static/src/css/ribbon.css index 14d83685..627bd851 100644 --- a/web_environment_ribbon/static/src/css/ribbon.css +++ b/web_environment_ribbon/static/src/css/ribbon.css @@ -2,7 +2,7 @@ width: 200px; background: #e43; position: absolute; - top: 40px; + top: 50px; left: -50px; text-align: center; line-height: 50px;