162 lines
2.5 KiB
SCSS
162 lines
2.5 KiB
SCSS
:host {
|
|
display: block;
|
|
margin-bottom: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
.input-control {
|
|
position: relative;
|
|
}
|
|
|
|
.input-search-icon,
|
|
.input-user-icon {
|
|
position: absolute;
|
|
right: 1rem;
|
|
top: 50%;
|
|
z-index: 1;
|
|
color: #a0a0a0;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.form-control {
|
|
min-height: 40px;
|
|
padding: 0.625rem 1rem;
|
|
border-radius: 5px;
|
|
border-color: var(--border-color);
|
|
color: #666666;
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 1;
|
|
}
|
|
|
|
&::placeholder {
|
|
color: #666666;
|
|
}
|
|
}
|
|
|
|
.input-with-search-icon {
|
|
padding-right: 2.5rem;
|
|
}
|
|
|
|
.input-with-action-icon {
|
|
padding-right: 2.5rem;
|
|
}
|
|
|
|
input[type='file'].form-control {
|
|
padding-right: 1rem;
|
|
color: transparent;
|
|
|
|
&::file-selector-button {
|
|
height: 2.25rem;
|
|
margin-right: 1rem;
|
|
padding: 0 1rem;
|
|
border: 0;
|
|
border-radius: 0.375rem;
|
|
background-color: var(--bs-secondary-bg);
|
|
color: #212529;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.input-control-file {
|
|
.form-control {
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.input-file-name {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 11.5rem;
|
|
right: 1rem;
|
|
color: #495057;
|
|
font-size: 0.875rem;
|
|
line-height: 1.4;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.input-file-name-empty {
|
|
color: #6c757d;
|
|
}
|
|
|
|
.input-control-currency {
|
|
.input-prefix {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: 50%;
|
|
z-index: 1;
|
|
color: #495057;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-with-prefix {
|
|
padding-left: 2rem;
|
|
}
|
|
}
|
|
|
|
.input-control-editable,
|
|
.input-control-password-toggle {
|
|
.input-icon {
|
|
position: absolute;
|
|
right: 0.875rem;
|
|
top: 50%;
|
|
z-index: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #a0a0a0;
|
|
transform: translateY(-50%);
|
|
cursor: pointer;
|
|
transition: color 0.2s ease;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.input-icon-active {
|
|
color: #a0a0a0;
|
|
|
|
&:hover {
|
|
color: #8a8a8a;
|
|
}
|
|
}
|
|
|
|
.input-with-icon {
|
|
padding-right: 2.5rem;
|
|
}
|
|
}
|
|
|
|
.input-control-percent {
|
|
.input-suffix {
|
|
position: absolute;
|
|
right: 1rem;
|
|
top: 50%;
|
|
z-index: 1;
|
|
color: #a0a0a0;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-with-suffix {
|
|
padding-right: 2rem;
|
|
}
|
|
}
|