fleet/frontend/components/SecretField/_styles.scss

98 lines
1.5 KiB
SCSS

.secret-field {
&__secret-input {
.form-field__label {
position: relative;
font-size: $x-small;
font-weight: $bold;
margin-top: $pad-small;
width: 100%;
}
.input-field {
width: 100%;
padding-right: 16%;
&--disabled {
letter-spacing: 0;
}
&--password {
letter-spacing: 4px;
}
}
}
&__secret-copy-icon {
color: $core-vibrant-blue;
margin-left: $pad-small;
margin-right: $pad-small;
}
.copy-message {
position: absolute;
right: 44px;
background-color: $ui-light-grey;
border: solid 1px #e2e4ea;
border-radius: 10px;
padding: 2px 6px;
}
.buttons {
display: flex;
align-items: center;
position: absolute;
right: 16px;
top: 12px;
height: 16px;
span {
font-weight: $regular;
}
a {
display: flex;
align-items: center;
}
img {
width: 16px;
height: 16px;
}
}
&__secret-download-icon {
display: block;
font-size: $x-small;
color: $core-vibrant-blue;
font-weight: $bold;
a {
display: flex;
align-items: center;
}
img {
width: 12px;
height: 12px;
margin-left: 7px;
}
}
&--multiple-secrets {
.form-field__label {
margin-top: 0;
}
.enroll-secrets__secret-download-icon {
margin-bottom: $pad-medium;
}
}
&__edit-secret-btn {
margin: $pad-small $pad-small $pad-xsmall $pad-large;
}
&__delete-secret-btn {
margin: $pad-small 0 $pad-xsmall;
}
}