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
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
MyCard
Neos
Commits
dc06b81c
Commit
dc06b81c
authored
Jun 19, 2023
by
timel
Committed by
Chunchi Che
Jun 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update style
parent
69398078
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
11 deletions
+17
-11
src/ui/Duel/Message/NewModal/index.tsx
src/ui/Duel/Message/NewModal/index.tsx
+5
-3
src/ui/Duel/Message/NewSelectActionModal/index.tsx
src/ui/Duel/Message/NewSelectActionModal/index.tsx
+3
-3
src/ui/Duel/PlayMat/Bg/index.scss
src/ui/Duel/PlayMat/Bg/index.scss
+8
-4
src/ui/Duel/PlayMat/Card/index.scss
src/ui/Duel/PlayMat/Card/index.scss
+1
-1
No files found.
src/ui/Duel/Message/NewModal/index.tsx
View file @
dc06b81c
import
{
Button
,
Modal
,
type
ModalProps
}
from
"
antd
"
;
import
{
Button
,
Modal
,
type
ModalProps
}
from
"
antd
"
;
import
{
type
FC
,
useRef
,
useState
,
type
CSSProperties
}
from
"
react
"
;
import
{
type
FC
,
useRef
,
useState
,
type
CSSProperties
}
from
"
react
"
;
import
{
MinusOutlined
}
from
"
@ant-design/icons
"
;
import
{
MinusOutlined
,
UpOutlined
}
from
"
@ant-design/icons
"
;
import
classNames
from
"
classnames
"
;
import
classNames
from
"
classnames
"
;
import
"
./index.scss
"
;
import
"
./index.scss
"
;
...
@@ -8,16 +8,18 @@ interface Props extends ModalProps {
...
@@ -8,16 +8,18 @@ interface Props extends ModalProps {
canBeMinimized
?:
boolean
;
canBeMinimized
?:
boolean
;
}
}
export
const
Ne
w
Modal
:
FC
<
Props
>
=
(
props
)
=>
{
export
const
Ne
os
Modal
:
FC
<
Props
>
=
(
props
)
=>
{
const
{
canBeMinimized
=
true
}
=
props
;
const
{
canBeMinimized
=
true
}
=
props
;
const
[
mini
,
setMini
]
=
useState
(
false
);
const
[
mini
,
setMini
]
=
useState
(
false
);
return
(
return
(
<
Modal
<
Modal
className=
{
classNames
(
"
neos-modal
"
,
{
"
neos-modal-mini
"
:
mini
})
}
className=
{
classNames
(
"
neos-modal
"
,
{
"
neos-modal-mini
"
:
mini
})
}
centered
centered
maskClosable=
{
false
}
onCancel=
{
()
=>
setMini
(
!
mini
)
}
onCancel=
{
()
=>
setMini
(
!
mini
)
}
closeIcon=
{
<
MinusOutlined
/>
}
closeIcon=
{
mini
?
<
UpOutlined
/>
:
<
MinusOutlined
/>
}
bodyStyle=
{
{
padding
:
"
10px 0
"
}
}
bodyStyle=
{
{
padding
:
"
10px 0
"
}
}
mask=
{
!
mini
}
{
...
props
}
{
...
props
}
/>
/>
);
);
...
...
src/ui/Duel/Message/NewSelectActionModal/index.tsx
View file @
dc06b81c
...
@@ -25,7 +25,7 @@ import { matStore } from "@/stores";
...
@@ -25,7 +25,7 @@ import { matStore } from "@/stores";
import
{
groupBy
}
from
"
../../utils
"
;
import
{
groupBy
}
from
"
../../utils
"
;
import
{
Ne
w
Modal
}
from
"
../NewModal
"
;
import
{
Ne
os
Modal
}
from
"
../NewModal
"
;
import
{
YgoCard
}
from
"
@/ui/Shared
"
;
import
{
YgoCard
}
from
"
@/ui/Shared
"
;
import
"
./index.scss
"
;
import
"
./index.scss
"
;
...
@@ -133,7 +133,7 @@ export const NewSelectActionsModal: FC = () => {
...
@@ -133,7 +133,7 @@ export const NewSelectActionsModal: FC = () => {
);
);
return
(
return
(
<
Ne
w
Modal
<
Ne
os
Modal
title=
{
title=
{
<>
<>
<
span
>
{
preHintMsg
}
</
span
>
<
span
>
{
preHintMsg
}
</
span
>
...
@@ -204,7 +204,7 @@ export const NewSelectActionsModal: FC = () => {
...
@@ -204,7 +204,7 @@ export const NewSelectActionsModal: FC = () => {
))
}
))
}
</
Space
>
</
Space
>
</
div
>
</
div
>
</
Ne
w
Modal
>
</
Ne
os
Modal
>
);
);
};
};
...
...
src/ui/Duel/PlayMat/Bg/index.scss
View file @
dc06b81c
...
@@ -19,7 +19,7 @@ section#mat {
...
@@ -19,7 +19,7 @@ section#mat {
height
:
var
(
--
block-height-m
);
height
:
var
(
--
block-height-m
);
width
:
var
(
--
block-width
);
width
:
var
(
--
block-width
);
// background-color: rgba(128, 128, 128, 0.447);
// background-color: rgba(128, 128, 128, 0.447);
background
:
radial-gradient
(
#2
32323
,
#212121
);
background
:
radial-gradient
(
#2
62626
,
#303030
);
// box-shadow: 0 0 0 1px purple;
// box-shadow: 0 0 0 1px purple;
position
:
relative
;
position
:
relative
;
&
.extra
{
&
.extra
{
...
@@ -29,13 +29,17 @@ section#mat {
...
@@ -29,13 +29,17 @@ section#mat {
height
:
var
(
--
block-height-s
);
height
:
var
(
--
block-height-s
);
}
}
&
.highlight
{
&
.highlight
{
box-shadow
:
0
0
0
1px
#00b0ff
,
0
0
13px
0px
#0077ff
,
// box-shadow: 0 0 0 1px #00b0ff, 0 0 13px 0px #0077ff,
0
0
11px
0
skyblue
inset
;
// 0 0 11px 0 skyblue inset;
background
:
#142f47
;
.triangle
{
--color
:
#006eff
;
}
}
}
.triangle
{
.triangle
{
width
:
0
;
width
:
0
;
height
:
0
;
height
:
0
;
--color
:
#
292929
;
--color
:
#
444444
;
border-width
:
5px
;
border-width
:
5px
;
border-style
:
solid
;
border-style
:
solid
;
position
:
absolute
;
position
:
absolute
;
...
...
src/ui/Duel/PlayMat/Card/index.scss
View file @
dc06b81c
...
@@ -94,7 +94,7 @@ section#mat {
...
@@ -94,7 +94,7 @@ section#mat {
}
}
}
}
.highlight
{
.
mat-card
.
highlight
{
box-shadow
:
0
0
10px
2px
#5db7ff
;
box-shadow
:
0
0
10px
2px
#5db7ff
;
}
}
...
...
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