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

426 lines
6.2 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 {
@media (min-width: $screen-sm-min) {
float: left;
margin-bottom: 0;
}
}
.avatar-file-name {
position: relative;
top: 2px;
display: inline-block;
}
.account-btn-link,
.profile-settings-sidebar a,
.settings-sidebar a {
color: $md-link-color;
}
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 {
2017-08-17 22:00:37 +05:30
&::after {
2016-06-02 11:05:42 +05:30
content: "\00B7"; // Middle Dot
padding: 0 6px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2015-11-26 14:37:03 +05:30
}
&:last-child {
2017-08-17 22:00:37 +05:30
&::after {
2015-11-26 14:37:03 +05:30
content: "";
padding: 0;
}
}
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;
padding: 0 16px;
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 {
@media (min-width: $screen-sm-min) {
float: left;
}
}
2015-11-26 14:37:03 +05:30
2016-06-02 11:05:42 +05:30
.description {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.key-created-at {
line-height: 42px;
}
.profile-settings-content {
2015-11-26 14:37:03 +05:30
a {
2016-06-02 11:05:42 +05:30
color: $md-link-color;
}
}
.provider-btn-group {
display: inline-block;
margin-right: 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;
}
}
.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;
&.not-active {
color: $provider-btn-not-active-color;
}
}
.oauth-applications {
form {
display: inline-block;
}
.last-heading {
width: 105px;
}
}
.modal-profile-crop {
.modal-dialog {
width: 380px;
2017-08-17 22:00:37 +05:30
@media (max-width: $screen-xs-max) {
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 {
#created-personal-access-token {
width: 90%;
display: inline;
}
.btn-clipboard {
margin-left: 5px;
}
}
2016-11-03 12:29:30 +05:30
2017-08-17 22:00:37 +05:30
.user-profile {
2016-11-03 12:29:30 +05:30
.cover-controls a {
margin-left: 5px;
}
.profile-header {
margin: 0 auto;
.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;
}
@media (max-width: $screen-xs-max) {
2016-06-02 11:05:42 +05:30
.cover-block {
padding-top: 20px;
}
.cover-controls {
position: static;
2016-11-03 12:29:30 +05:30
padding: 0 16px;
2016-06-02 11:05:42 +05:30
margin-bottom: 20px;
2016-11-03 12:29:30 +05:30
display: -webkit-flex;
display: flex;
2016-06-02 11:05:42 +05:30
.btn {
2016-11-03 12:29:30 +05:30
-webkit-flex-grow: 1;
flex-grow: 1;
&:first-child {
margin-left: 0;
}
2016-06-02 11:05:42 +05:30
}
}
2017-08-17 22:00:37 +05:30
.user-profile-nav {
a {
margin-right: 0;
}
}
2015-11-26 14:37:03 +05:30
}
}
2016-09-13 17:45:13 +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
}
.oauth-application-show {
.scope-name {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2017-08-17 22:00:37 +05:30
}
.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 {
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;
2017-08-17 22:00:37 +05:30
.close {
position: absolute;
2017-09-10 17:25:29 +05:30
top: 20px;
2017-08-17 22:00:37 +05:30
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;
}
2017-09-10 17:25:29 +05:30
&.convdev {
margin: 0 0 0 30px;
svg {
height: 127px;
}
}
2017-08-17 22:00:37 +05:30
}
.user-callout-copy {
display: inline-block;
vertical-align: top;
2017-09-10 17:25:29 +05:30
max-width: 570px;
2017-08-17 22:00:37 +05:30
}
}
@media(max-width: $screen-xs-max) {
text-align: center;
.bordered-box {
display: block;
}
.landing {
.svg-container,
.user-callout-copy {
2017-09-10 17:25:29 +05:30
margin: 0 auto;
2017-08-17 22:00:37 +05:30
display: block;
svg {
height: 75px;
}
2017-09-10 17:25:29 +05:30
&.convdev {
margin: $gl-padding auto 0;
svg {
height: 120px;
}
}
2017-08-17 22:00:37 +05:30
}
}
}
}
2017-09-10 17:25:29 +05:30
.nav-wip {
border: 1px solid $blue-500;
2018-03-17 18:26:18 +05:30
background: $blue-50;
2017-09-10 17:25:29 +05:30
padding: $gl-padding;
margin-bottom: $gl-padding;
a {
color: $blue-500;
}
p:last-child {
margin-bottom: 0;
}
}
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;
}
.label-verification-status {
border-width: 1px;
border-style: solid;
&.verified {
@include green-status-color;
}
&.unverified {
@include status-color($gray-dark, $gray, $common-gray-dark);
}
}
}