diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..c922359 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,12 @@ +{ + arrowParens: "avoid", + bracketSpacing: true, + endOfLine: "lf", + printWidth: 999, + proseWrap: "preserve", + quoteProps: "as-needed", + semi: true, + tabWidth: 4, + trailingComma: "es5", + useTabs: true, +} \ No newline at end of file diff --git a/shoushaUI/lbtn/main1_window.css b/shoushaUI/lbtn/main1_window.css index b46a2fc..cca67c0 100644 --- a/shoushaUI/lbtn/main1_window.css +++ b/shoushaUI/lbtn/main1_window.css @@ -225,9 +225,9 @@ overflow: visible; transition: none; } -.control>div.primary, -.control>div.qi, -.control>div.huan { +.control > div.primary, +.control > div.qi, +.control > div.huan { --p: calc(var(--h) * 11 / 75); background-image: none; } @@ -288,10 +288,10 @@ display: none; } -.control>div.qi>span { +.control > div.qi > span { background-image: url("./images/uibutton/qipai.png"); } -.control>div.huan>span { +.control > div.huan > span { background-image: url("./images/uibutton/huanpai.png"); } /*手牌*/