mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-11 06:00:15 -07:00
38 lines
730 B
CSS
38 lines
730 B
CSS
/**
|
|
* This is the Big-AGI customized nprogress.css file.
|
|
* We only change the height and color of the bar.
|
|
*/
|
|
|
|
/* Make clicks pass-through */
|
|
#nprogress {
|
|
--barColor: #32383E;
|
|
--barHeight: 4px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#nprogress .bar {
|
|
background: var(--barColor);
|
|
|
|
position: fixed;
|
|
z-index: 1031;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
height: var(--barHeight);
|
|
}
|
|
|
|
/* Fancy blur effect */
|
|
#nprogress .peg {
|
|
display: block;
|
|
position: absolute;
|
|
right: 0;
|
|
width: 100px;
|
|
height: 100%;
|
|
box-shadow: 0 0 10px var(--barColor), 0 0 5px var(--barColor);
|
|
opacity: 1.0;
|
|
|
|
-ms-transform: rotate(3deg) translate(0px, -4px);
|
|
transform: rotate(3deg) translate(0px, -4px);
|
|
}
|