Sha256: 22e6246e53c52b64e6536c725a436c3ed3188fa3111dfd4aafc072287647c617

Contents?: true

Size: 1.46 KB

Versions: 938

Compression:

Stored size: 1.46 KB

Contents

@import "../tokens/transition";

[class^=pb_selectable_icon] {

	text-align: center;
	cursor: pointer;
	transition: all $transition_short ease;

	@media (hover:hover) {
		&:hover * {
			transition: transform $transition_short ease;
			transform: translateY(-2px);
		}
	}

	* {
		cursor: pointer;
	}

	h4 {
		margin-top: $space_xs !important;
		user-select: none;
		transition: color $transition_short ease;
	}

	label {
		transition: color $transition_short ease;
	}

	&[class*=_disabled] {
		opacity: $opacity_6;
		cursor: not-allowed;
		* {
			cursor: not-allowed;
		}
	}
	
	input[type="checkbox"],
	input[type="radio"] {
		-webkit-appearance: none;
		-moz-appearance: none;
		display: none;
		appearance: none;
		transition: color $transition_short ease;

		&:checked ~ label * {
			transition: color $transition_short ease;
			color: $primary;
		}
		
		&:not(:checked) ~ label {
			transition: color $transition_short ease;
			color: $slate;

		}
	}


	&.dark {
		input[type="checkbox"],
		input[type="radio"] {
			-webkit-appearance: none;
			-moz-appearance: none;
			display: none;
			appearance: none;
			transition: color $transition_short ease;
			
			&:checked ~ label * {
				transition: color $transition_short ease;
				color: $active_dark !important;
			}
				
			&:not(:checked) ~ label {
				transition: color $transition_short ease;
				color: $text_dk_lighter;

				h4 {
					transition: color $transition_short ease;
					color: $text_dk_default;
				}
			}
		}
 	}
}


Version data entries

938 entries across 938 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-14.11.1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss