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

463 lines
6.8 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.profile-avatar-form-option {
hr {
margin: 10px 0;
}
}
2016-06-02 11:05:42 +05:30
.avatar-image {
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;
}
2017-08-17 22:00:37 +05:30
.private-tokens-reset div.reset-action:not(:first-child) {
padding-top: 15px;
}
2015-04-26 12:48:37 +05:30
.oauth-buttons {
.btn-group {
margin-right: 10px;
}
.btn {
2015-09-11 14:41:01 +05:30
line-height: 40px;
height: 42px;
2016-06-02 11:05:42 +05:30
padding: 0 12px;
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
img {
width: 32px;
height: 32px;
}
2014-09-02 18:07:02 +05:30
}
}
2015-09-11 14:41:01 +05:30
// Profile > Account > Two Factor Authentication
.two-factor-new {
.manual-instructions {
h3 {
margin-top: 0;
}
// Slightly increase the size of the details so they're easier to read
dl {
font-size: 1.1em;
}
}
}
2015-11-26 14:37:03 +05:30
2016-06-02 11:05:42 +05:30
.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;
}
}
2015-11-26 14:37:03 +05:30
.profile-link-holder {
display: inline;
2018-03-17 18:26:18 +05:30
a:not(.text-link) {
2016-06-02 11:05:42 +05:30
text-decoration: none;
}
}
// 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
}
}
.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
.personal-access-tokens-never-expires-label {
2017-08-17 22:00:37 +05:30
color: $note-disabled-comment-color;
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
@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
2020-11-24 15:15:51 +05:30
table.u2f-registrations,
.webauthn-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-03-17 18:26:18 +05:30
.email-badge {
2017-09-10 17:25:29 +05:30
display: inline;
margin-right: $gl-padding / 2;
2018-03-17 18:26:18 +05:30
.email-badge-email {
2017-09-10 17:25:29 +05:30
display: inline;
margin-right: $gl-padding / 4;
}
2018-11-08 19:23:39 +05:30
.badge-verification-status {
2017-09-10 17:25:29 +05:30
border-width: 1px;
border-style: solid;
&.verified {
@include green-status-color;
}
&.unverified {
2018-12-05 23:21:45 +05:30
@include status-color($gray-dark, color('gray'), $common-gray-dark);
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
.gitlab-slack-gif {
width: 100%;
max-width: $add-to-slack-gif-max-width;
}
.gitlab-slack-well {
2020-04-22 19:07:51 +05:30
background-color: $white;
2019-07-07 11:18:12 +05:30
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;
}
.gitlab-slack-right-arrow svg {
fill: $white-dark;
width: $right-arrow-size;
height: $right-arrow-size;
vertical-align: text-bottom;
}
.gitlab-slack-double-headed-arrow {
vertical-align: text-top;
svg {
fill: $gray-darker;
width: $double-headed-arrow-width;
height: $double-headed-arrow-height;
}
}