summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/profile.scss
diff options
context:
space:
mode:
authortauriedavis <taurie@gitlab.com>2016-09-16 11:31:55 -0700
committertauriedavis <taurie@gitlab.com>2016-09-16 11:31:55 -0700
commit99c37390e982829a28bac6555aad331b9ca65aed (patch)
tree554b1aaa1e683b05fd5d5a4a984e7ae306ce9bab /app/assets/stylesheets/pages/profile.scss
parentfae8468deb990cdc8fd1dd2b45de13ba909ee785 (diff)
downloadgitlab-ce-99c37390e982829a28bac6555aad331b9ca65aed.tar.gz
clean up profileshrink-profile-info
Diffstat (limited to 'app/assets/stylesheets/pages/profile.scss')
-rw-r--r--app/assets/stylesheets/pages/profile.scss41
1 files changed, 37 insertions, 4 deletions
diff --git a/app/assets/stylesheets/pages/profile.scss b/app/assets/stylesheets/pages/profile.scss
index 6f58203f49c..0fcdaf94a21 100644
--- a/app/assets/stylesheets/pages/profile.scss
+++ b/app/assets/stylesheets/pages/profile.scss
@@ -93,8 +93,9 @@
.profile-user-bio {
// Limits the width of the user bio for readability.
- max-width: 750px;
- margin: auto;
+ max-width: 600px;
+ margin: 15px auto 0;
+ padding: 0 16px;
}
.user-avatar-button {
@@ -212,6 +213,28 @@
}
.user-profile {
+ .cover-controls a {
+ margin-left: 5px;
+ }
+ .profile-header {
+ margin: 0 auto;
+ .avatar-holder {
+ width: 90px;
+ display: inline-block;
+ }
+ .user-info {
+ display: inline-block;
+ text-align: left;
+ vertical-align: middle;
+ margin-left: 15px;
+ .handle {
+ color: $gl-gray-light;
+ }
+ .member-date {
+ margin-bottom: 4px;
+ }
+ }
+ }
@media (max-width: $screen-xs-max) {
.cover-block {
padding-top: 20px;
@@ -219,16 +242,26 @@
.cover-controls {
position: static;
+ padding: 0 16px;
margin-bottom: 20px;
+ display: -webkit-flex;
+ display: flex;
.btn {
- display: inline-block;
- width: 46%;
+ -webkit-flex-grow: 1;
+ flex-grow: 1;
+ &:first-child {
+ margin-left: 0;
+ }
}
}
}
}
+.user-profile-nav {
+ margin-top: 15px;
+}
+
table.u2f-registrations {
th:not(:last-child), td:not(:last-child) {
border-right: solid 1px transparent;