From: Dan Brown Date: Fri, 17 Feb 2023 16:18:24 +0000 (+0000) Subject: Applied shelf book sort changes from testing X-Git-Tag: v23.02~1^2~13^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/4049/head?ds=inline Applied shelf book sort changes from testing Added better labelling of sort lists for screen readers. Fadded out sort-item action buttons until hovering for a cleaner look. --- diff --git a/resources/sass/_components.scss b/resources/sass/_components.scss index c86c04d33..825501364 100644 --- a/resources/sass/_components.scss +++ b/resources/sass/_components.scss @@ -1085,6 +1085,9 @@ $btt-size: 40px; color: #AAA; cursor: grab; } + button { + opacity: .6; + } .handle svg { margin: 0; } @@ -1097,6 +1100,9 @@ $btt-size: 40px; &:hover .handle { @include lightDark(color, #444, #FFF); } + &:hover button { + opacity: 1; + } a:hover { text-decoration: none; } diff --git a/resources/views/shelves/parts/form.blade.php b/resources/views/shelves/parts/form.blade.php index 4598cbacc..ad67cb85c 100644 --- a/resources/views/shelves/parts/form.blade.php +++ b/resources/views/shelves/parts/form.blade.php @@ -12,7 +12,7 @@
- +
@@ -33,16 +33,20 @@
-