IMPROVEMENT: ui.elemental

This commit is contained in:
Tony Air 2020-01-04 22:33:24 +07:00
parent 9d3db447aa
commit 42fe37066f
4 changed files with 15 additions and 15 deletions

12
dist/css/app.css vendored
View File

@ -15467,12 +15467,6 @@ input.time[readonly] {
* Basic styles for silverstripe-elemental
*/
.page-header-element {
display: none;
padding-bottom: 0;
margin-bottom: -4rem;
}
.element {
position: relative;
padding: 4rem 0;
@ -15498,6 +15492,12 @@ input.time[readonly] {
padding: 2rem 0;
}
.element.page-header-element {
display: none;
padding-bottom: 0;
margin-bottom: -4rem;
}
.elements-sm,
.sidebar {
padding: 2rem 0;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
"version": "1.5.5",
"version": "1.5.6",
"author": "Tony Air <tony@twma.pro>",
"license": "MIT",
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",

View File

@ -2,13 +2,6 @@
* Basic styles for silverstripe-elemental
*/
// hide default page title cuz elemental object will be used to display titles
.page-header-element {
display: none;
padding-bottom: 0;
margin-bottom: -$grid-gutter-element-height;
}
// add top/bottom paddings for basic elements
.element {
position: relative;
@ -36,6 +29,13 @@
&.secondary {
padding: ($grid-gutter-element-height / 2) 0;
}
// hide default page title cuz elemental object will be used to display titles
&.page-header-element {
display: none;
padding-bottom: 0;
margin-bottom: -$grid-gutter-element-height;
}
}
.elements-sm,