Commit f9cbd39d authored by timel's avatar timel

fix: styles

parent 97153a59
Pipeline #22987 passed with stages
in 15 minutes and 19 seconds
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 8px; gap: 10px;
padding: 12px 0; padding: 12px 0;
border: 3px solid hsla(0, 0%, 100%, 0.3); border: 3px solid hsla(0, 0%, 100%, 0.3);
border-radius: 8px; border-radius: 8px;
...@@ -18,19 +18,18 @@ ...@@ -18,19 +18,18 @@
transition: 0.3s; transition: 0.3s;
&.disabled { &.disabled {
background: none; background: hsla(0, 0%, 100%, 0.08);
color: rgba(255, 255, 255, 0.5); color: hsla(0, 0%, 100%, 0.25);
cursor: not-allowed; cursor: not-allowed;
border: 1px solid hsla(0, 0%, 100%, 0.5); border: 1px solid hsla(0, 0%, 100%, 0.3);
border: none;
&::before { &::before {
opacity: 0.1; opacity: 0.1;
}
&:hover {
background: none; background: none;
} }
} }
&:hover { &:not(.disabled):hover {
background-color: hsla(0, 0%, 100%, 1.1); background-color: hsla(0, 0%, 100%, 1.1);
} }
......
...@@ -334,12 +334,12 @@ const ActionButton: React.FC<{ ...@@ -334,12 +334,12 @@ const ActionButton: React.FC<{
</> </>
) : stage == RoomStage.HAND_SELECTING ? ( ) : stage == RoomStage.HAND_SELECTING ? (
<> <>
<IconFont type="icon-mora" size={18} /> <IconFont type="icon-mora" size={20} />
<span>请猜拳</span> <span>请猜拳</span>
</> </>
) : stage == RoomStage.HAND_SELECTED ? ( ) : stage == RoomStage.HAND_SELECTED ? (
<> <>
<LoadingOutlined size={20} /> <LoadingOutlined />
<span>等待对方猜拳</span> <span>等待对方猜拳</span>
</> </>
) : stage == RoomStage.TP_SELECTING ? ( ) : stage == RoomStage.TP_SELECTING ? (
...@@ -349,7 +349,7 @@ const ActionButton: React.FC<{ ...@@ -349,7 +349,7 @@ const ActionButton: React.FC<{
</> </>
) : stage == RoomStage.TP_SELECTED ? ( ) : stage == RoomStage.TP_SELECTED ? (
<> <>
<LoadingOutlined size={20} /> <LoadingOutlined />
<span>等待游戏开始</span> <span>等待游戏开始</span>
</> </>
) : ( ) : (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment