From bda464ab1689be918219834782e2b8da0d1d8ca5 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 26 Jan 2021 13:00:23 +0100 Subject: [PATCH] css: move a hover color and td.actions improvements to layout.scss --- assets/sass/layout.scss | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) 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 // ---