-
Notifications
You must be signed in to change notification settings - Fork 84
Update the appearance of the logo #963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: new-design
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,22 +30,46 @@ body.users.update { | |
| font-weight: $m-font-weight-bold; | ||
| } | ||
|
|
||
| @include logo-container; | ||
| .logo-image-container { | ||
| margin-top: -50%; | ||
| height: 250px; | ||
| } | ||
|
|
||
| .logo-user { | ||
| height: 250px; | ||
| width: 250px; | ||
| float: none; | ||
| margin-top: -35%; | ||
| display: inline-block; | ||
| border: 1px solid $m-logo-border; | ||
| border-radius: 50%; | ||
| border: 10px solid $m-logo-border;//espessura da borda | ||
|
||
| margin: 0 auto; | ||
|
|
||
| &.logo-initials { | ||
| padding: 90px 0; | ||
| font-size: 80px; | ||
| } | ||
| } | ||
|
|
||
| .logo-image-controls { | ||
| height: 250px; | ||
| width: 250px; | ||
| background: rgba(10, 23, 55, 0.5); | ||
| border-radius: 50%; | ||
| position: absolute; | ||
| left: 0; | ||
| top: 0; | ||
| right: 0; | ||
| margin: 0 auto; | ||
| border: 10px solid $m-logo-border; | ||
| } | ||
|
|
||
| .logo-image-text { | ||
| color: white; | ||
| margin-top: 30%; | ||
|
||
| img { | ||
| height: 85px; | ||
| width: 110px; | ||
| } | ||
| } | ||
|
|
||
| .dropdown-toggle { | ||
| background: none; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,12 @@ | |
| #content-strip.container-fluid | ||
| .dropdown | ||
| .dropdown-toggle{ data: { toggle: 'dropdown' } } | ||
| = logo_image(@user, class: "logo-user") | ||
| .logo-image-container | ||
| = logo_image(@user, class: "logo-user") | ||
| .logo-image-controls | ||
| .logo-image-text | ||
| =image_tag("cam-edit-user-avatar.png") | ||
|
|
||
| %ul.dropdown-menu.dropdown-menu-right | ||
| %li= upload_logo_controls(@user) | ||
| %li= link_to t('.remove_picture'), remove_logo_user_path(@user), method: "post" | ||
|
|
@@ -25,6 +30,7 @@ | |
| = p.input :description, as: :text | ||
| = p.input :url | ||
|
|
||
|
|
||
|
||
| %h3= t('.address') | ||
| = f.simple_fields_for :profile do |p| | ||
| .form-group.select.optional.user_profile_country | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to a 'px' value. Note that the number will change too.