/* Quick Settings */

/* QS section */
.quick-settings {
	padding: 15px;
	border-radius: 24px;
}


/* screenshot / settings / lock / power options; part of quick-toggle-arrow [44-47] quick-toggle-menu-button [48+] */
.icon-button {
	background-color: ACCENT-DISABLED-COLOR;
	color: TEXT-PRIMARY-COLOR;
	transition-duration: 100ms;
	border-radius: 99px;
	box-shadow: inset 0 0 0 1px BORDER-SHADOW;
}

.icon-button:hover {
	background-color: ACCENT-DISABLED_HOVER;
}

.icon-button:focus,
.quick-toggle:focus,
.slider-bin:focus {
	box-shadow: inset 0 0 0 2px ACCENT-SECONDARY-COLOR !important;
}


/* toggles in QS */
.quick-toggle, /* 43 */
.quick-menu-toggle .quick-toggle, /* 44-47 */
.quick-toggle-has-menu .quick-toggle { /* 48+ */
	color: TEXT-PRIMARY-COLOR;
	border-radius: 15px;
	background-color: ACCENT-DISABLED-COLOR;
	transition-duration: 100ms;
}

.quick-toggle-has-menu .quick-toggle-separator { width: 0; } /* margins are set in below for backward compatibility */

/* toggle name */
.quick-toggle .quick-toggle-label {
	font-weight: 600;
}

/* adjust borders if quick toggle has expandable menu button (quick-toggle-arrow)44-47] (quick-toggle-menu-button)[48+] */
.quick-menu-toggle .quick-toggle:ltr,
.quick-toggle-has-menu .quick-toggle:ltr { border-radius: 15px 0 0 15px; }
.quick-menu-toggle .quick-toggle:rtl,
.quick-toggle-has-menu .quick-toggle:rtl { border-radius: 0 15px 15px 0; }

/* if quick toggle has no expandable menu button (quick-toggle-arrow)[44+] */
.quick-menu-toggle .quick-toggle:last-child,
.quick-toggle-has-menu .quick-toggle:last-child {
	border-radius: 15px;
}

.quick-menu-toggle .quick-toggle-arrow,
.quick-toggle-has-menu .quick-toggle-menu-button {
	border-color: transparent;
}

/* adjust borders in expandable menu button */
.quick-menu-toggle .quick-toggle-arrow:ltr,
.quick-toggle-has-menu .quick-toggle-menu-button:ltr {
	border-radius: 0 15px 15px 0;
	border-left-width: 2px;
}

.quick-menu-toggle .quick-toggle-arrow:rtl,
.quick-toggle-has-menu .quick-toggle-menu-button:rtl {
	border-radius: 15px 0 0 15px;
	border-right-width: 2px;
}

.quick-toggle:hover,
.quick-menu-toggle .quick-toggle:hover,
.quick-menu-toggle .quick-toggle-arrow:hover,
.quick-toggle-has-menu .quick-toggle:hover,
.quick-toggle-has-menu .quick-toggle-menu-button:hover {
	color: TEXT-PRIMARY-COLOR;
	background-color: ACCENT-DISABLED_HOVER;
}

.quick-toggle:checked,
.quick-menu-toggle .quick-toggle:checked,
.quick-menu-toggle .quick-toggle-arrow:checked,
.quick-toggle-has-menu .quick-toggle:checked,
.quick-toggle-has-menu .quick-toggle-menu-button:checked {
	color: BUTTON-TEXT-COLOR;
	background-color: BUTTON-COLOR;
	border-color: transparent;
}

.quick-toggle:checked:hover,
.quick-menu-toggle .quick-toggle:checked:hover,
.quick-menu-toggle .quick-toggle-arrow:checked:hover,
.quick-toggle-has-menu .quick-toggle:checked:hover,
.quick-toggle-has-menu .quick-toggle-menu-button:checked:hover{
	color: BUTTON-TEXT-COLOR;
	background-color: BUTTON_HOVER;
}


/* quick slider section */
/* fix margins in quick slider section */
.quick-slider .slider-bin {
	padding: 4px;
	margin: 0;
	color: BUTTON-TEXT-COLOR; /* up tp 46 */
	border-radius: 99px;
}

.quick-slider .slider-bin:focus {
	background-color: ACCENT-DISABLED-COLOR;
}

/* quick slider icon */
.quick-slider .icon-button {
	background-color: transparent;
	box-shadow: none;
	padding: 6px;
	border-radius: 11px;
	transition-duration: 150ms;
}

.quick-slider .icon-button:hover {
	background-color: ACCENT-DISABLED-COLOR;
	color: TEXT-PRIMARY-COLOR;
	box-shadow: inset 0 0 0 1px BORDER-SHADOW;
}


/* expanded menu */
/* overrides because of 
https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/beb77f58243265a6cc62b720a5b0ecd66efd50a1#fb75f14505e58d3bc51f2498ef328d1405d89e83_94_95 */
.quick-toggle-menu {
	background-color: BACKGROUND-COLOR !important; 
	color: TEXT-PRIMARY-COLOR !important;
	border-radius: 18px;
	box-shadow: inset 0 0 0 1px BORDER-SHADOW;
  	margin: 12px auto;
}

/* header icon in expanded menu */
.quick-toggle-menu .header .icon {
	background-color: ACCENT-DISABLED_HOVER;
	color: TEXT-PRIMARY-COLOR;
	border-radius: 12px;
	icon-size: 1.4em;
	box-shadow: inset 0 0 0 1px BORDER-SHADOW;
}

.quick-toggle-menu .header .icon.active {
	background-color: BUTTON-COLOR;
	color: BUTTON-TEXT-COLOR;
}

/* connect / disconnect text color (expanded menu) */
.device-subtitle {
	color: TEXT-SECONDARY-COLOR;
}


/* background apps */

/* make toggle transparent in QS */
.background-apps-quick-toggle {
	background-color: transparent;
}

.background-apps-quick-toggle:hover {
	background-color: ACCENT-DISABLED-COLOR;
}

.background-apps-quick-toggle:focus {
	background-color: ACCENT-DISABLED-COLOR;
	box-shadow: inset 0 0 0 2px ACCENT-SECONDARY-COLOR;
}

/* background app name */
.background-app-item .title {
	color: TEXT-PRIMARY-COLOR;
	font-weight: 600;
}

/* close button */
.background-app-item .close-button {
	color: TEXT-PRIMARY-COLOR;
	background-color: ACCENT-DISABLED-COLOR;
	box-shadow: inset 0 0 0 1px BORDER-SHADOW;
}

.background-app-item .close-button:hover {
	background-color: ACCENT-DISABLED_HOVER;
}
