mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
css: Move some styles out of zulip.scss.
settings_section belongs next to the rest of itself, and the loading indicator is clearly a common reused component.
This commit is contained in:
parent
0340ec8a0a
commit
deeed5c4c8
@ -410,3 +410,21 @@
|
||||
margin: 0px 5px;
|
||||
top: 9px;
|
||||
}
|
||||
|
||||
/* Standard loading indicators generated by the loading.js API */
|
||||
.loading_indicator_spinner {
|
||||
/* If you change these, make sure to adjust the constants in
|
||||
loading.make_indicator as well */
|
||||
height: 38px;
|
||||
width: 38px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.loading_indicator_text {
|
||||
/* If you change these, make sure to adjust the constants in
|
||||
loading.make_indicator as well */
|
||||
margin-left: 5px;
|
||||
font-size: 1.2em;
|
||||
font-weight: 300;
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
@ -362,6 +362,73 @@ td .button {
|
||||
.tip::before {
|
||||
content: "\f0a2";
|
||||
}
|
||||
|
||||
#admin_page_users_loading_indicator,
|
||||
#attachments_loading_indicator,
|
||||
#admin_page_deactivated_users_loading_indicator,
|
||||
#admin_page_bots_loading_indicator {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.loading_indicator_text {
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
vertical-align: middle;
|
||||
line-height: 20px;
|
||||
display: inline-block;
|
||||
float: none;
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
.loading_indicator_spinner {
|
||||
width: 30%;
|
||||
height: 30px;
|
||||
margin-top: 7px;
|
||||
vertical-align: middle;
|
||||
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;
|
||||
}
|
||||
|
||||
#default_language_modal {
|
||||
table {
|
||||
width: 90%;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-left: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
.inline {
|
||||
display: inline !important;
|
||||
}
|
||||
}
|
||||
|
||||
#admin-user-list,
|
||||
|
||||
@ -2006,92 +2006,6 @@ div.floating_recipient {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.loading_indicator_spinner {
|
||||
/* If you change these, make sure to adjust the constants in
|
||||
loading.make_indicator as well */
|
||||
height: 38px;
|
||||
width: 38px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.loading_indicator_text {
|
||||
/* If you change these, make sure to adjust the constants in
|
||||
loading.make_indicator as well */
|
||||
margin-left: 5px;
|
||||
font-size: 1.2em;
|
||||
font-weight: 300;
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
.settings-section {
|
||||
#admin_page_users_loading_indicator,
|
||||
#attachments_loading_indicator,
|
||||
#admin_page_deactivated_users_loading_indicator,
|
||||
#admin_page_bots_loading_indicator {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.loading_indicator_text {
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
vertical-align: middle;
|
||||
line-height: 20px;
|
||||
display: inline-block;
|
||||
float: none;
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
.loading_indicator_spinner {
|
||||
width: 30%;
|
||||
height: 30px;
|
||||
margin-top: 7px;
|
||||
vertical-align: middle;
|
||||
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;
|
||||
}
|
||||
|
||||
#default_language_modal {
|
||||
table {
|
||||
width: 90%;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-left: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
.inline {
|
||||
display: inline !important;
|
||||
}
|
||||
}
|
||||
|
||||
.operator_value {
|
||||
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
||||
color: hsl(353, 70%, 65%);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user