mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
By creating the ribbon div on the fly, this module doesn't depend anymore on the webclient structure.
27 lines
650 B
CSS
27 lines
650 B
CSS
/* Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
|
|
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
|
|
|
|
.test-ribbon{
|
|
width: 200px;
|
|
top: 25px;
|
|
left: -50px;
|
|
text-align: center;
|
|
line-height: 50px;
|
|
letter-spacing: 1px;
|
|
color: #f0f0f0;
|
|
-webkit-transform: rotate(-45deg);
|
|
-ms-transform: rotate(-45deg);
|
|
-moz-transform: rotate(-45deg);
|
|
-o-transform: rotate(-45deg);
|
|
transform: rotate(-45deg);
|
|
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 {
|
|
font-size: 20px;
|
|
}
|