Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
d099cc09
Commit
d099cc09
authored
Jul 09, 2023
by
timel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 卡片阴影/手卡z/hint style
parent
63461ca2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
src/ui/Duel/Message/HintNotification/index.tsx
src/ui/Duel/Message/HintNotification/index.tsx
+3
-3
src/ui/Duel/PlayMat/Card/index.scss
src/ui/Duel/PlayMat/Card/index.scss
+5
-2
src/ui/Duel/PlayMat/Card/index.tsx
src/ui/Duel/PlayMat/Card/index.tsx
+1
-1
src/ui/Duel/PlayMat/Card/springs/moveToHand.ts
src/ui/Duel/PlayMat/Card/springs/moveToHand.ts
+1
-1
No files found.
src/ui/Duel/Message/HintNotification/index.tsx
View file @
d099cc09
...
...
@@ -10,9 +10,9 @@ import { useConfig } from "@/config";
import
{
HandResult
,
matStore
}
from
"
@/stores
"
;
const
style
=
{
borderStyle
:
"
groove
"
,
borderRadius
:
"
8px
"
,
backgroundColor
:
"
#
303030
"
,
//
borderStyle: "groove",
//
borderRadius: "8px",
backgroundColor
:
"
#
444
"
,
};
const
NeosConfig
=
useConfig
();
...
...
src/ui/Duel/PlayMat/Card/index.scss
View file @
d099cc09
...
...
@@ -107,9 +107,12 @@ section#mat {
}
.mat-card.highlight
.card-shadow
{
--card-shadow-color
:
#0099ff
;
display
:
block
!
important
;
background
:
linear-gradient
(
to
right
,
#0079c6
,
#009cff
)
!
important
;
filter
:
blur
(
8px
);
background
:
var
(
--
card-shadow-color
)
!
important
;
border-radius
:
5px
;
box-shadow
:
0
0
4px
0
var
(
--
card-shadow-color
)
,
0
0
25px
2px
#0099ff
87
;
transform
:
translateZ
(
calc
((
var
(
--
z
))
*
1px
+
0
.1px
));
}
@keyframes
focus
{
...
...
src/ui/Duel/PlayMat/Card/index.tsx
View file @
d099cc09
...
...
@@ -320,7 +320,7 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => {
<
div
className=
"card-shadow"
/>
<
Dropdown
menu=
{
dropdownMenu
}
placement=
"
bottom
"
placement=
"
top
"
overlayClassName=
"card-dropdown"
arrow
trigger=
{
[
"
click
"
]
}
...
...
src/ui/Duel/PlayMat/Card/springs/moveToHand.ts
View file @
d099cc09
...
...
@@ -51,7 +51,7 @@ export const moveToHand: MoveFunc = async (props) => {
await
asyncStart
(
api
)({
x
:
isMe
(
controller
)
?
x
:
-
x
,
y
:
isMe
(
controller
)
?
y
:
-
y
,
z
:
15
,
z
:
sequence
,
rz
:
isMe
(
controller
)
?
_rz
:
180
-
_rz
,
ry
:
isMe
(
controller
)
?
0
:
180
,
height
:
HAND_CARD_HEIGHT
.
value
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment