styles: Be specific about which properties are transitioned.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-10-23 12:41:16 -07:00 committed by Tim Abbott
parent 7878b80934
commit f023fa6fc0
25 changed files with 107 additions and 102 deletions

View File

@ -362,7 +362,8 @@ div.overlay {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transition: all 0.2s ease-in; transition: none 0.2s ease-in;
transition-property: opacity, visibility;
overflow: hidden; overflow: hidden;
.overlay-content { .overlay-content {
@ -669,7 +670,8 @@ input.settings_text_input {
.animated-purple-button { .animated-purple-button {
color: hsl(0deg 0% 100%); color: hsl(0deg 0% 100%);
transition: all 80ms linear; transition: none 80ms linear;
transition-property: background-color, box-shadow;
box-shadow: none; box-shadow: none;
/* This color just passes WCAG AA */ /* This color just passes WCAG AA */
background-color: hsl(240deg 96% 68%); background-color: hsl(240deg 96% 68%);
@ -716,10 +718,11 @@ input.settings_text_input {
.color-animated-button-text { .color-animated-button-text {
color: hsl(0deg 0% 100%); color: hsl(0deg 0% 100%);
transition: all 0.2s ease; transition: color 0.2s ease;
} }
transition: all 0.2s ease; transition: none 0.2s ease;
transition-property: background-color, color;
} }
.zulip-icon, .zulip-icon,
@ -1177,7 +1180,7 @@ input.settings_text_input {
color: hsl(0deg 0% 33%); color: hsl(0deg 0% 33%);
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
border-radius: 4px; border-radius: 4px;

View File

@ -240,7 +240,8 @@
color: var(--color-compose-chevron-arrow); color: var(--color-compose-chevron-arrow);
text-decoration: none; text-decoration: none;
cursor: default; cursor: default;
transition: all 0.2s ease-in-out; transition: none 0.2s ease-in-out;
transition-property: background, color;
&.narrow_to_compose_recipients { &.narrow_to_compose_recipients {
background: var( background: var(
@ -320,7 +321,7 @@
grid-template-areas: "message-content composebox-buttons"; grid-template-areas: "message-content composebox-buttons";
border-radius: 4px; border-radius: 4px;
border: 1px solid var(--color-message-content-container-border); border: 1px solid var(--color-message-content-container-border);
transition: border 0.2s ease; transition: border-color 0.2s ease;
&:has(.new_message_textarea:focus) { &:has(.new_message_textarea:focus) {
border-color: var(--color-message-content-container-border-focus); border-color: var(--color-message-content-container-border-focus);
@ -905,14 +906,14 @@ textarea.new_message_textarea {
flex: 1 1 0; flex: 1 1 0;
border: 1px solid hsl(0deg 0% 0% / 20%); border: 1px solid hsl(0deg 0% 0% / 20%);
border-radius: 3px; border-radius: 3px;
transition: border 0.2s ease; transition: border-color 0.2s ease;
background: hsl(0deg 0% 100%); background: hsl(0deg 0% 100%);
/* Give the recipient box, a `<div>`, the /* Give the recipient box, a `<div>`, the
correct styles when focus is in the correct styles when focus is in the
#stream_message_recipient_topic `<input>` */ #stream_message_recipient_topic `<input>` */
&:focus-within { &:focus-within {
border: 1px solid hsl(0deg 0% 67%); border-color: hsl(0deg 0% 67%);
} }
#stream_message_recipient_topic, #stream_message_recipient_topic,
@ -991,7 +992,7 @@ textarea.new_message_textarea {
background-color: var(--color-compose-send-button-background); background-color: var(--color-compose-send-button-background);
&:active { &:active {
transition: all 80ms; transition: transform 80ms;
transform: scale(0.96); transform: scale(0.96);
} }
@ -1461,7 +1462,7 @@ textarea.new_message_textarea {
font-weight: 450; font-weight: 450;
&:active { &:active {
transition: all 80ms; transition: transform 80ms;
transform: scale(0.96); transform: scale(0.96);
} }

View File

@ -5,8 +5,6 @@
box-shadow: 0 0 10px hsl(0deg 0% 0% / 10%); box-shadow: 0 0 10px hsl(0deg 0% 0% / 10%);
overflow: hidden; overflow: hidden;
transition: all 0.3s ease;
.image-block { .image-block {
background-size: contain; background-size: contain;
height: 100%; height: 100%;

View File

@ -79,7 +79,8 @@
font-size: 16px; font-size: 16px;
color: var(--color-icons-inbox); color: var(--color-icons-inbox);
opacity: 0.4; opacity: 0.4;
transition: all 140ms; transition: none 140ms;
transition-property: background-color, opacity, transform;
padding: 5px; padding: 5px;
margin: 0; margin: 0;
/* = -Width of the button. */ /* = -Width of the button. */

View File

@ -59,7 +59,7 @@
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: opacity 0.2s ease;
} }
&.show .exit { &.show .exit {
@ -183,7 +183,7 @@
cursor: pointer; cursor: pointer;
opacity: 0.5; opacity: 0.5;
transition: all 0.3s ease; transition: opacity 0.3s ease;
&:hover { &:hover {
opacity: 1; opacity: 1;

View File

@ -428,7 +428,8 @@
.message_control_button { .message_control_button {
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transition: all 0.2s ease; transition: none 0.2s ease;
transition-property: opacity, visibility;
width: var(--message-box-icon-width); width: var(--message-box-icon-width);
height: var(--message-box-icon-height); height: var(--message-box-icon-height);
text-align: center; text-align: center;
@ -527,14 +528,14 @@
.unread_marker { .unread_marker {
margin-left: var(--unread-marker-left); margin-left: var(--unread-marker-left);
opacity: 0; opacity: 0;
transition: all 0.3s ease-out; transition: opacity 0.3s ease-out;
&.slow_fade { &.slow_fade {
transition: all 2s ease-out; transition: opacity 2s ease-out;
} }
&.fast_fade { &.fast_fade {
transition: all 0.3s ease-out; transition: opacity 0.3s ease-out;
} }
&.date_unread_marker { &.date_unread_marker {
@ -562,7 +563,7 @@
} }
.unread .unread_marker { .unread .unread_marker {
transition: all 0.3s ease-out; transition: opacity 0.3s ease-out;
opacity: 1; opacity: 1;
} }
@ -657,7 +658,7 @@
.edit-content-container { .edit-content-container {
border-radius: 4px; border-radius: 4px;
border: 1px solid var(--color-message-content-container-border); border: 1px solid var(--color-message-content-container-border);
transition: border 0.2s ease; transition: border-color 0.2s ease;
&:has(.message_edit_content:focus) { &:has(.message_edit_content:focus) {
border-color: var(--color-message-content-container-border-focus); border-color: var(--color-message-content-container-border-focus);

View File

@ -406,7 +406,7 @@
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
margin-bottom: 10px; margin-bottom: 10px;
width: 206px; width: 206px;

View File

@ -753,7 +753,7 @@ ul.popover-group-menu-member-list {
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
transition: all 0.3s ease; transition: opacity 0.3s ease;
&.fade.in { &.fade.in {
opacity: 1; opacity: 1;

View File

@ -145,7 +145,7 @@ tr.admin td:first-child {
color: hsl(0deg 0% 33%); color: hsl(0deg 0% 33%);
vertical-align: text-bottom; vertical-align: text-bottom;
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
box-shadow: inset 0 1px 1px hsla(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsla(0deg 0% 0% / 7.5%);
@ -372,7 +372,7 @@ tr.admin td:first-child {
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
color: hsl(0deg 0% 33%); color: hsl(0deg 0% 33%);

View File

@ -59,7 +59,8 @@
width: 120px; width: 120px;
height: 70px; height: 70px;
background-color: hsl(0deg 0% 94%); background-color: hsl(0deg 0% 94%);
transition: all 0.2s ease; transition: none 0.2s ease;
transition-property: background-color, border-color;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;

View File

@ -130,7 +130,7 @@
align-items: center; align-items: center;
border-radius: 3px; border-radius: 3px;
cursor: pointer; cursor: pointer;
transition: all 120ms ease-out; transition: background-color 120ms ease-out;
} }
.comparison-tab:hover { .comparison-tab:hover {
@ -139,7 +139,6 @@
} }
.comparison-tab:active { .comparison-tab:active {
transition: all 120ms ease-out;
background-color: hsl(0deg 0% 100% / 70%); background-color: hsl(0deg 0% 100% / 70%);
} }
@ -178,7 +177,7 @@
} }
.comparison-table tr { .comparison-table tr {
transition: all 200ms ease-out; transition: background-color 200ms ease-out;
} }
.comparison-table tbody tr:hover { .comparison-table tbody tr:hover {
@ -199,7 +198,6 @@
font-weight: 700; font-weight: 700;
color: hsl(223deg 40% 30% / 100%); color: hsl(223deg 40% 30% / 100%);
background: hsl(209deg 41% 94%); background: hsl(209deg 41% 94%);
transition: all 200ms ease-out;
} }
.comparison-table th .icon { .comparison-table th .icon {
@ -537,19 +535,10 @@
.comparison-table th.comparison-table-feature { .comparison-table th.comparison-table-feature {
padding-top: 28px; padding-top: 28px;
/* Don't apply transitions to the
padding. This prevents the "Features"
label from sliding into place when
switching over to the All view. */
transition: none;
} }
.comparison-table td.stuck { .comparison-table td.stuck {
padding-top: 24px; padding-top: 24px;
/* Don't apply transitions to the
padding. This makes the stuck state
look more precise. */
transition: none;
} }
@media (width <= 730px) { @media (width <= 730px) {

View File

@ -111,7 +111,7 @@
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
margin-bottom: 10px; margin-bottom: 10px;
width: 206px; width: 206px;

View File

@ -171,7 +171,7 @@
mask-position: center; mask-position: center;
mask-repeat: no-repeat; mask-repeat: no-repeat;
mask-image: var(--footer-social-icon); mask-image: var(--footer-social-icon);
transition: all 150ms ease-out; transition: background-color 150ms ease-out;
&:hover { &:hover {
background-color: hsl(238.6deg 84.31% 90%); background-color: hsl(238.6deg 84.31% 90%);

View File

@ -165,7 +165,8 @@ ul {
"pnum" on, "pnum" on,
"lnum" on; "lnum" on;
color: hsl(0deg 0% 100%); color: hsl(0deg 0% 100%);
transition: all 0.8s ease-out; transition: none 0.8s ease-out;
transition-property: background, transform;
cursor: pointer; cursor: pointer;
} }
@ -197,7 +198,7 @@ ul {
} }
.client-logos-div { .client-logos-div {
transition: all 0.7s ease-out; transition: opacity 0.7s ease-out;
background-position: center; background-position: center;
} }
@ -264,7 +265,7 @@ ul {
line-height: 130%; /* 33.8px */ line-height: 130%; /* 33.8px */
position: relative; position: relative;
opacity: 0.7; opacity: 0.7;
transition: all 0.1s; transition: opacity 0.1s;
} }
.screen-2__tabs ul li label:hover { .screen-2__tabs ul li label:hover {
@ -282,7 +283,7 @@ ul {
border-radius: 5px; border-radius: 5px;
background: hsl(0deg 0% 100%); background: hsl(0deg 0% 100%);
opacity: 0.3; opacity: 0.3;
transition: all 0.1s; transition: opacity 0.1s;
} }
.screen-2__tabs ul li label:hover::before { .screen-2__tabs ul li label:hover::before {
@ -418,7 +419,8 @@ ul {
} }
.quote__text { .quote__text {
transition: all 0.5s ease-out; transition: none 0.5s ease-out;
transition-property: background, box-shadow;
font-family: var(--font-ss3); font-family: var(--font-ss3);
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
@ -448,7 +450,7 @@ ul {
bottom: -37px; bottom: -37px;
left: 0; left: 0;
mask-image: var(--quote-tail-mask); mask-image: var(--quote-tail-mask);
transition: all 0.5s ease-out; transition: background 0.5s ease-out;
background: linear-gradient( background: linear-gradient(
0deg, 0deg,
hsl(0deg 0% 100% / 49%) 0%, hsl(0deg 0% 100% / 49%) 0%,
@ -525,11 +527,11 @@ ul {
.quote__source a { .quote__source a {
border-bottom: 1px solid hsl(0deg 0% 100% / 50%); border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
transition: border 0.4s ease-out; transition: border-bottom-color 0.4s ease-out;
} }
.quote__source a:hover { .quote__source a:hover {
border-bottom: 1px solid hsl(0deg 0% 100%); border-bottom-color: hsl(0deg 0% 100%);
transition: none; transition: none;
} }
@ -622,12 +624,12 @@ ul {
.screen-4__desc a { .screen-4__desc a {
font-weight: 550; font-weight: 550;
border-bottom: 1px solid hsl(0deg 0% 100% / 50%); border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
transition: border 0.4s ease-out; transition: border-bottom-color 0.4s ease-out;
} }
.screen-2__desc a:hover, .screen-2__desc a:hover,
.screen-4__desc a:hover { .screen-4__desc a:hover {
border-bottom: 1px solid hsl(0deg 0% 100%); border-bottom-color: hsl(0deg 0% 100%);
transition: none; transition: none;
} }
@ -669,7 +671,7 @@ ul {
border: 2px solid hsl(0deg 0% 100% / 26%); border: 2px solid hsl(0deg 0% 100% / 26%);
background: hsl(0deg 0% 100% / 7%); background: hsl(0deg 0% 100% / 7%);
min-height: 80px; min-height: 80px;
transition: all 0.2s; transition: background 0.2s;
padding: 12px 16px 14px; padding: 12px 16px 14px;
.card__text { .card__text {

View File

@ -122,12 +122,10 @@ $category-text: hsl(219deg 23% 33%);
display: block; display: block;
color: hsl(0deg 0% 33%); color: hsl(0deg 0% 33%);
margin-bottom: 10px; margin-bottom: 10px;
transition: transition: border-color linear 0.2s;
border linear 0.2s,
box-shadow linear 0.2s;
&:focus { &:focus {
border: 1px solid $border-green; border-color: $border-green;
outline: 0; outline: 0;
} }
@ -191,7 +189,8 @@ $category-text: hsl(219deg 23% 33%);
padding: 6px 10px 3px; padding: 6px 10px 3px;
margin: 3px 0; margin: 3px 0;
border-radius: 5px; border-radius: 5px;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: background-color, color;
color: $category-text; color: $category-text;
&.selected, &.selected,
@ -261,7 +260,8 @@ $category-text: hsl(219deg 23% 33%);
border-left: 1px solid $light-blue-border; border-left: 1px solid $light-blue-border;
border-right: 1px solid $light-blue-border; border-right: 1px solid $light-blue-border;
border-bottom: 1px solid $light-blue-border; border-bottom: 1px solid $light-blue-border;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: background-color, color;
font-size: 0.9em; font-size: 0.9em;
&.selected, &.selected,
@ -317,10 +317,11 @@ $category-text: hsl(219deg 23% 33%);
border: 1px solid $light-blue-border; border: 1px solid $light-blue-border;
color: $category-text; color: $category-text;
text-align: center; text-align: center;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: border-color;
&:hover { &:hover {
border: 1px solid $border-green; border-color: $border-green;
} }
&.legacy { &.legacy {
@ -507,7 +508,8 @@ $category-text: hsl(219deg 23% 33%);
width: 165px; width: 165px;
text-align: center; text-align: center;
border-radius: 5px; border-radius: 5px;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: background-color, color;
background-color: $light-blue-border; background-color: $light-blue-border;
color: $category-text; color: $category-text;

View File

@ -24,7 +24,7 @@
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
&:focus { &:focus {
@ -68,7 +68,7 @@
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
margin-bottom: 10px; margin-bottom: 10px;

View File

@ -317,7 +317,7 @@ button {
box-shadow: 0 3px 10px hsl(0deg 0% 0% / 20%); box-shadow: 0 3px 10px hsl(0deg 0% 0% / 20%);
transition: all 0.2s ease; transition: box-shadow 0.2s ease;
&:hover { &:hover {
box-shadow: 0 3px 10px hsl(0deg 0% 100% / 20%); box-shadow: 0 3px 10px hsl(0deg 0% 100% / 20%);
@ -681,8 +681,6 @@ button {
.message-feed { .message-feed {
height: calc(100% - 20px); height: calc(100% - 20px);
margin-top: 20px; margin-top: 20px;
transition: all 0.1s ease;
} }
} }
@ -910,7 +908,7 @@ button {
width: 155px; width: 155px;
height: 220px; height: 220px;
padding: 0 5px; padding: 0 5px;
transition: all 0.3s ease; transition: border-color 0.3s ease;
margin: 10px 5px; margin: 10px 5px;
color: hsl(219deg 23% 33%); color: hsl(219deg 23% 33%);
border-radius: 5px; border-radius: 5px;
@ -918,7 +916,7 @@ button {
} }
.portico-landing.hello .integrations .integration-icons .group:hover { .portico-landing.hello .integrations .integration-icons .group:hover {
border: 1px solid hsl(170deg 47% 53%); border-color: hsl(170deg 47% 53%);
} }
.portico-landing.hello .integrations .integration-logo { .portico-landing.hello .integrations .integration-logo {
@ -1079,7 +1077,7 @@ button {
font-size: 3em; font-size: 3em;
text-align: center; text-align: center;
transition: all 0.2s ease; transition: background 0.2s ease;
} }
.portico-landing.apps .other-apps .apps .icon:hover { .portico-landing.apps .other-apps .apps .icon:hover {
@ -1582,7 +1580,7 @@ button {
font-size: 0.9em; font-size: 0.9em;
transition: all 0.3s ease; transition: background-color 0.3s ease;
} }
.for-education-pricing-model .pricing-container .price-box:focus { .for-education-pricing-model .pricing-container .price-box:focus {

View File

@ -194,7 +194,8 @@ details summary::-webkit-details-marker {
opacity: 0; opacity: 0;
height: 0; height: 0;
width: 100%; width: 100%;
transition: all 0.05s; transition: none 0.05s;
transition-property: height, opacity;
} }
.top-menu-tab-input-unselect:not(:checked) + .top-menu-submenu-backdrop { .top-menu-tab-input-unselect:not(:checked) + .top-menu-submenu-backdrop {
@ -238,7 +239,8 @@ details summary::-webkit-details-marker {
gap: 16px; gap: 16px;
opacity: 0; opacity: 0;
visibility: hidden; visibility: hidden;
transition: all 0.2s; transition: none 0.2s;
transition-property: opacity, visibility;
} }
#case-studies-submenu { #case-studies-submenu {
@ -382,7 +384,8 @@ details summary::-webkit-details-marker {
"lnum" on; "lnum" on;
color: hsl(0deg 0% 100% / 80%); color: hsl(0deg 0% 100% / 80%);
transition: all 0.2; transition: none 0.2;
transition-property: backdrop-filter, background, bottom, height;
overscroll-behavior: contain; overscroll-behavior: contain;
} }
@ -504,7 +507,8 @@ details summary::-webkit-details-marker {
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 1; z-index: 1;
transition: all 0.3s; transition: none 0.3s;
transition-property: background, backdrop-filter;
height: 60px; height: 60px;
overflow: hidden; overflow: hidden;
display: flex; display: flex;

View File

@ -533,7 +533,7 @@ input.text-error {
font-size: 0.6em; font-size: 0.6em;
margin-left: 5px; margin-left: 5px;
opacity: 0.5; opacity: 0.5;
transition: all 0.2s ease; transition: opacity 0.2s ease;
} }
&:hover .realm-name i.fa { &:hover .realm-name i.fa {
@ -684,14 +684,14 @@ input.text-error {
padding: 10px; padding: 10px;
border: 1px solid hsl(0deg 0% 93%); border: 1px solid hsl(0deg 0% 93%);
border-radius: 4px; border-radius: 4px;
transition: all 0.3s ease; transition: border-color 0.3s ease;
& a { & a {
color: inherit; color: inherit;
} }
&:hover { &:hover {
border: 1px solid hsl(0deg 0% 73%); border-color: hsl(0deg 0% 73%);
} }
.avatar { .avatar {
@ -837,7 +837,8 @@ input.new-organization-button {
padding: 2px 7px 1px 8px; padding: 2px 7px 1px 8px;
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
transition: all 0.2s ease-in; transition: none 0.2s ease-in;
transition-property: background-color, color;
border-radius: 4px; border-radius: 4px;
&:hover { &:hover {
@ -1103,7 +1104,8 @@ input.new-organization-button {
right: calc(100% - 40px); right: calc(100% - 40px);
fill: hsl(0deg 0% 100%); fill: hsl(0deg 0% 100%);
z-index: 2; z-index: 2;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: right, top;
cursor: pointer; cursor: pointer;
} }
@ -1117,7 +1119,7 @@ input.new-organization-button {
pointer-events: none; pointer-events: none;
overflow: hidden; overflow: hidden;
transform: translateX(0); transform: translateX(0);
transition: all 0.3s ease; transition: transform 0.3s ease;
} }
.sidebar.show { .sidebar.show {

View File

@ -209,7 +209,7 @@ html {
transition: transition:
color 0.3s ease, color 0.3s ease,
border 0.3s ease; border-color 0.3s ease;
&:hover { &:hover {
color: hsl(156deg 62% 61%); color: hsl(156deg 62% 61%);
@ -428,7 +428,8 @@ html {
border: none; border: none;
border-radius: 4px; border-radius: 4px;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: background-color, outline;
&:hover { &:hover {
background-color: hsl(213deg 33% 31%); background-color: hsl(213deg 33% 31%);
@ -547,7 +548,7 @@ html {
background-color: hsl(0deg 0% 100%); background-color: hsl(0deg 0% 100%);
color: hsl(0deg 0% 33%); color: hsl(0deg 0% 33%);
transition: border 0.3s ease; transition: border-color 0.3s ease;
&:focus:invalid { &:focus:invalid {
box-shadow: none; box-shadow: none;
@ -555,7 +556,7 @@ html {
} }
&:focus { &:focus {
border: 1px solid hsl(0deg 0% 53%); border-color: hsl(0deg 0% 53%);
outline: 0; outline: 0;
} }
} }
@ -571,7 +572,8 @@ html {
margin-top: 1px; margin-top: 1px;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: color, font-size, font-weight, transform;
} }
&.moving-label { &.moving-label {

View File

@ -349,7 +349,7 @@
float: right; float: right;
width: 15px; width: 15px;
cursor: pointer; cursor: pointer;
transition: 0.4s ease; transition: transform 0.4s ease;
transform: rotate(45deg); transform: rotate(45deg);
&::before, &::before,
@ -360,7 +360,7 @@
width: 12px; width: 12px;
height: 3px; height: 3px;
background-color: hsl(0deg 0% 83%); background-color: hsl(0deg 0% 83%);
transition: 0.4s ease; transition: transform 0.4s ease;
} }
&::after { &::after {
@ -917,7 +917,7 @@
&::-webkit-scrollbar-thumb { &::-webkit-scrollbar-thumb {
background-color: hsl(0deg 0% 0% / 30%); background-color: hsl(0deg 0% 0% / 30%);
border-radius: 20px; border-radius: 20px;
transition: all 0.2s ease; transition: background-color 0.2s ease;
} }
&::-webkit-scrollbar-thumb:hover { &::-webkit-scrollbar-thumb:hover {

View File

@ -868,7 +868,7 @@ input[type="checkbox"] {
position: relative; position: relative;
margin-left: 5px; margin-left: 5px;
color: hsl(0deg 0% 67%); color: hsl(0deg 0% 67%);
transition: all 0.3s ease; transition: color 0.3s ease;
&:hover { &:hover {
color: hsl(0deg 0% 27%); color: hsl(0deg 0% 27%);
@ -1494,7 +1494,7 @@ $option_title_width: 180px;
color: hsl(0deg 0% 33%); color: hsl(0deg 0% 33%);
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
&:focus { &:focus {
@ -1709,7 +1709,7 @@ $option_title_width: 180px;
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
&:focus { &:focus {
@ -2025,7 +2025,7 @@ $option_title_width: 180px;
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
margin-bottom: 10px; margin-bottom: 10px;

View File

@ -286,7 +286,8 @@ h4.user_group_setting_subsection_title {
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: none 0.3s ease;
transition-property: opacity, transform;
} }
.user-groups-container .user-groups-header.slide-left .fa-chevron-left, .user-groups-container .user-groups-header.slide-left .fa-chevron-left,
@ -328,7 +329,6 @@ h4.user_group_setting_subsection_title {
.user-groups-title, .user-groups-title,
.subscriptions-title { .subscriptions-title {
display: inline-block; display: inline-block;
transition: all 0.3s ease;
transform: translate(-13px, 0); transform: translate(-13px, 0);
} }
@ -1229,7 +1229,7 @@ div.settings-radio-input-parent {
background-color: var(--color-background-modal); background-color: var(--color-background-modal);
border-top: none; border-top: none;
transition: all 0.3s ease; transition: left 0.3s ease;
z-index: 10; z-index: 10;
&.show { &.show {

View File

@ -130,7 +130,7 @@
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
border-radius: 4px; border-radius: 4px;
color: hsl(0deg 0% 33%); color: hsl(0deg 0% 33%);
@ -218,7 +218,8 @@ button {
padding: 4px; padding: 4px;
padding-left: 14px; padding-left: 14px;
padding-right: 14px; padding-right: 14px;
transition: all 0.2s ease; transition: none 0.2s ease;
transition-property: background-color, border-color, color;
&:hover, &:hover,
&:focus { &:focus {

View File

@ -438,7 +438,7 @@ body.has-overlay-scrollbar {
text-overflow: ellipsis; text-overflow: ellipsis;
/* Button curvature and transitions. */ /* Button curvature and transitions. */
border-radius: 4px; border-radius: 4px;
transition: all 100ms ease-out; transition: transform 100ms ease-out;
&:hover, &:hover,
&:focus { &:focus {
@ -773,7 +773,7 @@ strong {
.new_messages, .new_messages,
.new_messages_fadeout { .new_messages_fadeout {
transition: all 3s ease-in-out; transition: background-color 3s ease-in-out;
} }
.messagebox-content .slow-send-spinner { .messagebox-content .slow-send-spinner {
@ -918,7 +918,7 @@ div.focused-message-list {
border-radius: 4px; border-radius: 4px;
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
&:focus { &:focus {
@ -1295,7 +1295,7 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
border: 1px solid hsl(0deg 0% 80%); border: 1px solid hsl(0deg 0% 80%);
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%); box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
transition: transition:
border linear 0.2s, border-color linear 0.2s,
box-shadow linear 0.2s; box-shadow linear 0.2s;
&:focus { &:focus {