UI consistency (page shell 2/N): automations adopts .page-shell card
First of the "flat -> card" conversions. The automations list view sat directly on the page background (.automations-container = bare padding) while its inner .dashboard-header is the same header dashboard uses. Adopt .page-shell so the page becomes a floating gradient card structurally identical to the dashboard (page-shell card > dashboard-header > content). - Drop .automations-container's bespoke `padding: 20px 24px` (card padding now from .page-shell); keep the class as the mobile/JS hook. - Add `page-shell` to the container in markup. Visible change by design (this page was not previously a card). Mobile keeps its existing .automations-container padding override.
This commit is contained in:
parent
d2a730a6aa
commit
def58a9907
2 changed files with 2 additions and 2 deletions
|
|
@ -2280,7 +2280,7 @@
|
||||||
<div class="page" id="automations-page">
|
<div class="page" id="automations-page">
|
||||||
<!-- List View -->
|
<!-- List View -->
|
||||||
<div class="automations-list-view" id="automations-list-view">
|
<div class="automations-list-view" id="automations-list-view">
|
||||||
<div class="automations-container">
|
<div class="page-shell automations-container">
|
||||||
<div class="dashboard-header">
|
<div class="dashboard-header">
|
||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
<h2 class="header-title"><img src="/static/automation.png" class="page-header-icon" alt=""><span>Automations</span></h2>
|
<h2 class="header-title"><img src="/static/automation.png" class="page-header-icon" alt=""><span>Automations</span></h2>
|
||||||
|
|
|
||||||
|
|
@ -43838,7 +43838,7 @@ body.downloads-disabled [onclick*="DownloadMissing"]:not([onclick*="close"]) {
|
||||||
AUTOMATIONS PAGE
|
AUTOMATIONS PAGE
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|
||||||
.automations-container { padding: 20px 24px; }
|
/* .automations-container: card styling from .page-shell */
|
||||||
.automations-list { display: flex; flex-direction: column; gap: 0; }
|
.automations-list { display: flex; flex-direction: column; gap: 0; }
|
||||||
#automations-list-view { padding-bottom: 10vh; }
|
#automations-list-view { padding-bottom: 10vh; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue