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-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown815 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.alphafix812 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.alphafix810 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.railsmultilevelimprovements805 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.multiselectfixes798 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.multiselectfixes797 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.multiselectfixes796 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.multiselectfixes795 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown794 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.play824786 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.26.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.railsmultilevelimprovements785 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.railsmultilevelimprovements780 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.PLAY818multilevelrebuild779 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.railsmultilevelimprovements776 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.PLAY818multilevelrebuild774 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.PLAY818multilevelrebuild773 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.PLAY818multilevelrebuild770 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-12.25.0.pre.alpha.play822bolddefaultfortitle3764 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss