fleet/frontend/components/forms/fields/InputFieldHiddenContent/_styles.scss
Gabriel Hernandez a9daca1b4d
fix to disk encryption modal input icons (#16780)
relates to #16747

this fixes the icons on the disk encryption view key modal.

<img width="663" alt="image"
src="https://github.com/fleetdm/fleet/assets/1153709/c7ed36b4-9115-4f07-b174-949cf0b03367">


- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-02-13 15:59:32 +00:00

51 lines
911 B
SCSS

.input-field-hidden-content {
display: flex;
align-items: center;
&__secret-input {
.form-field__label {
position: relative;
font-size: $x-small;
font-weight: $bold;
margin-bottom: 0;
// TODO: figure out width when pulling out to common component
height: 0;
min-height: 0;
}
.input-field {
padding-right: 16%;
&--disabled {
letter-spacing: 0;
}
&--password {
letter-spacing: 4px;
}
}
}
&__action-overlay {
display: flex;
justify-content: flex-end;
align-items: center;
position: relative;
width: 0;
left: -16px;
}
&__input-buttons {
display: flex;
align-items: center;
gap: 12px;
padding-left: 10px;
}
&__copy-message {
background-color: $ui-light-grey;
border: solid 1px #e2e4ea;
border-radius: 10px;
padding: 2px 6px;
}
}