mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 15:14:34 +00:00
150 lines
3.0 KiB
CSS
150 lines
3.0 KiB
CSS
#bratonien-selection-toggle.active {
|
|
color:#f0a646;
|
|
}
|
|
|
|
.bratonien-selection-bar {
|
|
position:relative;
|
|
z-index:1;
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
gap:.45rem .7rem;
|
|
align-items:center;
|
|
justify-content:flex-end;
|
|
box-sizing:border-box;
|
|
width:fit-content;
|
|
max-width:calc(100% - 1rem);
|
|
margin:.35rem .5rem .75rem auto;
|
|
padding:.45rem .55rem;
|
|
border:1px solid rgba(255,255,255,.16);
|
|
border-radius:.4rem;
|
|
background:rgba(27,27,27,.96);
|
|
box-shadow:0 .2rem .7rem rgba(0,0,0,.22);
|
|
}
|
|
|
|
.bratonien-selection-status {
|
|
padding:0 .35rem;
|
|
white-space:nowrap;
|
|
color:#d7d7d7;
|
|
}
|
|
|
|
.bratonien-selection-actions {
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
justify-content:flex-end;
|
|
gap:.35rem;
|
|
min-width:0;
|
|
}
|
|
|
|
.bratonien-selection-actions button {
|
|
min-height:2rem;
|
|
padding:.3rem .58rem;
|
|
border:1px solid rgba(255,255,255,.18);
|
|
border-radius:.25rem;
|
|
background:rgba(255,255,255,.045);
|
|
color:inherit;
|
|
cursor:pointer;
|
|
font:inherit;
|
|
white-space:nowrap;
|
|
}
|
|
|
|
.bratonien-selection-actions button:hover:not(:disabled),
|
|
.bratonien-selection-actions button:focus:not(:disabled) {
|
|
border-color:rgba(240,166,70,.72);
|
|
color:#f0a646;
|
|
}
|
|
|
|
.bratonien-selection-actions .bratonien-selection-primary {
|
|
border-color:#f0a646;
|
|
background:#f0a646;
|
|
color:#242424;
|
|
font-weight:700;
|
|
}
|
|
|
|
.bratonien-selection-actions .bratonien-selection-primary:hover:not(:disabled),
|
|
.bratonien-selection-actions .bratonien-selection-primary:focus:not(:disabled) {
|
|
color:#242424;
|
|
}
|
|
|
|
.bratonien-selection-actions button:disabled {
|
|
opacity:.42;
|
|
cursor:default;
|
|
}
|
|
|
|
.bratonien-selection-error {
|
|
flex-basis:100%;
|
|
padding:.15rem .25rem 0;
|
|
color:#e58b8b;
|
|
}
|
|
|
|
.bratonien-selectable {
|
|
position:relative;
|
|
}
|
|
|
|
.bratonien-selection-active .bratonien-selectable {
|
|
cursor:pointer;
|
|
}
|
|
|
|
.bratonien-selection-active .bratonien-selectable::after {
|
|
content:'';
|
|
position:absolute;
|
|
inset:0;
|
|
pointer-events:none;
|
|
border:3px solid transparent;
|
|
box-sizing:border-box;
|
|
transition:border-color .12s ease,box-shadow .12s ease;
|
|
}
|
|
|
|
.bratonien-selection-active .bratonien-selectable.bratonien-selected::after {
|
|
border-color:#f0a646;
|
|
box-shadow:inset 0 0 0 9999px rgba(0,0,0,.14);
|
|
}
|
|
|
|
.bratonien-selection-active .bratonien-selectable.bratonien-selected::before {
|
|
content:'\2713';
|
|
position:absolute;
|
|
top:.45rem;
|
|
right:.45rem;
|
|
z-index:20;
|
|
width:1.8rem;
|
|
height:1.8rem;
|
|
line-height:1.8rem;
|
|
text-align:center;
|
|
border-radius:50%;
|
|
background:#f0a646;
|
|
color:#242424;
|
|
font-weight:800;
|
|
pointer-events:none;
|
|
}
|
|
|
|
@media (max-width:760px) {
|
|
.bratonien-selection-bar {
|
|
width:calc(100% - 1rem);
|
|
max-width:none;
|
|
margin:.35rem .5rem .75rem;
|
|
align-items:stretch;
|
|
}
|
|
|
|
.bratonien-selection-status {
|
|
width:100%;
|
|
padding:.1rem .2rem;
|
|
}
|
|
|
|
.bratonien-selection-actions {
|
|
display:grid;
|
|
grid-template-columns:repeat(3,minmax(0,1fr));
|
|
width:100%;
|
|
}
|
|
|
|
.bratonien-selection-actions button {
|
|
width:100%;
|
|
min-width:0;
|
|
white-space:normal;
|
|
}
|
|
}
|
|
|
|
@media (max-width:480px) {
|
|
.bratonien-selection-actions {
|
|
grid-template-columns:1fr;
|
|
}
|
|
}
|