From 6b745457e21249e2406e7284aa3b7f482d575853 Mon Sep 17 00:00:00 2001 From: Bengt Brodersen Date: Mon, 29 Jul 2024 09:38:27 +0200 Subject: [PATCH] refactor: refactor preview --- index.html | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 1d91896..74afae5 100644 --- a/index.html +++ b/index.html @@ -104,6 +104,7 @@ #app .button.is-primary { background-color: var(--primary-color) !important; } + #app .button.is-primary.is-outlined { background-color: transparent !important; border-color: var(--primary-color) !important; @@ -122,6 +123,7 @@ text-align: left; overflow: hidden; } + #app .table .button.is-text.is-focused, #app .table .button.is-text.is-hovered, #app .table .button.is-text:focus, @@ -133,20 +135,22 @@ #app .buttons .field { margin-bottom: 0.5rem; } + #app .button.is-text > span { overflow: hidden; text-overflow: ellipsis; } + #app .button.is-primary:focus:not(:active) { box-shadow: inset 0px 0px 0px 0.1em #ffffffcc; } #app .input:focus:not(.is-danger), - #app .select select:focus { border-color: var(--primary-color); box-shadow: none; } + #app .select:not(.is-multiple):not(.is-loading)::after { border-color: var(--primary-color) !important; } @@ -155,22 +159,26 @@ display: flex; align-items: center; } + #app .name-column-icon { display: block; flex-basis: 1.5rem; flex-grow: 0; flex-shrink: 0; } + #app .name-column-buttons { display: flex; margin-left: auto; } + #app .name-column-buttons > .button { height: 1em; height: auto; padding: 0em 0.6em; margin-left: 0.5em; } + #app .name-column-details { display: flex; align-items: flex-end; @@ -192,6 +200,7 @@ text-align: center; color: darkgray; } + #app .footer-bucket-url a { color: inherit; } @@ -200,9 +209,11 @@ #app .name-column::before { display: none !important; } + #app .name-column > div:first-child { max-width: calc(100% - 5.5rem); } + #app .size-column, #app .modified-column { display: none !important; @@ -443,7 +454,7 @@