mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
css: fix compact styling
This commit is contained in:
parent
605820adb7
commit
f599029726
2 changed files with 11 additions and 5 deletions
|
|
@ -86,7 +86,10 @@ class Controller extends ModuleController
|
|||
protected function controls()
|
||||
{
|
||||
if ($this->view->controls === null) {
|
||||
$this->view->controls = Controls::create();
|
||||
$controls = $this->view->controls = Controls::create();
|
||||
if ($this->view->compact) {
|
||||
$controls->attributes()->add('class', 'compact');
|
||||
}
|
||||
}
|
||||
|
||||
return $this->view->controls;
|
||||
|
|
@ -98,7 +101,10 @@ class Controller extends ModuleController
|
|||
protected function content()
|
||||
{
|
||||
if ($this->view->content === null) {
|
||||
$this->view->content = Content::create();
|
||||
$content = $this->view->content = Content::create();
|
||||
if ($this->view->compact) {
|
||||
$content->attributes()->add('class', 'compact');
|
||||
}
|
||||
}
|
||||
|
||||
return $this->view->content;
|
||||
|
|
|
|||
|
|
@ -536,7 +536,7 @@ div.bp .badges {
|
|||
.tiles.normal { font-size: 2.1em; }
|
||||
.tiles.many { font-size: 1.8em; }
|
||||
|
||||
#layout.twocols, #layout.layout-minimal, .compact {
|
||||
#layout.twocols, #layout.layout-minimal, div.compact {
|
||||
.tiles.few { font-size: 1.8em; }
|
||||
.tiles.normal { font-size: 1.8em; }
|
||||
.tiles.many { font-size: 1.8em; }
|
||||
|
|
@ -659,9 +659,9 @@ div.bp .badges {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#layout.twocols, #layout.layout-minimal, .compact {
|
||||
#layout.twocols, #layout.layout-minimal, div.compact {
|
||||
.breadcrumb {
|
||||
font-size: 0.9em;
|
||||
font-size: 0.833em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue