Difference between revisions of "MediaWiki:Common.css"

From BiblePay Wiki
Jump to: navigation, search
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
 +
@keyframes example
 +
{
 +
    0%  {background-color:red; left:0px; top:0px;}
 +
    25%  {background-color:yellow; left:200px; top:0px;}
 +
    50%  {background-color:blue; left:200px; top:200px;}
 +
    75%  {background-color:green; left:0px; top:200px;}
 +
    100% {background-color:#971b20; left:0px; top:0px;}
 +
}
  
 
.w3-round-small{border-radius:2px}.w3-round,.w3-round-medium{border-radius:4px}.w3-round-large{border-radius:8px}.w3-round-xlarge{border-radius:16px}.w3-round-xxlarge{border-radius:32px}
 
.w3-round-small{border-radius:2px}.w3-round,.w3-round-medium{border-radius:4px}.w3-round-large{border-radius:8px}.w3-round-xlarge{border-radius:16px}.w3-round-xxlarge{border-radius:32px}
  
.b1 {background-color:blue}
+
.b1  
 +
{
 +
background-color:green;
 +
transition: all 300ms ease-in-out;
 +
}
 +
 
 +
.w3-blue,.w3-hover-blue:hover
 +
{
 +
color:#fff!important;background-color:#971b20!important;
 +
animation-name: example;
 +
animation-duration: 4s;
 +
background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
 +
transition: all 300ms ease-in-out;
 +
animation:motion 2s infinite ease;
 +
}
 +
 
 +
.w3-blue:hover
 +
{
 +
  xbackground-position: -99.99% 0;
 +
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, orange 50%);
 +
}
 +
 
 +
.th1 {background-color:black;color=green}
 +
 
 +
 
 +
 
 +
<!-- HTML TABLES !-->
 +
 
 +
 
 +
 
 +
graphbody
 +
{
 +
  height: 100%;
 +
}
 +
 
 +
graphbody
 +
{
 +
  display: flex;
 +
  flex-direction: column;
 +
  justify-content: center;
 +
  align-items: center;
 +
  font-family: "fira-sans-2", Verdana, sans-serif;
 +
}
 +
 
 +
#q-graph {
 +
  display: block; /* fixes layout wonkiness in FF1.5 */
 +
  position: relative;
 +
  width: 600px;
 +
  height: 300px;
 +
  margin: 1.1em 0 0;
 +
  padding: 0;
 +
  background: transparent;
 +
  font-size: 11px;
 +
}
 +
 
 +
#q-graph caption {
 +
  caption-side: top;
 +
  width: 600px;
 +
  text-transform: uppercase;
 +
  letter-spacing: .5px;
 +
  top: -40px;
 +
  position: relative;
 +
  z-index: 10;
 +
  font-weight: bold;
 +
}
 +
 
 +
#q-graph tr, #q-graph th, #q-graph td {
 +
  position: absolute;
 +
  bottom: 0;
 +
  width: 150px;
 +
  z-index: 2;
 +
  margin: 0;
 +
  padding: 0;
 +
  text-align: center;
 +
}
 +
 
 +
#q-graph td {
 +
  transition: all .3s ease;
 +
 
 +
  &:hover {
 +
    background-color: desaturate(#85144b, 100);
 +
    opacity: .9;
 +
    color: white;
 +
  }
 +
}
 +
 
 +
#q-graph thead tr
 +
{
 +
  left: 100%;
 +
  top: 50%;
 +
  bottom: auto;
 +
  margin: -2.5em 0 0 5em;
 +
}
 +
 
 +
#q-graph thead th
 +
{
 +
  width: 7.5em;
 +
  height: auto;
 +
  padding: 0.5em 1em;
 +
}
 +
#q-graph thead th.sent {
 +
  top: 0;
 +
  left: 0;
 +
  line-height: 2;
 +
}
 +
#q-graph thead th.paid {
 +
  top: 2.75em;
 +
  line-height: 2;
 +
  left: 0;
 +
}
 +
 
 +
#q-graph tbody tr
 +
{
 +
  height: 296px;
 +
  padding-top: 2px;
 +
  border-right: 1px dotted #C4C4C4;
 +
  color: #AAA;
 +
}
 +
 
 +
#q-graph #q1
 +
{
 +
  left: 0;
 +
}
 +
#q-graph #q2 {left: 150px;}
 +
#q-graph #q3 {left: 300px;}
 +
#q-graph #q4 {left: 450px; border-right:none; }
 +
 
 +
 
 +
#q-graph tbody th {bottom: -1.75em; vertical-align: top;
 +
font-weight: normal; color: #333;}
 +
#q-graph .bar {
 +
  width: 60px;
 +
  border: 1px solid;
 +
  border-bottom: none;
 +
  color: #000;
 +
}
 +
#q-graph .bar p {
 +
  margin: 5px 0 0;
 +
  padding: 0;
 +
  opacity: .4;
 +
}
 +
#q-graph .sent {
 +
  left: 13px;
 +
  background-color: #39cccc;
 +
  border-color: transparent;
 +
}
 +
