Files
web/web_environment_ribbon/static/src/css/ribbon.css
Javi Melendez 4beb244a58 [IMP] ribbon color customization (#347)
* [IMP] web_environment_ribbon: add color customization
The ribbon color and background-color can be modified through system
parameters:
 * ribbon.color
 * ribbon.background.color

Added Copyright in .js
Delete duplicate entries in css
2019-09-30 10:12:18 +02:00

23 lines
488 B
CSS

.test-ribbon{
width: 200px;
top: 50px;
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: 1000;
position: fixed;
box-shadow: 0 0 3px rgba(0,0,0,.3);
background: rgba(255,0,0,.6);
}
.test-ribbon b {
font-size: 20px;
}