2020-09-02 21:04:03 +00:00
|
|
|
/**
|
|
|
|
* Handling for set symbols that use an inner and outer layer, like M21
|
|
|
|
*
|
|
|
|
* The inner layer is what gets colorized and is the traditional "set symbol"
|
|
|
|
* The outer layer takes over as the border, and is white for common cards
|
|
|
|
* but black for uncommon, rare, and mythic.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.@{ss-prefix}-duo {
|
|
|
|
|
|
|
|
// base border styles
|
|
|
|
&::after {
|
|
|
|
color: #000;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
font-size: 1em;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// set default inner to white unless a rarity is declared
|
|
|
|
color: #fff;
|
|
|
|
|
2022-05-13 20:14:58 +00:00
|
|
|
/**
|
|
|
|
* white sections are ::after
|
|
|
|
* color sections are ::before */
|
|
|
|
|
|
|
|
// Warhammer 40K
|
|
|
|
// 2 glyphs b/c we have a custom color glyph
|
|
|
|
&.@{ss-prefix}-40k {
|
|
|
|
&::before {
|
|
|
|
content: "\e999";
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: "\e99b";
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-06 14:27:54 +00:00
|
|
|
// Adventures in the Forgotten Realms
|
|
|
|
&.@{ss-prefix}-xdnd::after,
|
|
|
|
&.@{ss-prefix}-afr::after {
|
2020-09-02 21:04:03 +00:00
|
|
|
content: "\e973";
|
|
|
|
}
|
2021-07-15 13:53:26 +00:00
|
|
|
&.@{ss-prefix}-afc::after {
|
|
|
|
content: "\e982";
|
|
|
|
}
|
2020-09-02 21:04:03 +00:00
|
|
|
|
2021-07-06 14:27:54 +00:00
|
|
|
// Commander 2021
|
|
|
|
&.@{ss-prefix}-c21::after {
|
|
|
|
content: "\e97f";
|
|
|
|
}
|
|
|
|
|
2022-03-26 15:59:47 +00:00
|
|
|
// Commander Legends: Battle for Baldur's Gate
|
2022-05-13 09:23:12 +00:00
|
|
|
&.@{ss-prefix}-clb::after {
|
2022-03-26 15:59:47 +00:00
|
|
|
content: "\e992";
|
|
|
|
}
|
|
|
|
|
2021-11-12 20:19:55 +00:00
|
|
|
// Commander Collection: Black
|
|
|
|
&.@{ss-prefix}-cc2::after {
|
|
|
|
content: "\e988";
|
|
|
|
}
|
|
|
|
|
2022-05-13 20:14:58 +00:00
|
|
|
// Dominaria United Commander
|
|
|
|
// 2 glyphs b/c we have a custom color glyph
|
|
|
|
&.@{ss-prefix}-dmc {
|
|
|
|
&::before {
|
|
|
|
content: "\e995";
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: "\e997";
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-01 01:54:32 +00:00
|
|
|
// Jumpstart: Historic Horizons
|
|
|
|
&.@{ss-prefix}-j21::after {
|
|
|
|
content: "\e984";
|
|
|
|
}
|
|
|
|
|
2023-05-26 19:53:20 +00:00
|
|
|
// Lord of the Rings Commander
|
|
|
|
// 2 glyphs b/c we have a custom color glyph
|
|
|
|
&.@{ss-prefix}-ltc {
|
|
|
|
&::before {
|
|
|
|
content: "\e9b7";
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: "\e9b8";
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-02 21:04:03 +00:00
|
|
|
// Innistrad Werewolves
|
2021-10-01 12:24:36 +00:00
|
|
|
&.@{ss-prefix}-mid::after {
|
2020-09-02 21:04:03 +00:00
|
|
|
content: "\e979";
|
|
|
|
}
|
|
|
|
|
2023-02-04 20:14:13 +00:00
|
|
|
// Starter Commander Decks
|
|
|
|
&.@{ss-prefix}-scd::after {
|
|
|
|
content: "\e9ac";
|
|
|
|
}
|
|
|
|
|
2022-03-26 15:59:47 +00:00
|
|
|
// Streets of New Capenna: Commander
|
|
|
|
// uses 2 separate glyphs to construct this
|
2022-05-13 14:01:10 +00:00
|
|
|
&.@{ss-prefix}-ncc {
|
2022-03-26 15:59:47 +00:00
|
|
|
&::before {
|
|
|
|
content: "\e98f";
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: "\e990";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-02 14:14:09 +00:00
|
|
|
// Unfinity Acorns
|
|
|
|
&.@{ss-prefix}-una::after {
|
|
|
|
content: "\e9bf";
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
|
2020-09-02 21:04:03 +00:00
|
|
|
// rarity border colors
|
2021-07-06 14:27:54 +00:00
|
|
|
&.@{ss-prefix}-common:after {
|
2020-09-02 21:04:03 +00:00
|
|
|
color: #fff;
|
|
|
|
}
|
2022-03-26 15:59:47 +00:00
|
|
|
&.@{ss-prefix}-uncommon,
|
|
|
|
&.@{ss-prefix}-rare,
|
|
|
|
&.@{ss-prefix}-mythic {
|
|
|
|
&::after {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
// exceptions
|
2022-05-13 09:23:12 +00:00
|
|
|
&.@{ss-prefix}-clb::after {
|
2022-03-26 15:59:47 +00:00
|
|
|
color: #fff;
|
|
|
|
}
|
2020-09-02 21:04:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|