Refactor transition durations to use CSS variables
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | #rm_print_characters_block.group_overlay_mode_select .character_select { |
| 2 | 2 | transition: background-color 0.4svar(--animation-duration-3x) ease; |
| 3 | 3 | background-color: rgba(170, 170, 170, 0.15); |
| 4 | 4 | } |
| 5 | 5 | |
| @@ -18,7 +18,7 @@ | ||
| 18 | 18 | |
| 19 | 19 | #load-spinner { |
| 20 | 20 | --spinner-size: 2em; |
| 21 | 21 | transition: all 300msvar(--animation-duration-2x) ease-out; |
| 22 | 22 | opacity: 1; |
| 23 | 23 | top: calc(50% - var(--spinner-size) / 2); |
| 24 | 24 | left: calc(50% - var(--spinner-size) / 2); |
| @@ -23,7 +23,7 @@ body.login .userSelect { | ||
| 23 | 23 | width: 30%; |
| 24 | 24 | cursor: pointer; |
| 25 | 25 | margin: 5px 0; |
| 26 | 26 | transition: background-color 0.15svar(--animation-duration) ease-in-out; |
| 27 | 27 | display: flex; |
| 28 | 28 | align-items: center; |
| 29 | 29 | justify-content: center; |
| @@ -43,7 +43,7 @@ | ||
| 43 | 43 | height: 25px; |
| 44 | 44 | margin-left: 5px; |
| 45 | 45 | opacity: 0.5; |
| 46 | 46 | transition: all 250msvar(--animation-duration-2x); |
| 47 | 47 | position: unset !important; |
| 48 | 48 | } |
| 49 | 49 | |
| @@ -79,7 +79,7 @@ | ||
| 79 | 79 | justify-content: center; |
| 80 | 80 | margin-left: 0.25em; |
| 81 | 81 | cursor: pointer; |
| 82 | 82 | transition: 0.3svar(--animation-duration-2x) ease-in-out; |
| 83 | 83 | height: 20px; |
| 84 | 84 | width: 20px; |
| 85 | 85 | filter: drop-shadow(0px 0px 2px black); |
| @@ -239,7 +239,7 @@ | ||
| 239 | 239 | flex-direction: column; |
| 240 | 240 | justify-content: center; |
| 241 | 241 | margin-left: 0.25em; |
| 242 | 242 | transition: 0.3svar(--animation-duration-2x) ease-in-out; |
| 243 | 243 | filter: drop-shadow(0px 0px 2px black); |
| 244 | 244 | } |
| 245 | 245 | |
| @@ -172,7 +172,7 @@ | ||
| 172 | 172 | #rm_group_members .group_member:not(.disabled) .right_menu_button[data-action="disable"] { |
| 173 | 173 | opacity: 0.4; |
| 174 | 174 | filter: brightness(0.5); |
| 175 | 175 | transition: all 0.2svar(--animation-duration-2x) ease-in-out; |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /* #rm_group_members .right_menu_button[data-action="speak"]:hover, */ |
| @@ -125,7 +125,7 @@ | ||
| 125 | 125 | background-color: unset; |
| 126 | 126 | color: var(--SmartThemeBodyColor); |
| 127 | 127 | opacity: 0.5; |
| 128 | 128 | transition: opacity 200msvar(--animation-duration-2x) ease-in-out; |
| 129 | 129 | position: relative; |
| 130 | 130 | } |
| 131 | 131 | |
| @@ -203,7 +203,7 @@ | ||
| 203 | 203 | /* Styling for choice remove icon */ |
| 204 | 204 | span.select2.select2-container .select2-selection__choice__remove { |
| 205 | 205 | cursor: pointer; |
| 206 | 206 | transition: background-color 0.3svar(--animation-duration-2x); |
| 207 | 207 | color: var(--SmartThemeBodyColor); |
| 208 | 208 | background-color: var(--black50a); |
| 209 | 209 | } |
| @@ -220,7 +220,7 @@ span.select2.select2-container .select2-selection__choice__remove:hover { | ||
| 220 | 220 | |
| 221 | 221 | .select2_choice_clickable_buttonstyle+span.select2-container .select2-selection__choice__display { |
| 222 | 222 | cursor: pointer; |
| 223 | 223 | transition: background-color 0.3svar(--animation-duration-2x); |
| 224 | 224 | color: var(--SmartThemeBodyColor); |
| 225 | 225 | background-color: var(--black50a); |
| 226 | 226 | white-space: break-spaces; |
| @@ -484,7 +484,7 @@ | ||
| 484 | 484 | } |
| 485 | 485 | |
| 486 | 486 | .hoverglow { |
| 487 | 487 | transition: opacity 200msvar(--animation-duration-2x); |
| 488 | 488 | } |
| 489 | 489 | |
| 490 | 490 | .hoverglow:hover { |
| @@ -167,7 +167,7 @@ | ||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | .rm_tag_filter .tag.actionable { |
| 170 | 170 | transition: opacity 200msvar(--animation-duration-2x); |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | .rm_tag_filter .tag:hover { |
| @@ -198,7 +198,7 @@ | ||
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | .world_entry { |
| 201 | 201 | transition: opacity 500msvar(--animation-duration-3x); |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | .world_entry_edit { |
| @@ -271,7 +271,7 @@ select.keyselect+span.select2-container .select2-selection--multiple { | ||
| 271 | 271 | |
| 272 | 272 | opacity: 0.5; |
| 273 | 273 | color: var(--SmartThemeBodyColor); |
| 274 | 274 | transition: opacity 0.3svar(--animation-duration-2x); |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | .switch_input_type_icon:hover { |
| @@ -65,7 +65,7 @@ | ||
| 65 | 65 | .asset-download-button-text { |
| 66 | 66 | font: bold 20px "Quicksand", san-serif; |
| 67 | 67 | color: #ffffff; |
| 68 | 68 | transition: all 0.2svar(--animation-duration-2x); |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | .asset-download-button-loading .asset-download-button-text { |
| @@ -18,7 +18,7 @@ | ||
| 18 | 18 | #qr--bar { |
| 19 | 19 | outline: none; |
| 20 | 20 | margin: 0; |
| 21 | - transition: 0.3s; | |
| 21 | + transition: var(--animation-duration-2x); | |
| 22 | 22 | opacity: 0.7; |
| 23 | 23 | display: flex; |
| 24 | 24 | align-items: center; |
| @@ -34,14 +34,6 @@ | ||
| 34 | 34 | right: 0.25em; |
| 35 | 35 | top: 0; |
| 36 | 36 | } |
| 37 | - | |
| 38 | -/*hide QR popout for mobile*/ | |
| 39 | -@media screen and (max-width: 1000px) { | |
| 40 | - #qr--bar > #qr--popoutTrigger { | |
| 41 | - display:none; | |
| 42 | - } | |
| 43 | -} | |
| 44 | - | |
| 45 | 37 | #qr--bar.popoutVisible { |
| 46 | 38 | padding-right: 2.5em; |
| 47 | 39 | } |
| @@ -61,9 +53,8 @@ | ||
| 61 | 53 | aspect-ratio: 1 / 1; |
| 62 | 54 | font-size: 20px; |
| 63 | 55 | opacity: 0.5; |
| 64 | 56 | transition: all 250msvar(--animation-duration-2x); |
| 65 | 57 | } |
| 66 | - | |
| 67 | 58 | #qr--popout > .qr--body { |
| 68 | 59 | overflow-y: auto; |
| 69 | 60 | } |
| @@ -124,7 +115,7 @@ | ||
| 124 | 115 | padding: 3px 5px; |
| 125 | 116 | margin: 3px 0; |
| 126 | 117 | cursor: pointer; |
| 127 | - transition: 0.3s; | |
| 118 | + transition: var(--animation-duration-2x); | |
| 128 | 119 | display: flex; |
| 129 | 120 | align-items: center; |
| 130 | 121 | justify-content: center; |
| @@ -175,7 +166,7 @@ | ||
| 175 | 166 | overflow: visible; |
| 176 | 167 | } |
| 177 | 168 | .ctx-menu .ctx-item .qr--hidden { |
| 178 | 169 | display: none; |
| 179 | 170 | } |
| 180 | 171 | .list-group .list-group-item.ctx-header { |
| 181 | 172 | font-weight: bold; |
| @@ -248,7 +239,7 @@ | ||
| 248 | 239 | display: flex; |
| 249 | 240 | align-items: center; |
| 250 | 241 | opacity: 0; |
| 251 | 242 | transition: 100msvar(--animation-duration); |
| 252 | 243 | margin: -2px 0 -11px 0; |
| 253 | 244 | position: relative; |
| 254 | 245 | } |
| @@ -461,7 +452,7 @@ | ||
| 461 | 452 | cursor: not-allowed; |
| 462 | 453 | opacity: 0.5; |
| 463 | 454 | pointer-events: none; |
| 464 | - transition: 200ms; | |
| 455 | + transition: var(--animation-duration-2x); | |
| 465 | 456 | border-color: transparent; |
| 466 | 457 | } |
| 467 | 458 | .popup:has(#qr--modalEditor) .popup-content > #qr--modalEditor.qr--isExecuting.qr--isPaused #qr--modal-debugButtons .menu_button:not(#qr--modal-minimize, #qr--modal-maximize) { |
| @@ -492,7 +483,7 @@ | ||
| 492 | 483 | width: 6px; |
| 493 | 484 | background-color: var(--SmartThemeBorderColor); |
| 494 | 485 | border: 2px solid var(--SmartThemeBlurTintColor); |
| 495 | 486 | transition: border-color 200msvar(--animation-duration-2x), background-color 200msvar(--animation-duration-2x); |
| 496 | 487 | cursor: w-resize; |
| 497 | 488 | } |
| 498 | 489 | .popup:has(#qr--modalEditor) .popup-content > #qr--modalEditor.qr--isExecuting #qr--resizeHandle:hover { |
| @@ -574,7 +565,7 @@ | ||
| 574 | 565 | gap: 1em; |
| 575 | 566 | text-align: left; |
| 576 | 567 | opacity: 0.75; |
| 577 | - transition: 200ms; | |
| 568 | + transition: var(--animation-duration-2x); | |
| 578 | 569 | cursor: pointer; |
| 579 | 570 | } |
| 580 | 571 | .popup:has(#qr--modalEditor) .popup-content > #qr--modalEditor > #qr--main > .qr--labels > label .qr--modal-switcherList .qr--modal-switcherItem:hover, |
| @@ -736,7 +727,7 @@ | ||
| 736 | 727 | display: flex; |
| 737 | 728 | } |
| 738 | 729 | .popup:has(#qr--modalEditor) .popup-content > #qr--modalEditor #qr--modal-executeButtons #qr--modal-execute { |
| 739 | - transition: 200ms; | |
| 730 | + transition: var(--animation-duration-2x); | |
| 740 | 731 | filter: grayscale(0); |
| 741 | 732 | } |
| 742 | 733 | .popup:has(#qr--modalEditor) .popup-content > #qr--modalEditor #qr--modal-executeButtons #qr--modal-execute.qr--busy { |
| @@ -825,7 +816,7 @@ | ||
| 825 | 816 | position: absolute; |
| 826 | 817 | inset: 0; |
| 827 | 818 | right: calc(100% - var(--prog) * 1%); |
| 828 | - transition: 200ms; | |
| 819 | + transition: var(--animation-duration-2x); | |
| 829 | 820 | } |
| 830 | 821 | .popup:has(#qr--modalEditor) .popup-content > #qr--modalEditor #qr--modal-executeProgress.qr--paused:after { |
| 831 | 822 | animation-name: qr--progressPulse; |
| @@ -1053,7 +1044,7 @@ | ||
| 1053 | 1044 | white-space: pre; |
| 1054 | 1045 | font-weight: normal; |
| 1055 | 1046 | box-shadow: 0 0 0; |
| 1056 | - transition: 200ms; | |
| 1047 | + transition: var(--animation-duration-2x); | |
| 1057 | 1048 | } |
| 1058 | 1049 | .popup:has(.qr--transferModal) .popup-button-ok:after { |
| 1059 | 1050 | content: 'Transfer'; |
| @@ -1068,7 +1059,7 @@ | ||
| 1068 | 1059 | white-space: pre; |
| 1069 | 1060 | font-weight: normal; |
| 1070 | 1061 | box-shadow: 0 0 0; |
| 1071 | - transition: 200ms; | |
| 1062 | + transition: var(--animation-duration-2x); | |
| 1072 | 1063 | } |
| 1073 | 1064 | .popup:has(.qr--transferModal) .qr--copy:after { |
| 1074 | 1065 | content: 'Copy'; |
| @@ -16,7 +16,7 @@ | ||
| 16 | 16 | #qr--bar { |
| 17 | 17 | outline: none; |
| 18 | 18 | margin: 0; |
| 19 | - transition: 0.3s; | |
| 19 | + transition: var(--animation-duration-2x); | |
| 20 | 20 | opacity: 0.7; |
| 21 | 21 | display: flex; |
| 22 | 22 | align-items: center; |
| @@ -54,7 +54,7 @@ | ||
| 54 | 54 | aspect-ratio: 1 / 1; |
| 55 | 55 | font-size: 20px; |
| 56 | 56 | opacity: 0.5; |
| 57 | 57 | transition: all 250msvar(--animation-duration-2x); |
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | } |
| @@ -118,7 +118,7 @@ | ||
| 118 | 118 | padding: 3px 5px; |
| 119 | 119 | margin: 3px 0; |
| 120 | 120 | cursor: pointer; |
| 121 | - transition: 0.3s; | |
| 121 | + transition: var(--animation-duration-2x); | |
| 122 | 122 | display: flex; |
| 123 | 123 | align-items: center; |
| 124 | 124 | justify-content: center; |
| @@ -274,7 +274,7 @@ | ||
| 274 | 274 | display: flex; |
| 275 | 275 | align-items: center; |
| 276 | 276 | opacity: 0; |
| 277 | 277 | transition: 100msvar(--animation-duration); |
| 278 | 278 | margin: -2px 0 -11px 0; |
| 279 | 279 | position: relative; |
| 280 | 280 | .qr--actions { |
| @@ -525,7 +525,7 @@ | ||
| 525 | 525 | cursor: not-allowed; |
| 526 | 526 | opacity: 0.5; |
| 527 | 527 | pointer-events: none; |
| 528 | - transition: 200ms; | |
| 528 | + transition: var(--animation-duration-2x); | |
| 529 | 529 | border-color: transparent; |
| 530 | 530 | } |
| 531 | 531 | } |
| @@ -559,7 +559,7 @@ | ||
| 559 | 559 | width: 6px; |
| 560 | 560 | background-color: var(--SmartThemeBorderColor); |
| 561 | 561 | border: 2px solid var(--SmartThemeBlurTintColor); |
| 562 | 562 | transition: border-color 200msvar(--animation-duration-2x), background-color 200msvar(--animation-duration-2x); |
| 563 | 563 | cursor: w-resize; |
| 564 | 564 | &:hover { |
| 565 | 565 | background-color: var(--SmartThemeQuoteColor); |
| @@ -630,7 +630,7 @@ | ||
| 630 | 630 | gap: 1em; |
| 631 | 631 | text-align: left; |
| 632 | 632 | opacity: 0.75; |
| 633 | - transition: 200ms; | |
| 633 | + transition: var(--animation-duration-2x); | |
| 634 | 634 | cursor: pointer; |
| 635 | 635 | &:hover { |
| 636 | 636 | opacity: 1; |
| @@ -778,7 +778,7 @@ | ||
| 778 | 778 | } |
| 779 | 779 | |
| 780 | 780 | #qr--modal-execute { |
| 781 | - transition: 200ms; | |
| 781 | + transition: var(--animation-duration-2x); | |
| 782 | 782 | filter: grayscale(0); |
| 783 | 783 | |
| 784 | 784 | &.qr--busy { |
| @@ -879,7 +879,7 @@ | ||
| 879 | 879 | position: absolute; |
| 880 | 880 | inset: 0; |
| 881 | 881 | right: calc(100% - var(--prog) * 1%); |
| 882 | - transition: 200ms; | |
| 882 | + transition: var(--animation-duration-2x); | |
| 883 | 883 | } |
| 884 | 884 | |
| 885 | 885 | &.qr--paused:after { |
| @@ -1123,7 +1123,7 @@ | ||
| 1123 | 1123 | white-space: pre; |
| 1124 | 1124 | font-weight: normal; |
| 1125 | 1125 | box-shadow: 0 0 0; |
| 1126 | - transition: 200ms; | |
| 1126 | + transition: var(--animation-duration-2x); | |
| 1127 | 1127 | } |
| 1128 | 1128 | .qr--copy { |
| 1129 | 1129 | &:after { |
| @@ -1138,7 +1138,7 @@ | ||
| 1138 | 1138 | white-space: pre; |
| 1139 | 1139 | font-weight: normal; |
| 1140 | 1140 | box-shadow: 0 0 0; |
| 1141 | - transition: 200ms; | |
| 1141 | + transition: var(--animation-duration-2x); | |
| 1142 | 1142 | } |
| 1143 | 1143 | &:has(.qr--transferSelect:focus) { |
| 1144 | 1144 | .popup-button-ok { |
| @@ -24,7 +24,7 @@ | ||
| 24 | 24 | |
| 25 | 25 | #scoped_scripts_block { |
| 26 | 26 | opacity: 1; |
| 27 | 27 | transition: opacity 0.2svar(--animation-duration-2x) ease-in-out; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | #scoped_scripts_block .move_to_scoped { |
| @@ -78,7 +78,7 @@ input.enable_scoped { | ||
| 78 | 78 | cursor: pointer; |
| 79 | 79 | opacity: 0.5; |
| 80 | 80 | filter: grayscale(0.5); |
| 81 | 81 | transition: opacity 0.2svar(--animation-duration-2x) ease-in-out; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | .regex-toggle-off:hover { |
| @@ -25,7 +25,7 @@ | ||
| 25 | 25 | outline: none; |
| 26 | 26 | border: none; |
| 27 | 27 | cursor: pointer; |
| 28 | - transition: 0.3s; | |
| 28 | + transition: var(--animation-duration-2x); | |
| 29 | 29 | opacity: 0.7; |
| 30 | 30 | align-items: center; |
| 31 | 31 | justify-content: center; |
| @@ -123,7 +123,9 @@ | ||
| 123 | 123 | --inline-avatar-small-factor: 0.6; |
| 124 | 124 | |
| 125 | 125 | --animation-duration: 125ms; |
| 126 | 126 | --animation-duration-slow2x: calc(var(--animation-duration) * 32); |
| 127 | + --animation-duration-3x: calc(var(--animation-duration) * 3); | |
| 128 | + --animation-duration-slow: var(--animation-duration-3x); | |
| 127 | 129 | } |
| 128 | 130 | |
| 129 | 131 | * { |
| @@ -720,7 +722,7 @@ hr { | ||
| 720 | 722 | position: absolute; |
| 721 | 723 | width: 100%; |
| 722 | 724 | height: 100%; |
| 723 | 725 | transition: background-image 0.5svar(--animation-duration-3x) ease-in-out; |
| 724 | 726 | } |
| 725 | 727 | |
| 726 | 728 | /* Background fitting options */ |
| @@ -836,7 +838,7 @@ body.reduced-motion #bg_custom { | ||
| 836 | 838 | cursor: -webkit-grab; |
| 837 | 839 | display: none; |
| 838 | 840 | filter: drop-shadow(0px 0px 0px black); |
| 839 | 841 | transition: all 250msvar(--animation-duration-2x); |
| 840 | 842 | font-size: calc(var(--mainFontSize)*1.3); |
| 841 | 843 | } |
| 842 | 844 | |
| @@ -852,7 +854,7 @@ body .panelControlBar { | ||
| 852 | 854 | min-width: 55px; |
| 853 | 855 | justify-content: flex-end; |
| 854 | 856 | gap: 0px; |
| 855 | 857 | transition: all 250msvar(--animation-duration-2x); |
| 856 | 858 | } |
| 857 | 859 | |
| 858 | 860 | .zoomed_avatar .panelControlBar { |
| @@ -974,7 +976,7 @@ body .panelControlBar { | ||
| 974 | 976 | display: flex; |
| 975 | 977 | align-items: center; |
| 976 | 978 | justify-content: center; |
| 977 | 979 | transition: opacity 300msvar(--animation-duration-2x); |
| 978 | 980 | } |
| 979 | 981 | |
| 980 | 982 | #rightSendForm>div:hover, |
| @@ -1001,7 +1003,7 @@ body .panelControlBar { | ||
| 1001 | 1003 | padding-right: 2px; |
| 1002 | 1004 | place-self: center; |
| 1003 | 1005 | cursor: pointer; |
| 1004 | - transition: 0.3s; | |
| 1006 | + transition: var(--animation-duration-2x); | |
| 1005 | 1007 | opacity: 0.7; |
| 1006 | 1008 | } |
| 1007 | 1009 | |
| @@ -1048,7 +1050,7 @@ body .panelControlBar { | ||
| 1048 | 1050 | padding-right: 2px; |
| 1049 | 1051 | place-self: center; |
| 1050 | 1052 | cursor: pointer; |
| 1051 | - transition: 0.3s; | |
| 1053 | + transition: var(--animation-duration-2x); | |
| 1052 | 1054 | opacity: 1; |
| 1053 | 1055 | display: none; |
| 1054 | 1056 | |
| @@ -1095,7 +1097,7 @@ body .panelControlBar { | ||
| 1095 | 1097 | z-index: 2001; |
| 1096 | 1098 | margin-left: 10px; |
| 1097 | 1099 | padding: 0; |
| 1098 | - transition: 0.3s; | |
| 1100 | + transition: var(--animation-duration-2x); | |
| 1099 | 1101 | display: flex; |
| 1100 | 1102 | align-items: center; |
| 1101 | 1103 | order: 2; |
| @@ -1338,7 +1340,7 @@ body.swipeAllMessages .mes:not(.last_mes) .swipes-counter { | ||
| 1338 | 1340 | border: var(--avatar-base-border-radius) solid var(--SmartThemeBodyColor); |
| 1339 | 1341 | margin: var(--avatar-base-border-radius); |
| 1340 | 1342 | cursor: pointer; |
| 1341 | 1343 | transition: filter 0.2svar(--animation-duration) ease-in-out; |
| 1342 | 1344 | } |
| 1343 | 1345 | |
| 1344 | 1346 | .add_avatar:hover { |
| @@ -1351,7 +1353,7 @@ body.swipeAllMessages .mes:not(.last_mes) .swipes-counter { | ||
| 1351 | 1353 | border-radius: var(--avatar-base-border-radius-round); |
| 1352 | 1354 | border-style: none; |
| 1353 | 1355 | flex: 1; |
| 1354 | - transition: 250ms; | |
| 1356 | + transition: var(--animation-duration-2x); | |
| 1355 | 1357 | } |
| 1356 | 1358 | |
| 1357 | 1359 | .last_mes .mesAvatarWrapper { |
| @@ -1543,7 +1545,7 @@ button { | ||
| 1543 | 1545 | 100% var(--progWidthClip), |
| 1544 | 1546 | 100% 100%, |
| 1545 | 1547 | 0% 100%); |
| 1546 | 1548 | transition: clip-path 200msvar(--animation-duration-2x); |
| 1547 | 1549 | } |
| 1548 | 1550 | |
| 1549 | 1551 | #send_textarea:placeholder-shown { |
| @@ -2494,8 +2496,8 @@ body[data-stscript-style] .hljs.language-stscript { | ||
| 2494 | 2496 | margin: 3px; |
| 2495 | 2497 | opacity: 0.75; |
| 2496 | 2498 | filter: grayscale(1); |
| 2497 | 2499 | -webkit-transition: all 250msvar(--animation-duration-2x) ease-in-out; |
| 2498 | 2500 | transition: all 250msvar(--animation-duration-2x) ease-in-out; |
| 2499 | 2501 | } |
| 2500 | 2502 | |
| 2501 | 2503 | #character_popup .editor_maximize:hover { |
| @@ -2649,8 +2651,8 @@ input[type="file"] { | ||
| 2649 | 2651 | margin-top: 0; |
| 2650 | 2652 | padding: 1px; |
| 2651 | 2653 | filter: grayscale(1) brightness(75%); |
| 2652 | 2654 | -webkit-transition: all 0.5svar(--animation-duration-3x) ease-in-out; |
| 2653 | 2655 | transition: all 0.5svar(--animation-duration-3x) ease-in-out; |
| 2654 | 2656 | } |
| 2655 | 2657 | |
| 2656 | 2658 | .right_menu_button:hover { |
| @@ -2670,7 +2672,7 @@ input[type="file"] { | ||
| 2670 | 2672 | #lm_button_panel_pin_div, |
| 2671 | 2673 | #WI_button_panel_pin_div { |
| 2672 | 2674 | opacity: 0.5; |
| 2673 | - transition: 0.3s; | |
| 2675 | + transition: var(--animation-duration-2x); | |
| 2674 | 2676 | } |
| 2675 | 2677 | |
| 2676 | 2678 | #rm_button_panel_pin_div:hover, |
| @@ -2872,7 +2874,7 @@ input[type="file"] { | ||
| 2872 | 2874 | aspect-ratio: 1 / 1; |
| 2873 | 2875 | font-size: 20px; |
| 2874 | 2876 | opacity: 0.5; |
| 2875 | 2877 | transition: all 250msvar(--animation-duration-2x); |
| 2876 | 2878 | } |
| 2877 | 2879 | |
| 2878 | 2880 | .floating_panel_maximize:hover, |
| @@ -2886,7 +2888,7 @@ input[type="file"] { | ||
| 2886 | 2888 | aspect-ratio: 1 / 1; |
| 2887 | 2889 | font-size: calc(var(--mainFontSize)*1.3); |
| 2888 | 2890 | opacity: 0.5; |
| 2889 | 2891 | transition: all 250msvar(--animation-duration-2x); |
| 2890 | 2892 | filter: drop-shadow(0px 0px 2px black); |
| 2891 | 2893 | text-shadow: none; |
| 2892 | 2894 | } |
| @@ -3321,7 +3323,7 @@ input[type=search]:focus::-webkit-search-cancel-button { | ||
| 3321 | 3323 | text-shadow: none; |
| 3322 | 3324 | margin: 0; |
| 3323 | 3325 | filter: drop-shadow(0px 0px 3px white); |
| 3324 | 3326 | transition: opacity 0.2svar(--animation-duration-2x) ease-in-out; |
| 3325 | 3327 | display: none; |
| 3326 | 3328 | } |
| 3327 | 3329 | |
| @@ -3474,7 +3476,7 @@ input[type=search]:focus::-webkit-search-cancel-button { | ||
| 3474 | 3476 | border: 1px solid var(--SmartThemeBorderColor); |
| 3475 | 3477 | border-radius: 10px; |
| 3476 | 3478 | cursor: pointer; |
| 3477 | - transition: 0.2s; | |
| 3479 | + transition: var(--animation-duration-2x); | |
| 3478 | 3480 | } |
| 3479 | 3481 | |
| 3480 | 3482 | .avatar-container { |
| @@ -3769,7 +3771,7 @@ grammarly-extension { | ||
| 3769 | 3771 | width: min-content; |
| 3770 | 3772 | cursor: pointer; |
| 3771 | 3773 | margin: 5px 0; |
| 3772 | - transition: 0.3s; | |
| 3774 | + transition: var(--animation-duration-2x); | |
| 3773 | 3775 | display: flex; |
| 3774 | 3776 | align-items: center; |
| 3775 | 3777 | justify-content: center; |
| @@ -3835,7 +3837,7 @@ grammarly-extension { | ||
| 3835 | 3837 | background-color: var(--black30a); |
| 3836 | 3838 | border: 1px solid var(--SmartThemeBorderColor); |
| 3837 | 3839 | cursor: grab; |
| 3838 | 3840 | transition: background-color 200msvar(--animation-duration-2x) ease-in-out; |
| 3839 | 3841 | position: relative; |
| 3840 | 3842 | user-select: none; |
| 3841 | 3843 | display: flex; |
| @@ -4009,7 +4011,7 @@ input[type="checkbox"]::before { | ||
| 4009 | 4011 | width: 0.65em; |
| 4010 | 4012 | height: 0.65em; |
| 4011 | 4013 | transform: scale(0); |
| 4012 | 4014 | transition: 120msvar(--animation-duration) transform ease-in-out; |
| 4013 | 4015 | box-shadow: inset 1em 1em var(--SmartThemeCheckboxTickColor); |
| 4014 | 4016 | transform-origin: bottom left; |
| 4015 | 4017 | clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); |
| @@ -4352,7 +4354,7 @@ input[type="range"]::-webkit-slider-thumb { | ||
| 4352 | 4354 | border-radius: 100%; |
| 4353 | 4355 | box-shadow: 0 0 3px black; |
| 4354 | 4356 | */ |
| 4355 | 4357 | transition: all 250msvar(--animation-duration-2x); |
| 4356 | 4358 | } |
| 4357 | 4359 | |
| 4358 | 4360 | .topRightInset { |
| @@ -4372,7 +4374,7 @@ input[type="range"]::-webkit-slider-thumb { | ||
| 4372 | 4374 | font-weight: 400; |
| 4373 | 4375 | text-decoration: none; |
| 4374 | 4376 | border-bottom: 2px dashed red; |
| 4375 | - transition: 0.3s; | |
| 4377 | + transition: var(--animation-duration-2x); | |
| 4376 | 4378 | } |
| 4377 | 4379 | |
| 4378 | 4380 | .whitespacenowrap { |
| @@ -4405,7 +4407,7 @@ input[type="range"]::-webkit-slider-thumb { | ||
| 4405 | 4407 | gap: 4px; |
| 4406 | 4408 | flex-wrap: nowrap; |
| 4407 | 4409 | justify-content: flex-end; |
| 4408 | 4410 | transition: all 200msvar(--animation-duration-2x); |
| 4409 | 4411 | overflow-x: hidden; |
| 4410 | 4412 | padding: 1px; |
| 4411 | 4413 | } |
| @@ -4417,7 +4419,7 @@ input[type="range"]::-webkit-slider-thumb { | ||
| 4417 | 4419 | .mes_button, |
| 4418 | 4420 | .extraMesButtons>div { |
| 4419 | 4421 | cursor: pointer; |
| 4420 | 4422 | transition: opacity 0.2svar(--animation-duration-2x) ease-in-out; |
| 4421 | 4423 | filter: drop-shadow(0px 0px 2px black); |
| 4422 | 4424 | opacity: 0.3; |
| 4423 | 4425 | padding: 1px 3px; |
| @@ -4448,7 +4450,7 @@ input[type="range"]::-webkit-slider-thumb { | ||
| 4448 | 4450 | cursor: pointer; |
| 4449 | 4451 | padding-bottom: 5px; |
| 4450 | 4452 | filter: drop-shadow(0px 0px 2px black); |
| 4451 | 4453 | transition: 0.3svar(--animation-duration-2x) ease-in-out; |
| 4452 | 4454 | } |
| 4453 | 4455 | |
| 4454 | 4456 | .mes_reasoning_actions { |
| @@ -4783,7 +4785,7 @@ body .ui-slider-handle { | ||
| 4783 | 4785 | text-align: center; |
| 4784 | 4786 | margin-left: 0; |
| 4785 | 4787 | opacity: 1 !important; |
| 4786 | 4788 | transition: filter 200msvar(--animation-duration-2x); |
| 4787 | 4789 | filter: brightness(1.2); |
| 4788 | 4790 | } |
| 4789 | 4791 | |
| @@ -4841,7 +4843,7 @@ body .ui-widget-content li { | ||
| 4841 | 4843 | align-items: center; |
| 4842 | 4844 | cursor: pointer; |
| 4843 | 4845 | opacity: 0.5; |
| 4844 | 4846 | transition: opacity 200msvar(--animation-duration-2x); |
| 4845 | 4847 | } |
| 4846 | 4848 | |
| 4847 | 4849 | body .ui-widget-content li:hover { |
| @@ -5026,7 +5028,7 @@ a:hover { | ||
| 5026 | 5028 | display: none; |
| 5027 | 5029 | position: relative; |
| 5028 | 5030 | width: fit-content; |
| 5029 | 5031 | transition: all 0.1svar(--animation-duration); |
| 5030 | 5032 | padding: 0.5rem; |
| 5031 | 5033 | } |
| 5032 | 5034 | |
| @@ -5218,7 +5220,7 @@ body:not(.sd) .mes_img_swipes { | ||
| 5218 | 5220 | border-radius: 10px; |
| 5219 | 5221 | padding: 2px 5px; |
| 5220 | 5222 | border: 1px solid var(--SmartThemeBorderColor); |
| 5221 | 5223 | transition: all 250msvar(--animation-duration-2x); |
| 5222 | 5224 | } |
| 5223 | 5225 | |
| 5224 | 5226 | .standoutHeader.inline-drawer-header { |
| @@ -5301,12 +5303,12 @@ body:has(#character_popup.open) #top-settings-holder:has(.drawer-content.openDra | ||
| 5301 | 5303 | } |
| 5302 | 5304 | |
| 5303 | 5305 | .drawer-icon.openIcon { |
| 5304 | 5306 | transition: all 0.275svar(--animation-duration-2x); |
| 5305 | 5307 | } |
| 5306 | 5308 | |
| 5307 | 5309 | .drawer-icon.closedIcon { |
| 5308 | 5310 | opacity: 0.3; |
| 5309 | 5311 | transition: all 0.275svar(--animation-duration-2x); |
| 5310 | 5312 | } |
| 5311 | 5313 | |
| 5312 | 5314 | .drawer-icon.closedIcon:hover { |
| @@ -5383,7 +5385,7 @@ body:has(#character_popup.open) #top-settings-holder:has(.drawer-content.openDra | ||
| 5383 | 5385 | -webkit-backdrop-filter: blur(calc(var(--SmartThemeBlurStrength))); |
| 5384 | 5386 | /* z-index: 1000 !important; */ |
| 5385 | 5387 | transition-property: height, display; |
| 5386 | 5388 | transition-duration: var(--animation-duration-2x); |
| 5387 | 5389 | transition-timing-function: ease-in-out; |
| 5388 | 5390 | transition-behavior: allow-discrete; |
| 5389 | 5391 | } |
| @@ -5397,7 +5399,7 @@ body:has(#character_popup.open) #top-settings-holder:has(.drawer-content.openDra | ||
| 5397 | 5399 | height: auto; |
| 5398 | 5400 | height: calc-size(auto, size); |
| 5399 | 5401 | overflow-y: auto; |
| 5400 | 5402 | animation: hide-scroll var(--animation-duration-2x) backwards; |
| 5401 | 5403 | |
| 5402 | 5404 | @starting-style { |
| 5403 | 5405 | height: 0; |
| @@ -5498,7 +5500,7 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 5498 | 5500 | |
| 5499 | 5501 | .fillRight.openDrawer #rm_print_characters_block { |
| 5500 | 5502 | overflow-y: auto; |
| 5501 | 5503 | animation: hide-scroll var(--animation-duration-2x) backwards; |
| 5502 | 5504 | } |
| 5503 | 5505 | */ |
| 5504 | 5506 | |
| @@ -5768,7 +5770,7 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 5768 | 5770 | aspect-ratio: 1 / 1; |
| 5769 | 5771 | font-size: 20px; |
| 5770 | 5772 | opacity: 0.5; |
| 5771 | 5773 | transition: all 250msvar(--animation-duration-2x); |
| 5772 | 5774 | } |
| 5773 | 5775 | |
| 5774 | 5776 | /* #groupMemberListPopout, |
| @@ -5855,7 +5857,7 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 5855 | 5857 | color: var(--SmartThemeBodyColor); |
| 5856 | 5858 | border: 1px solid var(--SmartThemeBorderColor); |
| 5857 | 5859 | border-radius: 5px; |
| 5858 | 5860 | transition: opacity 0.2svar(--animation-duration-2x); |
| 5859 | 5861 | opacity: 0.8; |
| 5860 | 5862 | cursor: pointer; |
| 5861 | 5863 | } |
| @@ -6047,7 +6049,7 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 6047 | 6049 | margin: 7px; |
| 6048 | 6050 | width: calc(100% - 7px); |
| 6049 | 6051 | box-sizing: border-box; |
| 6050 | 6052 | transition: transform 0.2svar(--animation-duration-2x) ease-in-out, background-color 0.2svar(--animation-duration-2x) ease-in-out, border 0.2svar(--animation-duration-2x) ease-in-out; |
| 6051 | 6053 | } |
| 6052 | 6054 | |
| 6053 | 6055 | .model-card .details-container { |
| @@ -6059,7 +6061,7 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 6059 | 6061 | transform: scale(1.01); |
| 6060 | 6062 | background-color: #444; |
| 6061 | 6063 | /* Smooth transition */ |
| 6062 | 6064 | transition: transform 0.2svar(--animation-duration-2x) ease-in-out, background-color 0.2svar(--animation-duration-2x) ease-in-out; |
| 6063 | 6065 | } |
| 6064 | 6066 | |
| 6065 | 6067 | .model-card.selected { |