| @@ -1,55 +1,89 @@ | ||
| 1 | 1 | .sdevs-install-plugin { |
| 2 | - display: flex; | |
| 3 | - flex-wrap: wrap; | |
| 4 | - align-items: center; | |
| 5 | - padding-left: 20px; | |
| 2 | + display: flex; | |
| 3 | + flex-wrap: wrap; | |
| 4 | + align-items: center; | |
| 5 | + padding-left: 20px; | |
| 6 | 6 | } |
| 7 | 7 | |
| 8 | -.sdevs-install-plugin>.sdevs-notice-icon { | |
| 9 | - margin-right: 25px; | |
| 8 | +.sdevs-install-plugin > .sdevs-notice-icon { | |
| 9 | + margin-right: 25px; | |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | -.sdevs-install-plugin>.sdevs-notice-icon>img { | |
| 13 | - max-width: 64px; | |
| 12 | +.sdevs-install-plugin > .sdevs-notice-icon > img { | |
| 13 | + max-width: 64px; | |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | .sdevs-notice-content { |
| 17 | - flex-grow: 1; | |
| 18 | - padding: 20px 0px 20px 0px; | |
| 17 | + flex-grow: 1; | |
| 18 | + padding: 20px 0px 20px 0px; | |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | -.sdevs-notice-content>h2 { | |
| 22 | - margin-bottom: 5px; | |
| 23 | - margin-top: 0; | |
| 21 | +.sdevs-notice-content > h2 { | |
| 22 | + margin-bottom: 5px; | |
| 23 | + margin-top: 0; | |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | -.sdevs-notice-content>p { | |
| 27 | - margin: 0; | |
| 26 | +.sdevs-notice-content > p { | |
| 27 | + margin: 0; | |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | -.sdevs-install-notice-button>a { | |
| 31 | - padding-left: 30px; | |
| 32 | - padding-right: 30px; | |
| 33 | - display: flex; | |
| 34 | - align-items: center; | |
| 30 | +.sdevs-install-notice-button > a { | |
| 31 | + padding-left: 30px; | |
| 32 | + padding-right: 30px; | |
| 33 | + display: flex; | |
| 34 | + align-items: center; | |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | .sdevs-loading-icon { |
| 38 | - width: 17px; | |
| 39 | - height: 17px; | |
| 40 | - margin-right: 5px; | |
| 41 | - position: relative; | |
| 42 | - top: 3px; | |
| 43 | - left: 3px; | |
| 44 | - -webkit-animation: rotation 2s infinite linear; | |
| 38 | + width: 17px; | |
| 39 | + height: 17px; | |
| 40 | + margin-right: 5px; | |
| 41 | + position: relative; | |
| 42 | + top: 3px; | |
| 43 | + left: 3px; | |
| 44 | + -webkit-animation: rotation 2s infinite linear; | |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | @-webkit-keyframes rotation { |
| 48 | - from { | |
| 49 | - -webkit-transform: rotate(0deg); | |
| 50 | - } | |
| 48 | + from { | |
| 49 | + -webkit-transform: rotate(0deg); | |
| 50 | + } | |
| 51 | 51 | |
| 52 | - to { | |
| 53 | - -webkit-transform: rotate(359deg); | |
| 54 | - } | |
| 55 | -} | |
| 52 | + to { | |
| 53 | + -webkit-transform: rotate(359deg); | |
| 54 | + } | |
| 55 | +} | |
| 56 | + | |
| 57 | +/* --------------------------------------------------------------------------- | |
| 58 | + * "Not fully active" warning row on the plugins list page. | |
| 59 | + * ------------------------------------------------------------------------- */ | |
| 60 | + | |
| 61 | +/* | |
| 62 | + * The plugin row's own data-slug is derived from the plugin name, so target the | |
| 63 | + * stable data-plugin value (the plugin basename) instead. | |
| 64 | + */ | |
| 65 | +tr[data-plugin="subscription/subscription.php"] > * { | |
| 66 | + background: #fef2f2 !important; /* red-50 */ | |
| 67 | + box-shadow: none !important; | |
| 68 | +} | |
| 69 | + | |
| 70 | +tr[data-plugin="subscription/subscription.php"] .check-column, | |
| 71 | +.subscrpt-plugin-warning-row .check-column { | |
| 72 | + border-left: 4px solid #dc2626 !important; /* red-600 */ | |
| 73 | +} | |
| 74 | + | |
| 75 | +.subscrpt-plugin-warning-row > * { | |
| 76 | + background: #fef2f2 !important; /* red-50 */ | |
| 77 | + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important; | |
| 78 | +} | |
| 79 | + | |
| 80 | +.subscrpt-plugin-warning-row .check-column span { | |
| 81 | + display: block; | |
| 82 | + margin-inline: auto; | |
| 83 | + margin-top: 4px; | |
| 84 | +} | |
| 85 | + | |
| 86 | +.subscrpt-plugin-warning-row .check-column span::before, | |
| 87 | +.subscrpt-plugin-warning-row .column-primary p { | |
| 88 | + color: #dc2626 !important; /* red-600 */ | |
| 89 | +} | |