2024-10-29 02:13:17 +00:00
|
|
|
@use "variables";
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// costs
|
2017-03-23 07:56:41 +00:00
|
|
|
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-cost {
|
2017-03-23 07:56:41 +00:00
|
|
|
|
2024-10-29 02:13:17 +00:00
|
|
|
background-color: variables.$ms-base-colorless;
|
2017-03-23 07:56:41 +00:00
|
|
|
border-radius: 1em;
|
|
|
|
color: #111;
|
|
|
|
font-size: 0.95em;
|
|
|
|
width: 1.3em;
|
|
|
|
height: 1.3em;
|
|
|
|
line-height: 1.35em;
|
|
|
|
text-align: center;
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// single costs
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-w,
|
|
|
|
&.#{variables.$ms-prefix}-wp {
|
|
|
|
background-color: variables.$ms-base-white;
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-u,
|
|
|
|
&.#{variables.$ms-prefix}-up {
|
|
|
|
background-color: variables.$ms-base-blue;
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-b,
|
|
|
|
&.#{variables.$ms-prefix}-bp {
|
|
|
|
background-color: variables.$ms-base-black;
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-r,
|
|
|
|
&.#{variables.$ms-prefix}-rp {
|
|
|
|
background-color: variables.$ms-base-red;
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-g,
|
|
|
|
&.#{variables.$ms-prefix}-gp {
|
|
|
|
background-color: variables.$ms-base-green;
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// split costs
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-wu,
|
|
|
|
&.#{variables.$ms-prefix}-wb,
|
|
|
|
&.#{variables.$ms-prefix}-ub,
|
|
|
|
&.#{variables.$ms-prefix}-ur,
|
|
|
|
&.#{variables.$ms-prefix}-br,
|
|
|
|
&.#{variables.$ms-prefix}-bg,
|
|
|
|
&.#{variables.$ms-prefix}-rw,
|
|
|
|
&.#{variables.$ms-prefix}-rg,
|
|
|
|
&.#{variables.$ms-prefix}-gw,
|
|
|
|
&.#{variables.$ms-prefix}-gu,
|
|
|
|
&.#{variables.$ms-prefix}-2w,
|
|
|
|
&.#{variables.$ms-prefix}-2u,
|
|
|
|
&.#{variables.$ms-prefix}-2b,
|
|
|
|
&.#{variables.$ms-prefix}-2r,
|
|
|
|
&.#{variables.$ms-prefix}-2g,
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-cw,
|
|
|
|
&.#{variables.$ms-prefix}-cu,
|
|
|
|
&.#{variables.$ms-prefix}-cb,
|
|
|
|
&.#{variables.$ms-prefix}-cr,
|
|
|
|
&.#{variables.$ms-prefix}-cg,
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-wup,
|
|
|
|
&.#{variables.$ms-prefix}-wbp,
|
|
|
|
&.#{variables.$ms-prefix}-ubp,
|
|
|
|
&.#{variables.$ms-prefix}-urp,
|
|
|
|
&.#{variables.$ms-prefix}-brp,
|
|
|
|
&.#{variables.$ms-prefix}-bgp,
|
|
|
|
&.#{variables.$ms-prefix}-rwp,
|
|
|
|
&.#{variables.$ms-prefix}-rgp,
|
|
|
|
&.#{variables.$ms-prefix}-gwp,
|
|
|
|
&.#{variables.$ms-prefix}-gup {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-c);
|
|
|
|
--ms-split-bottom: var(--ms-mana-u);
|
|
|
|
background: var(--ms-split-top); // fallback
|
|
|
|
background: -moz-linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%);
|
|
|
|
background: -webkit-linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%);
|
|
|
|
background: linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%);
|
2018-07-25 16:58:10 +00:00
|
|
|
position: relative;
|
|
|
|
width: 1.3em;
|
|
|
|
height: 1.3em;
|
2020-09-03 17:42:58 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2018-07-25 16:58:10 +00:00
|
|
|
font-size: 0.55em !important;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2020-09-03 17:42:58 +00:00
|
|
|
&::before {
|
2018-07-25 16:58:10 +00:00
|
|
|
top: -0.38em;
|
|
|
|
left: 0.28em;
|
|
|
|
}
|
2020-09-03 17:42:58 +00:00
|
|
|
&::after {
|
2018-07-25 16:58:10 +00:00
|
|
|
top: 0.5em;
|
|
|
|
left: 1.0em;
|
|
|
|
}
|
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-wu,
|
|
|
|
&.#{variables.$ms-prefix}-wup {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-w);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-wb,
|
|
|
|
&.#{variables.$ms-prefix}-wbp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-w);
|
|
|
|
--ms-split-bottom: var(--ms-mana-b);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-ub,
|
|
|
|
&.#{variables.$ms-prefix}-ubp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-u);
|
|
|
|
--ms-split-bottom: var(--ms-mana-b);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-ur,
|
|
|
|
&.#{variables.$ms-prefix}-urp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-u);
|
|
|
|
--ms-split-bottom: var(--ms-mana-r);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-br,
|
|
|
|
&.#{variables.$ms-prefix}-brp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-b);
|
|
|
|
--ms-split-bottom: var(--ms-mana-r);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-bg,
|
|
|
|
&.#{variables.$ms-prefix}-bgp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-b);
|
|
|
|
--ms-split-bottom: var(--ms-mana-g);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-rw,
|
|
|
|
&.#{variables.$ms-prefix}-rwp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-r);
|
|
|
|
--ms-split-bottom: var(--ms-mana-w);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-rg,
|
|
|
|
&.#{variables.$ms-prefix}-rgp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-r);
|
|
|
|
--ms-split-bottom: var(--ms-mana-g);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-gw,
|
|
|
|
&.#{variables.$ms-prefix}-gwp {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-g);
|
|
|
|
--ms-split-bottom: var(--ms-mana-w);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-gu,
|
|
|
|
&.#{variables.$ms-prefix}-gup {
|
2024-11-08 14:46:26 +00:00
|
|
|
--ms-split-top: var(--ms-mana-g);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-2w,
|
|
|
|
&.#{variables.$ms-prefix}-cw {
|
|
|
|
--ms-split-bottom: var(--ms-mana-w);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-2u,
|
|
|
|
&.#{variables.$ms-prefix}-cu {
|
|
|
|
// defaults
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-2b,
|
|
|
|
&.#{variables.$ms-prefix}-cb {
|
|
|
|
--ms-split-bottom: var(--ms-mana-b);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-2r,
|
|
|
|
&.#{variables.$ms-prefix}-cr {
|
|
|
|
--ms-split-bottom: var(--ms-mana-r);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-2g,
|
|
|
|
&.#{variables.$ms-prefix}-cg {
|
|
|
|
--ms-split-bottom: var(--ms-mana-g);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
|
|
|
|
2024-11-08 14:46:26 +00:00
|
|
|
// new tan: #d0c6bb
|
|
|
|
|
|
|
|
// phyrexian and other split mana size increases
|
2024-11-06 11:40:20 +00:00
|
|
|
@if variables.$ms-phyrexian-h {
|
|
|
|
&.#{variables.$ms-prefix}-h::before {
|
|
|
|
display: inline-block;
|
|
|
|
-moz-transform: scale( 1.2, 1.2 );
|
|
|
|
-webkit-transform: scale( 1.2, 1.2 );
|
|
|
|
transform: scale( 1.2, 1.2 );
|
|
|
|
}
|
|
|
|
} @else {
|
|
|
|
&.#{variables.$ms-prefix}-p::before {
|
|
|
|
display: inline-block;
|
|
|
|
-moz-transform: scale( 1.2, 1.2 );
|
|
|
|
-webkit-transform: scale( 1.2, 1.2 );
|
|
|
|
transform: scale( 1.2, 1.2 );
|
|
|
|
}
|
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-wp::before,
|
|
|
|
&.#{variables.$ms-prefix}-up::before,
|
|
|
|
&.#{variables.$ms-prefix}-bp::before,
|
|
|
|
&.#{variables.$ms-prefix}-rp::before,
|
|
|
|
&.#{variables.$ms-prefix}-gp::before,
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-cw::before,
|
|
|
|
&.#{variables.$ms-prefix}-cu::before,
|
|
|
|
&.#{variables.$ms-prefix}-cb::before,
|
|
|
|
&.#{variables.$ms-prefix}-cr::before,
|
|
|
|
&.#{variables.$ms-prefix}-cg::before,
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-wup::before,
|
|
|
|
&.#{variables.$ms-prefix}-wbp::before,
|
|
|
|
&.#{variables.$ms-prefix}-ubp::before,
|
|
|
|
&.#{variables.$ms-prefix}-urp::before,
|
|
|
|
&.#{variables.$ms-prefix}-brp::before,
|
|
|
|
&.#{variables.$ms-prefix}-bgp::before,
|
|
|
|
&.#{variables.$ms-prefix}-rwp::before,
|
|
|
|
&.#{variables.$ms-prefix}-rgp::before,
|
|
|
|
&.#{variables.$ms-prefix}-gwp::before,
|
2024-11-08 14:46:26 +00:00
|
|
|
&.#{variables.$ms-prefix}-gup::before,
|
|
|
|
&.#{variables.$ms-prefix}-wup::after,
|
|
|
|
&.#{variables.$ms-prefix}-wbp::after,
|
|
|
|
&.#{variables.$ms-prefix}-ubp::after,
|
|
|
|
&.#{variables.$ms-prefix}-urp::after,
|
|
|
|
&.#{variables.$ms-prefix}-brp::after,
|
|
|
|
&.#{variables.$ms-prefix}-bgp::after,
|
|
|
|
&.#{variables.$ms-prefix}-rwp::after,
|
|
|
|
&.#{variables.$ms-prefix}-rgp::after,
|
|
|
|
&.#{variables.$ms-prefix}-gwp::after,
|
|
|
|
&.#{variables.$ms-prefix}-gup::after {
|
2017-03-23 07:56:41 +00:00
|
|
|
display: inline-block;
|
2024-11-08 14:46:26 +00:00
|
|
|
transform: scale(1.2) translateX(0.01rem) translateY(-0.03rem);
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// alternate tap
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-tap-alt::before {
|
2017-03-23 07:56:41 +00:00
|
|
|
display: inline-block;
|
2024-11-08 14:46:26 +00:00
|
|
|
transform: scale(1.2);
|
2017-03-23 07:56:41 +00:00
|
|
|
padding-left: .06em;
|
|
|
|
padding-bottom: 0.10em;
|
|
|
|
}
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// snow mana
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-s {
|
2021-07-10 17:27:04 +00:00
|
|
|
&::before {
|
|
|
|
color: #fff;
|
|
|
|
-webkit-text-stroke: 2px #fff;
|
|
|
|
font-size: 0.85em;
|
|
|
|
top: -0.05em;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
//text-shadow: -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, 1px 1px 0 #fff;
|
|
|
|
content: "\e619";
|
|
|
|
position: absolute;
|
|
|
|
color: #333;
|
|
|
|
margin-left: -0.9em;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
&-mtga::before {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2017-03-23 07:56:41 +00:00
|
|
|
}
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// tap symbols
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-untap {
|
2017-03-23 07:56:41 +00:00
|
|
|
background-color: #111;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// shadow alternative
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-shadow {
|
2017-03-23 07:56:41 +00:00
|
|
|
box-shadow: -0.06em 0.07em 0 #111, 0 0.06em 0 #111;
|
2024-10-29 02:13:17 +00:00
|
|
|
&.#{variables.$ms-prefix}-untap {
|
2017-03-23 07:56:41 +00:00
|
|
|
box-shadow: -0.06em 0.07em 0 #fff, 0 0.06em 0 #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// split cost specifics
|
2017-03-23 07:56:41 +00:00
|
|
|
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-split {
|
2017-03-23 07:56:41 +00:00
|
|
|
position: relative;
|
|
|
|
width: 1.3em;
|
|
|
|
height: 1.3em;
|
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-split::before,
|
|
|
|
.#{variables.$ms-prefix}-split::after {
|
2017-03-23 07:56:41 +00:00
|
|
|
font-size: 0.55em !important;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-split::before {
|
2017-03-23 07:56:41 +00:00
|
|
|
top: -0.38em;
|
|
|
|
left: 0.28em;
|
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-split::after {
|
2017-03-23 07:56:41 +00:00
|
|
|
top: 0.5em;
|
|
|
|
left: 1.0em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// half costs specifics
|
2017-03-23 07:56:41 +00:00
|
|
|
|
2024-10-29 02:13:17 +00:00
|
|
|
span.#{variables.$ms-prefix}-half { // legacy handling with <span> tag
|
2017-03-23 07:56:41 +00:00
|
|
|
width: .675em;
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: .675em;
|
|
|
|
|
2024-10-29 02:13:17 +00:00
|
|
|
> .#{variables.$ms-prefix}-cost {
|
2017-03-23 07:56:41 +00:00
|
|
|
margin-left: -.675em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-half { // new single-element handling!
|
2018-07-26 13:14:19 +00:00
|
|
|
width: .675em;
|
|
|
|
margin-left: .675em;
|
|
|
|
overflow: hidden;
|
|
|
|
border-radius: 0 1em 1em 0;
|
2020-09-03 17:42:58 +00:00
|
|
|
&::before {
|
2018-07-26 13:14:19 +00:00
|
|
|
margin-left: -.65em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-09-03 17:42:58 +00:00
|
|
|
// un-set costs
|
2017-03-23 07:56:41 +00:00
|
|
|
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-100 {
|
2017-03-23 07:56:41 +00:00
|
|
|
width: 2.4em;
|
|
|
|
}
|
2024-10-29 02:13:17 +00:00
|
|
|
.#{variables.$ms-prefix}-1000000 {
|
2017-03-23 07:56:41 +00:00
|
|
|
width: 5.4em;
|
2020-09-03 17:42:58 +00:00
|
|
|
}
|