fleet/frontend/components/EnrollSecrets/EnrollSecretTable/EnrollSecretRow/_styles.scss
2024-03-26 13:39:37 -05:00

63 lines
1.1 KiB
SCSS

.enroll-secrets {
&__secret {
display: flex;
align-items: center;
// this is doubled to make an 8px space due to presence of width:0 relatively-positioned 2nd flex child
gap: 4px;
.buttons {
display: flex;
align-items: center;
gap: 12px;
}
}
.form-field {
margin-bottom: 0;
width: 500px; // TODO: configurable from classname in reusable component
}
&__secret-input {
.form-field__label {
position: relative;
font-size: $x-small;
font-weight: $bold;
margin-bottom: 0;
height: 0;
min-height: 0;
}
.input-field {
&--disabled {
letter-spacing: 0;
padding-right: 66px; // Text box does not overlap with icons
}
&--password {
letter-spacing: 4px;
}
}
}
&__copy-message {
@include copy-message;
}
&__action-overlay {
display: flex;
justify-content: flex-end;
align-items: center;
position: relative;
width: 0;
left: -16px;
.buttons {
padding-left: 10px;
background-color: $ui-light-grey;
}
span {
font-weight: $regular;
}
}
}