# subscription/2.0.0/assets/css/admin-components/editlist.css

Subscriptions for WooCommerce with Stripe Recurring Payments, version 2.0.0. 190 lines.

- Page: https://pluginprobe.com/plugins/subscription/2.0.0/code/assets/css/admin-components/editlist.css
- Raw: https://pluginprobe.com/plugins/subscription/2.0.0/raw/assets/css/admin-components/editlist.css
- Modified: 2026-09-14T12:17:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/subscription/2.0.0/code/assets/css/admin-components/editlist.css#L10-L20`.

```css
/* --------------------------------------------------------------------------
   Edit list (wpsubs-editlist)
   Reorderable list of text items with per-row controls and an inline add
   input. Behaviour wired by WPSubsEditList (admin-components.js); the ordered
   list is serialized as JSON into a hidden input for form submission.
   -------------------------------------------------------------------------- */
.wpsubs-editlist {
  max-width: 520px;
}

.wpsubs-editlist__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wpsubs-editlist__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--wpsubs-surface-muted, #f2f3f5);
  color: var(--wpsubs-text-muted, #6b7075);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.wpsubs-editlist__items {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wpsubs-editlist__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  background: var(--wpsubs-surface, #fff);
  border: 1px solid var(--wpsubs-border, #e2e4e7);
  border-radius: var(--wpsubs-radius, 8px);
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}

.wpsubs-editlist__item:hover {
  border-color: var(--wpsubs-border-strong, #c7cbd1);
  box-shadow: var(--wpsubs-shadow, 0 1px 2px rgba(0, 0, 0, 0.05));
}

.wpsubs-editlist__handle {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding-inline: 6px 10px;
  color: var(--wpsubs-text-subtle, #a7aaaf);
  font-size: 12px;
  letter-spacing: -3px;
  line-height: 1;
  cursor: grab;
  user-select: none;
}

.wpsubs-editlist__handle:active {
  cursor: grabbing;
}

.wpsubs-editlist__item--dragging {
  opacity: 0.55;
  border-color: var(--wpsubs-brand, #2563eb);
  box-shadow: var(--wpsubs-shadow-md, 0 6px 18px rgba(0, 0, 0, 0.12));
}

.wpsubs-editlist__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--wpsubs-text, #1e1e1e);
  word-break: break-word;
}

.wpsubs-editlist__actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  opacity: 0;
  transition: opacity 0.12s;
}

.wpsubs-editlist__item:hover .wpsubs-editlist__actions,
.wpsubs-editlist__actions:focus-within {
  opacity: 1;
}

.wpsubs-editlist__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--wpsubs-text-muted, #6b7075);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.12s,
    color 0.12s;
}

.wpsubs-editlist__btn svg {
  width: 15px;
  height: 15px;
  display: block;
}

.wpsubs-editlist__btn:hover {
  background: var(--wpsubs-surface-muted, #f2f3f5);
  color: var(--wpsubs-text, #1e1e1e);
}

.wpsubs-editlist__btn--danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

.wpsubs-editlist__empty {
  margin: 0 0 12px;
  color: var(--wpsubs-text-muted, #6b7075);
  font-size: 13px;
  font-style: italic;
}

.wpsubs-editlist__add {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.wpsubs-editlist__input {
  flex: 1 1 auto;
  max-width: unset !important;
  width: auto;
}

.wpsubs-editlist__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  border: none;
  border-radius: var(--wpsubs-radius, 8px);
  background: var(--wpsubs-brand, #2563eb);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.12s,
    opacity 0.12s;
}

.wpsubs-editlist__add-btn:hover {
  background: var(--wpsubs-brand-dark, #1d4ed8);
}

.wpsubs-editlist__add-btn:disabled,
.wpsubs-editlist--locked {
  opacity: 0.55;
  pointer-events: none;
}

/* Compact dialog for an edit list shown in a modal — keeps the rows and the add
   input a comfortable, matching width. */
.wpsubs-modal--editlist .wpsubs-modal__dialog {
  width: min(520px, calc(100vw - 40px));
}

```
