mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
settings CSS: Remove unwanted CSS in settings.scss
.
When we extract common HTML template (`image_upload_widget.hbs` ) for user avatar, realm day/night logo and realm icon widget's lot of new CSS are created to match image_upload_widget.hbs and old CSS are preserved in `settings.scss`. This commit removes all unwanted or unused CSS in `settings.scss`.
This commit is contained in:
@@ -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;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user