Use balls.less from ipldev

This commit is contained in:
Eric Lippmann 2019-10-01 10:04:57 +02:00
parent 5fe1b2571d
commit 820e75eabb
3 changed files with 5 additions and 2 deletions

View file

@ -14,5 +14,5 @@ namespace Icinga\Module\Eagle
]);
// TODO: Switch to from='ipl' prior release!
$this->requireCssFile('state-ball.less', 'ipldev');
$this->requireCssFile('balls.less', 'ipldev');
}

View file

@ -33,6 +33,6 @@ class StateBall extends BaseHtmlElement
$size = self::SIZE_MEDIUM;
}
$this->defaultAttributes = ['class' => "state-ball state-$state size-$size"];
$this->defaultAttributes = ['class' => "state-ball state-$state ball-size-$size"];
}
}

View file

@ -2,9 +2,12 @@
@gray-light: #d8d8d8;
.attempt-ball {
.ball();
.ball-size-xs();
background-color: @gray-light;
&.taken {
.ball-size-s();
background-color: @gray-dark;
}
}