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:
parent
07a722fb48
commit
4e5fcd2747
21
modules/core/ui/theme/css/asset_map_popup.css
Normal file
21
modules/core/ui/theme/css/asset_map_popup.css
Normal 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;
|
||||
}
|
|
@ -1,3 +1,7 @@
|
|||
asset_map_popup:
|
||||
css:
|
||||
theme:
|
||||
css/asset_map_popup.css: { }
|
||||
flag:
|
||||
css:
|
||||
theme:
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue