forked from rDrama/rDrama
1
0
Fork 0

remove transitions (they make the site feel slower IMO)

master
Aevann 2023-09-29 10:27:45 +03:00
parent 43822b3322
commit d177653631
1 changed files with 0 additions and 89 deletions

View File

@ -696,12 +696,6 @@ pre code {
background-clip: padding-box;
border: 1px solid var(--gray-400);
border-radius: 0.35rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.form-control {
transition: none;
}
}
.form-control::-ms-expand {
background-color: transparent;
@ -799,12 +793,6 @@ textarea.form-control {
font-size: 1rem;
line-height: 1.5;
border-radius: 0.35rem;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.btn {
transition: none;
}
}
.btn:hover {
color: #212529;
@ -976,14 +964,6 @@ input[type=submit].btn-follow, input[type=reset].btn-follow, input[type=button].
width: 100%;
}
.fade {
transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
.fade {
transition: none;
}
}
.fade:not(.show) {
opacity: 0;
}
@ -994,12 +974,6 @@ input[type=submit].btn-follow, input[type=reset].btn-follow, input[type=button].
position: relative;
height: 0;
overflow: hidden;
transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
.collapsing {
transition: none;
}
}
.dropup, .dropdown {
position: relative;
@ -1273,12 +1247,6 @@ input[type=submit].btn-follow, input[type=reset].btn-follow, input[type=button].
width: calc(1rem - 4px);
height: calc(1rem - 4px);
border-radius: 0.5rem;
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.custom-switch .custom-control-label::after {
transition: none;
}
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
background-color: #fff;
@ -1287,14 +1255,6 @@ input[type=submit].btn-follow, input[type=reset].btn-follow, input[type=button].
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
background-color: rgba(0, 123, 255, 0.5);
}
.custom-control-label::before {
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.custom-control-label::before {
transition: none;
}
}
.nav {
display: flex;
flex-wrap: wrap;
@ -1335,7 +1295,6 @@ nav
align-items: center;
justify-content: space-between;
padding: 0.5rem 1rem;
transition: border-bottom .2s;
}
.navbar-active
{
@ -1645,12 +1604,6 @@ nav
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.35rem;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.badge {
transition: none;
}
}
a.badge:hover, a.badge:focus {
text-decoration: none;
@ -1876,14 +1829,8 @@ button.close {
pointer-events: none;
}
.modal.fade .modal-dialog {
transition: transform 0.3s ease-out;
transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
.modal.fade .modal-dialog {
transition: none;
}
}
.modal.show .modal-dialog {
transform: none;
}
@ -2129,12 +2076,6 @@ button.close {
width: 100%;
margin-right: -100%;
backface-visibility: hidden;
transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.carousel-item {
transition: none;
}
}
.carousel-item.active, .carousel-item-next, .carousel-item-prev {
display: block;
@ -2172,12 +2113,6 @@ button.close {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
opacity: 0.5;
transition: opacity 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
.carousel-indicators li {
transition: none;
}
}
.carousel-indicators .active {
opacity: 1;
@ -3823,13 +3758,11 @@ label.color-radio span {
#page .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
color: var(--primary);
background-color: transparent;
transition: ease 0.25s;
border-bottom: 2px solid var(--primary);
}
#page .bg-light .nav-pills .nav-link.active, .bg-light .nav-pills .show > .nav-link {
color: var(--primary);
background-color: transparent;
transition: ease 0.25s;
border-bottom: 2px solid var(--primary);
}
.form-inline.search .form-control:hover, .form-inline.search .form-control:active, .form-inline.search .form-control:focus {
@ -3865,7 +3798,6 @@ label.color-radio span {
border-color: var(--muted);
border-width: 2px;
background: #dee2e6;
transition: none;
}
.form-control:disabled, [readonly] {
background-color: var(--dark) !important;
@ -3919,7 +3851,6 @@ label.terms {
padding: 0.5rem 1rem;
border-radius: 0.35rem;
color: var(--black);
transition: background .1s, transform .2s;
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active {
color: var(--black);
@ -4902,14 +4833,6 @@ ul.comment-section {
height: calc(1.5rem - 4px);
background-color: #000;
border-radius: 2rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.custom-switch .custom-control-label::after {
transition: none;
}
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
background-color: var(--white);
@ -5682,7 +5605,6 @@ lite-youtube::before {
height: 60px;
padding-bottom: 50px;
width: 100%;
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}
lite-youtube::after {
@ -5710,7 +5632,6 @@ lite-youtube > .lty-playbtn {
z-index: 1;
background-color: transparent;
background-image: url('/i/youtube.webp?x=6');
transition: filter .1s cubic-bezier(0, 0, 0.2, 1);
border: none;
}
@ -7132,11 +7053,6 @@ div.markdown {
border-radius: 0.35rem;
width: 200px;
margin: 10px 10px;
-webkit-transition: all 0.15s ease;
-moz-transition: all 0.15s ease;
-o-transition: all 0.15s ease;
-ms-transition: all 0.15s ease;
transition: all 0.15s ease;
cursor: pointer;
}
.gif-categories .card img {
@ -7155,11 +7071,6 @@ div.markdown {
width: 100%;
background-color: rgba(0, 0, 0, 0.4);
border-radius: 0.35rem;
-webkit-transition: all 0.15s ease;
-moz-transition: all 0.15s ease;
-o-transition: all 0.15s ease;
-ms-transition: all 0.15s ease;
transition: all 0.15s ease;
cursor: pointer;
}
.gif-categories .card:hover .gif-cat-overlay {