Ticket #54174: 54174.1.patch
File 54174.1.patch, 10.6 KB (added by , 3 years ago) |
---|
-
src/wp-content/themes/twentytwentyone/assets/css/ie.css
5964 5964 padding-right: 20px; 5965 5965 padding-bottom: 25px; 5966 5966 background-color: #d1e4dd; 5967 transition: all 0.15s ease-in-out;5968 5967 transform: translateY(30px); 5969 5968 } 5969 @media (prefers-reduced-motion: no-preference) { 5970 5971 .primary-navigation > .primary-menu-container { 5972 transition: all 0.15s ease-in-out; 5973 } 5974 } 5970 5975 @media only screen and (max-width: 481px) { 5971 5976 5972 5977 .primary-navigation > .primary-menu-container { … … 6148 6153 .primary-navigation > div > .menu-wrapper > li > .sub-menu { 6149 6154 position: relative; 6150 6155 } 6156 @media only screen and (min-width: 482px) and (prefers-reduced-motion: no-preference) { 6157 6158 .primary-navigation > div > .menu-wrapper > li > .sub-menu { 6159 transition: all 0.5s ease; 6160 } 6161 } 6151 6162 @media only screen and (min-width: 482px) { 6152 6163 6153 6164 .primary-navigation > div > .menu-wrapper > li > .sub-menu { … … 6157 6168 position: absolute; 6158 6169 top: 100%; 6159 6170 padding-top: 3px; 6160 transition: all 0.5s ease;6161 6171 z-index: 88888; 6162 6172 } 6163 6173 … … 6438 6448 6439 6449 .footer-navigation-wrapper li a { 6440 6450 padding: 17px 13px; 6441 transition: transform 0.1s ease;6442 6451 color: #28303d; 6443 6452 } 6444 6453 … … 6477 6486 .footer-navigation-wrapper li .svg-icon:hover { 6478 6487 transform: scale(1.1); 6479 6488 } 6489 @media (prefers-reduced-motion: no-preference) { 6480 6490 6491 .footer-navigation-wrapper li .svg-icon { 6492 transition: transform 0.1s ease; 6493 } 6494 } 6495 6481 6496 .footer-navigation-wrapper .sub-menu-toggle, 6482 6497 .footer-navigation-wrapper .menu-item-description { 6483 6498 display: none; … … 6986 7001 outline: 0; 6987 7002 } 6988 7003 6989 @media (prefers-reduced-motion) {6990 6991 * {6992 transition-delay: 0s !important;6993 transition-duration: 0s !important;6994 }6995 }6996 6997 7004 .has-black-color[class] { 6998 7005 color: #000; 6999 7006 } -
src/wp-content/themes/twentytwentyone/assets/css/style-dark-mode-rtl.css
49 49 position: fixed; 50 50 bottom: 5px; 51 51 left: 5px; 52 transition: bottom 0.5s;53 52 } 54 53 55 54 #dark-mode-toggler.fixed-bottom.hide:not(:focus) { … … 106 105 display: none; 107 106 } 108 107 } 108 @media only screen and (prefers-reduced-motion: no-preference) { 109 110 #dark-mode-toggler.fixed-bottom { 111 transition: bottom 0.5s; 112 } 113 } -
src/wp-content/themes/twentytwentyone/assets/css/style-dark-mode.css
49 49 position: fixed; 50 50 bottom: 5px; 51 51 right: 5px; 52 transition: bottom 0.5s;53 52 } 54 53 55 54 #dark-mode-toggler.fixed-bottom.hide:not(:focus) { … … 106 105 display: none; 107 106 } 108 107 } 108 @media only screen and (prefers-reduced-motion: no-preference) { 109 110 #dark-mode-toggler.fixed-bottom { 111 transition: bottom 0.5s; 112 } 113 } -
src/wp-content/themes/twentytwentyone/assets/sass/06-components/footer-navigation.scss
21 21 22 22 a { 23 23 padding: calc(1.25 * var(--primary-nav--padding)) var(--primary-nav--padding); 24 transition: transform 0.1s ease;25 24 color: var(--footer--color-link); 26 25 27 26 &:link, … … 63 62 &:hover { 64 63 transform: scale(1.1); 65 64 } 65 66 @media (prefers-reduced-motion: no-preference) { 67 transition: transform 0.1s ease; 68 } 66 69 } 67 70 } 68 71 -
src/wp-content/themes/twentytwentyone/assets/sass/06-components/navigation.scss
101 101 padding-right: var(--global--spacing-unit); 102 102 padding-bottom: var(--global--spacing-horizontal); 103 103 background-color: var(--global--color-background); 104 transition: all .15s ease-in-out;105 104 transform: translateY(var(--global--spacing-vertical)); 106 105 106 @media (prefers-reduced-motion: no-preference) { 107 transition: all .15s ease-in-out; 108 } 109 107 110 @include media(mobile-only) { 108 111 height: 100vh; 109 112 z-index: 499; … … 279 282 position: relative; 280 283 281 284 @include media(mobile) { 285 @media (prefers-reduced-motion: no-preference) { 286 transition: all 0.5s ease; 287 } 288 } 289 290 @include media(mobile) { 282 291 left: 0; 283 292 margin: 0; 284 293 min-width: max-content; … … 285 294 position: absolute; 286 295 top: 100%; 287 296 padding-top: 3px; 288 transition: all 0.5s ease;289 297 z-index: 88888; 290 298 291 299 &:before, -
src/wp-content/themes/twentytwentyone/assets/sass/07-utilities/a11y.scss
38 38 #content[tabindex="-1"]:focus { 39 39 outline: 0; 40 40 } 41 42 @media (prefers-reduced-motion) {43 44 * {45 transition-delay: 0s !important;46 transition-duration: 0s !important;47 }48 } -
src/wp-content/themes/twentytwentyone/assets/sass/style-dark-mode.scss
46 46 47 47 &.fixed-bottom { 48 48 position: fixed; 49 bottom: 5px; 49 bottom: 5px; // The bottom property has transition (see below). 50 50 right: 5px; 51 transition: bottom 0.5s;52 51 53 52 &.hide:not(:focus) { 54 53 bottom: -80px; … … 97 96 .is-IE & { 98 97 display: none; 99 98 } 99 100 &.fixed-bottom { 101 @media (prefers-reduced-motion: no-preference) { 102 transition: bottom 0.5s; 103 } 104 } 100 105 } 101 106 } -
src/wp-content/themes/twentytwentyone/style-rtl.css
4692 4692 padding-left: var(--global--spacing-unit); 4693 4693 padding-bottom: var(--global--spacing-horizontal); 4694 4694 background-color: var(--global--color-background); 4695 transition: all 0.15s ease-in-out;4696 4695 transform: translateY(var(--global--spacing-vertical)); 4697 4696 } 4697 @media (prefers-reduced-motion: no-preference) { 4698 4699 .primary-navigation > .primary-menu-container { 4700 transition: all 0.15s ease-in-out; 4701 } 4702 } 4698 4703 @media only screen and (max-width: 481px) { 4699 4704 4700 4705 .primary-navigation > .primary-menu-container { … … 4864 4869 .primary-navigation > div > .menu-wrapper > li > .sub-menu { 4865 4870 position: relative; 4866 4871 } 4872 @media only screen and (min-width: 482px) and (prefers-reduced-motion: no-preference) { 4873 4874 .primary-navigation > div > .menu-wrapper > li > .sub-menu { 4875 transition: all 0.5s ease; 4876 } 4877 } 4867 4878 @media only screen and (min-width: 482px) { 4868 4879 4869 4880 .primary-navigation > div > .menu-wrapper > li > .sub-menu { … … 4873 4884 position: absolute; 4874 4885 top: 100%; 4875 4886 padding-top: 3px; 4876 transition: all 0.5s ease;4877 4887 z-index: 88888; 4878 4888 } 4879 4889 … … 5105 5115 5106 5116 .footer-navigation-wrapper li a { 5107 5117 padding: calc(1.25 * var(--primary-nav--padding)) var(--primary-nav--padding); 5108 transition: transform 0.1s ease;5109 5118 color: var(--footer--color-link); 5110 5119 } 5111 5120 … … 5138 5147 .footer-navigation-wrapper li .svg-icon:hover { 5139 5148 transform: scale(1.1); 5140 5149 } 5150 @media (prefers-reduced-motion: no-preference) { 5141 5151 5152 .footer-navigation-wrapper li .svg-icon { 5153 transition: transform 0.1s ease; 5154 } 5155 } 5156 5142 5157 .footer-navigation-wrapper .sub-menu-toggle, 5143 5158 .footer-navigation-wrapper .menu-item-description { 5144 5159 display: none; … … 5594 5609 outline: 0; 5595 5610 } 5596 5611 5597 @media (prefers-reduced-motion) {5598 5599 * {5600 transition-delay: 0s !important;5601 transition-duration: 0s !important;5602 }5603 }5604 5605 5612 .has-black-color[class] { 5606 5613 color: var(--global--color-black); 5607 5614 } -
src/wp-content/themes/twentytwentyone/style.css
4712 4712 padding-right: var(--global--spacing-unit); 4713 4713 padding-bottom: var(--global--spacing-horizontal); 4714 4714 background-color: var(--global--color-background); 4715 transition: all 0.15s ease-in-out;4716 4715 transform: translateY(var(--global--spacing-vertical)); 4717 4716 } 4717 @media (prefers-reduced-motion: no-preference) { 4718 4719 .primary-navigation > .primary-menu-container { 4720 transition: all 0.15s ease-in-out; 4721 } 4722 } 4718 4723 @media only screen and (max-width: 481px) { 4719 4724 4720 4725 .primary-navigation > .primary-menu-container { … … 4884 4889 .primary-navigation > div > .menu-wrapper > li > .sub-menu { 4885 4890 position: relative; 4886 4891 } 4892 @media only screen and (min-width: 482px) and (prefers-reduced-motion: no-preference) { 4893 4894 .primary-navigation > div > .menu-wrapper > li > .sub-menu { 4895 transition: all 0.5s ease; 4896 } 4897 } 4887 4898 @media only screen and (min-width: 482px) { 4888 4899 4889 4900 .primary-navigation > div > .menu-wrapper > li > .sub-menu { … … 4893 4904 position: absolute; 4894 4905 top: 100%; 4895 4906 padding-top: 3px; 4896 transition: all 0.5s ease;4897 4907 z-index: 88888; 4898 4908 } 4899 4909 … … 5141 5151 5142 5152 .footer-navigation-wrapper li a { 5143 5153 padding: calc(1.25 * var(--primary-nav--padding)) var(--primary-nav--padding); 5144 transition: transform 0.1s ease;5145 5154 color: var(--footer--color-link); 5146 5155 } 5147 5156 … … 5174 5183 .footer-navigation-wrapper li .svg-icon:hover { 5175 5184 transform: scale(1.1); 5176 5185 } 5186 @media (prefers-reduced-motion: no-preference) { 5177 5187 5188 .footer-navigation-wrapper li .svg-icon { 5189 transition: transform 0.1s ease; 5190 } 5191 } 5192 5178 5193 .footer-navigation-wrapper .sub-menu-toggle, 5179 5194 .footer-navigation-wrapper .menu-item-description { 5180 5195 display: none; … … 5630 5645 outline: 0; 5631 5646 } 5632 5647 5633 @media (prefers-reduced-motion) {5634 5635 * {5636 transition-delay: 0s !important;5637 transition-duration: 0s !important;5638 }5639 }5640 5641 5648 .has-black-color[class] { 5642 5649 color: var(--global--color-black); 5643 5650 }