diff --git a/src/definitions/modules/dropdown.less b/src/definitions/modules/dropdown.less index ee81f3dd4..4e8ce57f5 100755 --- a/src/definitions/modules/dropdown.less +++ b/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 diff --git a/src/themes/default/modules/dropdown.variables b/src/themes/default/modules/dropdown.variables index 4c947e1b2..8653fb6b7 100755 --- a/src/themes/default/modules/dropdown.variables +++ b/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 --------------------*/