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
44d9aa52
Commit
44d9aa52
authored
Jun 27, 2023
by
timel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: styles small
parent
fe9369cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
src/ui/Duel/Message/CardModal/Desc.tsx
src/ui/Duel/Message/CardModal/Desc.tsx
+1
-0
src/ui/Duel/Message/CardModal/index.scss
src/ui/Duel/Message/CardModal/index.scss
+1
-4
src/ui/Duel/PlayMat/Bg/index.scss
src/ui/Duel/PlayMat/Bg/index.scss
+11
-1
No files found.
src/ui/Duel/Message/CardModal/Desc.tsx
View file @
44d9aa52
...
@@ -17,6 +17,7 @@ export const Desc: React.FC<{ desc?: string }> = ({ desc = "" }) => {
...
@@ -17,6 +17,7 @@ export const Desc: React.FC<{ desc?: string }> = ({ desc = "" }) => {
);
);
};
};
/** 使用re去提取文本,并且将提取到的文本用Wrapper进行环绕 */
const
RegexWrapper
:
React
.
FC
<
{
const
RegexWrapper
:
React
.
FC
<
{
text
:
string
;
text
:
string
;
re
:
RegExp
;
re
:
RegExp
;
...
...
src/ui/Duel/Message/CardModal/index.scss
View file @
44d9aa52
...
@@ -12,10 +12,7 @@
...
@@ -12,10 +12,7 @@
border-radius
:
6px
;
border-radius
:
6px
;
background
:
#242424
;
background
:
#242424
;
.ant-drawer-header
{
.ant-drawer-header
{
padding
:
10px
0
;
padding
:
15px
0
;
button
{
margin-right
:
0
;
}
.ant-drawer-header-title
{
.ant-drawer-header-title
{
flex-direction
:
row-reverse
;
flex-direction
:
row-reverse
;
padding-left
:
24px
;
padding-left
:
24px
;
...
...
src/ui/Duel/PlayMat/Bg/index.scss
View file @
44d9aa52
...
@@ -31,9 +31,18 @@ section#mat {
...
@@ -31,9 +31,18 @@ section#mat {
&
.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
;
background
:
#102639
;
cursor
:
pointer
;
// animation: blink 1s linear infinite alternate;
.triangle
{
.triangle
{
--color
:
#006eff
;
--color
:
#006eff
;
transform
:
scale
(
1
.5
);
}
&
:hover
{
opacity
:
0
.7
;
.triangle
{
transform
:
scale
(
1
.2
);
}
}
}
}
}
.triangle
{
.triangle
{
...
@@ -43,6 +52,7 @@ section#mat {
...
@@ -43,6 +52,7 @@ section#mat {
border-width
:
4px
;
border-width
:
4px
;
border-style
:
solid
;
border-style
:
solid
;
position
:
absolute
;
position
:
absolute
;
transition
:
0
.3s
;
&
:nth-of-type
(
1
)
{
&
:nth-of-type
(
1
)
{
border-color
:
var
(
--
color
)
transparent
transparent
var
(
--
color
);
border-color
:
var
(
--
color
)
transparent
transparent
var
(
--
color
);
}
}
...
...
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