Sha256: 0d53a0941500dc6e75ddc1fcf18dcb7b78d5eef28e5076fc31d98acd0f32cde1

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

.#{$select-ns}-wrapper.plugin-remove_button{

	.item{
		display:		inline-flex;
		align-items:	center;
		padding-right:	0 !important;
	}

	.item .remove {
		color:				inherit;
		text-decoration:	none;
		vertical-align:		middle;
		display:			inline-block;
		padding:			0 $select-padding-item-x;
		border-radius:		0 2px 2px 0;
		box-sizing:			border-box;
	}

	.item .remove:hover {
		background: rgba(0,0,0,0.05);
	}


	&.disabled .item .remove:hover {
		background: none;
	}


	.remove-single {
		position: absolute;
		right: 0;
		top: 0;
		font-size: 23px;
	}

}

.#{$select-ns}-wrapper.plugin-remove_button:not(.rtl){

	.item .remove {
		border-left:		1px solid $select-color-item-border;
		margin-left:		$select-padding-item-x;
	}

	.item.active .remove {
		border-left-color: $select-color-item-active-border;
	}

	&.disabled .item .remove {
		border-left-color: lighten(desaturate($select-color-item-border, 100%), $select-lighten-disabled-item-border);
	}

}

.#{$select-ns}-wrapper.plugin-remove_button.rtl {

	.item .remove {
		border-right: 1px solid $select-color-item-border;
		margin-right: $select-padding-item-x;
	}

	.item.active .remove {
		border-right-color: $select-color-item-active-border;
	}

	&.disabled .item .remove {
		border-right-color: lighten(desaturate($select-color-item-border, 100%), $select-lighten-disabled-item-border);
	}

}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tom-select-rails-2.2.2 vendor/assets/stylesheets/tom-select-rails/scss/plugins/remove_button.scss
tom-select-rails-2.2.1 vendor/assets/stylesheets/tom-select-rails/scss/plugins/remove_button.scss
tom-select-rails-2.2.0 vendor/assets/stylesheets/tom-select-rails/scss/plugins/remove_button.scss