mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[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:
committed by
Pedro M. Baeza
parent
519d966b2d
commit
5a2b8e045e
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user