
/*
 * Region Index
 *
 * Structure:
 * .tb-snowreport-service-box (instance of .c-toggle-box)
 *     .tb-snowreport-service-box__toggle-button[aria-expanded="TRUE || FALSE"]
 */

// Block
.tb-snowreport-service-box {}

.tb-snowreport-service-box + .tb-snowreport-service-box {
    padding-top: theme('padding.1');
}

// Color defaults for this package.
.tb-snowreport-service-box__toggle-button[aria-expanded=false] {
    background-color: theme('colors.gray.100');
}

// Blue default color of trigger button when toggle box is expanded.
.tb-snowreport-service-box__toggle-button[aria-expanded=true] {
    background-color: theme('colors.primary.500');
    color: #fff;
}

// Set white text and icon on blue active background.
.tb-snowreport-service-box__toggle-button[aria-expanded=true] .c-toggle-box__title,
.tb-snowreport-service-box__toggle-button[aria-expanded=true] .c-toggle-box__icon {
    color: white;
}
