diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-12 20:47:22 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-12 20:47:22 +0100 |
commit | 34413615683677e26213263fb98f63b5aab64872 (patch) | |
tree | 7e682e8709ecfd5347316ea39240789548795606 /app/assets/stylesheets | |
parent | 1aa477ac2f0e9195497899691bb5cc16a7034c01 (diff) |
Adding simple_form, adding profile settings, header image
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/accounts.scss | 22 | ||||
-rw-r--r-- | app/assets/stylesheets/settings.scss | 3 |
2 files changed, 24 insertions, 1 deletions
diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss index d659cbcb3..1f4987527 100644 --- a/app/assets/stylesheets/accounts.scss +++ b/app/assets/stylesheets/accounts.scss @@ -1,10 +1,24 @@ .card { - background: $primary-color image-url('background-photo.jpeg'); + background: #282c37; background-size: cover; padding: 60px 0; padding-bottom: 10px; border-radius: 4px 4px 0 0; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); + overflow: hidden; + position: relative; + + &:after { + background: rgba(0, 0, 0, 0.5); + display: block; + content: ""; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 1; + } .name { display: block; @@ -13,6 +27,8 @@ color: #fff; font-weight: 500; text-align: center; + position: relative; + z-index: 2; small { display: block; @@ -26,6 +42,8 @@ width: 120px; margin: 0 auto; margin-bottom: 15px; + position: relative; + z-index: 2; img { width: 120px; @@ -38,6 +56,8 @@ .details { display: flex; margin-top: 30px; + position: relative; + z-index: 2; } .counter { diff --git a/app/assets/stylesheets/settings.scss b/app/assets/stylesheets/settings.scss new file mode 100644 index 000000000..fbe669080 --- /dev/null +++ b/app/assets/stylesheets/settings.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the settings controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ |