fleet/frontend/pages/UserSettingsPage/_styles.scss
2021-06-06 18:56:30 -07:00

141 lines
2.2 KiB
SCSS

.user-settings {
display: flex;
align-items: stretch;
h1 {
margin: 0 0 $pad-xlarge;
}
h2 {
font-size: $x-small;
font-weight: $bold;
}
&__manage {
flex-grow: 1;
min-width: 542px;
}
&__additional {
width: 350px;
max-width: 350px;
min-width: 350px;
box-sizing: border-box;
padding: $pad-xlarge;
background-color: $ui-light-grey;
min-height: 100vh;
}
&__change-avatar {
position: relative;
padding: 0 0 20px;
a {
display: block;
color: $core-vibrant-blue;
text-align: center;
position: relative;
z-index: 1;
text-decoration: none;
font-size: $x-small;
margin-top: $pad-xsmall;
}
}
&__header {
font-size: $x-small;
font-weight: $bold;
margin: $pad-large 0 $pad-xsmall;
}
&__description {
font-size: $x-small;
font-style: italic;
margin: $pad-xsmall 0;
}
&__avatar {
@include size(120px);
border: solid 1px $ui-fleet-blue-15;
margin: 0 auto;
display: block;
}
&__more-info-detail {
color: $core-fleet-black;
.fleeticon {
color: $ui-gray;
font-size: 18px;
margin-right: 11px;
}
}
&__button {
width: 100%;
}
&__last-updated {
font-size: $x-small;
font-style: italic;
margin: 4px 0 $pad-large;
}
&__reveal-secret {
float: right;
text-decoration: none;
}
&__secret-label {
font-size: $x-small;
font-weight: $bold;
margin: 0 0 $pad-xsmall;
a {
color: $core-vibrant-blue;
}
}
&__secret-wrapper {
position: relative;
}
&__button-wrap {
display: flex;
justify-content: flex-end;
}
&__secret-copy-icon {
position: absolute;
top: 8px;
right: 10px;
font-size: 18px;
color: $core-vibrant-blue;
&:active {
top: 8px;
}
}
&__secret-input {
input {
border-radius: 2px;
background-color: $ui-off-white;
border-color: $ui-fleet-blue-15;
padding-right: 36px;
font-family: "SourceCodePro", $monospace;
&[type="password"] {
letter-spacing: 3px;
}
}
}
&__version {
font-size: $xx-small;
text-align: center;
display: block;
margin-top: $pad-xxlarge;
}
}