From f80d70da130a596b769225ec70df5d9aab2cdae0 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 26 Jan 2021 11:49:12 +0100 Subject: [PATCH] css: move a hover color and td.actions improvements to layout.scss --- assets/sass/app.scss | 31 ------------------------------- assets/sass/layout.scss | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 32 deletions(-) diff --git a/assets/sass/app.scss b/assets/sass/app.scss index 4149c40..176422d 100644 --- a/assets/sass/app.scss +++ b/assets/sass/app.scss @@ -1,36 +1,5 @@ @import "layout"; -a { - &:hover { - color: lighten($secondary, 30%); - } -} - -td.actions { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - - form { - padding: 0; - display: inline; - } - - button, .button { - margin: 0; - padding: 8px; - - .feather { - margin-right: 0; - } - } - - > *:not(:first-child) { - margin-left: 8px; - } -} - body > header { background: transparent; line-height: 16px; diff --git a/assets/sass/layout.scss b/assets/sass/layout.scss index a927d89..b8a5d32 100644 --- a/assets/sass/layout.scss +++ b/assets/sass/layout.scss @@ -338,7 +338,7 @@ a { text-decoration: none; &:hover { - color: lighten($secondary, 10%); + color: lighten($secondary, 30%); } .feather.feather-external-link { @@ -607,6 +607,35 @@ button, .button { } } + +// --- +// --- Tables +// --- +td.actions { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + + form { + padding: 0; + display: inline; + } + + button, .button { + margin: 0; + padding: 8px; + + .feather { + margin-right: 0; + } + } + + > *:not(:first-child) { + margin-left: 8px; + } +} + .data-table { width: 100%; text-align: left; @@ -633,6 +662,10 @@ button, .button { } } + +// --- +// --- Breadcrumb widget +// --- .breadcrumb { list-style: none; display: flex; @@ -646,6 +679,7 @@ button, .button { } } + // --- // --- Layout helpers // ---