From 83b16827501cb581c43d541baf6bb94081f47b4a Mon Sep 17 00:00:00 2001 From: Pablo Cuadrado <pablocuadrado@gmail.com> Date: Fri, 11 Jul 2014 11:45:51 -0300 Subject: [PATCH] removed border in tags, checkboxes centered inside the well classes --- app/assets/stylesheets/new_styles/_settings.scss | 9 +++++++++ app/views/profiles/_edit.haml | 7 ++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/new_styles/_settings.scss b/app/assets/stylesheets/new_styles/_settings.scss index 6f056d7918..1b3c53ab91 100644 --- a/app/assets/stylesheets/new_styles/_settings.scss +++ b/app/assets/stylesheets/new_styles/_settings.scss @@ -1,4 +1,13 @@ /* Specific styles for the settings pages (profile, user account, privacy, services) */ #inner_account_delete { width: 700px; +} + +.as-selections #tags { + border: none; + box-shadow: none; +} + +.enclosed-checkbox label { + margin-bottom: 0; } \ No newline at end of file diff --git a/app/views/profiles/_edit.haml b/app/views/profiles/_edit.haml index 4eb439a9f2..e8d71d505c 100644 --- a/app/views/profiles/_edit.haml +++ b/app/views/profiles/_edit.haml @@ -42,7 +42,7 @@ %h4 = t('search') - .well + .well.enclosed-checkbox = label_tag 'profile[searchable]', :class => "checkbox" do = check_box_tag 'profile[searchable]', true, profile.searchable = t('profiles.edit.allow_search') @@ -51,8 +51,9 @@ %h4 = t('nsfw') - = t('profiles.edit.nsfw_explanation') - .well + %p + = t('profiles.edit.nsfw_explanation') + .well.enclosed-checkbox = label_tag 'profile[nsfw]', :class => "checkbox" do = check_box_tag 'profile[nsfw]', true, profile.nsfw? = t('profiles.edit.nsfw_check') -- GitLab