395 lines
5.7 KiB
SCSS
395 lines
5.7 KiB
SCSS
.avatar-image {
|
|
margin-bottom: $grid-size;
|
|
|
|
.avatar {
|
|
float: none;
|
|
}
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
float: left;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.avatar-file-name {
|
|
position: relative;
|
|
top: 2px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.account-well {
|
|
padding: 10px;
|
|
background-color: $gray-light;
|
|
border: 1px solid $border-color;
|
|
border-radius: $border-radius-base;
|
|
|
|
ul {
|
|
padding-left: 20px;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
// Middle dot divider between each element in a list of items.
|
|
.middle-dot-divider {
|
|
@include middle-dot-divider;
|
|
}
|
|
|
|
.middle-dot-divider-sm {
|
|
@include media-breakpoint-up(sm) {
|
|
@include middle-dot-divider;
|
|
}
|
|
}
|
|
|
|
.profile-user-bio {
|
|
// Limits the width of the user bio for readability.
|
|
max-width: 600px;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
.user-avatar-button {
|
|
.file-name {
|
|
display: inline-block;
|
|
padding-left: 10px;
|
|
}
|
|
}
|
|
|
|
.subkeys-list {
|
|
@include basic-list;
|
|
|
|
li {
|
|
padding: 3px 0;
|
|
border: 0;
|
|
}
|
|
}
|
|
|
|
.key-list-item {
|
|
.key-list-item-info {
|
|
@include media-breakpoint-up(sm) {
|
|
float: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ssh-keys-list {
|
|
.last-used-at,
|
|
.expires,
|
|
.key-created-at {
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
|
|
.key-created-at {
|
|
line-height: 42px;
|
|
}
|
|
|
|
.provider-btn-group {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
margin-bottom: 10px;
|
|
border: 1px solid $border-color;
|
|
border-radius: 3px;
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.social-provider-btn-image {
|
|
> img {
|
|
width: 16px;
|
|
vertical-align: inherit;
|
|
}
|
|
}
|
|
|
|
.provider-btn-image {
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
border-right: 1px solid $border-color;
|
|
|
|
> img {
|
|
width: 20px;
|
|
}
|
|
}
|
|
|
|
.provider-btn {
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
margin-left: -3px;
|
|
line-height: 22px;
|
|
background-color: $gray-light;
|
|
}
|
|
|
|
.oauth-applications {
|
|
form {
|
|
display: inline-block;
|
|
}
|
|
|
|
.last-heading {
|
|
width: 105px;
|
|
}
|
|
}
|
|
|
|
.modal-profile-crop {
|
|
.modal-dialog {
|
|
width: 380px;
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.profile-crop-image-container {
|
|
height: 300px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.crop-controls {
|
|
padding: 10px 0 0;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.created-personal-access-token-container {
|
|
.btn-clipboard {
|
|
border: 1px solid $border-color;
|
|
}
|
|
}
|
|
|
|
.user-profile {
|
|
.profile-header {
|
|
margin: 0 $gl-padding;
|
|
|
|
&.with-no-profile-tabs {
|
|
margin-bottom: $gl-padding-24;
|
|
}
|
|
|
|
.avatar-holder {
|
|
width: 90px;
|
|
margin: 0 auto 10px;
|
|
}
|
|
}
|
|
|
|
.user-profile-nav {
|
|
font-size: 0;
|
|
}
|
|
|
|
.fade-right {
|
|
right: 0;
|
|
}
|
|
|
|
.fade-left {
|
|
left: 0;
|
|
}
|
|
|
|
.activities-block {
|
|
.event-item {
|
|
padding-left: 40px;
|
|
}
|
|
|
|
.gl-label-scoped {
|
|
--label-inset-border: inset 0 0 0 1px currentColor;
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.projects-block {
|
|
@include media-breakpoint-up(lg) {
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
.cover-block {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.user-profile-nav {
|
|
a {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.activities-block {
|
|
.event-item {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
table.u2f-registrations {
|
|
th:not(:last-child),
|
|
td:not(:last-child) {
|
|
border-right: solid 1px transparent;
|
|
}
|
|
}
|
|
|
|
.codes {
|
|
padding-top: 14px;
|
|
}
|
|
|
|
.oauth-application-show {
|
|
.scopes-list {
|
|
padding-left: 18px;
|
|
}
|
|
}
|
|
|
|
.user-callout {
|
|
margin: 20px -5px 0;
|
|
|
|
.bordered-box {
|
|
padding: 32px;
|
|
border: 1px solid $blue-300;
|
|
border-radius: $border-radius-default;
|
|
background-color: $blue-50;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.landing {
|
|
padding: 32px;
|
|
}
|
|
|
|
.close {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
opacity: 1;
|
|
|
|
.dismiss-icon {
|
|
float: right;
|
|
cursor: pointer;
|
|
color: $blue-300;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
border: 0;
|
|
|
|
.dismiss-icon {
|
|
color: $blue-400;
|
|
}
|
|
}
|
|
}
|
|
|
|
.svg-container {
|
|
margin-right: 30px;
|
|
display: inline-block;
|
|
|
|
svg {
|
|
height: 110px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
&.convdev {
|
|
margin: 0 0 0 30px;
|
|
|
|
svg {
|
|
height: 127px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-callout-copy {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
max-width: 570px;
|
|
}
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
text-align: center;
|
|
|
|
.bordered-box {
|
|
display: block;
|
|
}
|
|
|
|
.svg-container,
|
|
.user-callout-copy {
|
|
margin: 0 auto;
|
|
display: block;
|
|
|
|
svg {
|
|
height: 75px;
|
|
}
|
|
|
|
&.convdev {
|
|
margin: $gl-padding auto 0;
|
|
|
|
svg {
|
|
height: 120px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.email-badge {
|
|
display: inline;
|
|
margin-right: $gl-padding / 2;
|
|
|
|
.email-badge-email {
|
|
display: inline;
|
|
margin-right: $gl-padding / 4;
|
|
}
|
|
}
|
|
|
|
.edit-user {
|
|
svg {
|
|
fill: $gl-text-color-secondary;
|
|
}
|
|
|
|
.form-group > label {
|
|
font-weight: $gl-font-weight-bold;
|
|
}
|
|
|
|
.form-group > .form-text {
|
|
font-size: $gl-font-size;
|
|
}
|
|
|
|
.emoji-menu-toggle-button {
|
|
@include emoji-menu-toggle-button;
|
|
padding: 6px 10px;
|
|
|
|
.no-emoji-placeholder {
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
.input-md,
|
|
.input-lg {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.help-block {
|
|
color: $gl-text-color-secondary;
|
|
}
|
|
|
|
.gitlab-slack-gif {
|
|
width: 100%;
|
|
max-width: $add-to-slack-gif-max-width;
|
|
}
|
|
|
|
.gitlab-slack-well {
|
|
background-color: $white;
|
|
box-shadow: none;
|
|
max-width: $add-to-slack-well-max-width;
|
|
}
|
|
|
|
.gitlab-slack-logo {
|
|
width: $add-to-slack-logo-size;
|
|
height: $add-to-slack-logo-size;
|
|
}
|
|
|
|
.gitlab-slack-popup {
|
|
width: 100%;
|
|
max-width: $add-to-slack-popup-max-width;
|
|
}
|