Sha256: 33514e91ab7c165ef81f504bd0a43db7cf601eef7a3a0b3c063b056ba704ecd4

Contents?: true

Size: 1.45 KB

Versions: 165

Compression:

Stored size: 1.45 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

165 entries across 165 versions & 1 rubygems

Version Path
playbook_ui-11.13.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.12.1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.12.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.11.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.10.0.pre.alpha.pre.bold1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.10.0.pre.alpha.pagination1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.10.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.9.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.9.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.8.1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.8.0 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss
playbook_ui-11.7.0.pre.alpha.table1 app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss