mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
113 lines
2.0 KiB
SCSS
113 lines
2.0 KiB
SCSS
.enroll-secrets {
|
|
max-height: 10em;
|
|
overflow: auto;
|
|
|
|
&__secret-input {
|
|
.form-field__label {
|
|
position: relative;
|
|
font-size: $x-small;
|
|
font-weight: $bold;
|
|
margin-top: $pad-small;
|
|
}
|
|
|
|
.input-field {
|
|
&--disabled {
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
&--password {
|
|
letter-spacing: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__secret-copy-icon {
|
|
color: $core-vibrant-blue;
|
|
margin-right: $pad-medium;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
position: absolute;
|
|
right: 16px;
|
|
transform: translateY(100%);
|
|
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 {
|
|
&:before {
|
|
content: "";
|
|
position: sticky;
|
|
display: block;
|
|
z-index: 1;
|
|
top: -2px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 17px;
|
|
// We explicityly use rgba(255,255,255,0) because it's equivalent to transparent for most broswers except Safari.
|
|
background-image: linear-gradient(
|
|
to bottom,
|
|
$core-white,
|
|
rgba(255, 255, 255, 0)
|
|
);
|
|
}
|
|
|
|
&:after {
|
|
content: "";
|
|
position: sticky;
|
|
display: block;
|
|
bottom: -1px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 17px;
|
|
// We explicityly use rgba(255,255,255,0) because it's equivalent to transparent for most broswers except Safari.
|
|
background-image: linear-gradient(
|
|
to bottom,
|
|
rgba(255, 255, 255, 0),
|
|
$core-white
|
|
);
|
|
}
|
|
|
|
.form-field__label {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.enroll-secrets__secret-download-icon {
|
|
margin-bottom: $pad-medium;
|
|
}
|
|
}
|
|
}
|