gitlab-org--gitlab-foss/app/assets/stylesheets/pages/profile.scss

259 lines
3.8 KiB
SCSS
Raw Normal View History

2016-02-29 08:39:29 -05:00
.profile-avatar-form-option {
hr {
margin: 10px 0;
2013-10-10 03:30:07 -04:00
}
}
2016-02-29 06:37:27 -05:00
.avatar-image {
@media (min-width: $screen-sm-min) {
float: left;
margin-bottom: 0;
}
}
.avatar-file-name {
position: relative;
top: 2px;
display: inline-block;
}
2016-02-29 10:36:56 -05:00
.account-btn-link,
.profile-settings-sidebar a,
.settings-sidebar a {
2016-03-04 04:03:50 -05:00
color: $md-link-color;
2016-02-29 10:36:56 -05:00
}
.oauth-buttons {
.btn-group {
margin-right: 10px;
}
.btn {
line-height: 40px;
height: 42px;
padding: 0 12px;
img {
width: 32px;
height: 32px;
}
}
}
// 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;
}
}
}
2016-02-29 10:06:22 -05:00
.account-well {
padding: 10px;
2016-03-03 03:40:57 -05:00
background-color: $help-well-bg;
border: 1px solid $help-well-border;
border-radius: $border-radius-base;
2016-02-29 10:06:22 -05:00
ul {
padding-left: 20px;
margin-bottom: 0;
}
}
.profile-link-holder {
display: inline;
a {
color: $blue-dark;
text-decoration: none;
}
}
// Middle dot divider between each element in a list of items.
.middle-dot-divider {
&:after {
content: "\00B7"; // Middle Dot
padding: 0 6px;
font-weight: bold;
}
&:last-child {
&:after {
content: "";
padding: 0;
}
}
}
.profile-user-bio {
// Limits the width of the user bio for readability.
2016-09-16 14:31:55 -04:00
max-width: 600px;
2016-10-06 13:20:44 -04:00
margin: 10px auto;
2016-09-16 14:31:55 -04:00
padding: 0 16px;
}
2016-02-29 06:37:27 -05:00
.user-avatar-button {
.file-name {
display: inline-block;
padding-left: 10px;
}
}
2016-03-03 03:47:44 -05:00
.key-list-item {
.key-list-item-info {
@media (min-width: $screen-sm-min) {
float: left;
}
}
.description {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
2016-02-29 12:19:00 -05:00
.key-created-at {
line-height: 42px;
}
.profile-settings-content {
a {
2016-03-04 04:03:50 -05:00
color: $md-link-color;
}
}
2016-02-29 08:39:29 -05:00
.provider-btn-group {
display: inline-block;
margin-right: 10px;
border: 1px solid $provider-btn-group-border;
2016-02-29 08:39:29 -05:00
border-radius: 3px;
&:last-child {
margin-right: 0;
}
}
.provider-btn-image {
display: inline-block;
padding: 5px 10px;
border-right: 1px solid $provider-btn-group-border;
2016-02-29 08:39:29 -05:00
> 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;
2016-02-29 08:39:29 -05:00
}
}
.oauth-applications {
form {
display: inline-block;
}
2016-03-03 03:38:56 -05:00
.last-heading {
width: 105px;
}
}
2016-03-17 10:48:47 -04:00
.modal-profile-crop {
.modal-dialog {
width: 380px;
2016-03-17 12:34:31 -04:00
@media (max-width: $screen-sm-min) {
width: auto;
}
2016-03-17 10:48:47 -04:00
}
.profile-crop-image-container {
2016-03-17 12:34:31 -04:00
height: 300px;
2016-03-17 10:48:47 -04:00
margin: 0 auto;
}
.crop-controls {
2016-03-24 05:10:46 -04:00
padding: 10px 0 0;
2016-03-17 10:48:47 -04:00
text-align: center;
}
}
.personal-access-tokens-never-expires-label {
color: $personal-access-tokens-disabled-label-color;
}
.datepicker.personal-access-tokens-expires-at .ui-state-disabled span {
text-align: center;
}
.created-personal-access-token-container {
#created-personal-access-token {
width: 90%;
display: inline;
}
.btn-clipboard {
margin-left: 5px;
}
}
.user-profile {
2016-10-04 19:42:47 -04:00
2016-09-16 14:31:55 -04:00
.cover-controls a {
margin-left: 5px;
}
2016-10-04 19:42:47 -04:00
2016-09-16 14:31:55 -04:00
.profile-header {
margin: 0 auto;
2016-10-04 19:42:47 -04:00
2016-09-16 14:31:55 -04:00
.avatar-holder {
width: 90px;
2016-10-03 19:22:41 -04:00
margin: 0 auto 10px;
2016-09-16 14:31:55 -04:00
}
}
2016-10-04 19:42:47 -04:00
@media (max-width: $screen-xs-max) {
2016-10-04 19:42:47 -04:00
.cover-block {
padding-top: 20px;
}
.cover-controls {
position: static;
2016-09-16 14:31:55 -04:00
padding: 0 16px;
margin-bottom: 20px;
2016-09-16 14:31:55 -04:00
display: -webkit-flex;
display: flex;
.btn {
2016-09-16 14:31:55 -04:00
-webkit-flex-grow: 1;
flex-grow: 1;
2016-09-16 14:31:55 -04:00
&:first-child {
margin-left: 0;
}
}
}
}
}
table.u2f-registrations {
th:not(:last-child), td:not(:last-child) {
border-right: solid 1px transparent;
}
}