Reformat CSS styles
| @@ -55,11 +55,14 @@ | ||
| 55 | 55 | |
| 56 | 56 | /* Flashing for highlighting animation */ |
| 57 | 57 | @keyframes flash { |
| 58 | - 0%, 50%, 100% { | |
| 58 | + 0%, | |
| 59 | + 50%, | |
| 60 | + 100% { | |
| 59 | 61 | opacity: 1; |
| 60 | 62 | } |
| 61 | 63 | |
| 62 | 64 | 25%, 75% { |
| 65 | + 75% { | |
| 63 | 66 | opacity: 0.2; |
| 64 | 67 | } |
| 65 | 68 | } |
| @@ -1,4 +1,3 @@ | ||
| 1 | - | |
| 2 | 1 | #rm_print_characters_block.group_overlay_mode_select .character_select { |
| 3 | 2 | transition: background-color 0.4s ease; |
| 4 | 3 | background-color: rgba(170, 170, 170, 0.15); |
| @@ -28,7 +27,10 @@ | ||
| 28 | 27 | height: 0 !important; |
| 29 | 28 | } |
| 30 | 29 | |
| 31 | 30 | #character_context_menu.hidden { display: none; } |
| 31 | + display: none; | |
| 32 | +} | |
| 33 | + | |
| 32 | 34 | #character_context_menu { |
| 33 | 35 | position: absolute; |
| 34 | 36 | padding: 3px; |
| @@ -115,7 +115,8 @@ | ||
| 115 | 115 | background-color: rgba(255, 255, 0, 0.05); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | .logprobs_tint_0:hover, .logprobs_tint_0.selected { |
| 119 | +.logprobs_tint_0.selected { | |
| 119 | 120 | background-color: rgba(255, 255, 0, 0.4); |
| 120 | 121 | } |
| 121 | 122 | |
| @@ -123,7 +124,8 @@ | ||
| 123 | 124 | background-color: rgba(255, 0, 255, 0.05); |
| 124 | 125 | } |
| 125 | 126 | |
| 126 | 127 | .logprobs_tint_1:hover, .logprobs_tint_1.selected { |
| 128 | +.logprobs_tint_1.selected { | |
| 127 | 129 | background-color: rgba(255, 0, 255, 0.4); |
| 128 | 130 | } |
| 129 | 131 | |
| @@ -131,7 +133,8 @@ | ||
| 131 | 133 | background-color: rgba(0, 255, 255, 0.05); |
| 132 | 134 | } |
| 133 | 135 | |
| 134 | 136 | .logprobs_tint_2:hover, .logprobs_tint_2.selected { |
| 137 | +.logprobs_tint_2.selected { | |
| 135 | 138 | background-color: rgba(0, 255, 255, 0.4); |
| 136 | 139 | } |
| 137 | 140 | |
| @@ -139,6 +142,7 @@ | ||
| 139 | 142 | background-color: rgba(50, 205, 50, 0.05); |
| 140 | 143 | } |
| 141 | 144 | |
| 142 | 145 | .logprobs_tint_3:hover, .logprobs_tint_3.selected { |
| 146 | +.logprobs_tint_3.selected { | |
| 143 | 147 | background-color: rgba(50, 205, 50, 0.4); |
| 144 | 148 | } |
| @@ -34,9 +34,17 @@ dialog { | ||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** Popup styles applied to the main popup */ |
| 37 | -.popup--animation-fast { --popup-animation-speed: var(--animation-duration); } | |
| 37 | +.popup--animation-fast { | |
| 38 | 38 | .popup--animation-slow { --popup-animation-speed: var(--animation-duration-slow); } |
| 39 | -.popup--animation-none { --popup-animation-speed: 0ms; } | |
| 39 | +} | |
| 40 | + | |
| 41 | +.popup--animation-slow { | |
| 42 | + --popup-animation-speed: var(--animation-duration-slow); | |
| 43 | +} | |
| 44 | + | |
| 45 | +.popup--animation-none { | |
| 46 | + --popup-animation-speed: 0ms; | |
| 47 | +} | |
| 40 | 48 | |
| 41 | 49 | /* Styling of main popup elements */ |
| 42 | 50 | .popup .popup-body { |
| @@ -190,4 +198,3 @@ body.no-blur .popup[open]::backdrop { | ||
| 190 | 198 | /* Fix weird animation issue with font-scaling during popup open */ |
| 191 | 199 | backface-visibility: hidden; |
| 192 | 200 | } |
| 193 | - | |
| @@ -1,7 +1,10 @@ | ||
| 1 | 1 | .scrollable-buttons-container { |
| 2 | 2 | max-height: 50vh; /* Use viewport height instead of fixed pixels */ |
| 3 | - -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS */ | |
| 3 | + max-height: 50vh; | |
| 4 | - margin-top: 1rem; /* m-t-1 is equivalent to margin-top: 1rem; */ | |
| 4 | + /* Momentum scrolling on iOS */ | |
| 5 | + -webkit-overflow-scrolling: touch; | |
| 6 | + /* m-t-1 is equivalent to margin-top: 1rem; */ | |
| 7 | + margin-top: 1rem; | |
| 5 | 8 | flex-shrink: 1; |
| 6 | 9 | min-height: 0; |
| 7 | 10 | scrollbar-width: thin; |
| @@ -231,6 +231,7 @@ body.big-avatars .avatars_inline_small .avatar img { | ||
| 231 | 231 | body.big-avatars .avatars_inline { |
| 232 | 232 | max-height: calc(var(--avatar-base-height) * var(--big-avatar-height-factor) + 2 * var(--avatar-base-border-radius)); |
| 233 | 233 | } |
| 234 | + | |
| 234 | 235 | body.big-avatars .avatars_inline.avatars_multiline { |
| 235 | 236 | max-height: fit-content; |
| 236 | 237 | } |
| @@ -238,6 +239,7 @@ body.big-avatars .avatars_inline.avatars_multiline { | ||
| 238 | 239 | body.big-avatars .avatars_inline.avatars_inline_small { |
| 239 | 240 | height: calc(var(--avatar-base-height) * var(--big-avatar-height-factor) * var(--inline-avatar-small-factor) + 2 * var(--avatar-base-border-radius)); |
| 240 | 241 | } |
| 242 | + | |
| 241 | 243 | body.big-avatars .avatars_inline.avatars_inline_small.avatars_multiline { |
| 242 | 244 | height: inherit; |
| 243 | 245 | } |