debian-mirror-gitlab/app/assets/stylesheets/pages/profile.scss

385 lines
5.4 KiB
SCSS
Raw Normal View History

2016-06-02 11:05:42 +05:30
.avatar-image {
2021-09-04 01:27:46 +05:30
margin-bottom: $grid-size;
.avatar {
float: none;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-06-02 11:05:42 +05:30
float: left;
margin-bottom: 0;
}
}
.avatar-file-name {
position: relative;
top: 2px;
display: inline-block;
}
.account-well {
padding: 10px;
2017-08-17 22:00:37 +05:30
background-color: $gray-light;
border: 1px solid $border-color;
2016-06-02 11:05:42 +05:30
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 {
2020-04-08 14:13:33 +05:30
@include middle-dot-divider;
}
2015-11-26 14:37:03 +05:30
2020-04-08 14:13:33 +05:30
.middle-dot-divider-sm {
@include media-breakpoint-up(sm) {
@include middle-dot-divider;
2015-11-26 14:37:03 +05:30
}
2016-06-02 11:05:42 +05:30
}
.profile-user-bio {
// Limits the width of the user bio for readability.
2016-11-03 12:29:30 +05:30
max-width: 600px;
margin: 10px auto;
2016-06-02 11:05:42 +05:30
}
.user-avatar-button {
.file-name {
display: inline-block;
padding-left: 10px;
}
}
2018-03-17 18:26:18 +05:30
.subkeys-list {
@include basic-list;
li {
padding: 3px 0;
border: 0;
}
}
2016-06-02 11:05:42 +05:30
.key-list-item {
.key-list-item-info {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-06-02 11:05:42 +05:30
float: left;
}
}
}
2020-04-08 14:13:33 +05:30
.ssh-keys-list {
.last-used-at,
.expires,
.key-created-at {
line-height: 32px;
}
}
2016-06-02 11:05:42 +05:30
.key-created-at {
line-height: 42px;
}
.provider-btn-group {
display: inline-block;
margin-right: 10px;
2019-02-15 15:39:39 +05:30
margin-bottom: 10px;
2017-08-17 22:00:37 +05:30
border: 1px solid $border-color;
2016-06-02 11:05:42 +05:30
border-radius: 3px;
&:last-child {
margin-right: 0;
2019-02-15 15:39:39 +05:30
margin-bottom: 0;
2016-06-02 11:05:42 +05:30
}
}
2021-03-11 19:13:27 +05:30
.social-provider-btn-image {
> img {
width: 16px;
vertical-align: inherit;
}
}
2016-06-02 11:05:42 +05:30
.provider-btn-image {
display: inline-block;
padding: 5px 10px;
2017-08-17 22:00:37 +05:30
border-right: 1px solid $border-color;
2016-06-02 11:05:42 +05:30
> 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;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2016-06-02 11:05:42 +05:30
width: auto;
}
}
.profile-crop-image-container {
height: 300px;
margin: 0 auto;
}
.crop-controls {
padding: 10px 0 0;
text-align: center;
}
}
2016-06-22 15:30:34 +05:30
.created-personal-access-token-container {
.btn-clipboard {
2018-05-09 12:01:36 +05:30
border: 1px solid $border-color;
2016-06-22 15:30:34 +05:30
}
}
2017-08-17 22:00:37 +05:30
.user-profile {
2016-11-03 12:29:30 +05:30
.profile-header {
2019-02-15 15:39:39 +05:30
margin: 0 $gl-padding;
&.with-no-profile-tabs {
margin-bottom: $gl-padding-24;
}
2016-11-03 12:29:30 +05:30
.avatar-holder {
width: 90px;
margin: 0 auto 10px;
}
}
2017-08-17 22:00:37 +05:30
.user-profile-nav {
font-size: 0;
}
.fade-right {
right: 0;
}
2016-11-03 12:29:30 +05:30
2017-08-17 22:00:37 +05:30
.fade-left {
left: 0;
}
2018-12-13 13:39:08 +05:30
.activities-block {
.event-item {
padding-left: 40px;
}
2019-03-02 22:35:43 +05:30
2021-01-03 14:25:43 +05:30
.gl-label-scoped {
--label-inset-border: inset 0 0 0 1px currentColor;
}
2019-03-02 22:35:43 +05:30
@include media-breakpoint-up(lg) {
margin-right: 5px;
}
}
.projects-block {
@include media-breakpoint-up(lg) {
margin-left: 5px;
}
2018-12-13 13:39:08 +05:30
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2016-06-02 11:05:42 +05:30
.cover-block {
padding-top: 20px;
}
2017-08-17 22:00:37 +05:30
.user-profile-nav {
a {
margin-right: 0;
}
}
2018-12-13 13:39:08 +05:30
.activities-block {
.event-item {
padding-left: 0;
}
}
2015-11-26 14:37:03 +05:30
}
}
2016-09-13 17:45:13 +05:30
2021-11-18 22:05:49 +05:30
table.u2f-registrations {
2017-08-17 22:00:37 +05:30
th:not(:last-child),
td:not(:last-child) {
2016-09-13 17:45:13 +05:30
border-right: solid 1px transparent;
}
2017-08-17 22:00:37 +05:30
}
2018-12-05 23:21:45 +05:30
.codes {
padding-top: 14px;
}
2017-08-17 22:00:37 +05:30
.oauth-application-show {
.scopes-list {
padding-left: 18px;
}
}
.user-callout {
2017-09-10 17:25:29 +05:30
margin: 20px -5px 0;
2017-08-17 22:00:37 +05:30
.bordered-box {
2019-07-07 11:18:12 +05:30
padding: 32px;
2017-08-17 22:00:37 +05:30
border: 1px solid $blue-300;
border-radius: $border-radius-default;
2018-03-17 18:26:18 +05:30
background-color: $blue-50;
2017-08-17 22:00:37 +05:30
position: relative;
display: flex;
justify-content: center;
2017-09-10 17:25:29 +05:30
align-items: center;
2017-08-17 22:00:37 +05:30
}
.landing {
2017-09-10 17:25:29 +05:30
padding: 32px;
2020-01-01 13:55:28 +05:30
}
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
.close {
position: absolute;
top: 20px;
right: 20px;
opacity: 1;
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
.dismiss-icon {
float: right;
cursor: pointer;
color: $blue-300;
}
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
&:hover {
background-color: transparent;
border: 0;
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
.dismiss-icon {
color: $blue-400;
2017-08-17 22:00:37 +05:30
}
}
2020-01-01 13:55:28 +05:30
}
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
.svg-container {
margin-right: 30px;
display: inline-block;
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
svg {
height: 110px;
vertical-align: top;
}
2017-09-10 17:25:29 +05:30
2020-01-01 13:55:28 +05:30
&.convdev {
margin: 0 0 0 30px;
2017-09-10 17:25:29 +05:30
2020-01-01 13:55:28 +05:30
svg {
height: 127px;
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
}
2020-01-01 13:55:28 +05:30
}
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
.user-callout-copy {
display: inline-block;
vertical-align: top;
max-width: 570px;
2017-08-17 22:00:37 +05:30
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-08-17 22:00:37 +05:30
text-align: center;
.bordered-box {
display: block;
}
2020-01-01 13:55:28 +05:30
.svg-container,
.user-callout-copy {
margin: 0 auto;
display: block;
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
svg {
height: 75px;
}
2017-09-10 17:25:29 +05:30
2020-01-01 13:55:28 +05:30
&.convdev {
margin: $gl-padding auto 0;
2017-09-10 17:25:29 +05:30
2020-01-01 13:55:28 +05:30
svg {
height: 120px;
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
}
}
}
}
2017-09-10 17:25:29 +05:30
2018-11-18 11:00:15 +05:30
.edit-user {
2020-01-01 13:55:28 +05:30
svg {
fill: $gl-text-color-secondary;
2018-11-18 11:00:15 +05:30
}
2019-07-07 11:18:12 +05:30
.form-group > label {
font-weight: $gl-font-weight-bold;
}
.form-group > .form-text {
font-size: $gl-font-size;
}
2018-11-18 11:00:15 +05:30
.emoji-menu-toggle-button {
2018-12-05 23:21:45 +05:30
@include emoji-menu-toggle-button;
2019-07-07 11:18:12 +05:30
padding: 6px 10px;
2018-11-18 11:00:15 +05:30
.no-emoji-placeholder {
position: relative;
}
}
2019-02-15 15:39:39 +05:30
@include media-breakpoint-down(sm) {
.input-md,
.input-lg {
max-width: 100%;
}
}
}
.help-block {
color: $gl-text-color-secondary;
2018-11-18 11:00:15 +05:30
}
2019-07-07 11:18:12 +05:30
2022-03-02 08:16:31 +05:30
.gitlab-slack-body {
max-width: 420px;
2019-07-07 11:18:12 +05:30
}
2022-03-02 08:16:31 +05:30
.gitlab-slack-slack-logo {
transform: scale(200%); // Slack logo SVG is scaled down 50% and has empty space around it
2019-07-07 11:18:12 +05:30
}
2022-03-02 08:16:31 +05:30
.skype-icon {
color: $skype;
2019-07-07 11:18:12 +05:30
}
2022-03-02 08:16:31 +05:30
.linkedin-icon {
color: $linkedin;
}
.twitter-icon {
color: $twitter;
2019-07-07 11:18:12 +05:30
}