+
+.has-feedback.has-clear {
+ position: relative;
+
+ input {
+ padding-right: 1.5rem !important;
+ }
+
+ .form-control-clear {
+ color: rgba(0, 0, 0, 0.4);
+ /*
+ * Enable pointer events as they have been disabled since Bootstrap 3.3
+ * See https://github.com/twbs/bootstrap/pull/14104
+ */
+ pointer-events: all;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ position: absolute;
+ right: .5rem;
+ height: 95%;
+
+ &:hover {
+ color: rgba(0, 0, 0, 0.7);
+ cursor: pointer;
+ }
+ }
+
+ input:placeholder-shown + .form-control-clear {
+ display: none;
+ }
+}