2020-11-18 11:07:56 +01:00
|
|
|
:host {
|
|
|
|
display: flex;
|
2021-05-07 10:31:06 +02:00
|
|
|
width: 100%;
|
2020-11-18 11:07:56 +01:00
|
|
|
|
2021-06-03 14:46:36 +02:00
|
|
|
--line-height: 40px;
|
|
|
|
--bar-margin: 16px 0;
|
|
|
|
|
2020-11-18 11:07:56 +01:00
|
|
|
.core-progress-text {
|
2021-06-03 14:46:36 +02:00
|
|
|
line-height: var(--line-height);
|
2020-11-18 11:07:56 +01:00
|
|
|
font-size: 1rem;
|
|
|
|
color: var(--text-color);
|
|
|
|
width: 55px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
progress {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
height: var(--height);
|
2021-06-03 14:46:36 +02:00
|
|
|
margin: var(--bar-margin);
|
2020-11-18 11:07:56 +01:00
|
|
|
padding: 0;
|
|
|
|
display: block;
|
2021-05-07 10:31:06 +02:00
|
|
|
width: 100%;
|
|
|
|
flex: 1;
|
2020-11-18 11:07:56 +01:00
|
|
|
|
|
|
|
&[value]::-webkit-progress-bar {
|
|
|
|
background-color: var(--background);
|
|
|
|
border-radius: 0;
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[value]::-webkit-progress-value {
|
|
|
|
background-color: var(--color);
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-12-23 16:02:42 +01:00
|
|
|
|
|
|
|
ion-progress-bar {
|
|
|
|
--progress-background: var(--color);
|
|
|
|
height: var(--height);
|
|
|
|
margin-top: calc((var(--line-height) - var(--height)) /2);
|
|
|
|
margin-bottom: calc((var(--line-height) - var(--height)) /2);
|
|
|
|
}
|
2020-11-18 11:07:56 +01:00
|
|
|
}
|