2020-02-16 18:30:00 +00:00
|
|
|
.ft-input-component {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-06-01 08:44:46 +00:00
|
|
|
.ft-input-component.showClearTextButton {
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ft-input-component.clearTextButtonVisible,
|
|
|
|
.ft-input-component.showClearTextButton:focus-within {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearTextButtonVisible .ft-input,
|
|
|
|
.ft-input-component.showClearTextButton:focus-within .ft-input {
|
|
|
|
padding-left: 46px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ft-input-component:focus-within .clearInputTextButton {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearTextButtonVisible .clearInputTextButton.visible,
|
|
|
|
.ft-input-component:focus-within .clearInputTextButton.visible {
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2021-10-20 13:14:49 +00:00
|
|
|
.disabled label, .disabled .ft-input{
|
|
|
|
opacity: 0.4;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2021-09-06 10:09:11 +00:00
|
|
|
.clearInputTextButton {
|
|
|
|
position: absolute;
|
2022-06-01 08:44:46 +00:00
|
|
|
margin: 0 3px;
|
|
|
|
padding: 10px;
|
2021-09-06 10:09:11 +00:00
|
|
|
top: 5px;
|
|
|
|
left: 0;
|
2022-06-01 08:44:46 +00:00
|
|
|
border-radius: 100%;
|
2021-09-06 10:09:11 +00:00
|
|
|
color: var(--primary-text-color);
|
2021-09-23 06:45:14 +00:00
|
|
|
opacity: 0;
|
2022-06-01 08:44:46 +00:00
|
|
|
-moz-transition: background 0.2s ease-in;
|
|
|
|
-o-transition: background 0.2s ease-in;
|
|
|
|
transition: background 0.2s ease-in;
|
2021-09-06 10:09:11 +00:00
|
|
|
}
|
|
|
|
|
2022-06-01 08:44:46 +00:00
|
|
|
.clearInputTextButton.visible:hover {
|
2021-09-06 10:09:11 +00:00
|
|
|
background-color: var(--side-nav-hover-color);
|
2021-09-23 06:45:14 +00:00
|
|
|
}
|
2021-09-06 10:09:11 +00:00
|
|
|
|
|
|
|
.forceTextColor .clearInputTextButton:hover {
|
|
|
|
background-color: var(--primary-color-hover);
|
|
|
|
}
|
|
|
|
|
2022-06-01 08:44:46 +00:00
|
|
|
.clearInputTextButton.visible:active {
|
2021-09-06 10:09:11 +00:00
|
|
|
background-color: var(--tertiary-text-color);
|
|
|
|
-moz-transition: background 0.2s ease-in;
|
|
|
|
-o-transition: background 0.2s ease-in;
|
|
|
|
transition: background 0.2s ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search .clearInputTextButton {
|
|
|
|
top: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.forceTextColor .clearInputTextButton {
|
|
|
|
color: #EEEEEE;
|
|
|
|
}
|
|
|
|
|
|
|
|
.forceTextColor .clearInputTextButton:active {
|
|
|
|
background-color: var(--primary-color-active);
|
|
|
|
}
|
|
|
|
|
2020-02-16 18:30:00 +00:00
|
|
|
.ft-input {
|
2022-06-01 08:44:46 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
outline: none;
|
|
|
|
width: 100%;
|
|
|
|
padding: 1rem;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-size: 16px;
|
|
|
|
height: 45px;
|
|
|
|
color: var(--secondary-text-color);
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: var(--search-bar-color);
|
2020-02-16 18:30:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ft-input-component ::-webkit-input-placeholder {
|
2020-03-24 14:33:53 +00:00
|
|
|
color: var(--tertiary-text-color);
|
2020-02-16 18:30:00 +00:00
|
|
|
}
|
|
|
|
|
2020-06-02 02:42:29 +00:00
|
|
|
.forceTextColor .ft-input {
|
2020-09-16 02:07:54 +00:00
|
|
|
color: #EEEEEE;
|
2020-06-04 01:15:29 +00:00
|
|
|
background-color: var(--primary-input-color);
|
2020-03-01 03:37:02 +00:00
|
|
|
}
|
|
|
|
|
2020-06-04 01:18:31 +00:00
|
|
|
.forceTextColor .ft-input:focus {
|
|
|
|
box-shadow: 0 0 1rem 0 var(--primary-input-color);
|
|
|
|
-moz-transition: box-shadow 0.2s ease-in-out;
|
|
|
|
-o-transition: box-shadow 0.2s ease-in-out;
|
|
|
|
transition: box-shadow 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2020-06-02 02:42:29 +00:00
|
|
|
.forceTextColor ::-webkit-input-placeholder {
|
2020-09-16 02:07:54 +00:00
|
|
|
color: #EEEEEE;
|
2020-03-01 03:37:02 +00:00
|
|
|
}
|
|
|
|
|
2020-02-16 18:30:00 +00:00
|
|
|
.inputAction {
|
|
|
|
position: absolute;
|
2022-06-01 08:44:46 +00:00
|
|
|
margin: 0 3px;
|
|
|
|
padding: 10px;
|
2020-06-02 02:42:29 +00:00
|
|
|
top: 5px;
|
2021-10-01 07:38:33 +00:00
|
|
|
right: 0;
|
2022-06-01 08:44:46 +00:00
|
|
|
border-radius: 100%;
|
2020-02-16 18:30:00 +00:00
|
|
|
color: var(--primary-text-color);
|
2021-10-01 07:38:33 +00:00
|
|
|
/* this should look disabled by default */
|
|
|
|
opacity: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inputAction.enabled {
|
|
|
|
opacity: 100%;
|
|
|
|
/* Only look respond to cursor when enabled */
|
|
|
|
cursor: pointer;
|
2020-02-16 18:30:00 +00:00
|
|
|
}
|
|
|
|
|
2020-06-02 02:42:29 +00:00
|
|
|
.search ::-webkit-calendar-picker-indicator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-03-01 03:37:02 +00:00
|
|
|
.search .inputAction {
|
2020-06-02 02:42:29 +00:00
|
|
|
top: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.forceTextColor .inputAction {
|
2020-09-16 02:07:54 +00:00
|
|
|
color: #EEEEEE;
|
2020-03-01 03:37:02 +00:00
|
|
|
}
|
|
|
|
|
2021-10-01 07:38:33 +00:00
|
|
|
.ft-input-component.showActionButton .ft-input {
|
2021-09-06 10:09:11 +00:00
|
|
|
/*
|
|
|
|
With arrow present means
|
|
|
|
the text might get under the arrow with normal padding
|
|
|
|
*/
|
2022-06-01 08:44:46 +00:00
|
|
|
padding-right: calc(36px + 6px);
|
2021-09-06 10:09:11 +00:00
|
|
|
}
|
|
|
|
|
2021-10-01 07:38:33 +00:00
|
|
|
.inputAction.enabled:hover {
|
2020-02-16 18:30:00 +00:00
|
|
|
background-color: var(--side-nav-hover-color);
|
|
|
|
-moz-transition: background 0.2s ease-in;
|
|
|
|
-o-transition: background 0.2s ease-in;
|
|
|
|
transition: background 0.2s ease-in;
|
|
|
|
}
|
|
|
|
|
2021-10-01 07:38:33 +00:00
|
|
|
.forceTextColor .inputAction.enabled:hover {
|
2020-03-01 03:37:02 +00:00
|
|
|
background-color: var(--primary-color-hover);
|
|
|
|
}
|
|
|
|
|
2021-10-01 07:38:33 +00:00
|
|
|
.inputAction.enabled:active {
|
2020-03-24 14:33:53 +00:00
|
|
|
background-color: var(--tertiary-text-color);
|
2020-02-16 18:30:00 +00:00
|
|
|
-moz-transition: background 0.2s ease-in;
|
|
|
|
-o-transition: background 0.2s ease-in;
|
|
|
|
transition: background 0.2s ease-in;
|
|
|
|
}
|
2020-03-01 03:37:02 +00:00
|
|
|
|
2021-10-01 07:38:33 +00:00
|
|
|
.forceTextColor .inputAction.enabled:active {
|
2020-03-01 03:37:02 +00:00
|
|
|
background-color: var(--primary-color-active);
|
|
|
|
}
|
2020-12-11 18:14:11 +00:00
|
|
|
|
|
|
|
.list {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px 0;
|
2021-02-15 15:44:09 +00:00
|
|
|
z-index: 10;
|
2020-12-11 18:14:11 +00:00
|
|
|
border-radius: 0 0 5px 5px;
|
2022-01-08 06:00:49 +00:00
|
|
|
word-wrap: break-word;
|
2021-09-23 06:48:40 +00:00
|
|
|
box-shadow: 0 0 10px var(--scrollbar-color-hover);
|
|
|
|
background-color: var(--search-bar-color);
|
2020-12-11 18:14:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.list li {
|
|
|
|
display: block;
|
|
|
|
padding: 0px 15px;
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hover {
|
2021-09-23 06:48:40 +00:00
|
|
|
background-color: var(--scrollbar-color-hover);
|
2020-12-11 18:14:11 +00:00
|
|
|
/* color: white; */
|
2021-02-15 15:44:09 +00:00
|
|
|
}
|