Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bkunyun
Commits
3c435492
Commit
3c435492
authored
Sep 02, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 算子增加hover效果
parent
3f7b2195
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
15 deletions
+20
-15
index.module.css
src/views/Project/ProjectJobDetail/index.module.css
+3
-0
index.tsx
src/views/Project/ProjectJobDetail/index.tsx
+5
-15
index.module.css
...ews/WorkFlowEdit/components/OperatorList/index.module.css
+12
-0
No files found.
src/views/Project/ProjectJobDetail/index.module.css
View file @
3c435492
...
@@ -25,6 +25,9 @@
...
@@ -25,6 +25,9 @@
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
center
;
}
}
.goBackIcon
{
cursor
:
pointer
;
}
.swTemplateTitle
{
.swTemplateTitle
{
margin
:
0
19px
0
8px
;
margin
:
0
19px
0
8px
;
line-height
:
22px
;
line-height
:
22px
;
...
...
src/views/Project/ProjectJobDetail/index.tsx
View file @
3c435492
...
@@ -11,8 +11,6 @@ import { toJS } from "mobx";
...
@@ -11,8 +11,6 @@ import { toJS } from "mobx";
import
{
observer
}
from
"mobx-react-lite"
;
import
{
observer
}
from
"mobx-react-lite"
;
import
classNames
from
"classnames"
;
import
classNames
from
"classnames"
;
import
{
useLocation
,
useNavigate
}
from
"react-router-dom"
;
import
{
useLocation
,
useNavigate
}
from
"react-router-dom"
;
import
ArrowBackIosNewIcon
from
"@mui/icons-material/ArrowBackIosNew"
;
import
IconButton
from
"@mui/material/IconButton"
;
import
MyButton
from
"@/components/mui/MyButton"
;
import
MyButton
from
"@/components/mui/MyButton"
;
import
useMyRequest
from
"@/hooks/useMyRequest"
;
import
useMyRequest
from
"@/hooks/useMyRequest"
;
...
@@ -27,6 +25,7 @@ import jobStop from "@/assets/project/jobStop.svg";
...
@@ -27,6 +25,7 @@ import jobStop from "@/assets/project/jobStop.svg";
import
jobRun
from
"@/assets/project/jobRun.svg"
;
import
jobRun
from
"@/assets/project/jobRun.svg"
;
import
fullScreen
from
"@/assets/project/fullScreen.svg"
;
import
fullScreen
from
"@/assets/project/fullScreen.svg"
;
import
partialScreen
from
"@/assets/project/partialScreen.svg"
;
import
partialScreen
from
"@/assets/project/partialScreen.svg"
;
import
goback
from
"@/assets/project/goback.svg"
;
import
CloudEController
from
"@/api/fileserver/CloudEController"
;
import
CloudEController
from
"@/api/fileserver/CloudEController"
;
import
jobFail
from
"@/assets/project/jobFail.svg"
;
import
jobFail
from
"@/assets/project/jobFail.svg"
;
import
fileIcon
from
"@/assets/project/fileIcon.svg"
;
import
fileIcon
from
"@/assets/project/fileIcon.svg"
;
...
@@ -422,21 +421,12 @@ const ProjectSubmitWork = observer(() => {
...
@@ -422,21 +421,12 @@ const ProjectSubmitWork = observer(() => {
{
fullScreenShow
?
null
:
(
{
fullScreenShow
?
null
:
(
<
div
className=
{
styles
.
swHeader
}
>
<
div
className=
{
styles
.
swHeader
}
>
<
div
className=
{
styles
.
swHeaderLeft
}
>
<
div
className=
{
styles
.
swHeaderLeft
}
>
<
IconButton
<
img
color=
"primary"
onClick=
{
onBack
}
onClick=
{
onBack
}
aria
-
label=
"upload picture"
className=
{
styles
.
goBackIcon
}
component=
"span"
src=
{
goback
}
size=
"small"
alt=
""
>
<
ArrowBackIosNewIcon
sx=
{
{
color
:
"#C2C6CC"
,
width
:
"12px"
,
height
:
"12px"
,
}
}
/>
/>
</
IconButton
>
<
div
className=
{
styles
.
swTemplateTitle
}
>
{
name
}
</
div
>
<
div
className=
{
styles
.
swTemplateTitle
}
>
{
name
}
</
div
>
</
div
>
</
div
>
...
...
src/views/WorkFlowEdit/components/OperatorList/index.module.css
View file @
3c435492
...
@@ -3,6 +3,17 @@
...
@@ -3,6 +3,17 @@
border-radius
:
4px
;
border-radius
:
4px
;
cursor
:
grab
;
cursor
:
grab
;
padding
:
16px
16px
0
24px
;
padding
:
16px
16px
0
24px
;
background-color
:
#fff
;
}
.operatorItemBox
:hover
{
position
:
relative
;
z-index
:
1
;
top
:
-1px
;
left
:
24px
;
box-shadow
:
6px
8px
22px
0px
rgba
(
0
,
24
,
57
,
0.08
);
}
.operatorItemBox
:hover
.footerBox
{
border-bottom
:
none
;
}
}
.dragBox
{
.dragBox
{
...
@@ -62,6 +73,7 @@
...
@@ -62,6 +73,7 @@
overflow-y
:
overlay
;
overflow-y
:
overlay
;
height
:
calc
(
100%
-
48px
);
height
:
calc
(
100%
-
48px
);
position
:
relative
;
position
:
relative
;
overflow-x
:
visible
;
}
}
.noData
{
.noData
{
display
:
flex
;
display
:
flex
;
...
...
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