3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Improve styling of the asset map_popup view mode within the iframe.

This commit is contained in:
paul121 2021-10-21 15:08:28 -07:00 committed by Michael Stenta
parent 07a722fb48
commit 4e5fcd2747
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,21 @@
/*
Styling for the asset map_popup view mode page.
*/
/* Remove the page background color. */
body {
background: unset !important;
}
.region-sticky {
background: unset !important;
}
/* Remove extra space on the left. */
.toolbar-tray-open:not(.toolbar-vertical) .layout-container {
margin: 0 !important;
}
/* Remove extra space from the bottom. */
.layout-container .page-content {
margin-bottom: 0;
}

View file

@ -1,3 +1,7 @@
asset_map_popup:
css:
theme:
css/asset_map_popup.css: { }
flag:
css:
theme:

View file

@ -11,6 +11,8 @@
* @see gin/templates/html.html.twig
*/
#}
{# Include styles for the asset_map_popup page. #}
{{ attach_library('farm_ui_theme/asset_map_popup') }}
{%
set body_classes = [
logged_in ? 'user-logged-in',