MediaWiki:Gadget-QuoteSourceRedirects.css

From Bodhicitta
Revision as of 14:14, 9 September 2026 by Jeremi (talk | contribs) (VSCode edit)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Approve buttons on [[QuoteSource redirects to create]]. */

.qs-table td {
	vertical-align: middle;
}

.qs-value {
	font-size: .85rem;
	word-break: break-word;
}

.qs-target-label {
	font-size: .9rem;
}

.qs-target-edit {
	font-size: .75rem;
	color: #0645AD;
	cursor: pointer;
	border-bottom: 1px dotted;
	margin-left: .35rem;
}

.qs-drlonly {
	font-size: .85rem;
	color: #666;
	font-style: italic;
}

.qs-approve-btn {
	font-size: .8rem;
	padding: .15rem .6rem;
	white-space: nowrap;
}

.qs-pending { color: #666; font-size: .8rem; }
.qs-done    { color: #14866d; font-size: .8rem; font-weight: bold; }
.qs-failed  { color: #BA1B1D; font-size: .8rem; }

.qs-value-edit {
	font-size: .7rem;
	color: #0645AD;
	cursor: pointer;
	border-bottom: 1px dotted;
	margin-left: .35rem;
	white-space: nowrap;
}

/* Removing a value edits the segments too, so it sits with the rewrite link
   rather than in the action column. Carnelian, because it is destructive. */
.qs-value-delete {
	font-size: .7rem;
	color: #9F2B29;
	cursor: pointer;
	border-bottom: 1px dotted;
	margin-left: .35rem;
	white-space: nowrap;
}

/* Rewriting a value edits every segment using it, so its status sits beside
   the value rather than in the action column — it is not a redirect. */
.qs-rewrite-status {
	display: block;
	font-size: .75rem;
	color: #666;
}

/* A row that has been dealt with. Kept for the record rather than removed, so
   the list stays a complete account of what was found and what was done. */
.qs-treated td {
	opacity: .45;
}

.qs-treated .qs-value {
	text-decoration: line-through;
}

.qs-dismiss {
	font-size: .7rem;
	color: #666;
	cursor: pointer;
	border-bottom: 1px dotted;
	margin-left: .4rem;
	white-space: nowrap;
}

.qs-treated .qs-dismiss {
	color: #14866d;
	font-weight: bold;
	opacity: 1;
}

/* The row is dimmed as a whole, but the undo control has to stay legible or
   there is no way back out of the treated state. */
.qs-treated td {
	background: #f6f5f2;
}

.qs-table button[disabled] {
	pointer-events: none;
	opacity: .4;
	cursor: default;
}

/* Disabled controls on a treated row still read as controls, so they are
   visibly inert rather than merely unresponsive. */
.qs-disabled {
	pointer-events: none;
	opacity: .4;
	text-decoration: none;
	border-bottom: none;
}

.qs-hiding .qs-treated {
	display: none;
}

.qs-controls {
	margin: .5rem 0;
	font-size: .85rem;
}

.qs-hide-label {
	font-weight: normal;
	margin-right: .5rem;
	cursor: pointer;
}

.qs-hide-label input {
	margin-right: .25rem;
	vertical-align: middle;
}

.qs-treated-count {
	color: #666;
}

/* A newline inside a QuoteSource value would end the table cell, so it is shown
   as a pilcrow. The real value is carried in data-value. */
.qs-nl {
	color: #BA1B1D;
	opacity: .55;
	padding: 0 .15em;
	font-size: .85em;
	user-select: none;
}