kopia lustrzana https://github.com/magicbug/Cloudlog
use accordion for header
rodzic
ed11da8833
commit
8d606b7b8d
Plik diff jest za duży
Load Diff
|
@ -745,21 +745,13 @@ table.dataTable tfoot td {
|
|||
overflow-x: unset;
|
||||
}
|
||||
|
||||
/* Header zone (elapsable) */
|
||||
.elapse-zone-header {
|
||||
margin-top:1rem;
|
||||
padding:0.5rem 1rem !important;
|
||||
/* Header zone (accordion) */
|
||||
.user_edit .accordion-button:not(.collapsed) {
|
||||
background-color: rgba(255, 255, 255, 0.075)!important;
|
||||
color: var(--bs-card-cap-color);
|
||||
padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
|
||||
border-radius: var(--bs-card-border-radius);
|
||||
}
|
||||
.elapse-zone-header i {
|
||||
cursor: pointer;
|
||||
}
|
||||
.elapse-zone-body {
|
||||
border: 1px solid rgba(255, 255, 255, 0.075)!important;
|
||||
padding: 0.5rem !important;
|
||||
.user_edit .accordion-body {
|
||||
background-color: transparent;
|
||||
}
|
||||
.elapse-zone-body div.small.text-muted {
|
||||
display:none;
|
||||
|
|
|
@ -574,17 +574,6 @@ function qso_set_eqsl_qslmsg(station_id, force_diff_to_origin=false, object='')
|
|||
});
|
||||
}
|
||||
|
||||
// [ELAPSE HEADER] function show/hide //
|
||||
function elapse_zone_header() {
|
||||
if ($(this).find('i').hasClass('fa-caret-down')) {
|
||||
$('.elapse-zone-body[data-zone="'+ $(this).closest('.elapse-zone-header').attr('data-zone') +'"]').hide();
|
||||
$(this).find('i').removeClass('fa-caret-down').addClass('fa-caret-left');
|
||||
} else {
|
||||
$('.elapse-zone-body[data-zone="'+ $(this).closest('.elapse-zone-header').attr('data-zone') +'"]').show();
|
||||
$(this).find('i').removeClass('fa-caret-left').addClass('fa-caret-down');
|
||||
}
|
||||
}
|
||||
|
||||
// [HELP ICON] function show/hide //
|
||||
function help_tooltip() {
|
||||
if ($(this).closest('div').find('div.small.text-muted').is(":hidden")) {
|
||||
|
|
Ładowanie…
Reference in New Issue