Browse Source

Add styling for clear icon

pull/6579/merge
Jack 6 years ago
parent
commit
a4688f101c
2 changed files with 17 additions and 1 deletions
  1. 12
      src/definitions/modules/dropdown.less
  2. 6
      src/themes/default/modules/dropdown.variables

12
src/definitions/modules/dropdown.less

@ -925,6 +925,18 @@ select.ui.dropdown {
}
/*--------------------
Clear
----------------------*/
.ui.dropdown > .clear.dropdown.icon {
opacity: @clearableIconOpacity;
transition: opacity @defaultDuration @defaultEasing;
}
.ui.dropdown > .clear.dropdown.icon:hover {
opacity: @clearableIconActiveOpacity;
}
/*--------------------
Disabled

6
src/themes/default/modules/dropdown.variables

@ -211,7 +211,7 @@
@selectionActiveHoverMenuBoxShadow: @selectionVisibleMenuBoxShadow;
@selectionVisibleConnectingBorder: 0em;
@selectionVisibleIconOpacity: 1;
@selectionVisibleIconOpacity: '';
/*--------------
Search
@ -309,6 +309,10 @@
@errorItemHoverBackground: #FFF2F2;
@errorItemActiveBackground: #FDCFCF;
/* Clearable */
@clearableIconOpacity: 0.8;
@clearableIconActiveOpacity: 1;
/*-------------------
Variations
--------------------*/

Loading…
Cancel
Save