Skip to content

Commit 878f1ea

Browse files
committed
(clean) remove unecessary webkit transition
1 parent ccbf20a commit 878f1ea

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

src/ChatWindow/Message.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ export default {
499499
-webkit-transition-property: box-shadow, opacity;
500500
transition-property: box-shadow, opacity;
501501
overflow-wrap: break-word;
502-
-webkit-transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
503502
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
504503
will-change: box-shadow;
505504
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),

src/ChatWindow/RoomsList.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,10 @@ input {
216216
217217
&:hover {
218218
background: var(--chat-sidemenu-bg-color-hover);
219-
-webkit-transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
220219
transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
221220
}
222221
223222
&:not(:hover) {
224-
-webkit-transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
225223
transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
226224
}
227225
}
@@ -285,6 +283,7 @@ input {
285283
border-radius: 50%;
286284
background-color: var(--chat-room-color-offline);
287285
margin-right: 6px;
286+
transition: 0.3s;
288287
}
289288
290289
.state-online {

src/styles/menu.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77

88
:hover {
99
background: var(--chat-dropdown-bg-color-hover);
10-
-webkit-transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
1110
transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
1211
}
1312

1413
:not(:hover) {
15-
-webkit-transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
1614
transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
1715
}
1816
}

0 commit comments

Comments
 (0)