mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Chart/InlinePie: smaller, white border for hover
I roughly changed the piechart defaults to their original (icon-like) size. However, this is NOT how we should handle such changes. We MUST be able to style them via CSS and get rid of that incredible amount of HTML attributes. I want to be able to set the height directly in CSS as em/px. And I want also be able to set it to 100% and size the outer container. refs #7077
This commit is contained in:
parent
cd1f49ce6c
commit
69fdc6a329
@ -73,28 +73,28 @@ EOD;
|
|||||||
*
|
*
|
||||||
* @var int The value in px
|
* @var int The value in px
|
||||||
*/
|
*/
|
||||||
private $width = 28;
|
private $width = 16;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The height of the rendered chart
|
* The height of the rendered chart
|
||||||
*
|
*
|
||||||
* @var int The value in px
|
* @var int The value in px
|
||||||
*/
|
*/
|
||||||
private $height = 28;
|
private $height = 16;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PieChart border width
|
* PieChart border width
|
||||||
*
|
*
|
||||||
* @var float
|
* @var float
|
||||||
*/
|
*/
|
||||||
private $borderWidth = 0;
|
private $borderWidth = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The color of the border
|
* The color of the border
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
private $borderColor = '#888';
|
private $borderColor = '#fff';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The title of the chart
|
* The title of the chart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user