[IMP] Make web_environment_ribbon more generic

By creating the ribbon div on the fly, this module doesn't depend
anymore on the webclient structure.
This commit is contained in:
Sylvain GARANCHER
2016-09-16 16:01:37 +02:00
committed by Pedro M. Baeza
parent 519d966b2d
commit 5a2b8e045e
3 changed files with 27 additions and 36 deletions

View File

@@ -3,7 +3,7 @@
.test-ribbon{
width: 200px;
top: 50px;
top: 25px;
left: -50px;
text-align: center;
line-height: 50px;
@@ -14,10 +14,11 @@
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
z-index: 1000;
z-index: 9999;
position: fixed;
box-shadow: 0 0 3px rgba(0,0,0,.3);
background: rgba(255,0,0,.6);
pointer-events: none;
}
.test-ribbon b {