From bf2c429a1825c1fa08d84f3db995536e3313d727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 10 Jul 2023 18:07:04 -0400 Subject: [PATCH] fix: #11787 --- public/scss/admin/modules/nprogress.scss | 51 +++++++++--------------- 1 file changed, 19 insertions(+), 32 deletions(-) diff --git a/public/scss/admin/modules/nprogress.scss b/public/scss/admin/modules/nprogress.scss index 4584a127d7..99807bf906 100644 --- a/public/scss/admin/modules/nprogress.scss +++ b/public/scss/admin/modules/nprogress.scss @@ -1,8 +1,8 @@ #nprogress { pointer-events: none; - } +} - #nprogress .bar { +#nprogress .bar { background: #29d; position: fixed; @@ -12,9 +12,9 @@ width: 100%; height: 2px; - } +} - #nprogress .peg { +#nprogress .peg { display: block; position: absolute; right: 0px; @@ -26,26 +26,13 @@ -webkit-transform: rotate(3deg) translate(0px, -4px); -ms-transform: rotate(3deg) translate(0px, -4px); transform: rotate(3deg) translate(0px, -4px); - } - - #nprogress .spinner { - display: block; - position: fixed; - z-index: 1031; - top: 165px; - right: 35px; - } - - @include media-breakpoint-down(sm) { - #nprogress .spinner { - bottom: 15px; - right: 15px; - top: initial; - } - } +} +#nprogress .spinner { + display: none; +} - #nprogress .spinner-icon { +#nprogress .spinner-icon { width: 18px; height: 18px; box-sizing: border-box; @@ -57,24 +44,24 @@ -webkit-animation: nprogress-spinner 400ms linear infinite; animation: nprogress-spinner 400ms linear infinite; - } +} - .nprogress-custom-parent { +.nprogress-custom-parent { overflow: hidden; position: relative; - } +} - .nprogress-custom-parent #nprogress .spinner, - .nprogress-custom-parent #nprogress .bar { +.nprogress-custom-parent #nprogress .spinner, +.nprogress-custom-parent #nprogress .bar { position: absolute; - } +} - @-webkit-keyframes nprogress-spinner { +@-webkit-keyframes nprogress-spinner { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } - } - @keyframes nprogress-spinner { +} +@keyframes nprogress-spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } - } +}