Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings CSS: Remove unwanted CSS in `settings.scss`.

jagansivam2891642477339d
diff --git a/static/styles/image_upload_widget.scss b/static/styles/image_upload_widget.scss
index 430e81a17aa..6e259cf799a 100644
--- a/static/styles/image_upload_widget.scss
+++ b/static/styles/image_upload_widget.scss
@@ -163,6 +163,10 @@
/* SCSS related to settings page realm icon upload widget only */
#realm-icon-upload-widget {
+ width: 100px;
+ height: 100px;
+ border-radius: 5px;
+ box-shadow: 0px 0px 10px hsla(0, 0%, 0%, 0.1);
.settings-page-delete-text {
top: 40px;
diff --git a/static/styles/settings.scss b/static/styles/settings.scss
index b3b241d3e7f..d7dcde40ff9 100644
--- a/static/styles/settings.scss
+++ b/static/styles/settings.scss
@@ -332,29 +332,6 @@ td .button {
display: inline-block;
}
- .realm-icon-section {
- .loading_indicator_text,
- .loading_indicator_text {
- font-size: 14px;
- font-weight: 400;
- vertical-align: middle;
- line-height: 20px;
- display: inline-block;
- float: none;
- margin-top: 0px;
- margin-left: -12px;
- }
-
- .loading_indicator_spinner,
- .loading_indicator_spinner {
- width: 10%;
- height: 16px;
- margin-top: 2px;
- vertical-align: middle;
- display: inline-block;
- }
- }
-
#default_language {
text-decoration: none;
}
@@ -587,17 +564,6 @@ input[type=checkbox] {
margin-left: 20px;
}
-#realm-icon-section {
- border-radius: 5px;
- box-shadow: 0px 0px 10px hsla(0, 0%, 0%, 0.1);
- z-index: 99;
-}
-
-.realm-icon-section .avatar-icon-logo-settings {
- width: 100px;
- height: 100px;
-}
-
.remove-attachment {
margin-right: 5px !important;
font-size: 1.1em !important;
@@ -1016,12 +982,6 @@ input[type=checkbox] {
width: 70%;
}
-#upload_avatar_spinner,
-.upload-logo-spinner {
- font-size: 14px;
- margin: auto;
-}
-
.bot_name_header {
width: 8em;
}
@@ -1115,21 +1075,6 @@ input[type=checkbox] {
font-size: 1.2em;
}
-#realm-icon-block {
- border-radius: 5px;
- box-shadow: 0px 0px 10px hsla(0, 0%, 0%, 0.1);
- width: 100px;
- height: 100px;
-}
-
-.realm-logo-img {
- box-shadow: 0px 0px 10px hsla(0, 0%, 0%, 0.2);
- /* We allow actual images up to 800x100 in the main display, but the
- settings UI looks bad beyond ~500px, so we limit the width here */
- height: 55px;
- max-width: 500px;
-}
-
.invite-user-link i {
text-decoration: none;
margin-right: 5px;
@@ -1808,11 +1753,6 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker {
.subsection-failed-status p {
margin: 5px 0 0 0;
}
-
- .realm-logo-img {
- max-width: 400px;
- height: 50px;
- }
}
// This value needs to match with the same in subscriptions.scss, as