improved progress bar design

This commit is contained in:
2023-02-26 13:53:46 +10:00
parent b718212702
commit 55ec88e11f
6 changed files with 29 additions and 52 deletions

View File

@@ -3,7 +3,6 @@
@import "data-table.scss";
@import "tinymce.scss";
@import "prism.css";
@import "progressbar.scss";
* {
box-sizing: border-box;

View File

@@ -1,28 +0,0 @@
$vue3-progress-bar-container-z-index: 999999 !default;
$vue3-progress-bar-container-transition: all 500ms ease !default;
$vue3-progress-bar-color: $primary-color-dark !default;
$vue3-progress-bar-height: 4px !default;
$vue3-progress-bar-transition: all 200ms ease !default;
.vue3-progress-bar-container {
position: fixed;
z-index: $vue3-progress-bar-container-z-index;
top: 0;
left: 0;
width: 100%;
opacity: 0;
background-color: #eee;
transition: $vue3-progress-bar-container-transition;
&[active="true"] {
opacity: 1;
transition: none;
}
.vue3-progress-bar {
width: 100%;
height: $vue3-progress-bar-height;
transform: translate3d(-100%, 0, 0);
background-color: $vue3-progress-bar-color;
transition: $vue3-progress-bar-transition;
}
}