| @@ -1,13 +1,27 @@ | ||
| 1 | +/** | |
| 2 | + * Breakpoint Mixin | |
| 3 | + * | |
| 4 | + * Uses Sass Maps which requires Sass v3.3.0 or newer | |
| 5 | + * | |
| 6 | + * | |
| 7 | + * EXAMPLE | |
| 8 | + * | |
| 9 | + * body { | |
| 10 | + * @include breakpoint(tablet){ | |
| 11 | + * font-size: 14px; | |
| 12 | + * }; | |
| 13 | + * } | |
| 14 | + */ | |
| 1 | 15 | .j-row { |
| 2 | 16 | width: 100%; |
| 3 | 17 | margin: 0 auto; |
| 4 | 18 | } |
| 5 | -.j-row:before, .j-row:after { | |
| 19 | +.j-row::before, .j-row::after { | |
| 6 | 20 | content: " "; |
| 7 | 21 | display: table; |
| 8 | 22 | } |
| 9 | -.j-row:after { | |
| 23 | +.j-row::after { | |
| 10 | 24 | clear: both; |
| 11 | 25 | } |
| 12 | 26 | |
| 13 | 27 | .j-col { |
| @@ -91,19 +105,30 @@ | ||
| 91 | 105 | to { |
| 92 | 106 | transform: rotate(1turn); |
| 93 | 107 | } |
| 94 | 108 | } |
| 109 | +/** | |
| 110 | + * em() | |
| 111 | + * | |
| 112 | + * Convert px to em in a readable fashion. | |
| 113 | + * ========================================================================== | |
| 114 | + | |
| 115 | + * Examples: | |
| 116 | + * 1. font-size: em(14px); | |
| 117 | + * 2. font-size: em(30px/14px); | |
| 118 | + */ | |
| 95 | 119 | .button, |
| 96 | 120 | .download-jetpack { |
| 97 | 121 | transition: all 0.1s ease-in-out; |
| 98 | 122 | } |
| 99 | 123 | |
| 100 | -.jp-button, .jp-button--settings { | |
| 124 | +.jp-button, | |
| 125 | +.jp-button--settings { | |
| 101 | 126 | display: inline-block; |
| 102 | 127 | position: relative; |
| 103 | 128 | padding: 0.7692307692em 1.4615384615em; |
| 104 | 129 | color: #efefef; |
| 105 | - font-weight: bold; | |
| 130 | + font-weight: 700; | |
| 106 | 131 | font-size: 0.9285714286em; |
| 107 | 132 | line-height: 1; |
| 108 | 133 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); |
| 109 | 134 | background: #6f7476; |
| @@ -108,16 +133,20 @@ | ||
| 108 | 133 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); |
| 109 | 134 | background: #6f7476; |
| 110 | 135 | border-radius: 3px; |
| 111 | 136 | } |
| 112 | -.jp-button:visited, .jp-button--settings:visited { | |
| 137 | +.jp-button:visited, | |
| 138 | +.jp-button--settings:visited { | |
| 113 | 139 | color: #efefef; |
| 114 | 140 | } |
| 115 | -.jp-button:hover, .jp-button--settings:hover, .jp-button:focus, .jp-button--settings:focus { | |
| 141 | +.jp-button:hover, .jp-button:focus, | |
| 142 | +.jp-button--settings:hover, | |
| 143 | +.jp-button--settings:focus { | |
| 116 | 144 | color: #fff; |
| 117 | 145 | background: #57972d; |
| 118 | 146 | } |
| 119 | -.jp-button:active, .jp-button--settings:active { | |
| 147 | +.jp-button:active, | |
| 148 | +.jp-button--settings:active { | |
| 120 | 149 | background: #57972d; |
| 121 | 150 | opacity: 0.8; |
| 122 | 151 | } |
| 123 | 152 | |
| @@ -134,9 +163,9 @@ | ||
| 134 | 163 | } |
| 135 | 164 | .jp-button--settings.current { |
| 136 | 165 | background: #3c6621; |
| 137 | 166 | color: #fff; |
| 138 | - box-shadow: inset 0 2px 0 #365A1F, inset 0 1px 3px #3c6621; | |
| 167 | + box-shadow: inset 0 2px 0 #365a1f, inset 0 1px 3px #3c6621; | |
| 139 | 168 | } |
| 140 | 169 | |
| 141 | 170 | .download-jetpack { |
| 142 | 171 | display: inline-block; |
| @@ -160,14 +189,14 @@ | ||
| 160 | 189 | box-shadow: 0 6px 0 #3e6c20, 0 6px 3px rgba(0, 0, 0, 0.4); |
| 161 | 190 | } |
| 162 | 191 | .download-jetpack:active { |
| 163 | 192 | top: 6px; |
| 164 | - box-shadow: 0 0px 0 #3e6c20, 0 0 0 rgba(0, 0, 0, 0.4); | |
| 193 | + box-shadow: 0 0 0 #3e6c20, 0 0 0 rgba(0, 0, 0, 0.4); | |
| 165 | 194 | } |
| 166 | -.download-jetpack:active:after { | |
| 195 | +.download-jetpack:active::after { | |
| 167 | 196 | top: -6px; |
| 168 | 197 | } |
| 169 | -.download-jetpack:before { | |
| 198 | +.download-jetpack::before { | |
| 170 | 199 | content: ""; |
| 171 | 200 | display: inline-block; |
| 172 | 201 | position: relative; |
| 173 | 202 | top: -2px; |
| @@ -177,9 +206,9 @@ | ||
| 177 | 206 | vertical-align: middle; |
| 178 | 207 | background: url(../images/connect-plug.svg) center center no-repeat; |
| 179 | 208 | background-size: 100%; |
| 180 | 209 | } |
| 181 | -.download-jetpack:after { | |
| 210 | +.download-jetpack::after { | |
| 182 | 211 | content: ""; |
| 183 | 212 | position: absolute; |
| 184 | 213 | top: 0; |
| 185 | 214 | left: 0; |
| @@ -189,9 +218,9 @@ | ||
| 189 | 218 | @media (max-width: 1147px) { |
| 190 | 219 | .download-jetpack { |
| 191 | 220 | font-size: 1.2857142857em; |
| 192 | 221 | } |
| 193 | - .download-jetpack:before { | |
| 222 | + .download-jetpack::before { | |
| 194 | 223 | top: -1px; |
| 195 | 224 | width: 23px; |
| 196 | 225 | height: 23px; |
| 197 | 226 | } |
| @@ -205,9 +234,9 @@ | ||
| 205 | 234 | .download-jetpack { |
| 206 | 235 | font-size: 1.2142857143em; |
| 207 | 236 | font-weight: 600; |
| 208 | 237 | } |
| 209 | - .download-jetpack:before { | |
| 238 | + .download-jetpack::before { | |
| 210 | 239 | width: 19px; |
| 211 | 240 | height: 19px; |
| 212 | 241 | margin-right: 9px; |
| 213 | 242 | } |
| @@ -212,45 +241,21 @@ | ||
| 212 | 241 | margin-right: 9px; |
| 213 | 242 | } |
| 214 | 243 | } |
| 215 | 244 | |
| 216 | -.jp-spinner { | |
| 217 | - display: flex; | |
| 218 | - align-items: center; | |
| 219 | -} | |
| 220 | - | |
| 221 | -.jp-spinner__inner, | |
| 222 | -.jp-spinner__outer { | |
| 223 | - margin: auto; | |
| 224 | - box-sizing: border-box; | |
| 225 | - border: 0.1em solid transparent; | |
| 226 | - border-radius: 50%; | |
| 227 | - border-top-color: #00aadc; | |
| 228 | - animation: 3s linear infinite; | |
| 229 | - animation-name: jetpack-rotate; | |
| 230 | -} | |
| 231 | - | |
| 232 | -.jp-spinner__outer { | |
| 233 | - width: 20px; | |
| 234 | - height: 20px; | |
| 235 | - font-size: 20px; | |
| 236 | -} | |
| 237 | - | |
| 238 | -.jp-spinner__inner { | |
| 239 | - width: 100%; | |
| 240 | - height: 100%; | |
| 241 | - border-right-color: #00aadc; | |
| 242 | - opacity: 0.4; | |
| 243 | -} | |
| 244 | - | |
| 245 | +/** | |
| 246 | + * Automatticons | |
| 247 | + * | |
| 248 | + * A quick reference | |
| 249 | + */ | |
| 245 | 250 | @font-face { |
| 246 | - font-family: "automatticons"; | |
| 251 | + font-family: automatticons; | |
| 247 | 252 | src: url(../_inc/fonts/automatticons/automatticons.eot); |
| 248 | 253 | src: url(../_inc/fonts/automatticons/automatticons.eot?#iefix) format("embedded-opentype"), url(../_inc/fonts/automatticons/automatticons.woff) format("woff"), url(../_inc/fonts/automatticons/automatticons.ttf) format("truetype"), url(../_inc/fonts/automatticons/automatticons.svg#automatticonsregular) format("svg"); |
| 249 | - font-weight: normal; | |
| 254 | + font-weight: 400; | |
| 250 | 255 | font-style: normal; |
| 251 | 256 | } |
| 252 | -.nav-horizontal:after { | |
| 257 | +.nav-horizontal::after { | |
| 253 | 258 | content: "."; |
| 254 | 259 | display: block; |
| 255 | 260 | height: 0; |
| 256 | 261 | clear: both; |
| @@ -346,15 +351,15 @@ | ||
| 346 | 351 | background: url(../images/jetpack-logo.svg) center center no-repeat, none; |
| 347 | 352 | background-size: 183px auto; |
| 348 | 353 | color: #fff; |
| 349 | 354 | line-height: 60px; |
| 350 | - font-weight: normal; | |
| 355 | + font-weight: 400; | |
| 351 | 356 | } |
| 352 | 357 | .header-nav .jetpack-logo a span { |
| 353 | 358 | text-indent: -9999px; |
| 354 | 359 | visibility: hidden; |
| 355 | 360 | } |
| 356 | -.header-nav .jetpack-logo a:before { | |
| 361 | +.header-nav .jetpack-logo a::before { | |
| 357 | 362 | content: ""; |
| 358 | 363 | position: absolute; |
| 359 | 364 | top: 0; |
| 360 | 365 | left: 0; |
| @@ -383,9 +388,10 @@ | ||
| 383 | 388 | } |
| 384 | 389 | .jetpack-pagestyles #screen-meta-links .screen-meta-toggle { |
| 385 | 390 | z-index: 2; |
| 386 | 391 | } |
| 387 | -.jetpack-pagestyles #screen-options-link-wrap, .jetpack-pagestyles #contextual-help-link-wrap { | |
| 392 | +.jetpack-pagestyles #screen-options-link-wrap, | |
| 393 | +.jetpack-pagestyles #contextual-help-link-wrap { | |
| 388 | 394 | border: none; |
| 389 | 395 | } |
| 390 | 396 | .jetpack-pagestyles .update-nag { |
| 391 | 397 | display: none; |
| @@ -416,9 +422,9 @@ | ||
| 416 | 422 | .modal .close { |
| 417 | 423 | position: absolute; |
| 418 | 424 | top: 0; |
| 419 | 425 | right: 0; |
| 420 | - font: 300 1.7142857143em "genericons" !important; | |
| 426 | + font: 300 1.7142857143em Genericons !important; | |
| 421 | 427 | color: #777; |
| 422 | 428 | content: "\f405"; |
| 423 | 429 | display: inline-block; |
| 424 | 430 | padding: 0.2857142857em 0.7142857143em 0.4285714286em; |
| @@ -552,21 +558,21 @@ | ||
| 552 | 558 | position: relative; |
| 553 | 559 | padding: 10em 0 4.2857142857em; |
| 554 | 560 | text-align: center; |
| 555 | 561 | } |
| 556 | -.footer:before, .footer:after { | |
| 562 | +.footer::before, .footer::after { | |
| 557 | 563 | content: ""; |
| 558 | 564 | position: absolute; |
| 559 | 565 | left: 0; |
| 560 | 566 | pointer-events: none; |
| 561 | 567 | } |
| 562 | -.footer:before { | |
| 568 | +.footer::before { | |
| 563 | 569 | top: 0; |
| 564 | 570 | margin-top: -1px; |
| 565 | 571 | width: 100%; |
| 566 | 572 | height: 195px; |
| 567 | 573 | } |
| 568 | -.footer:after { | |
| 574 | +.footer::after { | |
| 569 | 575 | display: none; |
| 570 | 576 | } |
| 571 | 577 | .footer .download-jetpack { |
| 572 | 578 | margin-bottom: 33px; |
| @@ -580,9 +586,9 @@ | ||
| 580 | 586 | .footer { |
| 581 | 587 | padding-top: 165px; |
| 582 | 588 | padding-bottom: 0; |
| 583 | 589 | } |
| 584 | - .footer:before { | |
| 590 | + .footer::before { | |
| 585 | 591 | background-size: 160% auto; |
| 586 | 592 | } |
| 587 | 593 | .footer ul { |
| 588 | 594 | float: none; |
| @@ -700,9 +706,9 @@ | ||
| 700 | 706 | padding: 4px 16px; |
| 701 | 707 | right: 9999px; |
| 702 | 708 | outline: 0; |
| 703 | 709 | } |
| 704 | -.footer .a8c-attribution a:after { | |
| 710 | +.footer .a8c-attribution a::after { | |
| 705 | 711 | content: "A"; |
| 706 | 712 | position: absolute; |
| 707 | 713 | top: 2px; |
| 708 | 714 | right: -9999px; |
| @@ -711,9 +717,9 @@ | ||
| 711 | 717 | font-size: 1.5454545455em; |
| 712 | 718 | font-family: "automatticons"; |
| 713 | 719 | text-align: center; |
| 714 | 720 | } |
| 715 | -.footer .a8c-attribution a:hover:after { | |
| 721 | +.footer .a8c-attribution a:hover::after { | |
| 716 | 722 | animation: jetpack-candy 0.4s ease-in-out; |
| 717 | 723 | } |
| 718 | 724 | |
| 719 | 725 | @media (min-width: 782px) { |
| @@ -729,10 +735,10 @@ | ||
| 729 | 735 | } |
| 730 | 736 | } |
| 731 | 737 | |
| 732 | 738 | .jetpack-message { |
| 733 | - background: #00a113; | |
| 734 | - border: 1px solid #006e0d; | |
| 739 | + background: rgb(0, 160.5, 19.0222222222); | |
| 740 | + border: 1px solid rgb(0, 109.5, 12.9777777778); | |
| 735 | 741 | margin: 33px auto 0; |
| 736 | 742 | max-width: 90%; |
| 737 | 743 | position: relative; |
| 738 | 744 | z-index: 2; |
| @@ -752,21 +758,18 @@ | ||
| 752 | 758 | padding-bottom: 0; |
| 753 | 759 | background: transparent; |
| 754 | 760 | box-shadow: none; |
| 755 | 761 | } |
| 756 | -.subhead .jetpack-message.is-opt-in .jp-button, .subhead .jetpack-message.is-opt-in .jp-button--settings { | |
| 762 | +.subhead .jetpack-message.is-opt-in .jp-button { | |
| 757 | 763 | display: inline-block; |
| 758 | 764 | } |
| 759 | 765 | .jetpack-message.is-opt-in p { |
| 760 | 766 | color: #3c4549; |
| 761 | 767 | } |
| 762 | -.jetpack-message.is-opt-in .jp-button, .jetpack-message.is-opt-in .jp-button--settings { | |
| 768 | +.jetpack-message.is-opt-in .jp-button { | |
| 763 | 769 | margin-top: 15px; |
| 764 | 770 | display: none; |
| 765 | 771 | } |
| 766 | -.jetpack-message .squeezer h2 { | |
| 767 | - font-size: 1em; | |
| 768 | -} | |
| 769 | 772 | .jetpack-message h2 { |
| 770 | 773 | color: #fff; |
| 771 | 774 | margin: 0; |
| 772 | 775 | } |
| @@ -779,12 +782,12 @@ | ||
| 779 | 782 | padding: 23px 23px 23px 80px; |
| 780 | 783 | position: relative; |
| 781 | 784 | text-align: left; |
| 782 | 785 | } |
| 783 | -.jetpack-message .squeezer:before { | |
| 786 | +.jetpack-message .squeezer::before { | |
| 784 | 787 | color: #fff; |
| 785 | 788 | content: "\f418"; |
| 786 | - font-family: "Genericons"; | |
| 789 | + font-family: Genericons; | |
| 787 | 790 | font-size: 33px; |
| 788 | 791 | height: 33px; |
| 789 | 792 | left: 25px; |
| 790 | 793 | opacity: 0.6; |
| @@ -791,24 +794,27 @@ | ||
| 791 | 794 | position: absolute; |
| 792 | 795 | top: 23px; |
| 793 | 796 | top: calc(50% - 22px); |
| 794 | 797 | } |
| 798 | +.jetpack-message .squeezer h2 { | |
| 799 | + font-size: 1em; | |
| 800 | +} | |
| 795 | 801 | @media (max-width: 530px) { |
| 796 | 802 | .jetpack-message .squeezer { |
| 797 | 803 | padding: 23px; |
| 798 | 804 | } |
| 799 | - .jetpack-message .squeezer:before { | |
| 805 | + .jetpack-message .squeezer::before { | |
| 800 | 806 | display: none; |
| 801 | 807 | } |
| 802 | 808 | } |
| 803 | 809 | .jetpack-message .squeezer a { |
| 804 | - color: #FFF; | |
| 805 | - border-bottom: 1px solid #D5E4BD; | |
| 810 | + color: #fff; | |
| 811 | + border-bottom: 1px solid #d5e4bd; | |
| 806 | 812 | } |
| 807 | 813 | .jetpack-message .squeezer a:hover { |
| 808 | - border-bottom: 1px solid #F1F6E9; | |
| 814 | + border-bottom: 1px solid #f1f6e9; | |
| 809 | 815 | } |
| 810 | -.jetpack-message.error .squeezer:before, .jetpack-message.jetpack-err .squeezer:before { | |
| 816 | +.jetpack-message.error .squeezer::before, .jetpack-message.jetpack-err .squeezer::before { | |
| 811 | 817 | content: "\f414"; |
| 812 | 818 | } |
| 813 | 819 | |
| 814 | 820 | .configure-module .jetpack-message { |
| @@ -860,8 +866,33 @@ | ||
| 860 | 866 | display: inline-block; |
| 861 | 867 | margin-left: 10px; |
| 862 | 868 | } |
| 863 | 869 | |
| 870 | +.jp-loading-placeholder { | |
| 871 | + margin-top: 30vh; | |
| 872 | + margin-bottom: 25vh; | |
| 873 | + text-align: center; | |
| 874 | +} | |
| 875 | + | |
| 876 | +/** | |
| 877 | + * $gray color functions: | |
| 878 | + * | |
| 879 | + * color.adjust( $gray, $lightness: 10% ) | |
| 880 | + * color.adjust( $gray, $lightness: 20% ) | |
| 881 | + * color.adjust( $gray, $lightness: 30% ) | |
| 882 | + * color.adjust( $gray, $lightness: -10% ) | |
| 883 | + * color.adjust( $gray, $lightness: -20% ) | |
| 884 | + * color.adjust( $gray, $lightness: -30% ) | |
| 885 | + * | |
| 886 | + * See wordpress.com/design-handbook/colors/ for more info. | |
| 887 | + */ | |
| 888 | +/** | |
| 889 | + * Rem module | |
| 890 | + * | |
| 891 | + * Convert px to rem in a readable fashion. | |
| 892 | + * | |
| 893 | + * Example: font-size: rem.convert( 21px ); | |
| 894 | + */ | |
| 864 | 895 | .page-content.configure { |
| 865 | 896 | margin-top: 0; |
| 866 | 897 | } |
| 867 | 898 | |
| @@ -902,340 +933,350 @@ | ||
| 902 | 933 | .jp-frame-top-fixed .configure { |
| 903 | 934 | padding-top: 94px; |
| 904 | 935 | } |
| 905 | 936 | |
| 906 | -.filter-search { | |
| 907 | - display: none; | |
| 908 | - margin-top: 15px; | |
| 909 | - float: left; | |
| 937 | +.wrap { | |
| 938 | + margin: 0; | |
| 939 | + padding-block: 0 1em; | |
| 940 | + padding-inline: 1.5em; | |
| 941 | + overflow: hidden; | |
| 910 | 942 | } |
| 911 | -@media (max-width: 782px) { | |
| 912 | - .filter-search { | |
| 913 | - display: block; | |
| 914 | - } | |
| 943 | + | |
| 944 | +.jetpack-module-list { | |
| 945 | + padding-block: 24px; | |
| 915 | 946 | } |
| 916 | -@media (max-width: 530px) { | |
| 917 | - .filter-search { | |
| 918 | - display: none; | |
| 919 | - } | |
| 920 | -} | |
| 921 | -.filter-search .button { | |
| 922 | - background: rgb(255, 255, 255); | |
| 923 | - border: 1.5px solid rgb(0, 0, 0); | |
| 924 | - border-radius: 4px; | |
| 925 | - font-size: 1rem; | |
| 926 | - line-height: 24px; | |
| 927 | - letter-spacing: -0.01em; | |
| 928 | - color: rgb(0, 0, 0); | |
| 929 | -} | |
| 930 | - | |
| 931 | -.fixed-top { | |
| 932 | - box-sizing: border-box; | |
| 933 | - border-bottom: 1px solid #DCDCDE; | |
| 934 | - /* Auto layout */ | |
| 947 | +.jetpack-module-list .wrap { | |
| 935 | 948 | display: flex; |
| 936 | - flex-direction: row; | |
| 937 | - align-items: center; | |
| 938 | - padding: 16px; | |
| 939 | - gap: 16px; | |
| 949 | + gap: 24px; | |
| 950 | + overflow: visible; | |
| 940 | 951 | } |
| 941 | -.fixed-top .tablenav.top { | |
| 942 | - display: flex; | |
| 952 | +.jetpack-module-list .manage-left { | |
| 953 | + flex: 1 1 auto; | |
| 954 | + min-width: 0; | |
| 955 | + margin: 0; | |
| 943 | 956 | padding: 0; |
| 944 | - margin: 0 0 0 10px; | |
| 945 | - height: auto; | |
| 946 | 957 | } |
| 947 | -.fixed-top select#bulk-action-selector-top { | |
| 948 | - width: 180px; | |
| 949 | - height: 40px; | |
| 950 | - border: 1px solid #DCDCDE; | |
| 951 | - border-radius: 4px; | |
| 952 | - padding: 8px 16px; | |
| 953 | - margin-right: 8px; | |
| 954 | - line-height: normal; | |
| 955 | - color: rgb(0, 0, 0); | |
| 956 | - font-size: 0.875rem; | |
| 957 | - letter-spacing: -0.02em; | |
| 958 | +.jetpack-module-list .manage-right { | |
| 959 | + flex: 0 0 260px; | |
| 960 | + inline-size: 260px; | |
| 961 | + margin: 0; | |
| 962 | + padding: 0; | |
| 958 | 963 | } |
| 959 | -.fixed-top .alignleft.actions.bulkactions { | |
| 964 | + | |
| 965 | +.jetpack-offline-notice { | |
| 960 | 966 | display: flex; |
| 961 | - align-items: center; | |
| 967 | + flex-direction: column; | |
| 968 | + gap: 12px; | |
| 969 | + width: 100%; | |
| 970 | + margin-block: 0 24px; | |
| 971 | + margin-inline: 0; | |
| 972 | + padding: 24px; | |
| 973 | + background-color: #fff; | |
| 974 | + background-image: url(../images/gradient.svg); | |
| 975 | + background-repeat: no-repeat; | |
| 976 | + background-position: right top; | |
| 977 | + background-size: 380px auto; | |
| 978 | + border: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 979 | + border-radius: 8px; | |
| 962 | 980 | } |
| 963 | -.fixed-top .alignleft.actions.bulkactions .button { | |
| 964 | - display: flex; | |
| 965 | - flex-direction: row; | |
| 966 | - justify-content: center; | |
| 967 | - align-items: center; | |
| 968 | - padding: 6px 24px; | |
| 969 | - width: 93px; | |
| 970 | - height: 40px; | |
| 971 | - background: rgb(255, 255, 255); | |
| 972 | - border: 1.5px solid rgb(0, 0, 0); | |
| 973 | - border-radius: 4px; | |
| 974 | - font-size: 1rem; | |
| 975 | - line-height: 24px; | |
| 976 | - letter-spacing: -0.01em; | |
| 977 | - color: rgb(0, 0, 0); | |
| 981 | + | |
| 982 | +.jetpack-offline-notice__title { | |
| 983 | + margin: 0; | |
| 984 | + font-size: 1.25rem; | |
| 985 | + line-height: 1.3; | |
| 986 | + font-weight: 500; | |
| 987 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 978 | 988 | } |
| 979 | -#jp-plugin-container .table-bordered { | |
| 980 | - border-collapse: collapse; | |
| 989 | + | |
| 990 | +.jetpack-offline-notice__text { | |
| 991 | + margin: 0; | |
| 992 | + font-size: 0.875rem; | |
| 993 | + line-height: 1.5; | |
| 994 | + color: var(--wpds-color-foreground-content-neutral-weak, #50575e); | |
| 981 | 995 | } |
| 982 | -#jp-plugin-container .table-bordered .check-column input[type=checkbox] { | |
| 983 | - width: 20px; | |
| 984 | - height: 20px; | |
| 985 | - border-radius: 2px; | |
| 986 | - margin-left: 0; | |
| 987 | -} | |
| 988 | -#jp-plugin-container .table-bordered .check-column input[type=checkbox]::before { | |
| 989 | - margin: -2px; | |
| 990 | - color: rgb(0, 0, 0); | |
| 991 | - width: 21px; | |
| 992 | - height: 21px; | |
| 993 | -} | |
| 994 | -#jp-plugin-container .table-bordered .info { | |
| 995 | - letter-spacing: -0.02em; | |
| 996 | -} | |
| 997 | -#jp-plugin-container .table-bordered .row-actions a.dops-button.is-compact { | |
| 998 | - color: rgb(0, 0, 0); | |
| 999 | - line-height: 20px; | |
| 1000 | - font-size: 0.75rem; | |
| 1001 | - font-weight: 600; | |
| 1002 | - background: rgb(255, 255, 255); | |
| 1003 | - border: 1.5px solid rgb(0, 0, 0); | |
| 1004 | - border-radius: 4px; | |
| 1005 | - box-shadow: none; | |
| 1006 | - text-decoration: none; | |
| 1007 | - padding: 3px 8px; | |
| 1008 | -} | |
| 1009 | -#jp-plugin-container .table-bordered .row-actions .delete a.dops-button.is-compact { | |
| 1010 | - color: #D63638; | |
| 1011 | - border: 1px solid #DCDCDE; | |
| 1012 | -} | |
| 1013 | -#jp-plugin-container .table-bordered .row-actions .configure a { | |
| 1014 | - color: rgb(0, 0, 0); | |
| 1015 | - font-size: 0.75rem; | |
| 1016 | - line-height: 20px; | |
| 1017 | - font-weight: 600; | |
| 1018 | - text-decoration: none; | |
| 1019 | -} | |
| 1020 | -#jp-plugin-container .table-bordered .row-actions .configure a:hover { | |
| 996 | +.jetpack-offline-notice__text a { | |
| 997 | + color: #3858e9; | |
| 1021 | 998 | text-decoration: underline; |
| 1022 | 999 | } |
| 1023 | 1000 | |
| 1024 | -.wrap { | |
| 1001 | +.jetpack-module-list .manage-right .bumper { | |
| 1025 | 1002 | margin: 0; |
| 1026 | - padding: 0 1.5em 1em; | |
| 1027 | - overflow: hidden; | |
| 1028 | 1003 | } |
| 1029 | -.wrap .manage-left { | |
| 1030 | - float: left; | |
| 1031 | - margin: 0; | |
| 1032 | - padding: 0; | |
| 1033 | - width: 63%; | |
| 1034 | -} | |
| 1035 | -.wrap .manage-left table { | |
| 1036 | - width: 100%; | |
| 1037 | -} | |
| 1038 | -.wrap .manage-left th { | |
| 1039 | - font-weight: 400; | |
| 1040 | -} | |
| 1041 | -@media (max-width: 782px) { | |
| 1042 | - .wrap .manage-left { | |
| 1043 | - width: 100%; | |
| 1044 | - } | |
| 1045 | -} | |
| 1046 | -.wrap .manage-right { | |
| 1047 | - margin-top: 24px; | |
| 1048 | - padding: 0; | |
| 1049 | - float: right; | |
| 1050 | - width: 35%; | |
| 1051 | - z-index: 1; | |
| 1052 | -} | |
| 1053 | -.wrap .manage-right p { | |
| 1054 | - font-size: 0.875rem; | |
| 1004 | +.jetpack-module-list .manage-right p { | |
| 1005 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1055 | 1006 | line-height: 24px; |
| 1056 | 1007 | letter-spacing: -0.02em; |
| 1057 | 1008 | font-weight: 700; |
| 1058 | - color: #2C3338; | |
| 1059 | - margin: 16px 0 4px 0; | |
| 1009 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1010 | + margin-block: 16px 4px; | |
| 1011 | + margin-inline: 0; | |
| 1060 | 1012 | } |
| 1061 | -.wrap .manage-right .bumper { | |
| 1062 | - margin-left: 48px; | |
| 1063 | -} | |
| 1064 | -.wrap .manage-right.show { | |
| 1065 | - display: block; | |
| 1066 | - overflow-y: auto; | |
| 1067 | - overflow-x: hidden; | |
| 1068 | - position: absolute; | |
| 1069 | - z-index: 100000; | |
| 1070 | -} | |
| 1071 | -.wrap .manage-right .search-bar { | |
| 1072 | - margin-bottom: 18px; | |
| 1073 | - max-width: 300px; | |
| 1074 | -} | |
| 1075 | -.wrap .manage-right p.search-box { | |
| 1013 | +.jetpack-module-list .manage-right p.search-box { | |
| 1076 | 1014 | width: 100%; |
| 1077 | - height: auto; | |
| 1078 | - margin: 16px 0 0 0; | |
| 1015 | + margin-block: 0; | |
| 1016 | + margin-inline: 0; | |
| 1079 | 1017 | float: none; |
| 1080 | 1018 | display: block; |
| 1081 | 1019 | position: static; |
| 1082 | 1020 | } |
| 1083 | -.wrap .manage-right p.search-box input[type=search] { | |
| 1084 | - border: 1px solid #DCDCDE; | |
| 1021 | +.jetpack-module-list .manage-right p.search-box input[type=search] { | |
| 1022 | + box-sizing: border-box; | |
| 1023 | + border: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1085 | 1024 | border-radius: 4px; |
| 1086 | - padding: 8px 16px 8px 40px; | |
| 1025 | + padding-block: 8px; | |
| 1026 | + padding-inline: 40px 16px; | |
| 1087 | 1027 | line-height: 24px; |
| 1088 | - font-size: 1rem; | |
| 1089 | - letter-spacing: -0.02em; | |
| 1090 | - color: rgb(0, 0, 0); | |
| 1028 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1029 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1091 | 1030 | font-weight: 400; |
| 1092 | 1031 | height: 40px; |
| 1093 | 1032 | width: 100%; |
| 1033 | + margin: 0; | |
| 1094 | 1034 | background-image: url(../images/icon-search.svg); |
| 1095 | 1035 | background-repeat: no-repeat; |
| 1096 | - background-position: 8px center; | |
| 1036 | + background-position: 12px center; | |
| 1097 | 1037 | float: none; |
| 1098 | 1038 | } |
| 1099 | -.wrap .manage-right p.search-box input[type=search]::placeholder { | |
| 1100 | - color: #8C8F94; | |
| 1039 | +.jetpack-module-list .manage-right p.search-box input[type=search]::placeholder { | |
| 1040 | + color: #8c8f94; | |
| 1101 | 1041 | } |
| 1042 | +.jetpack-module-list .manage-right p.search-box input[type=submit] { | |
| 1043 | + display: none; | |
| 1044 | +} | |
| 1045 | +.jetpack-module-list .manage-right .subsubsub, | |
| 1046 | +.jetpack-module-list .manage-right .purpose-filter { | |
| 1047 | + margin: 0; | |
| 1048 | + padding: 0; | |
| 1049 | +} | |
| 1050 | +.jetpack-module-list .manage-right .subsubsub li, | |
| 1051 | +.jetpack-module-list .manage-right .purpose-filter li { | |
| 1052 | + display: block; | |
| 1053 | + margin-block: 0 4px; | |
| 1054 | + margin-inline: 0; | |
| 1055 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1056 | +} | |
| 1057 | +.jetpack-module-list .manage-right .subsubsub li a, | |
| 1058 | +.jetpack-module-list .manage-right .purpose-filter li a { | |
| 1059 | + display: inline-block; | |
| 1060 | + padding-block: 2px; | |
| 1061 | + padding-inline: 6px; | |
| 1062 | + border-radius: 4px; | |
| 1063 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1064 | + text-decoration: none; | |
| 1065 | + line-height: 24px; | |
| 1066 | + letter-spacing: -0.02em; | |
| 1067 | +} | |
| 1068 | +.jetpack-module-list .manage-right .subsubsub li a:hover, | |
| 1069 | +.jetpack-module-list .manage-right .purpose-filter li a:hover { | |
| 1070 | + background: #f6f7f7; | |
| 1071 | +} | |
| 1072 | +.jetpack-module-list .manage-right .subsubsub li .count, | |
| 1073 | +.jetpack-module-list .manage-right .purpose-filter li .count { | |
| 1074 | + color: var(--wpds-color-foreground-content-neutral-weak, #50575e); | |
| 1075 | +} | |
| 1076 | +.jetpack-module-list .manage-right .subsubsub li.current a, | |
| 1077 | +.jetpack-module-list .manage-right .purpose-filter li.current a { | |
| 1078 | + background: #3858e9; | |
| 1079 | +} | |
| 1080 | +.jetpack-module-list .manage-right .subsubsub li.current a, | |
| 1081 | +.jetpack-module-list .manage-right .subsubsub li.current a .count, | |
| 1082 | +.jetpack-module-list .manage-right .purpose-filter li.current a, | |
| 1083 | +.jetpack-module-list .manage-right .purpose-filter li.current a .count { | |
| 1084 | + color: #fff; | |
| 1085 | + font-weight: 700; | |
| 1086 | +} | |
| 1087 | +.jetpack-module-list .manage-right .subsubsub li.is-empty, | |
| 1088 | +.jetpack-module-list .manage-right .purpose-filter li.is-empty { | |
| 1089 | + opacity: 0.4; | |
| 1090 | +} | |
| 1091 | +.jetpack-module-list .manage-right .subsubsub li.is-empty a, | |
| 1092 | +.jetpack-module-list .manage-right .purpose-filter li.is-empty a { | |
| 1093 | + pointer-events: none; | |
| 1094 | + cursor: default; | |
| 1095 | +} | |
| 1102 | 1096 | @media (max-width: 782px) { |
| 1103 | - .wrap .manage-right p.search-box input[type=search] { | |
| 1104 | - max-width: 90%; | |
| 1097 | + .jetpack-module-list .manage-right { | |
| 1098 | + position: fixed; | |
| 1099 | + inset-block: 0; | |
| 1100 | + inset-inline-end: 0; | |
| 1101 | + margin-block: 0; | |
| 1102 | + min-inline-size: 300px; | |
| 1103 | + display: none; | |
| 1104 | + background: #fff; | |
| 1105 | + box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); | |
| 1106 | + z-index: 13; | |
| 1105 | 1107 | } |
| 1108 | + .jetpack-module-list .manage-right .bumper { | |
| 1109 | + margin: 13px; | |
| 1110 | + } | |
| 1111 | + .jetpack-module-list .manage-right .navbar-form { | |
| 1112 | + margin-block: 16px 0; | |
| 1113 | + margin-inline: 0; | |
| 1114 | + padding: 0; | |
| 1115 | + } | |
| 1116 | + .jetpack-module-list .manage-right.show { | |
| 1117 | + display: block; | |
| 1118 | + overflow-y: auto; | |
| 1119 | + overflow-x: hidden; | |
| 1120 | + z-index: 100000; | |
| 1121 | + } | |
| 1106 | 1122 | } |
| 1107 | -.wrap .manage-right p.search-box input[type=submit] { | |
| 1123 | + | |
| 1124 | +.filter-search { | |
| 1108 | 1125 | display: none; |
| 1109 | 1126 | } |
| 1110 | 1127 | @media (max-width: 782px) { |
| 1111 | - .wrap .manage-right .button-group { | |
| 1112 | - white-space: normal; | |
| 1128 | + .filter-search { | |
| 1129 | + display: inline-flex; | |
| 1113 | 1130 | } |
| 1114 | 1131 | } |
| 1115 | -.wrap .manage-right .button-group .button { | |
| 1132 | +.filter-search .button { | |
| 1133 | + background: #fff; | |
| 1134 | + border: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1135 | + border-radius: 4px; | |
| 1136 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1137 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1138 | + height: 36px; | |
| 1139 | +} | |
| 1140 | + | |
| 1141 | +.jetpack-module-list .button-group { | |
| 1142 | + display: inline-flex; | |
| 1143 | + flex-wrap: wrap; | |
| 1144 | +} | |
| 1145 | +.jetpack-module-list .button-group .button { | |
| 1116 | 1146 | box-shadow: none; |
| 1117 | - padding-left: 24px; | |
| 1118 | - padding-right: 24px; | |
| 1119 | - min-width: 90px; | |
| 1120 | - border: 1px solid #DCDCDE; | |
| 1121 | - color: rgb(0, 0, 0); | |
| 1122 | - height: 40px; | |
| 1147 | + padding-inline: 16px; | |
| 1148 | + min-inline-size: 72px; | |
| 1149 | + border: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1150 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1151 | + height: 36px; | |
| 1123 | 1152 | font-size: 13px; |
| 1124 | 1153 | line-height: 18px; |
| 1125 | 1154 | font-weight: 400; |
| 1126 | - background: rgb(255, 255, 255); | |
| 1155 | + background: #fff; | |
| 1127 | 1156 | } |
| 1128 | -.wrap .manage-right .button-group .button:hover { | |
| 1129 | - background: #F6F7F7; | |
| 1157 | +.jetpack-module-list .button-group .button:hover { | |
| 1158 | + background: #f6f7f7; | |
| 1130 | 1159 | } |
| 1131 | -.wrap .manage-right .button-group .button:focus { | |
| 1132 | - border-color: rgb(0, 0, 0); | |
| 1160 | +.jetpack-module-list .button-group .button:focus { | |
| 1161 | + border-color: #3858e9; | |
| 1133 | 1162 | } |
| 1134 | -.wrap .manage-right .button-group button.dops-button.button.active { | |
| 1135 | - background: rgb(0, 0, 0); | |
| 1136 | - color: rgb(255, 255, 255); | |
| 1163 | +.jetpack-module-list .button-group button.dops-button.button.active { | |
| 1164 | + background: #3858e9; | |
| 1165 | + border-color: #3858e9; | |
| 1166 | + color: #fff; | |
| 1137 | 1167 | font-weight: 600; |
| 1138 | 1168 | } |
| 1139 | -.wrap .manage-right .button-group button.dops-button.button.active:hover { | |
| 1140 | - background: #2C3338; | |
| 1169 | +.jetpack-module-list .button-group button.dops-button.button.active:hover { | |
| 1170 | + background: #2145c7; | |
| 1171 | + border-color: #2145c7; | |
| 1141 | 1172 | } |
| 1142 | -.wrap .manage-right .button-group button.dops-button.button.active:focus { | |
| 1143 | - border-color: rgb(255, 255, 255); | |
| 1144 | - box-shadow: 0 0 0 1px rgb(0, 0, 0); | |
| 1173 | +.jetpack-module-list .button-group button.dops-button.button.active:focus { | |
| 1174 | + border-color: #fff; | |
| 1175 | + box-shadow: 0 0 0 1px #3858e9; | |
| 1145 | 1176 | } |
| 1146 | -.wrap .manage-right .subsubsub { | |
| 1177 | + | |
| 1178 | +.jetpack-modules-card { | |
| 1179 | + background: #fff; | |
| 1180 | + border: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1181 | + border-radius: 8px; | |
| 1182 | + overflow: hidden; | |
| 1183 | + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | |
| 1184 | +} | |
| 1185 | + | |
| 1186 | +.jetpack-modules-card__bulk { | |
| 1187 | + display: flex; | |
| 1188 | + flex-wrap: wrap; | |
| 1189 | + align-items: center; | |
| 1190 | + gap: 16px; | |
| 1191 | + padding-block: 12px; | |
| 1192 | + padding-inline: 16px; | |
| 1193 | + background: #f6f7f7; | |
| 1194 | + border-block-end: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1195 | +} | |
| 1196 | +.jetpack-modules-card__bulk .jetpack-modules-card__checkall { | |
| 1197 | + display: inline-flex; | |
| 1198 | + align-items: center; | |
| 1199 | + gap: 8px; | |
| 1200 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1201 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1202 | + white-space: nowrap; | |
| 1203 | +} | |
| 1204 | +.jetpack-modules-card__bulk .jetpack-modules-card__checkall input[type=checkbox] { | |
| 1147 | 1205 | margin: 0; |
| 1206 | +} | |
| 1207 | +.jetpack-modules-card__bulk .tablenav.top { | |
| 1208 | + display: flex; | |
| 1209 | + align-items: center; | |
| 1210 | + gap: 8px; | |
| 1211 | + float: none; | |
| 1212 | + height: auto; | |
| 1213 | + margin: 0; | |
| 1148 | 1214 | padding: 0; |
| 1149 | 1215 | } |
| 1150 | -.wrap .manage-right .subsubsub li { | |
| 1151 | - display: block; | |
| 1152 | - text-align: left; | |
| 1153 | - margin: 0 0 4px 0; | |
| 1154 | - font-size: 14px; | |
| 1216 | +.jetpack-modules-card__bulk .tablenav.top .tablenav-pages, | |
| 1217 | +.jetpack-modules-card__bulk .tablenav.top .displaying-num, | |
| 1218 | +.jetpack-modules-card__bulk .tablenav.top br.clear { | |
| 1219 | + display: none; | |
| 1155 | 1220 | } |
| 1156 | -.wrap .manage-right .subsubsub li a { | |
| 1157 | - padding: 0; | |
| 1158 | - color: rgb(0, 0, 0); | |
| 1159 | - text-decoration: underline; | |
| 1160 | - font-size: 0.875rem; | |
| 1161 | - line-height: 24px; | |
| 1162 | - letter-spacing: -0.02em; | |
| 1221 | +.jetpack-modules-card__bulk .tablenav.top .alignleft.actions.bulkactions { | |
| 1222 | + display: flex; | |
| 1223 | + align-items: center; | |
| 1224 | + gap: 8px; | |
| 1163 | 1225 | } |
| 1164 | -.wrap .manage-right .subsubsub li a:hover { | |
| 1165 | - text-decoration-thickness: 3px; | |
| 1226 | +.jetpack-modules-card__bulk .tablenav.top .alignleft.actions.bulkactions select { | |
| 1227 | + min-inline-size: 140px; | |
| 1228 | + height: 36px; | |
| 1229 | + border: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1230 | + border-radius: 4px; | |
| 1231 | + padding-block: 0; | |
| 1232 | + padding-inline: 12px 28px; | |
| 1233 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1234 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1166 | 1235 | } |
| 1167 | -.wrap .manage-right .subsubsub li.current { | |
| 1236 | +.jetpack-modules-card__bulk .tablenav.top .alignleft.actions.bulkactions .button { | |
| 1237 | + height: 36px; | |
| 1238 | + border: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1168 | 1239 | border-radius: 4px; |
| 1169 | - background: rgb(0, 0, 0); | |
| 1170 | - padding: 2px 6px; | |
| 1240 | + background: #fff; | |
| 1241 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1242 | + box-shadow: none; | |
| 1171 | 1243 | } |
| 1172 | -.wrap .manage-right .subsubsub li.current a, .wrap .manage-right .subsubsub li.current .count { | |
| 1173 | - color: rgb(255, 255, 255); | |
| 1174 | - text-decoration: none; | |
| 1175 | - font-weight: 700; | |
| 1244 | + | |
| 1245 | +.jetpack-modules-card table.jetpack-modules { | |
| 1246 | + width: 100%; | |
| 1247 | + margin: 0; | |
| 1248 | + border: 0; | |
| 1249 | + border-collapse: collapse; | |
| 1250 | + background: transparent; | |
| 1251 | + box-shadow: none; | |
| 1176 | 1252 | } |
| 1177 | -@media (max-width: 782px) { | |
| 1178 | - .wrap .manage-right { | |
| 1179 | - background: #fff; | |
| 1180 | - bottom: 0; | |
| 1181 | - display: none; | |
| 1182 | - min-width: 300px; | |
| 1183 | - position: fixed; | |
| 1184 | - right: 0; | |
| 1185 | - top: 0; | |
| 1186 | - z-index: 13; | |
| 1187 | - box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); | |
| 1188 | - } | |
| 1189 | - .wrap .manage-right .bumper { | |
| 1190 | - margin: 13px; | |
| 1191 | - } | |
| 1192 | - .wrap .manage-right .navbar-form { | |
| 1193 | - margin: 16px 0 0 0; | |
| 1194 | - padding: 0; | |
| 1195 | - } | |
| 1196 | -} | |
| 1197 | 1253 | |
| 1198 | -@media (max-width: 782px) { | |
| 1199 | - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column) { | |
| 1200 | - padding: 11px 10px; | |
| 1201 | - display: block; | |
| 1202 | - } | |
| 1203 | - .manage-right.show .subsubsub li { | |
| 1204 | - padding: 5px; | |
| 1205 | - } | |
| 1206 | -} | |
| 1207 | -@media (max-width: 650px) { | |
| 1208 | - .table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions { | |
| 1209 | - float: none; | |
| 1210 | - padding-left: 18px; | |
| 1211 | - } | |
| 1212 | -} | |
| 1213 | -@media (max-width: 430px) { | |
| 1214 | - .table-bordered.jetpack-modules tr.jetpack-module td .row-actions { | |
| 1215 | - display: none; | |
| 1216 | - } | |
| 1217 | - .table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions { | |
| 1218 | - display: block; | |
| 1219 | - } | |
| 1220 | -} | |
| 1221 | 1254 | .jetpack-modules-list-table-form .widefat td { |
| 1222 | 1255 | width: 100%; |
| 1223 | 1256 | } |
| 1224 | 1257 | |
| 1225 | -.jetpack-module-list .widefat { | |
| 1226 | - border: none; | |
| 1258 | +tr.jetpack-module-group-header { | |
| 1259 | + display: block; | |
| 1227 | 1260 | } |
| 1228 | -.jetpack-module-list .wrap { | |
| 1229 | - display: flex; | |
| 1230 | - overflow: visible; | |
| 1261 | +tr.jetpack-module-group-header td { | |
| 1262 | + display: block; | |
| 1263 | + padding-block: 20px 8px; | |
| 1264 | + padding-inline: 16px; | |
| 1265 | + border: 0; | |
| 1266 | + background: transparent; | |
| 1231 | 1267 | } |
| 1232 | -.jetpack-module-list .wrap .manage-left { | |
| 1233 | - flex-grow: 1; | |
| 1234 | - width: auto; | |
| 1268 | +tr.jetpack-module-group-header:first-child td { | |
| 1269 | + padding-block-start: 16px; | |
| 1235 | 1270 | } |
| 1236 | -.jetpack-module-list .wrap .manage-right { | |
| 1237 | - flex-grow: 0; | |
| 1271 | + | |
| 1272 | +.jetpack-module-group-header__title { | |
| 1273 | + margin: 0; | |
| 1274 | + font-size: 12px; | |
| 1275 | + font-weight: 600; | |
| 1276 | + text-transform: uppercase; | |
| 1277 | + letter-spacing: 0.04em; | |
| 1278 | + color: var(--wpds-color-foreground-content-neutral-weak, #50575e); | |
| 1238 | 1279 | } |
| 1239 | 1280 | |
| 1240 | 1281 | tr.jetpack-module { |
| 1241 | 1282 | box-sizing: border-box; |
| @@ -1240,69 +1281,217 @@ | ||
| 1240 | 1281 | tr.jetpack-module { |
| 1241 | 1282 | box-sizing: border-box; |
| 1242 | 1283 | display: flex; |
| 1243 | 1284 | flex-direction: row; |
| 1244 | - align-items: center; | |
| 1245 | - padding: 16px; | |
| 1285 | + align-items: flex-start; | |
| 1246 | 1286 | gap: 16px; |
| 1247 | 1287 | width: 100%; |
| 1248 | - height: 60px; | |
| 1249 | - background: rgb(255, 255, 255); | |
| 1250 | - border-bottom: 1px solid #DCDCDE; | |
| 1288 | + padding: 16px; | |
| 1289 | + background: #fff; | |
| 1290 | + border-block-start: 1px solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0); | |
| 1251 | 1291 | } |
| 1252 | -@media (max-width: 782px) { | |
| 1253 | - tr.jetpack-module { | |
| 1254 | - padding: 4px 10px; | |
| 1255 | - height: auto; | |
| 1256 | - } | |
| 1292 | +.jetpack-module-group-header + tr.jetpack-module { | |
| 1293 | + border-block-start: 0; | |
| 1257 | 1294 | } |
| 1258 | -tr.jetpack-module:last-of-type { | |
| 1259 | - border-bottom: 0; | |
| 1260 | -} | |
| 1261 | 1295 | tr.jetpack-module th.check-column { |
| 1262 | - padding-top: 0; | |
| 1296 | + flex: 0 0 auto; | |
| 1263 | 1297 | width: auto; |
| 1298 | + padding: 0; | |
| 1299 | + margin-block-start: 2px; | |
| 1264 | 1300 | } |
| 1265 | -tr.jetpack-module a, tr.jetpack-module p { | |
| 1301 | +tr.jetpack-module .column-name { | |
| 1302 | + flex: 1 1 auto; | |
| 1303 | + min-width: 0; | |
| 1304 | + padding: 0; | |
| 1305 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1306 | +} | |
| 1307 | +tr.jetpack-module a, | |
| 1308 | +tr.jetpack-module p { | |
| 1266 | 1309 | text-decoration: none; |
| 1267 | 1310 | } |
| 1268 | 1311 | |
| 1269 | 1312 | tr.jetpack-module.unavailable { |
| 1270 | - background: #F9F9F6; | |
| 1313 | + background: #f9f9f6; | |
| 1271 | 1314 | } |
| 1272 | 1315 | |
| 1273 | -tr.jetpack-module.active { | |
| 1274 | - background: #F9F9F6; | |
| 1316 | +.jetpack-module__body { | |
| 1317 | + display: flex; | |
| 1318 | + flex-direction: row; | |
| 1319 | + align-items: center; | |
| 1320 | + gap: 16px; | |
| 1321 | + width: 100%; | |
| 1275 | 1322 | } |
| 1276 | -tr.jetpack-module.active .column-name .info { | |
| 1277 | - font-weight: 700; | |
| 1323 | + | |
| 1324 | +.jetpack-module__info { | |
| 1325 | + display: flex; | |
| 1326 | + flex-direction: column; | |
| 1327 | + gap: 2px; | |
| 1328 | + flex: 1 1 auto; | |
| 1329 | + min-width: 0; | |
| 1278 | 1330 | } |
| 1279 | 1331 | |
| 1280 | -tr.jetpack-module .column-name { | |
| 1281 | - color: #2C3338; | |
| 1282 | - float: left; | |
| 1332 | +.jetpack-module__name { | |
| 1333 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1334 | + font-weight: 600; | |
| 1335 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1336 | +} | |
| 1337 | +.jetpack-module__name:hover, .jetpack-module__name:focus { | |
| 1338 | + color: #3858e9; | |
| 1339 | + text-decoration: underline; | |
| 1340 | +} | |
| 1341 | + | |
| 1342 | +.jetpack-module__description { | |
| 1343 | + font-size: var(--wpds-typography-font-size-md, 13px); | |
| 1344 | + line-height: 1.5; | |
| 1345 | + color: var(--wpds-color-foreground-content-neutral-weak, #50575e); | |
| 1346 | +} | |
| 1347 | + | |
| 1348 | +.jetpack-module__meta { | |
| 1349 | + display: flex; | |
| 1283 | 1350 | align-items: center; |
| 1351 | + gap: 16px; | |
| 1352 | + flex: 0 0 auto; | |
| 1353 | + margin-inline-start: auto; | |
| 1354 | +} | |
| 1355 | + | |
| 1356 | +.jetpack-module__badges { | |
| 1284 | 1357 | display: flex; |
| 1285 | - padding: 0; | |
| 1358 | + align-items: center; | |
| 1359 | + gap: 8px; | |
| 1286 | 1360 | } |
| 1287 | 1361 | |
| 1288 | -tr.jetpack-module .row-actions { | |
| 1362 | +.jetpack-module__badge { | |
| 1363 | + display: inline-flex; | |
| 1289 | 1364 | align-items: center; |
| 1365 | + padding-block: 2px; | |
| 1366 | + padding-inline: 8px; | |
| 1367 | + border-radius: 2px; | |
| 1368 | + font-size: 12px; | |
| 1369 | + font-weight: 500; | |
| 1370 | + line-height: 1.5; | |
| 1371 | + white-space: nowrap; | |
| 1372 | +} | |
| 1373 | +.jetpack-module__badge.is-active { | |
| 1374 | + background: #edfaef; | |
| 1375 | + color: #00450c; | |
| 1376 | +} | |
| 1377 | +.jetpack-module__badge.is-inactive { | |
| 1378 | + background: #f6f7f7; | |
| 1379 | + color: var(--wpds-color-foreground-content-neutral-weak, #50575e); | |
| 1380 | +} | |
| 1381 | +.jetpack-module__badge.is-recommended { | |
| 1382 | + background: #f0f4ff; | |
| 1383 | + color: #1d35b4; | |
| 1384 | +} | |
| 1385 | + | |
| 1386 | +.jetpack-module .row-actions { | |
| 1290 | 1387 | display: flex; |
| 1388 | + align-items: center; | |
| 1389 | + gap: 12px; | |
| 1390 | + position: static; | |
| 1391 | + margin: 0; | |
| 1392 | + left: auto; | |
| 1393 | + opacity: 1; | |
| 1394 | +} | |
| 1395 | +.jetpack-module .row-actions .configure a { | |
| 1396 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1397 | + font-size: 0.75rem; | |
| 1398 | + line-height: 20px; | |
| 1399 | + font-weight: 600; | |
| 1400 | + text-decoration: none; | |
| 1401 | +} | |
| 1402 | +.jetpack-module .row-actions .configure a:hover { | |
| 1403 | + text-decoration: underline; | |
| 1404 | +} | |
| 1405 | + | |
| 1406 | +.jetpack-module__unavailable { | |
| 1407 | + max-inline-size: 220px; | |
| 1408 | + font-size: 0.75rem; | |
| 1409 | + line-height: 1.4; | |
| 1410 | + color: var(--wpds-color-foreground-content-neutral-weak, #50575e); | |
| 1411 | +} | |
| 1412 | + | |
| 1413 | +.jetpack-module__toggle { | |
| 1414 | + display: inline-flex; | |
| 1415 | + align-items: center; | |
| 1416 | + text-decoration: none; | |
| 1417 | + cursor: pointer; | |
| 1418 | + border-radius: 10px; | |
| 1419 | +} | |
| 1420 | +.jetpack-module__toggle:focus { | |
| 1421 | + outline: none; | |
| 1422 | +} | |
| 1423 | + | |
| 1424 | +.jetpack-module__toggle-track { | |
| 1291 | 1425 | position: relative; |
| 1292 | - margin-left: auto; | |
| 1293 | - left: 0; | |
| 1426 | + display: inline-block; | |
| 1427 | + inline-size: 36px; | |
| 1428 | + block-size: 20px; | |
| 1429 | + background: #dcdcde; | |
| 1430 | + border-radius: 10px; | |
| 1431 | + transition: background 0.15s ease-in-out; | |
| 1294 | 1432 | } |
| 1295 | -tr.jetpack-module .row-actions span.configure { | |
| 1296 | - margin-right: 16px; | |
| 1433 | + | |
| 1434 | +.jetpack-module__toggle-thumb { | |
| 1435 | + position: absolute; | |
| 1436 | + inset-block-start: 2px; | |
| 1437 | + inset-inline-start: 2px; | |
| 1438 | + inline-size: 16px; | |
| 1439 | + block-size: 16px; | |
| 1440 | + border-radius: 50%; | |
| 1441 | + background: #fff; | |
| 1442 | + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); | |
| 1443 | + transition: inset-inline-start 0.15s ease-in-out; | |
| 1297 | 1444 | } |
| 1298 | 1445 | |
| 1299 | -/* 'Pages' is a temporary location for these styles, until we can break them up into their proper atmoic locations */ | |
| 1446 | +.jetpack-module__toggle.is-active .jetpack-module__toggle-track { | |
| 1447 | + background: #3858e9; | |
| 1448 | +} | |
| 1449 | +.jetpack-module__toggle.is-active .jetpack-module__toggle-thumb { | |
| 1450 | + inset-inline-start: 18px; | |
| 1451 | +} | |
| 1452 | + | |
| 1453 | +.jetpack-module__toggle.is-disabled { | |
| 1454 | + cursor: default; | |
| 1455 | + opacity: 0.6; | |
| 1456 | +} | |
| 1457 | + | |
| 1458 | +.jetpack-module__toggle:focus-visible .jetpack-module__toggle-track { | |
| 1459 | + box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3858e9; | |
| 1460 | +} | |
| 1461 | + | |
| 1462 | +.jetpack-module-list .check-column input[type=checkbox] { | |
| 1463 | + width: 20px; | |
| 1464 | + height: 20px; | |
| 1465 | + border-radius: 2px; | |
| 1466 | + margin-inline-start: 0; | |
| 1467 | +} | |
| 1468 | +.jetpack-module-list .check-column input[type=checkbox]::before { | |
| 1469 | + margin: -2px; | |
| 1470 | + color: var(--wpds-color-foreground-content-neutral, #1e1e1e); | |
| 1471 | + width: 21px; | |
| 1472 | + height: 21px; | |
| 1473 | +} | |
| 1474 | + | |
| 1475 | +@media (max-width: 782px) { | |
| 1476 | + .jetpack-module__body { | |
| 1477 | + flex-direction: column; | |
| 1478 | + align-items: flex-start; | |
| 1479 | + gap: 12px; | |
| 1480 | + } | |
| 1481 | + .jetpack-module__meta { | |
| 1482 | + margin-inline-start: 0; | |
| 1483 | + width: 100%; | |
| 1484 | + justify-content: space-between; | |
| 1485 | + } | |
| 1486 | +} | |
| 1487 | +/* 'Pages' is a temporary location for these styles until we | |
| 1488 | + * can break them up into their proper atomic locations */ | |
| 1300 | 1489 | .configure-module p { |
| 1301 | 1490 | font-size: 14px; |
| 1302 | 1491 | } |
| 1303 | 1492 | .configure-module p.success, .configure-module p.error { |
| 1304 | - color: rgb(255, 255, 255); | |
| 1493 | + color: #fff; | |
| 1305 | 1494 | padding: 10px; |
| 1306 | 1495 | } |
| 1307 | 1496 | .configure-module p.success { |
| 1308 | 1497 | background-color: #008710; |
| @@ -1340,9 +1529,9 @@ | ||
| 1340 | 1529 | .configure-module input[disabled] { |
| 1341 | 1530 | opacity: 0.5; |
| 1342 | 1531 | } |
| 1343 | 1532 | .configure-module input.button-primary { |
| 1344 | - font-weight: bold; | |
| 1533 | + font-weight: 700; | |
| 1345 | 1534 | } |
| 1346 | 1535 | |
| 1347 | 1536 | /* whitelist table */ |
| 1348 | 1537 | @media only screen and (min-width: 1100px) { |
| @@ -1378,9 +1567,9 @@ | ||
| 1378 | 1567 | } |
| 1379 | 1568 | |
| 1380 | 1569 | .manage__title .genericon { |
| 1381 | 1570 | font-size: 38px; |
| 1382 | - color: #81A944; | |
| 1571 | + color: #81a944; | |
| 1383 | 1572 | } |
| 1384 | 1573 | |
| 1385 | 1574 | .manage__link { |
| 1386 | 1575 | font-size: 16px; |
| @@ -1386,9 +1575,9 @@ | ||
| 1386 | 1575 | font-size: 16px; |
| 1387 | 1576 | padding: 0 20px; |
| 1388 | 1577 | height: 40px; |
| 1389 | 1578 | line-height: 40px; |
| 1390 | - font-weight: normal; | |
| 1579 | + font-weight: 400; | |
| 1391 | 1580 | } |
| 1392 | 1581 | .manage__link .genericon { |
| 1393 | 1582 | font-size: 28px; |
| 1394 | 1583 | vertical-align: middle; |
| @@ -1418,12 +1607,12 @@ | ||
| 1418 | 1607 | padding-top: 0; |
| 1419 | 1608 | margin-top: 0; |
| 1420 | 1609 | background-image: none; |
| 1421 | 1610 | } |
| 1422 | -.jp-content .footer:before { | |
| 1611 | +.jp-content .footer::before { | |
| 1423 | 1612 | height: inherit; |
| 1424 | 1613 | } |
| 1425 | -.jp-content .more-info:before { | |
| 1614 | +.jp-content .more-info::before { | |
| 1426 | 1615 | content: none; |
| 1427 | 1616 | } |
| 1428 | 1617 | |
| 1429 | 1618 | .landing .wpcom-connect { |