UnoCSS
Shortcuts
shortcuts: {
'full-height': 'h-[calc(100vh_-_var(--drupal-displace-offset-top,_0px))]',
'border': 'border-1 border-solid border-black',
'input': 'border',
'menu': 'list-none flex flex-wrap gap-x-5 gap-y-2 p-0 m-0',
'space-…
Utilities
Tables should scroll when overlapping, and collapse when the screen is too narrow.
Notes
https://designsystem.digital.gov/components/table/
https://www.w3.org/WAI/WCAG21/Understanding/reflow.html
https://css-tricks.com/responsive-data-tables/
https://css-…
Tables
Drupal has these CSS layers:
Base
Layout
Component
State
Theme
Drupal libraries that load CSS define which layer each file is in. This sets the order they are loaded so cascading styles work correctly.
When a page is loaded, Drupal determines the…
CSS Aggregation
The admin styles from the core views_ui module is overridden by stable9.
To override it in Mantra, the full path to the stable9 file is used.
libraries-override:
views_ui/admin.styling:
css:
theme:
/core/themes/stable9/css/views_ui/…
Views Admin
Last admin toolbar update caused visual issues with the toolbar, so I simplified it. Then the change was reversed and now it has color issues. TODO, fix.
Tracking this issue: https://www.drupal.org/project/…
Toolbar