#q-graph .paid {
 +
  left: 77px;
 +
  background-color: $color-paid;
 +
  border-color: transparent;
 +
}
 +
 
 +
 
 +
#ticks {
 +
  position: relative;
 +
  top: -300px;
 +
  left: 2px;
 +
  width: 596px;
 +
  height: 300px;
 +
  z-index: 1;
 +
  margin-bottom: -300px;
 +
  font-size: 10px;
 +
  font-family: "fira-sans-2", Verdana, sans-serif;
 +
}
 +
 
 +
#ticks .tick {
 +
  position: relative;
 +
  border-bottom: 1px dotted #C4C4C4;
 +
  width: 600px;
 +
}
 +
 
 +
#ticks .tick p {
 +
  position: absolute;
 +
  left: -5em;
 +
  top: -0.8em;
 +
  margin: 0 0 0 0.5em;
 +
}

Latest revision as of 20:25, 24 March 2018

/* CSS placed here will be applied to all skins */

@keyframes example 
{
    0%   {background-color:red; left:0px; top:0px;}
    25%  {background-color:yellow; left:200px; top:0px;}
    50%  {background-color:blue; left:200px; top:200px;}
    75%  {background-color:green; left:0px; top:200px;}
    100% {background-color:#971b20; left:0px; top:0px;}
}

.w3-round-small{border-radius:2px}.w3-round,.w3-round-medium{border-radius:4px}.w3-round-large{border-radius:8px}.w3-round-xlarge{border-radius:16px}.w3-round-xxlarge{border-radius:32px}

.b1 
{
background-color:green;
transition: all 300ms ease-in-out;
}

.w3-blue,.w3-hover-blue:hover
{
color:#fff!important;background-color:#971b20!important;
animation-name: example;
animation-duration: 4s;
background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
transition: all 300ms ease-in-out;
animation:motion 2s infinite ease;
}

.w3-blue:hover
{
  xbackground-position: -99.99% 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, orange 50%);
}

.th1 {background-color:black;color=green}



<!-- HTML TABLES !-->



graphbody
{
  height: 100%;
}

graphbody
 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "fira-sans-2", Verdana, sans-serif;
}

#q-graph {
  display: block; /* fixes layout wonkiness in FF1.5 */
  position: relative; 
  width: 600px; 
  height: 300px;
  margin: 1.1em 0 0; 
  padding: 0;
  background: transparent;
  font-size: 11px;
}

#q-graph caption {
  caption-side: top; 
  width: 600px;
  text-transform: uppercase;
  letter-spacing: .5px;
  top: -40px;
  position: relative; 
  z-index: 10;
  font-weight: bold;
}

#q-graph tr, #q-graph th, #q-graph td { 
  position: absolute;
  bottom: 0; 
  width: 150px; 
  z-index: 2;
  margin: 0; 
  padding: 0;
  text-align: center;
}

#q-graph td {
  transition: all .3s ease;
  
  &:hover {
    background-color: desaturate(#85144b, 100);
    opacity: .9;
    color: white;
  }
}
  
#q-graph thead tr 
{
  left: 100%; 
  top: 50%; 
  bottom: auto;
  margin: -2.5em 0 0 5em;
}

#q-graph thead th 
{
  width: 7.5em; 
  height: auto; 
  padding: 0.5em 1em;
}
#q-graph thead th.sent {
  top: 0; 
  left: 0; 
  line-height: 2;
}
#q-graph thead th.paid {
  top: 2.75em; 
  line-height: 2;
  left: 0; 
}

#q-graph tbody tr 
{
  height: 296px;
  padding-top: 2px;
  border-right: 1px dotted #C4C4C4; 
  color: #AAA;
}

#q-graph #q1 
{
  left: 0;
}
#q-graph #q2 {left: 150px;}
#q-graph #q3 {left: 300px;}
#q-graph #q4 {left: 450px; border-right:none; }


#q-graph tbody th {bottom: -1.75em; vertical-align: top;
font-weight: normal; color: #333;}
#q-graph .bar {
  width: 60px; 
  border: 1px solid; 
  border-bottom: none; 
  color: #000;
}
#q-graph .bar p {
  margin: 5px 0 0; 
  padding: 0;
  opacity: .4;
}
#q-graph .sent {
  left: 13px; 
  background-color: #39cccc;
  border-color: transparent;
}
#q-graph .paid {
  left: 77px; 
  background-color: $color-paid;
  border-color: transparent;
}


#ticks {
  position: relative; 
  top: -300px; 
  left: 2px;
  width: 596px; 
  height: 300px; 
  z-index: 1;
  margin-bottom: -300px;
  font-size: 10px;
  font-family: "fira-sans-2", Verdana, sans-serif;
}

#ticks .tick {
  position: relative; 
  border-bottom: 1px dotted #C4C4C4; 
  width: 600px;
}

#ticks .tick p {
  position: absolute; 
  left: -5em; 
  top: -0.8em; 
  margin: 0 0 0 0.5em;
}