fleet/frontend/pages/UserSettingsPage/_styles.scss

177 lines
2.8 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: 340px;
max-width: 340px;
min-width: 340px;
box-sizing: border-box;
padding: $pad-xxlarge;
background-color: $core-white;
min-height: 100vh;
border-left: solid 1px $ui-fleet-blue-15;
}
&__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 {
margin: 0 auto;
}
&__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;
}
&__confirm-update {
margin-bottom: $pad-medium;
}
&__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;
}
.buttons {
display: flex;
align-items: center;
position: absolute;
right: 16px;
transform: translateY(80%);
height: 16px;
span {
font-weight: $regular;
}
a {
display: flex;
align-items: center;
}
img {
width: 16px;
height: 16px;
}
}
&__secret-copy-icon {
color: $core-vibrant-blue;
margin-left: $pad-small;
}
&__secret-input {
input {
border-radius: 2px;
background-color: $ui-off-white;
border-color: $ui-fleet-blue-15;
padding-right: 90px;
font-family: "SourceCodePro", $monospace;
&[type="password"] {
letter-spacing: 3px;
}
}
}
&__version {
font-size: $xx-small;
text-align: center;
display: block;
margin-top: $pad-large;
}
&__privacy-policy {
text-align: center;
display: block;
margin-top: $pad-xlarge;
a {
font-size: $x-small;
color: $core-vibrant-blue;
font-weight: $bold;
text-decoration: none;
}
}
.grey-cell {
color: $ui-fleet-black-50;
font-style: italic;
}
}