mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 11:44:31 +00:00
Generalize selection styles beyond gdThumb
This commit is contained in:
@@ -19,11 +19,15 @@
|
||||
border-radius: .25rem;
|
||||
}
|
||||
|
||||
.bratonien-selection-active #thumbnails .gdthumb {
|
||||
.bratonien-selectable {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bratonien-selection-active .bratonien-selectable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bratonien-selection-active #thumbnails .gdthumb::after {
|
||||
.bratonien-selection-active .bratonien-selectable::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
@@ -32,12 +36,12 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.bratonien-selection-active #thumbnails .gdthumb.bratonien-selected::after {
|
||||
.bratonien-selection-active .bratonien-selectable.bratonien-selected::after {
|
||||
border-color: currentColor;
|
||||
box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .15);
|
||||
}
|
||||
|
||||
.bratonien-selection-active #thumbnails .gdthumb.bratonien-selected::before {
|
||||
.bratonien-selection-active .bratonien-selectable.bratonien-selected::before {
|
||||
content: '\2713';
|
||||
position: absolute;
|
||||
top: .5rem;
|
||||
|
||||
Reference in New Issue
Block a user