mirror of
https://github.com/go-gitea/gitea
synced 2024-11-01 07:44:25 +00:00
3c2406a2f3
Use [inset](https://developer.mozilla.org/en-US/docs/Web/CSS/inset) shorthand instead of longhands. There may be more cases but these ones I was able to definitely identify.
28 lines
497 B
CSS
28 lines
497 B
CSS
/* These are the remnants of the fomantic dimmer module */
|
|
|
|
.ui.dimmer {
|
|
position: fixed;
|
|
display: none;
|
|
inset: 0;
|
|
background: var(--color-overlay-backdrop);
|
|
opacity: 0;
|
|
z-index: 1000;
|
|
overflow-y: auto;
|
|
justify-content: center;
|
|
padding: 8px 0;
|
|
animation-name: fadein;
|
|
animation-duration: .2s;
|
|
user-select: none;
|
|
}
|
|
|
|
.ui.active.dimmer {
|
|
display: flex;
|
|
opacity: 1;
|
|
}
|
|
|
|
.ui.dimmer > * {
|
|
position: static;
|
|
margin-top: auto !important;
|
|
margin-bottom: auto !important;
|
|
}
|