mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Upgrade to webpack 5
This commit is contained in:
@@ -7,7 +7,7 @@ $chat-log-tabs-height: 30px;
|
||||
$chat-log-buttons-width: 40px;
|
||||
|
||||
$resizer-size: 12px;
|
||||
$resizer-offset: $resizer-size / 2;
|
||||
$resizer-offset: $resizer-size * 0.5;
|
||||
|
||||
.chat-log {
|
||||
display: flex;
|
||||
|
||||
@@ -5,11 +5,11 @@ $slider-fill: #eaeaea;
|
||||
|
||||
$bar-height: 8px;
|
||||
$bar-control-size: 20px;
|
||||
$bar-border-radius: $bar-height / 2;
|
||||
$bar-border-radius: $bar-height * 0.5;
|
||||
|
||||
:host {
|
||||
display: inline-block;
|
||||
padding: 2px ($bar-control-size - $bar-height + 10px) / 2;
|
||||
padding: 2px ($bar-control-size - $bar-height + 10px) * 0.5;
|
||||
width: 100%;
|
||||
|
||||
&:focus {
|
||||
@@ -61,8 +61,8 @@ $bar-border-radius: $bar-height / 2;
|
||||
|
||||
.slider-bar-control {
|
||||
position: absolute;
|
||||
left: -$bar-control-size / 2;
|
||||
top: -($bar-control-size - $bar-height) / 2;
|
||||
left: -$bar-control-size * 0.5;
|
||||
top: -($bar-control-size - $bar-height) * 0.5;
|
||||
width: $bar-control-size;
|
||||
height: $bar-control-size;
|
||||
border-radius: 50%;
|
||||
|
||||
@@ -18,8 +18,8 @@ $time-size: 20px;
|
||||
|
||||
> div {
|
||||
position: absolute;
|
||||
left: -$state-size / 2;
|
||||
top: -$state-size / 2;
|
||||
left: -$state-size * 0.5;
|
||||
top: -$state-size * 0.5;
|
||||
width: $state-size;
|
||||
height: $state-size;
|
||||
background: gray;
|
||||
@@ -43,8 +43,8 @@ $time-size: 20px;
|
||||
|
||||
> div {
|
||||
position: absolute;
|
||||
left: -$time-size / 2;
|
||||
top: -$time-size / 2;
|
||||
left: -$time-size * 0.5;
|
||||
top: -$time-size * 0.5;
|
||||
width: $time-size;
|
||||
height: $time-size;
|
||||
background: gray;
|
||||
|
||||
Reference in New Issue
Block a user