From bb1acef0543d8b19407404865f26449071b1729d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 21 Apr 2022 17:28:33 +0200 Subject: [PATCH] Web: style action buttons and move the delete button to the last place --- web/app/src/App.vue | 6 +++++- web/app/src/components/JobActionsBar.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/app/src/App.vue b/web/app/src/App.vue index 68380031..168c83e5 100644 --- a/web/app/src/App.vue +++ b/web/app/src/App.vue @@ -234,6 +234,7 @@ section.action-bar { height: var(--action-bar-height); display: flex; flex-direction: row; + align-items: center; } section.action-bar button.action { @@ -244,6 +245,7 @@ section.action-bar button.action { background: #6E6D70; color: #DFDEDF; touch-action: manipulation; + margin-right: 0.3rem; transition-duration: 150ms; transition-property: color, background-color, border-color, box-shadow @@ -261,7 +263,9 @@ section.action-bar button.action:focus { } section.action-bar button.action.dangerous { - background-color: darkred; + background-color: #7c4d41; + color: #e4c5c0; + margin-left: 1rem; } section.action-bar button.action.dangerous[disabled] { diff --git a/web/app/src/components/JobActionsBar.vue b/web/app/src/components/JobActionsBar.vue index a7b12e82..e0ec52b7 100644 --- a/web/app/src/components/JobActionsBar.vue +++ b/web/app/src/components/JobActionsBar.vue @@ -1,8 +1,8 @@