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.

css: Fix theme switch changing color of elements at different intervals.

Aman Agrawal80d19fe15d19
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 6c02f31e805..62815a7f2c3 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -115,7 +115,6 @@ input::placeholder {
box-shadow: none;
cursor: pointer;
- transition: all 0.2s ease;
/* -- button style variations -- */
&.no-style {
diff --git a/web/styles/compose.css b/web/styles/compose.css
index e2a3cf4e734..79844bfd85b 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -35,7 +35,6 @@
);
border: 1px solid
var(--color-compose-collapsed-reply-button-area-border);
- transition: all 0.2s ease;
&:hover,
&:focus {
@@ -77,8 +76,6 @@
margin: 1px;
flex-shrink: 0;
- transition: background-color 0.2s ease;
-
color: var(--color-compose-embedded-button-text-color);
&:hover {
@@ -111,7 +108,6 @@
/* Main geometry for this element is in zulip.css */
#compose-content {
background-color: hsl(232deg 30% 92%);
- transition: background-color 200ms linear;
padding: 4px 4px 8px;
border: 1px solid hsl(0deg 0% 0% / 10%);
border-radius: 9px 9px 0 0;
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 4272ecefe50..1749e2d8be9 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -28,7 +28,6 @@ body {
font-family: "Source Sans 3 VF", sans-serif;
color: var(--color-text-default);
background-color: var(--color-background);
- transition: background-color 200ms linear;
/* Implementation for fluid layout width setting. */
.header-main,