keyrune/less/border.less

85 lines
2.3 KiB
Plaintext
Raw Normal View History

.@{ss-prefix}-border {
&:not(.ss-duo)::after {
content: "";
position: absolute;
left: -.05em;
top: 0em;
color: #fff;
font-size: 1.15em;
z-index: -1;
background: #fff;
-webkit-text-stroke: 0.05em #fff;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
&.@{ss-prefix}-van:after { content: "\e655"; } // Vanguard
&.@{ss-prefix}-hop:after { content: "\e656"; } // Planechase 2009
&.@{ss-prefix}-arc:after { content: "\e657"; } // Archenemy
&.@{ss-prefix}-cmd:after { content: "\e658"; } // Commander
&.@{ss-prefix}-pc2:after { content: "\e659"; } // Planechase 2012
&.@{ss-prefix}-cm1:after { content: "\e65a"; } // Commander's Arsenal
&.@{ss-prefix}-c13:after { content: "\e65b"; } // Commander 2013
&.@{ss-prefix}-cns:after { content: "\e65c"; } // Conspiracy
&.@{ss-prefix}-c14:after { content: "\e65d"; } // Commander 2014
&.@{ss-prefix}-c15:after { content: "\e900"; } // Commander 2015
// corrections for various duo icons
// SIS: the regular symbol becomes the border now
&.@{ss-prefix}-sis {
&::before {
content: "\e9b3";
}
&::after {
content: "\e9b2";
}
}
// experimental ::marker for 3 layer icons
&.@{ss-prefix}-40k {
display: list-item;
list-style-position: inside;
&::before {
position: absolute;
left: 0;
top: 0;
}
&::marker {
content: "\e99a";
color: #000;
}
}
&.@{ss-prefix}-dmc {
display: list-item;
list-style-position: inside;
&::before {
position: absolute;
left: 0;
top: 0;
}
&::marker {
content: "\e996";
color: #000;
}
}
&.@{ss-prefix}-dsc {
display: list-item;
list-style-position: inside;
&.@{ss-prefix}-fw {
text-align: revert !important; // not sure why we have to remove center
}
&::before {
position: absolute;
left: 0;
top: 0;
}
&::marker {
content: "\e9dd";
color: #000;
}
}
}