Difference between revisions of "MediaWiki:Single-page JS tracker.css"

From Free Software Directory
Jump to: navigation, search
m (Mention use only at FSD:Single-page JS tracker.)
 
(80 intermediate revisions by 6 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
/* Single-page JS tracker */
span.checkboxSpan {
+
/* This should only be used at [[FSD:Single-page JS tracker]] */
width: 300px;
+
 
display: block;
+
div.backlogIssue {
float: left;
+
  margin: 0.5em;
 +
  margin-top: 1.5em;
 +
  padding-left: 0.5em;
 +
  border-left: 2px solid gray;
 +
  border-top: 3px solid gray;
 +
  border-radius: 0.3em;
 +
}
 +
div.backlogIssue .backlogIssueAnchor {
 +
  float: right;
 +
  font-size: small;
 +
  margin: 0.1em;
 +
  background-color: black;
 +
  border-radius: 0.3em;
 +
  padding: 0.2em;
 +
  color: white;
 +
  box-shadow: gray 2px 2px 3px;
 +
  -moz-user-select: all;
 +
  user-select: all;
 +
}
 +
div.backlogIssue .backlogIssueContent {
 +
  margin: 0.3em;
 +
}
 +
div.backlogIssue.topPriority .backlogIssueAnchor::before {
 +
  display: block;
 +
  content: 'TOP PRIORITY';
 +
  font-size: x-small;
 +
  font-weight: bold;
 +
  margin: 0.1em;
 +
  color: gold;
 +
  text-align: center;
 +
}
 +
div.backlogIssue[data-stalledby]::after {
 +
  display: block;
 +
  text-align: center;
 +
  content: '↳ Stalled by: ' attr(data-stalledby) ' ↲';
 +
  font-size: small;
 +
  margin-top: 1em;
 +
  text-decoration: overline double purple;
 +
}
 +
 
 +
body[class*="Backlog"] #n-Backlog, body[class*="Issues"] #n-Backlog {
 +
  text-decoration: underline;
 +
}
 +
 
 +
/* Backlog: support for the Top Priority filter (the star) */
 +
input#onlyTopPriority ~ label[for="onlyTopPriority"] {
 +
  filter: grayscale(1) drop-shadow(0px 0px 2px black);
 +
  cursor: pointer;
 +
  color: gold;
 +
  padding: 0.4em;
 +
  user-select: none;
 +
  font-size: larger;
 +
}
 +
input#onlyTopPriority:checked ~ label[for="onlyTopPriority"] {
 +
  filter: grayscale(0) drop-shadow(0px 0px 1px black);
 +
}
 +
input#onlyTopPriority ~ label[for="onlyTopPriority"]:hover {
 +
  filter: grayscale(0.5) drop-shadow(0px 0px 1px black);
 +
}
 +
input#onlyTopPriority ~ label[for="onlyTopPriority"]:active {
 +
  cursor: wait;
 
}
 
}

Latest revision as of 13:57, 16 July 2021

/* Single-page JS tracker */
/* This should only be used at [[FSD:Single-page JS tracker]] */

div.backlogIssue {
  margin: 0.5em;
  margin-top: 1.5em;
  padding-left: 0.5em;
  border-left: 2px solid gray;
  border-top: 3px solid gray;
  border-radius: 0.3em;
}
div.backlogIssue .backlogIssueAnchor {
  float: right;
  font-size: small;
  margin: 0.1em;
  background-color: black;
  border-radius: 0.3em;
  padding: 0.2em;
  color: white;
  box-shadow: gray 2px 2px 3px;
  -moz-user-select: all;
  user-select: all;
}
div.backlogIssue .backlogIssueContent {
  margin: 0.3em;
}
div.backlogIssue.topPriority .backlogIssueAnchor::before {
  display: block;
  content: 'TOP PRIORITY';
  font-size: x-small;
  font-weight: bold;
  margin: 0.1em;
  color: gold;
  text-align: center;
}
div.backlogIssue[data-stalledby]::after {
  display: block;
  text-align: center;
  content: '↳ Stalled by: ' attr(data-stalledby) ' ↲';
  font-size: small;
  margin-top: 1em;
  text-decoration: overline double purple;
}

body[class*="Backlog"] #n-Backlog, body[class*="Issues"] #n-Backlog {
  text-decoration: underline;
}

/* Backlog: support for the Top Priority filter (the star) */
input#onlyTopPriority ~ label[for="onlyTopPriority"] {
  filter: grayscale(1) drop-shadow(0px 0px 2px black);
  cursor: pointer;
  color: gold;
  padding: 0.4em;
  user-select: none;
  font-size: larger;
}
input#onlyTopPriority:checked ~ label[for="onlyTopPriority"] {
  filter: grayscale(0) drop-shadow(0px 0px 1px black);
}
input#onlyTopPriority ~ label[for="onlyTopPriority"]:hover {
  filter: grayscale(0.5) drop-shadow(0px 0px 1px black);
}
input#onlyTopPriority ~ label[for="onlyTopPriority"]:active {
  cursor: wait;
}


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.