mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 19:06:15 -04:00
css: improve popup opening animation
This commit is contained in:
parent
a5d461f25f
commit
2dc4cfdfe1
10 changed files with 74 additions and 46 deletions
|
@ -7,14 +7,17 @@
|
|||
z-index: 9999;
|
||||
}
|
||||
|
||||
.gritter-item {
|
||||
.gritter-item.popup {
|
||||
position: relative;
|
||||
max-width: 400px;
|
||||
min-width: 0;
|
||||
margin: 0 auto;
|
||||
visibility: visible;
|
||||
top: auto;
|
||||
}
|
||||
.gritter-item .popup-content {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.gritter-item .gritter-content {
|
||||
flex: 1 auto;
|
||||
text-align: center;
|
||||
|
@ -29,7 +32,7 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
.gritter-item.error {
|
||||
.gritter-item.error .popup-content {
|
||||
color: #a84341;
|
||||
background-color: #eed3d4;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue