mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-06 09:34:13 +01:00
N°8772 - Form dependencies manager implementation
- Form SDK implementation - Basic Forms - Dynamics Forms - Basic Blocks + Data Model Block - Form Compilation - Turbo integration
This commit is contained in:
33
node_modules/tom-select/src/plugins/clear_button/plugin.scss
generated
vendored
Normal file
33
node_modules/tom-select/src/plugins/clear_button/plugin.scss
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
/* stylelint-disable function-name-case */
|
||||
|
||||
.plugin-clear_button {
|
||||
--ts-pr-clear-button: 1em;
|
||||
|
||||
.clear-button{
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: calc(#{$select-padding-x} - #{$select-padding-item-x});
|
||||
margin-right: 0 !important;
|
||||
background: transparent !important;
|
||||
transition: opacity 0.5s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&.form-select .clear-button,
|
||||
&.single .clear-button {
|
||||
|
||||
@if variable-exists(select-padding-dropdown-item-x) {
|
||||
right: Max(var(--ts-pr-caret), #{$select-padding-dropdown-item-x});
|
||||
}
|
||||
@else{
|
||||
right: Max(var(--ts-pr-caret), calc(#{$select-padding-x} - #{$select-padding-item-x}));
|
||||
}
|
||||
}
|
||||
|
||||
&.focus.has-items .clear-button,
|
||||
&:not(.disabled):hover.has-items .clear-button{
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user