ActionBar: Restyle and move link to add new processes

This commit is contained in:
Johannes Meyer 2019-01-22 12:22:11 +01:00
parent 7fcf5df31a
commit 494027710b
2 changed files with 30 additions and 8 deletions

View file

@ -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')
));
}
}

View file

@ -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 {