fleet/frontend/components/EnrollSecrets/EnrollSecretTable/EnrollSecretRow/_styles.scss
Jacob Shandling cad4ccadfd
UI - fix position of Copied! in enroll secrets table (#16280)
<img width="786" alt="Screenshot 2024-01-23 at 5 25 51 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/944b4ef6-e059-4e68-bef9-4f23b454f488">

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-01-23 18:33:09 +00:00

60 lines
1,018 B
SCSS

.enroll-secrets {
&__secret {
display: flex;
align-items: center;
}
.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;
}
&--password {
letter-spacing: 4px;
}
}
}
&__copy-message {
background-color: $ui-light-grey;
border: solid 1px #e2e4ea;
border-radius: 10px;
padding: 2px 6px;
}
.buttons {
display: flex;
align-items: center;
position: absolute;
right: 4px;
top: 18px;
height: 16px;
span {
font-weight: $regular;
}
}
&__show-secret-icon,
&__copy-secret-icon,
&__edit-secret-icon,
&__delete-secret-icon {
padding: 0 $pad-small;
margin-left: $pad-xsmall;
}
}