PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.0.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.0.0
2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 All 61 releases
← All changes | assets/css/admin.css +150 -16 1.10.32.0.0 View file →
@@ -60,9 +60,9 @@
60 60 /* Admin Header */
61 61 .wp-subscription-admin-header {
62 62 background: #fff;
63 63 border-bottom: 1px solid #e2e4e7;
64 - padding: 0 32px;
64 + padding: 0 24px;
65 65 position: sticky;
66 66 top: 32px;
67 67 z-index: 100;
68 68 width: 100%;
@@ -133,13 +133,32 @@
133 133 font-size: 14px;
134 134 }
135 135
136 136 .wp-subscription-logo {
137 - height: 30px;
137 + /* Deliberately small. It is a persistent header mark, not the page's
138 + subject — the breadcrumb on the left is what identifies the screen. */
139 + height: 22px;
138 140 width: auto;
139 141 display: block;
140 142 }
141 143
144 +/* The licence badge sits before the logo and must not pick up the underline
145 + that admin anchors get, since the inactive state is a link. */
146 +.wp-subscription-license-badge,
147 +.wp-subscription-license-badge:hover,
148 +.wp-subscription-license-badge:focus {
149 + text-decoration: none;
150 +}
151 +
152 +a.wp-subscription-license-badge:hover {
153 + filter: brightness(0.97);
154 +}
155 +
156 +a.wp-subscription-license-badge:focus {
157 + box-shadow: 0 0 0 3px var(--wpsubs-brand-ring, rgba(255, 77, 0, 0.2));
158 + outline: none;
159 +}
160 +
142 161 .wp-subscription-admin-header-right {
143 162 display: flex;
144 163 align-items: center;
145 164 gap: 12px;
@@ -316,9 +335,9 @@
316 335 .wp-subscription-admin-header-right {
317 336 gap: 8px;
318 337 }
319 338 .wp-subscription-logo {
320 - height: 24px;
339 + height: 18px;
321 340 }
322 341 }
323 342
324 343 /* Remove left padding on WPSubscription admin pages only */
@@ -327,9 +346,10 @@
327 346 padding-left: 0 !important;
328 347 }
329 348
330 349 /* Remove onboarding page menu item */
331 -.wp-submenu a[href*="page=wp-subscription-onboarding"] {
350 +.wp-submenu a[href*="page=wp-subscription-onboarding"],
351 +.wp-submenu a[href*="page=wp-subscription-details"] {
332 352 display: none !important;
333 353 }
334 354
335 355 /* Table & List Styles */
@@ -474,21 +494,11 @@
474 494
475 495 /* Subscriptions List Page Layout */
476 496 .wp-subscription-admin-content.list-page {
477 497 max-width: 1240px;
478 - margin: 32px auto 0 auto;
479 - background: #fff;
480 - padding: 32px 24px 24px 24px;
481 - border-radius: 12px;
482 -}
483 -
484 -/* Subscription list: toolbar sits on WP admin gray, table card is the white surface */
485 -.wp-subscription-admin-content.list-page.subscrpt-subs-list {
498 + margin: 24px auto 32px auto;
486 499 background: transparent;
487 - padding: 0;
488 - border-radius: 0;
489 - margin-top: 24px;
490 - margin-bottom: 32px;
500 + padding: 0px 24px;
491 501 }
492 502 .wp-subscription-list-header {
493 503 margin-bottom: 28px;
494 504 display: flex;
@@ -682,5 +692,129 @@
682 692 .button-link-delete:hover {
683 693 background: #d63638;
684 694 color: #fff !important;
685 695 text-decoration: none;
696 +}
697 +
698 +/* --------------------------------------------------------------------------
699 + Integrations: sticky filter rail + results
700 +
701 + Three facet groups and a dozen chips do not fit across the top without
702 + pushing the first card off the fold, and a bar up there scrolls away exactly
703 + when a long list needs narrowing. They live in a column instead, which stays
704 + in reach while the results scroll.
705 + -------------------------------------------------------------------------- */
706 +
707 +/*
708 + * The `hidden` attribute is only `display: none` in the UA stylesheet, so any
709 + * class that sets `display` outranks it. `.wpsubs-btn` is `inline-flex`, which
710 + * meant the Reset button stayed on screen with `hidden` set — visible, and
711 + * still clickable. Anything toggled by the filter script needs this.
712 + */
713 +.subscrpt-int-filters [hidden],
714 +.subscrpt-int-card[hidden],
715 +[data-subscrpt-int-section][hidden],
716 +[data-subscrpt-int-empty][hidden],
717 +[data-subscrpt-integration-filters][hidden] {
718 + display: none !important;
719 +}
720 +
721 +.subscrpt-int-layout {
722 + display: grid;
723 + grid-template-columns: 232px minmax(0, 1fr);
724 + gap: 32px;
725 + align-items: start;
726 +}
727 +
728 +.subscrpt-int-results {
729 + min-width: 0;
730 +}
731 +
732 +/* The rail sticks below the page header, which is itself sticky at 32px. */
733 +.subscrpt-int-sidebar {
734 + position: sticky;
735 + top: 104px;
736 + max-height: calc(100vh - 124px);
737 + overflow-y: auto;
738 + overscroll-behavior: contain;
739 +}
740 +
741 +.subscrpt-int-filters {
742 + display: flex;
743 + flex-direction: column;
744 + gap: 14px;
745 +}
746 +
747 +.subscrpt-int-filters__reset {
748 + align-self: stretch;
749 + justify-content: center;
750 + margin: 0 4px;
751 +}
752 +
753 +/* The filter rail is the shared `wpsubs-vnav` component (one nav per facet).
754 + Only the count badge at the end of each row is page-specific. */
755 +.subscrpt-int-chip__count {
756 + font-size: 11px;
757 + font-variant-numeric: tabular-nums;
758 + padding: 0 6px;
759 + border-radius: 9999px;
760 + background: var(--wpsubs-surface-muted, #f3f4f6);
761 + color: var(--wpsubs-text-muted, #6b7280);
762 + flex-shrink: 0;
763 +}
764 +
765 +.wpsubs-vnav__item.is-active .subscrpt-int-chip__count {
766 + background: var(--wpsubs-brand, #ff4d00);
767 + color: #fff;
768 +}
769 +
770 +.subscrpt-int-empty {
771 + margin: 0 0 20px;
772 + padding: 40px 24px;
773 + text-align: center;
774 + font-size: 13px;
775 + color: var(--wpsubs-text-muted, #6b7280);
776 + background: var(--wpsubs-surface, #fff);
777 + border: 1px solid var(--wpsubs-border, #e5e7eb);
778 + border-radius: var(--wpsubs-radius, 8px);
779 +}
780 +
781 +/* Below this the rail would squeeze the card grid to one column, so it goes
782 + back on top and stops sticking.
783 +
784 + Measured against WordPress's own fold point rather than a round number: at
785 + 960px the admin menu collapses to 36px, so the content gains 124px exactly
786 + as the viewport loses room, and the rail plus two card columns still fit.
787 + The previous 1200px threshold fired on an ordinary laptop — a 1196px window
788 + put the filters back on top with 756px of space going spare beside them. */
789 +@media screen and (max-width: 960px) {
790 + .subscrpt-int-layout {
791 + grid-template-columns: minmax(0, 1fr);
792 + }
793 +
794 + .subscrpt-int-sidebar {
795 + position: static;
796 + max-height: none;
797 + overflow: visible;
798 + }
799 +
800 + .subscrpt-int-filters {
801 + flex-direction: row;
802 + flex-wrap: wrap;
803 + align-items: flex-start;
804 + gap: 12px 20px;
805 + }
806 +
807 + /* Each facet's vnav sits as its own column in the wrapped rail. */
808 + .subscrpt-int-filters .wpsubs-vnav {
809 + flex: 1 1 180px;
810 + }
811 +
812 + /* Reset keeps its place under the filters: a full-width last line. */
813 + .subscrpt-int-filters__reset {
814 + flex: 1 1 100%;
815 + }
816 +
817 + [data-subscrpt-int-reset] {
818 + flex: 0 0 100%;
819 + }
686 820 }