Ticket #48557: 48557.3.diff
File 48557.3.diff, 11.1 KB (added by , 5 years ago) |
---|
-
src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css
162 162 163 163 /* CUSTOM COLORS */ 164 164 165 .has-accent-color {165 :root .has-accent-color { 166 166 color: #cd2653; 167 167 } 168 168 169 .has-accent-background-color {169 :root .has-accent-background-color { 170 170 background-color: #cd2653; 171 color: #fff; 171 172 } 172 173 173 .has-secondary-color { 174 :root .has-primary-color { 175 color: #000; 176 } 177 178 :root .has-primary-background-color { 179 background-color: #000; 180 color: #f5efe0; 181 } 182 183 :root .has-secondary-color { 174 184 color: #6d6d6d; 175 185 } 176 186 177 .has-secondary-background-color {187 :root .has-secondary-background-color { 178 188 background-color: #6d6d6d; 189 color: #fff; 179 190 } 180 191 181 .has-subtle-background-color {192 :root .has-subtle-background-color { 182 193 color: #dcd7ca; 183 194 } 184 195 185 .has-subtle-background-background-color {196 :root .has-subtle-background-background-color { 186 197 background-color: #dcd7ca; 198 color: #000; 187 199 } 188 200 189 .has-background-color {190 color: # 6d6d6d;201 :root .has-background-color { 202 color: #f5efe0; 191 203 } 192 204 193 .has-background-background-color { 194 background-color: #6d6d6d; 205 :root .has-background-background-color { 206 background-color: #f5efe0; 207 color: #000; 195 208 } 196 209 197 210 /* GENERAL COLORS */ … … 198 211 199 212 .has-black-background-color { 200 213 background-color: #000; 214 color: #fff; 201 215 } 202 216 203 217 .has-white-background-color { 204 218 background-color: #fff; 219 color: #000; 205 220 } 206 221 207 222 .has-black-color { -
src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css
162 162 163 163 /* CUSTOM COLORS */ 164 164 165 .has-accent-color {165 :root .has-accent-color { 166 166 color: #cd2653; 167 167 } 168 168 169 .has-accent-background-color {169 :root .has-accent-background-color { 170 170 background-color: #cd2653; 171 color: #fff; 171 172 } 172 173 173 .has-secondary-color { 174 :root .has-primary-color { 175 color: #000; 176 } 177 178 :root .has-primary-background-color { 179 background-color: #000; 180 color: #f5efe0; 181 } 182 183 :root .has-secondary-color { 174 184 color: #6d6d6d; 175 185 } 176 186 177 .has-secondary-background-color {187 :root .has-secondary-background-color { 178 188 background-color: #6d6d6d; 189 color: #fff; 179 190 } 180 191 181 .has-subtle-background-color {192 :root .has-subtle-background-color { 182 193 color: #dcd7ca; 183 194 } 184 195 185 .has-subtle-background-background-color {196 :root .has-subtle-background-background-color { 186 197 background-color: #dcd7ca; 198 color: #000; 187 199 } 188 200 189 .has-background-color {190 color: # 6d6d6d;201 :root .has-background-color { 202 color: #f5efe0; 191 203 } 192 204 193 .has-background-background-color { 194 background-color: #6d6d6d; 205 :root .has-background-background-color { 206 background-color: #f5efe0; 207 color: #000; 195 208 } 196 209 197 210 /* GENERAL COLORS */ … … 198 211 199 212 .has-black-background-color { 200 213 background-color: #000; 214 color: #fff; 201 215 } 202 216 203 217 .has-white-background-color { 204 218 background-color: #fff; 219 color: #000; 205 220 } 206 221 207 222 .has-black-color { -
src/wp-content/themes/twentytwenty/style-rtl.css
2648 2648 2649 2649 :root .has-accent-background-color { 2650 2650 background-color: #cd2653; 2651 color: #fff; 2651 2652 } 2652 2653 2653 2654 :root .has-primary-color { … … 2656 2657 2657 2658 :root .has-primary-background-color { 2658 2659 background-color: #000; 2660 color: #f5efe0; 2659 2661 } 2660 2662 2661 2663 :root .has-secondary-color { … … 2664 2666 2665 2667 :root .has-secondary-background-color { 2666 2668 background-color: #6d6d6d; 2669 color: #fff; 2667 2670 } 2668 2671 2669 2672 :root .has-subtle-background-color { … … 2672 2675 2673 2676 :root .has-subtle-background-background-color { 2674 2677 background-color: #dcd7ca; 2678 color: #000; 2675 2679 } 2676 2680 2677 2681 :root .has-background-color { … … 2680 2684 2681 2685 :root .has-background-background-color { 2682 2686 background-color: #f5efe0; 2687 color: #000; 2683 2688 } 2684 2689 2685 2690 … … 3048 3053 3049 3054 .wp-block-group.has-background { 3050 3055 padding: 2rem; 3056 margin-bottom: 0; 3057 margin-top: 0; 3051 3058 } 3052 3059 3053 3060 .wp-block-group__inner-container { … … 4481 4488 [class*="wp-block"].alignwide [class*="__inner-container"] > .alignleft, 4482 4489 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignleft, 4483 4490 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignleft, 4484 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft ,4491 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft:not(.wp-block-pullquote), 4485 4492 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignleft, 4486 4493 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignleft { 4487 4494 margin-left: calc(( 100vw - 58rem - 8rem ) / -2); … … 4499 4506 [class*="wp-block"].alignwide [class*="__inner-container"] > .alignright, 4500 4507 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignright, 4501 4508 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignright, 4502 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright ,4509 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright:not(.wp-block-pullquote), 4503 4510 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignright, 4504 4511 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignright { 4505 4512 margin-right: calc(( 100vw - 58rem - 8rem ) / -2); … … 5021 5028 5022 5029 .wp-block-group.has-background { 5023 5030 padding: 4rem; 5031 margin-top: 0; 5032 margin-bottom: 0; 5024 5033 } 5025 5034 5026 5035 /* BLOCK: MEDIA AND TEXT */ … … 5130 5139 margin: 0.3rem 0 2rem 2rem; 5131 5140 } 5132 5141 5133 .entry-content > .alignwide ,5134 .entry-content > .alignfull {5142 .entry-content > .alignwide:not(.wp-block-group), 5143 .entry-content > .alignfull:not(.wp-block-group) { 5135 5144 margin-bottom: 6rem; 5136 5145 margin-top: 6rem; 5137 5146 } … … 5621 5630 .entry-content > .wp-block-group.alignwide.has-background, 5622 5631 .entry-content > .wp-block-group.alignfull.has-background { 5623 5632 padding: 8rem 4rem; 5633 margin-bottom: 0; 5634 margin-top: 0; 5624 5635 } 5625 5636 5626 5637 /* BLOCK: SEPARATOR */ … … 5688 5699 max-width: calc((100% - 58rem) / 2 - 4rem); 5689 5700 } 5690 5701 5691 .entry-content > .alignwide ,5692 .entry-content > .alignfull {5702 .entry-content > .alignwide:not(.wp-block-group), 5703 .entry-content > .alignfull:not(.wp-block-group) { 5693 5704 margin-bottom: 8rem; 5694 5705 margin-top: 8rem; 5695 5706 } … … 5841 5852 .entry-content > .wp-block-group.alignwide.has-background, 5842 5853 .entry-content > .wp-block-group.alignfull.has-background { 5843 5854 padding: 8rem 6rem; 5855 margin-bottom: 0; 5856 margin-top: 0; 5844 5857 } 5845 5858 5846 5859 /* BLOCK: PULLQUOTE */ … … 5991 6004 5992 6005 /* BLOCK: PULLQUOTE */ 5993 6006 5994 .wp-block-pullquote.alignleft::before,5995 .wp-block-pullquote.alignright::before {5996 position: absolute;5997 top: -0.4rem;5998 }5999 6000 6007 .wp-block-pullquote.is-style-solid-color.alignleft::before, 6001 6008 .wp-block-pullquote.is-style-solid-color.alignright::before { 6002 6009 top: 0; 6003 6010 } 6004 6005 .wp-block-pullquote.alignleft::before {6006 left: calc(100% + 1.5rem);6007 }6008 6009 .wp-block-pullquote.alignright::before {6010 right: calc(100% + 1.5rem);6011 }6012 6011 } -
src/wp-content/themes/twentytwenty/style.css
2660 2660 2661 2661 :root .has-accent-background-color { 2662 2662 background-color: #cd2653; 2663 color: #fff; 2663 2664 } 2664 2665 2665 2666 :root .has-primary-color { … … 2668 2669 2669 2670 :root .has-primary-background-color { 2670 2671 background-color: #000; 2672 color: #f5efe0; 2671 2673 } 2672 2674 2673 2675 :root .has-secondary-color { … … 2676 2678 2677 2679 :root .has-secondary-background-color { 2678 2680 background-color: #6d6d6d; 2681 color: #fff; 2679 2682 } 2680 2683 2681 2684 :root .has-subtle-background-color { … … 2684 2687 2685 2688 :root .has-subtle-background-background-color { 2686 2689 background-color: #dcd7ca; 2690 color: #000; 2687 2691 } 2688 2692 2689 2693 :root .has-background-color { … … 2692 2696 2693 2697 :root .has-background-background-color { 2694 2698 background-color: #f5efe0; 2699 color: #000; 2695 2700 } 2696 2701 2697 2702 … … 3062 3067 3063 3068 .wp-block-group.has-background { 3064 3069 padding: 2rem; 3070 margin-bottom: 0; 3071 margin-top: 0; 3065 3072 } 3066 3073 3067 3074 .wp-block-group__inner-container { … … 4507 4514 [class*="wp-block"].alignwide [class*="__inner-container"] > .alignleft, 4508 4515 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignleft, 4509 4516 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignleft, 4510 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft ,4517 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignleft:not(.wp-block-pullquote), 4511 4518 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignleft, 4512 4519 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignleft { 4513 4520 … … 4529 4536 [class*="wp-block"].alignwide [class*="__inner-container"] > .alignright, 4530 4537 [class*="wp-block"].alignwide [class*="__inner-container"] > p .alignright, 4531 4538 [class*="wp-block"].alignwide [class*="__inner-container"] > .wp-block-image .alignright, 4532 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright ,4539 [class*="wp-block"].alignfull [class*="__inner-container"] > .alignright:not(.wp-block-pullquote), 4533 4540 [class*="wp-block"].alignfull [class*="__inner-container"] > p .alignright, 4534 4541 [class*="wp-block"].alignfull [class*="__inner-container"] > .wp-block-image .alignright { 4535 4542 … … 5055 5062 5056 5063 .wp-block-group.has-background { 5057 5064 padding: 4rem; 5065 margin-top: 0; 5066 margin-bottom: 0; 5058 5067 } 5059 5068 5060 5069 /* BLOCK: MEDIA AND TEXT */ … … 5168 5177 margin: 0.3rem 0 2rem 2rem; 5169 5178 } 5170 5179 5171 .entry-content > .alignwide ,5172 .entry-content > .alignfull {5180 .entry-content > .alignwide:not(.wp-block-group), 5181 .entry-content > .alignfull:not(.wp-block-group) { 5173 5182 margin-bottom: 6rem; 5174 5183 margin-top: 6rem; 5175 5184 } … … 5659 5668 .entry-content > .wp-block-group.alignwide.has-background, 5660 5669 .entry-content > .wp-block-group.alignfull.has-background { 5661 5670 padding: 8rem 4rem; 5671 margin-bottom: 0; 5672 margin-top: 0; 5662 5673 } 5663 5674 5664 5675 /* BLOCK: SEPARATOR */ … … 5726 5737 max-width: calc((100% - 58rem) / 2 - 4rem); 5727 5738 } 5728 5739 5729 .entry-content > .alignwide ,5730 .entry-content > .alignfull {5740 .entry-content > .alignwide:not(.wp-block-group), 5741 .entry-content > .alignfull:not(.wp-block-group) { 5731 5742 margin-bottom: 8rem; 5732 5743 margin-top: 8rem; 5733 5744 } … … 5879 5890 .entry-content > .wp-block-group.alignwide.has-background, 5880 5891 .entry-content > .wp-block-group.alignfull.has-background { 5881 5892 padding: 8rem 6rem; 5893 margin-bottom: 0; 5894 margin-top: 0; 5882 5895 } 5883 5896 5884 5897 /* BLOCK: PULLQUOTE */ … … 6037 6050 6038 6051 /* BLOCK: PULLQUOTE */ 6039 6052 6040 .wp-block-pullquote.alignleft::before,6041 .wp-block-pullquote.alignright::before {6042 position: absolute;6043 top: -0.4rem;6044 }6045 6046 6053 .wp-block-pullquote.is-style-solid-color.alignleft::before, 6047 6054 .wp-block-pullquote.is-style-solid-color.alignright::before { 6048 6055 top: 0; 6049 6056 } 6050 6051 .wp-block-pullquote.alignleft::before {6052 right: calc(100% + 1.5rem);6053 }6054 6055 .wp-block-pullquote.alignright::before {6056 left: calc(100% + 1.5rem);6057 }6058 6057 }