summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-09 11:36:54 +0300
committerAndrew Dolgov <[email protected]>2021-04-09 11:36:54 +0300
commit0a120b116b63611e01324f68c22398a665291137 (patch)
tree980e397096e577578231e98fffef9aab68953d75 /css
parentca5c66775a1c5d7928931cfead8ae4ac9d7b479a (diff)
add an overlay icon, use flexbox for overlay
Diffstat (limited to 'css')
-rw-r--r--css/app.less18
1 files changed, 12 insertions, 6 deletions
diff --git a/css/app.less b/css/app.less
index 624fc4b..7c3a154 100644
--- a/css/app.less
+++ b/css/app.less
@@ -76,6 +76,18 @@ body.epube-index {
body.epube-reader {
.loading {
+ .wrapper {
+ .loading-icon {
+ font-size : 64px;
+ display : block;
+ margin-bottom : 16px;
+ opacity : 0.25;
+ }
+ }
+
+ display : flex;
+ justify-content : center;
+ align-items : center;
position : absolute;
color : #999;
top : 0px;
@@ -87,12 +99,6 @@ body.epube-reader {
background : white;
padding : 16px;
font-size : 18px;
- display : table;
- }
-
- .loading > div {
- display : table-cell;
- vertical-align : middle;
}
.notice {