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