mana/sass/_cost.scss

367 lines
20 KiB
SCSS
Raw Permalink Normal View History

@use "variables";
// costs
2017-03-23 07:56:41 +00:00
.#{variables.$ms-prefix}-cost {
2017-03-23 07:56:41 +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;
// single costs
&.#{variables.$ms-prefix}-w,
&.#{variables.$ms-prefix}-wp {
background-color: variables.$ms-base-white;
2017-03-23 07:56:41 +00:00
}
&.#{variables.$ms-prefix}-u,
&.#{variables.$ms-prefix}-up {
background-color: variables.$ms-base-blue;
2017-03-23 07:56:41 +00:00
}
&.#{variables.$ms-prefix}-b,
&.#{variables.$ms-prefix}-bp {
background-color: variables.$ms-base-black;
2017-03-23 07:56:41 +00:00
}
&.#{variables.$ms-prefix}-r,
&.#{variables.$ms-prefix}-rp {
background-color: variables.$ms-base-red;
2017-03-23 07:56:41 +00:00
}
&.#{variables.$ms-prefix}-g,
&.#{variables.$ms-prefix}-gp {
background-color: variables.$ms-base-green;
2017-03-23 07:56:41 +00:00
}
// split costs
&.#{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,
&.#{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 {
position: relative;
width: 1.3em;
height: 1.3em;
&::before,
&::after {
font-size: 0.55em !important;
position: absolute;
}
&::before {
top: -0.38em;
left: 0.28em;
}
&::after {
top: 0.5em;
left: 1.0em;
}
}
&.#{variables.$ms-prefix}-wu,
&.#{variables.$ms-prefix}-wup {
2017-03-23 07:56:41 +00:00
background: #edf2b0; // Old browsers
background: -moz-linear-gradient(-45deg, #edf2b0 0%, #edf2b0 50%, #a6c1dd 50%, #a6c1dd 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#edf2b0), color-stop(50%,#edf2b0), color-stop(50%,#a6c1dd), color-stop(100%,#a6c1dd)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // IE10+
background: linear-gradient(135deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf2b0', endColorstr='#a6c1dd',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-wb,
&.#{variables.$ms-prefix}-wbp {
2017-03-23 07:56:41 +00:00
background: #edf2b0; // Old browsers
background: -moz-linear-gradient(-45deg, #edf2b0 0%, #edf2b0 50%, #9c9188 50%, #9c9188 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#edf2b0), color-stop(50%,#edf2b0), color-stop(50%,#9c9188), color-stop(100%,#9c9188)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // IE10+
background: linear-gradient(135deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf2b0', endColorstr='#9c9188',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-ub,
&.#{variables.$ms-prefix}-ubp {
2017-03-23 07:56:41 +00:00
background: #a6c1dd; // Old browsers
background: -moz-linear-gradient(-45deg, #a6c1dd 0%, #a6c1dd 50%, #9c9188 50%, #9c9188 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#a6c1dd), color-stop(50%,#a6c1dd), color-stop(50%,#9c9188), color-stop(100%,#9c9188)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // IE10+
background: linear-gradient(135deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6c1dd', endColorstr='#9c9188',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-ur,
&.#{variables.$ms-prefix}-urp {
2017-03-23 07:56:41 +00:00
background: #a6c1dd; // Old browsers
background: -moz-linear-gradient(-45deg, #a6c1dd 0%, #a6c1dd 50%, #db8664 50%, #db8664 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#a6c1dd), color-stop(50%,#a6c1dd), color-stop(50%,#db8664), color-stop(100%,#db8664)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // IE10+
background: linear-gradient(135deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6c1dd', endColorstr='#db8664',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-br,
&.#{variables.$ms-prefix}-brp {
2017-03-23 07:56:41 +00:00
background: #aca29a; // Old browsers
background: -moz-linear-gradient(-45deg, #aca29a 0%, #aca29a 50%, #db8664 50%, #db8664 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#aca29a), color-stop(50%,#aca29a), color-stop(50%,#db8664), color-stop(100%,#db8664)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // IE10+
background: linear-gradient(135deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aca29a', endColorstr='#db8664',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-bg,
&.#{variables.$ms-prefix}-bgp {
2017-03-23 07:56:41 +00:00
background: #aca29a; // Old browsers
background: -moz-linear-gradient(-45deg, #aca29a 0%, #aca29a 50%, #93b483 50%, #93b483 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#aca29a), color-stop(50%,#aca29a), color-stop(50%,#93b483), color-stop(100%,#93b483)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // IE10+
background: linear-gradient(135deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aca29a', endColorstr='#93b483',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-rw,
&.#{variables.$ms-prefix}-rwp {
2017-03-23 07:56:41 +00:00
background: #db8664; // Old browsers
background: -moz-linear-gradient(-45deg, #db8664 0%, #db8664 50%, #edf2b0 50%, #edf2b0 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#db8664), color-stop(50%,#db8664), color-stop(50%,#edf2b0), color-stop(100%,#edf2b0)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // IE10+
background: linear-gradient(135deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#db8664', endColorstr='#edf2b0',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-rg,
&.#{variables.$ms-prefix}-rgp {
2017-03-23 07:56:41 +00:00
background: #db8664; // Old browsers
background: -moz-linear-gradient(-45deg, #db8664 0%, #db8664 50%, #93b483 50%, #93b483 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#db8664), color-stop(50%,#db8664), color-stop(50%,#93b483), color-stop(100%,#93b483)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // IE10+
background: linear-gradient(135deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#db8664', endColorstr='#93b483',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-gw,
&.#{variables.$ms-prefix}-gwp {
2017-03-23 07:56:41 +00:00
background: #93b483; // Old browsers
background: -moz-linear-gradient(-45deg, #93b483 0%, #93b483 50%, #edf2b0 50%, #edf2b0 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#93b483), color-stop(50%,#93b483), color-stop(50%,#edf2b0), color-stop(100%,#edf2b0)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // IE10+
background: linear-gradient(135deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93b483', endColorstr='#edf2b0',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-gu,
&.#{variables.$ms-prefix}-gup {
2017-03-23 07:56:41 +00:00
background: #93b483; // Old browsers
background: -moz-linear-gradient(-45deg, #93b483 0%, #93b483 50%, #b5cde3 50%, #b5cde3 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#93b483), color-stop(50%,#93b483), color-stop(50%,#b5cde3), color-stop(100%,#b5cde3)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // IE10+
background: linear-gradient(135deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93b483', endColorstr='#b5cde3',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-2w {
2017-03-23 07:56:41 +00:00
background: #beb9b2; // Old browsers
background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #edf2b0 50%, #edf2b0 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#edf2b0), color-stop(100%,#edf2b0)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // IE10+
background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#edf2b0',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-2u {
2017-03-23 07:56:41 +00:00
background: #beb9b2; // Old browsers
background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #b5cde3 50%, #b5cde3 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#b5cde3), color-stop(100%,#b5cde3)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // IE10+
background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#b5cde3',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-2b {
2017-03-23 07:56:41 +00:00
background: #beb9b2; // Old browsers
background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #9c9188 50%, #9c9188 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#9c9188), color-stop(100%,#9c9188)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // IE10+
background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#9c9188',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-2r {
2017-03-23 07:56:41 +00:00
background: #beb9b2; // Old browsers
background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #db8664 50%, #db8664 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#db8664), color-stop(100%,#db8664)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // IE10+
background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#db8664',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
&.#{variables.$ms-prefix}-2g {
2017-03-23 07:56:41 +00:00
background: #beb9b2; // Old browsers
background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #93b483 50%, #93b483 100%); // FF3.6+
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#93b483), color-stop(100%,#93b483)); // Chrome,Safari4+
background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // Chrome10+,Safari5.1+
background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // Opera 11.10+
background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // IE10+
background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // W3C
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#93b483',GradientType=1 ); // IE6-9 fallback on horizontal gradient
}
2023-03-06 14:15:33 +00:00
// phyrexian mana size increases
&.#{variables.$ms-prefix}-p::before,
&.#{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,
&.#{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,
&.#{variables.$ms-prefix}-gup::before {
2017-03-23 07:56:41 +00:00
display: inline-block;
-moz-transform: scale( 1.2, 1.2 );
-webkit-transform: scale( 1.2, 1.2 );
transform: scale( 1.2, 1.2 );
}
// alternate tap
&.#{variables.$ms-prefix}-tap-alt::before {
2017-03-23 07:56:41 +00:00
display: inline-block;
-moz-transform: scale( 1.2, 1.2 );
-webkit-transform: scale( 1.2, 1.2 );
transform: scale( 1.2, 1.2 );
padding-left: .06em;
padding-bottom: 0.10em;
}
// snow mana
&.#{variables.$ms-prefix}-s {
&::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
}
// tap symbols
&.#{variables.$ms-prefix}-untap {
2017-03-23 07:56:41 +00:00
background-color: #111;
color: #fff;
}
// shadow alternative
&.#{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;
&.#{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;
}
}
}
// split cost specifics
2017-03-23 07:56:41 +00:00
.#{variables.$ms-prefix}-split {
2017-03-23 07:56:41 +00:00
position: relative;
width: 1.3em;
height: 1.3em;
}
.#{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;
}
.#{variables.$ms-prefix}-split::before {
2017-03-23 07:56:41 +00:00
top: -0.38em;
left: 0.28em;
}
.#{variables.$ms-prefix}-split::after {
2017-03-23 07:56:41 +00:00
top: 0.5em;
left: 1.0em;
}
// half costs specifics
2017-03-23 07:56:41 +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;
> .#{variables.$ms-prefix}-cost {
2017-03-23 07:56:41 +00:00
margin-left: -.675em;
}
}
.#{variables.$ms-prefix}-half { // new single-element handling!
width: .675em;
margin-left: .675em;
overflow: hidden;
border-radius: 0 1em 1em 0;
&::before {
margin-left: -.65em;
}
}
// un-set costs
2017-03-23 07:56:41 +00:00
.#{variables.$ms-prefix}-100 {
2017-03-23 07:56:41 +00:00
width: 2.4em;
}
.#{variables.$ms-prefix}-1000000 {
2017-03-23 07:56:41 +00:00
width: 5.4em;
}