mirror of
https://github.com/prymitive/karma
synced 2026-08-23 11:56:20 +00:00
Fix nprogress usage and styling
This commit is contained in:
@@ -365,16 +365,12 @@ button.silence-delete:focus {
|
||||
|
||||
|
||||
/* tweak nprogress look for flatly */
|
||||
#nprogress .bar {
|
||||
#nprogress .nprogress-flatly.bar {
|
||||
background: #f39c12;
|
||||
}
|
||||
#nprogress .peg {
|
||||
#nprogress .nprogress-flatly.peg {
|
||||
box-shadow: 0 0 10px #f39c12, 0 0 5px #f39c12;
|
||||
}
|
||||
#nprogress .spinner-icon {
|
||||
border-top-color: #f39c12;
|
||||
border-left-color: #f39c12;
|
||||
}
|
||||
|
||||
|
||||
/* tweaks for help page tables */
|
||||
|
||||
@@ -11,7 +11,8 @@ function init() {
|
||||
NProgress.configure({
|
||||
minimum: 0.01,
|
||||
showSpinner: false,
|
||||
easing: "linear"
|
||||
easing: "linear",
|
||||
template: "<div class='bar nprogress-flatly' role='bar'><div class='peg nprogress-flatly'></div></div>"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ function resume() {
|
||||
filters.setPause();
|
||||
return false;
|
||||
}
|
||||
progress.resetTimer();
|
||||
progress.start();
|
||||
if (timer !== false) {
|
||||
clearInterval(timer);
|
||||
}
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user