mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
21d496364a
- Convert all tooltips to JS-based ones, fixing overflow issues - Restyle issue dependencies/dependants - Move popup styles to base style - CSS Helper tweaks - Unify pseudo element selectors and lint for it Fixes: https://github.com/go-gitea/gitea/issues/13400
35 lines
772 B
Plaintext
35 lines
772 B
Plaintext
@keyframes isloadingspin {
|
|
0% { transform: translate(-50%, -50%) rotate(0deg); }
|
|
100% { transform: translate(-50%, -50%) rotate(360deg); }
|
|
}
|
|
|
|
.is-loading {
|
|
background: transparent !important;
|
|
color: transparent !important;
|
|
border: transparent !important;
|
|
pointer-events: none !important;
|
|
position: relative !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.is-loading::after {
|
|
content: "";
|
|
position: absolute;
|
|
display: block;
|
|
width: 4rem;
|
|
height: 4rem;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
animation: isloadingspin 500ms infinite linear;
|
|
border-width: 4px;
|
|
border-style: solid;
|
|
border-color: #ececec #ececec #666 #666;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.markdown pre.is-loading,
|
|
.editor-loading.is-loading {
|
|
height: 12rem;
|
|
}
|