Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Remove font-size CSS for type selectors.
Sahil Batra55c9d7f64f63
diff --git a/web/styles/app_components.css b/web/styles/app_components.cssindex 6b0d9bc2218..079f294de4f 100644--- a/web/styles/app_components.css+++ b/web/styles/app_components.css@@ -270,6 +270,7 @@ input.settings_text_input {opacity: 0.4;display: grid;border: none;+ font-size: inherit;&:hover {opacity: 1;@@ -993,6 +994,7 @@ div.overlay .flex.overlay-content > .overlay-container,color: var(--color-text-default);width: var(--width-dropdown-widget-button);font-family: inherit;+ font-size: inherit;&:disabled {cursor: not-allowed;@@ -1246,6 +1248,7 @@ div.overlay .flex.overlay-content > .overlay-container,border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;font-family: inherit;+ font-size: inherit;&:hover {color: var(--color-dropdown-item);@@ -1327,6 +1330,7 @@ input.invalid-input {vertical-align: unset;justify-content: center;margin: 0;+ font-size: inherit;&:hover:not(:disabled) {background-color: var(diff --git a/web/styles/compose.css b/web/styles/compose.cssindex 61947263283..ecdb219604a 100644--- a/web/styles/compose.css+++ b/web/styles/compose.css@@ -419,6 +419,7 @@opacity 0.4s ease-in,color 0.1s ease-in,background-color 0.1s ease-in;+ font-size: inherit;&:hover {background-color: var(--color-composebox-button-background-hover);@@ -551,6 +552,7 @@opacity: 0;pointer-events: none;transition: opacity 0.2s;+ font-size: inherit;&:focus {outline: 0;@@ -760,6 +762,7 @@margin-top: 4.5px;margin-bottom: 4.5px;font-family: inherit;+ font-size: inherit;/* Buttons take a minimum height forwhen their text fits on a singleline. 2.1333em is 32px at 15px/1em. */@@ -1416,6 +1419,7 @@ textarea.new_message_textarea {button over top of the vdotsbackground */z-index: 1;+ font-size: inherit;@media (width < $sm_min), ((width >= $sm_min) and (width < $mc_min)) {/* Drop to a square button,@@ -1475,6 +1479,7 @@ textarea.new_message_textarea {accent-color: hsl(217deg 100% 60%);grid-area: radio-button;align-self: center;+ font-size: inherit;&:focus {outline: 1px dotted hsl(0deg 0% 20%);@@ -1572,6 +1577,7 @@ textarea.new_message_textarea {padding: 6px;margin: 1px;color: var(--color-compose-embedded-button-text-color);+ font-size: inherit;.zulip-icon {display: block;@@ -1853,6 +1859,7 @@ textarea.new_message_textarea {this is needed to keep the vdotsbackground beneath the send button. */z-index: 0;+ font-size: inherit;&:focus-visible {/* Use a border, not an outline, to preserve thediff --git a/web/styles/message_row.css b/web/styles/message_row.cssindex 57ba769db8f..e214188a4a7 100644--- a/web/styles/message_row.css+++ b/web/styles/message_row.css@@ -328,6 +328,7 @@overflow-wrap: normal;font-variant: all-small-caps;font-family: inherit;+ font-size: inherit;&:hover {background-color: var(@@ -836,6 +837,7 @@border: 0;line-height: 1;font-family: inherit;+ font-size: inherit;&:focus {outline: none;diff --git a/web/styles/modal.css b/web/styles/modal.cssindex f491d8bd132..02a889be3a2 100644--- a/web/styles/modal.css+++ b/web/styles/modal.css@@ -818,6 +818,7 @@cursor: pointer;background-color: hsl(0deg 0% 100%);max-width: 100%;+ font-size: inherit;&:disabled {cursor: not-allowed;diff --git a/web/styles/recent_view.css b/web/styles/recent_view.cssindex f338c2e782d..5ae57a7282b 100644--- a/web/styles/recent_view.css+++ b/web/styles/recent_view.css@@ -190,6 +190,7 @@display: flex;align-items: center;font-family: inherit;+ font-size: inherit;&:hover {background-color: var(--color-background-zulip-button-hover);diff --git a/web/styles/search.css b/web/styles/search.cssindex 5206f7987bb..5b44116bddb 100644--- a/web/styles/search.css+++ b/web/styles/search.css@@ -48,6 +48,7 @@color: var(--color-search-icons);padding: 0;outline: none;+ font-size: inherit;&:hover {opacity: 1;diff --git a/web/styles/settings.css b/web/styles/settings.cssindex f2b4c94d8ce..3fd9e77c941 100644--- a/web/styles/settings.css+++ b/web/styles/settings.css@@ -361,6 +361,7 @@ h3,border: 1px solid hsl(0deg 0% 80%);cursor: pointer;background-color: hsl(0deg 0% 100%);+ font-size: inherit;&:disabled {cursor: not-allowed;@@ -2257,6 +2258,7 @@ label.preferences-radio-choice-label {border: none;outline: none;display: grid;+ font-size: inherit;&:hover {color: var(--color-text-clear-search-button-hover);diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.cssindex 51f8c482311..8e9ad81a7c6 100644--- a/web/styles/subscriptions.css+++ b/web/styles/subscriptions.css@@ -84,6 +84,7 @@display: flex;align-items: center;justify-content: center;+ font-size: inherit;&:hover {border: 1px solid hsl(0deg 0% 47%);@@ -616,6 +617,7 @@ h4.user_group_setting_subsection_title {display: block;margin: 0 auto 10px;font-family: inherit;+ font-size: inherit;}.main-view-banner.group_deactivated {diff --git a/web/styles/widgets.css b/web/styles/widgets.cssindex 6ca2ba06fcb..f568cc9bfca 100644--- a/web/styles/widgets.css+++ b/web/styles/widgets.css@@ -16,6 +16,7 @@font-weight: 700;color: hsl(240deg 100% 50%);font-family: inherit;+ font-size: inherit;}.widget-choices-heading {@@ -233,6 +234,7 @@ button {padding-left: 14px;padding-right: 14px;font-family: inherit;+ font-size: inherit;&:hover,&:focus {@@ -286,6 +288,7 @@ input {border-radius: 3px;border: 1px solid var(--color-border-zulip-button);background-color: var(--color-background-zulip-button);+ font-size: inherit;&:hover {border-color: var(--color-border-zulip-button-interactive);diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex 956f6361f46..9105a0b2c4d 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -130,14 +130,6 @@ button {}}-input,-button,-select {- /* Disable bootstrap size CSS; we want to use our default font size on- body for input elements. */- font-size: inherit;-}-blockquote p {font-weight: normal;}