mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-08 04:04:11 -04:00
* feat: added warning for unreachable server * fix: update initial state in test file * fix: make offline warning scroll with page * adjust z-indexes for warning banners * add hyperlink for offline warning
32 lines
514 B
CSS
32 lines
514 B
CSS
.flash-message {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-direction: row-reverse;
|
|
margin-bottom: 0px;
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 150;
|
|
}
|
|
|
|
.flash-message div {
|
|
max-width: 100%;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.flash-message-enter {
|
|
opacity: 0;
|
|
}
|
|
.flash-message-enter-active {
|
|
opacity: 1;
|
|
transition: opacity 500ms;
|
|
}
|
|
.flash-message-exit {
|
|
opacity: 1;
|
|
}
|
|
.flash-message-exit-active {
|
|
opacity: 0;
|
|
transition: opacity 100ms;
|
|
}
|