diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-19 12:47:49 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-19 12:47:49 +0300 |
commit | df39ba9deca0514d4b752bd3e914092e4636f43d (patch) | |
tree | f44998f54f880124844f23d0c69400c4d5bb4208 /app/assets/stylesheets/framework/blocks.scss | |
parent | 13547860482fe918b0534a7dcd4dfc549b9fee17 (diff) | |
parent | 7c85ebf6dc9c083d53642cbe2b6a5276c6b95aa6 (diff) |
Merge branch 'user-page-new-ui' into 'master'
Implement new UI for user page. Part 1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
See merge request !1615
Diffstat (limited to 'app/assets/stylesheets/framework/blocks.scss')
-rw-r--r-- | app/assets/stylesheets/framework/blocks.scss | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/blocks.scss b/app/assets/stylesheets/framework/blocks.scss index 32d219d4d60..5949a0fd5ad 100644 --- a/app/assets/stylesheets/framework/blocks.scss +++ b/app/assets/stylesheets/framework/blocks.scss @@ -65,3 +65,48 @@ line-height: 42px; } } + +.cover-block { + text-align: center; + background: #f7f8fa; + margin: -$gl-padding; + margin-bottom: 0; + padding: 44px $gl-padding; + border-bottom: 1px solid $border-color; + position: relative; + + .avatar-holder { + margin-bottom: 16px; + + .avatar, .identicon { + margin: 0 auto; + float: none; + } + + .identicon { + @include border-radius(50%); + } + } + + .cover-title { + color: $gl-header-color; + margin: 0; + font-size: 23px; + font-weight: normal; + margin: 16px 0 5px 0; + color: #4c4e54; + font-size: 23px; + line-height: 1.1; + } + + .cover-desc { + padding: 0 $gl-padding; + color: $gl-text-color; + } + + .cover-controls { + position: absolute; + top: 10px; + right: 10px; + } +} |