From 1d4a92ec0e984e6b1b6921335e94554217957f8a Mon Sep 17 00:00:00 2001 From: Allen Rabinovich Date: Fri, 22 Nov 2013 11:50:39 -0800 Subject: [PATCH] Layout fixes for settings page (imported from commit 5bb99ee33b22625ad4101daf08ae36118d190b8f) --- static/styles/zulip.css | 29 +++++++++++++++++++++++++++++ templates/zerver/settings.html | 23 +++++++++-------------- 2 files changed, 38 insertions(+), 14 deletions(-) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 9474c389d6..e97d15cb53 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -1964,6 +1964,23 @@ table.floating_recipient { line-height: 38px; } +.settings-section .loading_indicator_text { + font-size: 12px; + font-weight: 400; + vertical-align: middle; + line-height: 20px; + display: inline-block; + float: none; +} + +.settings-section .loading_indicator_spinner { + width: 12px; + height: 12px; + vertical-align: middle; + display: inline-block; +} + + .message_inline_image { margin-bottom: 5px; margin-left: 5px; @@ -2841,6 +2858,10 @@ div.edit_bot { margin-right: 20px; } +.upload_avatar_spinner { + font-size: 14px; +} + .edit_bot_avatar_clear_button, #user_avatar_clear_button, #bot_avatar_clear_button { @@ -2958,6 +2979,14 @@ div.edit_bot { position: relative; } +#settings #notify-settings-status { + width: 80%; + text-align: center; + margin: auto; + margin-top: 10px; + margin-bottom: 10px; +} + #settings .settings-section .account-settings-form, #settings .settings-section .new-bot-form, #settings .settings-section .edit-bot-form-box { diff --git a/templates/zerver/settings.html b/templates/zerver/settings.html index 66cf54c146..83d7119c89 100644 --- a/templates/zerver/settings.html +++ b/templates/zerver/settings.html @@ -67,17 +67,6 @@ {% endif %} - -
-
- -
-
- - - -
@@ -88,24 +77,30 @@

+
-
+
+
+ +
+
+ -
-
{% csrf_token %}
Notifications
+