mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
ActionBar: Restyle and move link to add new processes
This commit is contained in:
parent
7fcf5df31a
commit
494027710b
2 changed files with 30 additions and 8 deletions
|
|
@ -91,9 +91,9 @@ class RenderedProcessActionBar extends ActionBar
|
|||
[
|
||||
'href' => $url->with('action', 'add'),
|
||||
'title' => mt('businessprocess', 'Add a new business process node'),
|
||||
'class' => 'icon-plus'
|
||||
'class' => 'icon-plus button-link'
|
||||
],
|
||||
mt('businessprocess', 'Add')
|
||||
mt('businessprocess', 'Add Process')
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,13 +6,35 @@ a:focus {
|
|||
}
|
||||
}
|
||||
|
||||
.action-bar a {
|
||||
font-size: 1.3em;
|
||||
color: @icinga-blue;
|
||||
&:hover::before {
|
||||
text-decoration: none;
|
||||
.action-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
a {
|
||||
font-size: 1.3em;
|
||||
color: @icinga-blue;
|
||||
|
||||
&:hover::before {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
&.button-link {
|
||||
color: white;
|
||||
background: @icinga-blue;
|
||||
|
||||
&:active, &:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
form a {
|
||||
|
|
|
|||
Loading…
Reference in a new issue