Add Toolbar factory, Use new factory entry for cancel buttons, better check of twig errors, fix fatal error page

This commit is contained in:
Eric
2021-02-09 14:16:23 +01:00
parent e11252a2d6
commit 3c60e4f765
24 changed files with 232 additions and 83 deletions

View File

@@ -25,6 +25,7 @@
@import "fieldset";
@import "field";
@import "toolbar";
@import "toolbar-spacer";
@import "richtext";
@import "formtable";
@import "formtablerow";

View File

@@ -0,0 +1,11 @@
/*!
* copyright Copyright (C) 2010-2021 Combodo SARL
* license http://opensource.org/licenses/AGPL-3.0
*/
.ibo-toolbar--button {
.ibo-toolbar-spacer {
flex-grow: 1;
}
}

View File

@@ -3,6 +3,24 @@
* license http://opensource.org/licenses/AGPL-3.0
*/
.ibo-action-toolbar {
position: relative;
}
$ibo-toolbar--button-margin-top: 16px !default;
$ibo-toolbar--margin: 6px 0 !default;
.ibo-toolbar {
margin: $ibo-toolbar--margin;
&.ibo-toolbar--action {
position: relative;
}
&.ibo-toolbar--button {
@extend %ibo-vertically-centered-content;
margin-top: $ibo-toolbar--button-margin-top;
}
&.ibo-toolbar-top{
padding-left: calc(90px + 64px);
text-align: right;
}
}