mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 18:36:14 -04:00

- have two containers, one of the top, on of the bottom; - remove gritting chat message when opening the chat.
49 lines
No EOL
763 B
CSS
49 lines
No EOL
763 B
CSS
#gritter-container {
|
|
position: absolute;
|
|
right: 50%;
|
|
transform: translateX(50%);
|
|
text-align: center;
|
|
z-index: 9999;
|
|
}
|
|
#gritter-container.top {
|
|
top: 20px;
|
|
}
|
|
#gritter-container.bottom {
|
|
bottom: 20px;
|
|
}
|
|
|
|
.gritter-item.popup {
|
|
position: relative;
|
|
max-width: 450px;
|
|
visibility: visible;
|
|
right: auto !important;
|
|
left: auto !important;
|
|
top: auto;
|
|
bottom: auto;
|
|
}
|
|
|
|
.gritter-item .popup-content {
|
|
display: flex;
|
|
}
|
|
|
|
.gritter-item .gritter-content {
|
|
flex: 1 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.gritter-item .gritter-close {
|
|
align-self: center;
|
|
}
|
|
|
|
.gritter-item.error .popup-content {
|
|
color: #a84341;
|
|
background-color: #eed3d4;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
#gritter-container {
|
|
left: 1rem;
|
|
right: 1rem;
|
|
transform: none;
|
|
}
|
|
} |