You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- @charset "utf-8";
- :host { /*控制 shadow DOM 的根元素*/
- display: inline-block;
- width: 32px;
- height: 32px;
- }
- svg {
- width: 100%;
- height: 100%;
- }
- [type="awoken-count"] text{
- font-size: 20px;
- fill: yellow;
- font-family: var(--game-font-family);
- text-anchor: middle;
- /* 文本水平居中 */
- dominant-baseline: middle;
- /* 文本垂直居中 */
- }
- .back {
- fill: var(--back-color);
- }
- .front {
- fill: var(--front-color);
- }
- [type="awoken-count"] use {
- --back-color: white;
- --front-color: #096E11;
- }
- [type="awoken-count"][icon-type="latent"] use {
- --front-color: #378DE8;
- }
- [type="awoken-count"][special][full]:not([icon-type="latent"]) use {
- --back-color: #FFFFD4;
- --front-color: #F3DC69;
- }
|