Sha256: 9e42cb2418e12902ae70e2dfba85b0139027c58b15c07edd6e8eb2ad2a31f897

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

.#{$select-ns}-wrapper.plugin-remove_button{
	.item {
		display: inline-flex;
		align-items: center;
	}

	.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, 5%);
	}

	&.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 {
		padding-right:	0 !important;
	}

	.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 {
		padding-left:	0 !important;
	}
	
	.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

1 entries across 1 versions & 1 rubygems

Version Path
tom-select-rails-2.3.1 vendor/assets/stylesheets/tom-select-rails/scss/plugins/remove_button.scss