2020-09-03 17:42:58 +00:00
|
|
|
// planeswalker specifics
|
2017-03-23 07:56:41 +00:00
|
|
|
|
|
|
|
.#{$ms-prefix}-loyalty {
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// all
|
2017-03-23 07:56:41 +00:00
|
|
|
&-up,
|
|
|
|
&-down,
|
|
|
|
&-zero,
|
|
|
|
&-start {
|
|
|
|
color: #111;
|
|
|
|
font-size: 1.5em;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// start
|
2017-03-23 07:56:41 +00:00
|
|
|
&-start {
|
|
|
|
font-size: 2.0em; // increase the size a bit by default
|
|
|
|
}
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// base styles for counters
|
|
|
|
&-0::after,
|
|
|
|
&-1::after,
|
|
|
|
&-2::after,
|
|
|
|
&-3::after,
|
|
|
|
&-4::after,
|
|
|
|
&-5::after,
|
|
|
|
&-6::after,
|
|
|
|
&-7::after,
|
|
|
|
&-8::after,
|
|
|
|
&-9::after,
|
|
|
|
&-10::after,
|
|
|
|
&-11::after,
|
|
|
|
&-12::after,
|
|
|
|
&-13::after,
|
|
|
|
&-14::after,
|
|
|
|
&-15::after,
|
|
|
|
&-16::after,
|
|
|
|
&-17::after,
|
|
|
|
&-18::after,
|
|
|
|
&-19::after,
|
|
|
|
&-20::after,
|
|
|
|
&-x::after {
|
2017-03-23 07:56:41 +00:00
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.5em;
|
|
|
|
font-family: $ms-serif-font;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
line-height: 1.75em;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
-webkit-padding-before: 0.15em; // fix for odd webkit line-height
|
|
|
|
}
|
2020-09-03 17:42:58 +00:00
|
|
|
&-0::after {
|
|
|
|
content: "0";
|
|
|
|
}
|
2017-03-23 07:56:41 +00:00
|
|
|
&-up {
|
2020-09-03 17:42:58 +00:00
|
|
|
&.#{$ms-prefix}-loyalty {
|
|
|
|
&-1::after { content: "+1"; }
|
|
|
|
&-2::after { content: "+2"; }
|
|
|
|
&-3::after { content: "+3"; }
|
|
|
|
&-4::after { content: "+4"; }
|
|
|
|
&-5::after { content: "+5"; }
|
|
|
|
&-6::after { content: "+6"; }
|
|
|
|
&-7::after { content: "+7"; }
|
|
|
|
&-8::after { content: "+8"; }
|
|
|
|
&-9::after { content: "+9"; }
|
|
|
|
&-10::after { content: "+10"; }
|
|
|
|
&-11::after { content: "+10"; }
|
|
|
|
&-12::after { content: "+12"; }
|
|
|
|
&-13::after { content: "+13"; }
|
|
|
|
&-14::after { content: "+14"; }
|
|
|
|
&-15::after { content: "+15"; }
|
|
|
|
&-16::after { content: "+16"; }
|
|
|
|
&-17::after { content: "+17"; }
|
|
|
|
&-18::after { content: "+18"; }
|
|
|
|
&-19::after { content: "+19"; }
|
|
|
|
&-20::after { content: "+20"; }
|
|
|
|
&-x::after { content: "+X"; }
|
|
|
|
}
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
|
|
|
&-start {
|
2020-09-03 17:42:58 +00:00
|
|
|
&.#{$ms-prefix}-loyalty {
|
|
|
|
&-1::after { content: "1"; }
|
|
|
|
&-2::after { content: "2"; }
|
|
|
|
&-3::after { content: "3"; }
|
|
|
|
&-4::after { content: "4"; }
|
|
|
|
&-5::after { content: "5"; }
|
|
|
|
&-6::after { content: "6"; }
|
|
|
|
&-7::after { content: "7"; }
|
|
|
|
&-8::after { content: "8"; }
|
|
|
|
&-9::after { content: "9"; }
|
|
|
|
&-10::after { content: "10"; }
|
|
|
|
&-11::after { content: "11"; }
|
|
|
|
&-12::after { content: "12"; }
|
|
|
|
&-13::after { content: "13"; }
|
|
|
|
&-14::after { content: "14"; }
|
|
|
|
&-15::after { content: "15"; }
|
|
|
|
&-16::after { content: "16"; }
|
|
|
|
&-17::after { content: "17"; }
|
|
|
|
&-18::after { content: "18"; }
|
|
|
|
&-19::after { content: "19"; }
|
|
|
|
&-20::after { content: "20"; }
|
|
|
|
&-x::after { content: "X"; }
|
|
|
|
}
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
|
|
|
&-down {
|
2020-09-03 17:42:58 +00:00
|
|
|
&::after { line-height: 1.6em; }
|
|
|
|
&.#{$ms-prefix}-loyalty {
|
|
|
|
&-1::after { content: "-1"; }
|
|
|
|
&-2::after { content: "-2"; }
|
|
|
|
&-3::after { content: "-3"; }
|
|
|
|
&-4::after { content: "-4"; }
|
|
|
|
&-5::after { content: "-5"; }
|
|
|
|
&-6::after { content: "-6"; }
|
|
|
|
&-7::after { content: "-7"; }
|
|
|
|
&-8::after { content: "-8"; }
|
|
|
|
&-9::after { content: "-9"; }
|
|
|
|
&-10::after { content: "-10"; }
|
|
|
|
&-11::after { content: "-11"; }
|
|
|
|
&-12::after { content: "-12"; }
|
|
|
|
&-13::after { content: "-13"; }
|
|
|
|
&-14::after { content: "-14"; }
|
|
|
|
&-15::after { content: "-15"; }
|
|
|
|
&-16::after { content: "-16"; }
|
|
|
|
&-17::after { content: "-17"; }
|
|
|
|
&-18::after { content: "-18"; }
|
|
|
|
&-19::after { content: "-19"; }
|
|
|
|
&-20::after { content: "-20"; }
|
|
|
|
&-x::after { content: "-X"; }
|
|
|
|
}
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2020-09-03 17:42:58 +00:00
|
|
|
}
|