50 lines
873 B
CSS
50 lines
873 B
CSS
.ol-notification {
|
|
width: 150%;
|
|
bottom: 0;
|
|
border: 0;
|
|
background: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.ol-notification > div,
|
|
.ol-notification > div:hover {
|
|
position: absolute;
|
|
background-color: rgba(0,0,0,.8);
|
|
color: #fff;
|
|
bottom: 0;
|
|
left: 33.33%;
|
|
max-width: calc(66% - 4em);
|
|
min-width: 5em;
|
|
max-height: 5em;
|
|
min-height: 1em;
|
|
border-radius: 4px 4px 0 0;
|
|
padding: .2em .5em;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
transform: translateX(-50%);
|
|
transition: .3s;
|
|
opacity: 1;
|
|
}
|
|
.ol-notification.ol-collapsed > div {
|
|
bottom: -5em;
|
|
opacity: 0;
|
|
}
|
|
|
|
.ol-notification a {
|
|
color: #9cf;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ol-notification .ol-close,
|
|
.ol-notification .ol-close:hover {
|
|
padding-right: 1.5em;
|
|
}
|
|
|
|
.ol-notification .closeBox {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0.3em;
|
|
}
|
|
.ol-notification .closeBox:before {
|
|
content: '\00d7';
|
|
} |