You've already forked 98.css
mirror of
https://github.com/jdan/98.css.git
synced 2026-05-05 06:01:22 +09:00
Add Component ProgressBar
This commit is contained in:
32
style.css
32
style.css
@@ -885,3 +885,35 @@ table > tbody > tr > * {
|
||||
padding: 0 var(--grouped-element-spacing);
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.progress-indicator {
|
||||
height: 32px;
|
||||
position: relative;
|
||||
box-shadow: var(--border-sunken-inner);
|
||||
padding: 4px 4px;
|
||||
border: none;
|
||||
box-sizing: border-box;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
|
||||
.progress-indicator > .progress-indicator-bar {
|
||||
height: 100%;
|
||||
display: block;
|
||||
background-color: var(--dialog-blue);
|
||||
}
|
||||
|
||||
.progress-indicator.segmented > .progress-indicator-bar {
|
||||
width: 100%;
|
||||
background-color: transparent; /* resets the background color which is set to blue in the non-segmented selector */
|
||||
background-image: linear-gradient(
|
||||
90deg,
|
||||
var(--dialog-blue) 0 16px,
|
||||
transparent 0 2px
|
||||
);
|
||||
background-repeat: repeat;
|
||||
background-size: 18px 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user