mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
renderer: showing progress on slow runs
This commit is contained in:
parent
25ae7f8282
commit
66f79db43d
9 changed files with 87 additions and 9 deletions
|
@ -10,6 +10,7 @@
|
|||
@import 'save.less';
|
||||
@import 'renderer.less';
|
||||
@import 'dialogs.less';
|
||||
@import 'progress.less';
|
||||
|
||||
body {
|
||||
font-family: 'Rubik', sans-serif;
|
||||
|
|
|
@ -214,6 +214,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.control-dialog-small {
|
||||
min-width: 312px;
|
||||
|
||||
@media (max-width: @mobile_breakpoint) {
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
width: 100% !important;
|
||||
left: 0;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.control-dialog-provider {
|
||||
|
@ -242,6 +254,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
.helper-prefetch {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.helper__text {
|
||||
width: 100%;
|
||||
|
@ -460,3 +475,13 @@
|
|||
background: #444444;
|
||||
margin: 0 8px 0 5px;
|
||||
}
|
||||
|
||||
.dialog-prefetch-stage {
|
||||
font-size: 1em;
|
||||
text-transform: uppercase;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.dialog-prefetch-progress {
|
||||
padding: 10px 0 5px;
|
||||
}
|
||||
|
|
16
src/styles/progress.less
Normal file
16
src/styles/progress.less
Normal file
|
@ -0,0 +1,16 @@
|
|||
.progress {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: 5px;
|
||||
background: #111111;
|
||||
border-radius: @panel_radius;
|
||||
box-sizing: border-box;
|
||||
|
||||
.bar {
|
||||
width: 30%;
|
||||
background: linear-gradient(270deg, @blue_primary, @blue_secondary);
|
||||
height: 100%;
|
||||
border-radius: @panel_radius;
|
||||
transition: width 500ms;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue