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
6927df32
Commit
6927df32
authored
Oct 26, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 样式调整
parent
b50885a4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
16 deletions
+19
-16
index.tsx
src/components/mui/MyTabs/index.tsx
+10
-2
index.module.css
src/views/Project/ProjectData/index.module.css
+3
-3
index.module.css
src/views/Project/ProjectOverview/index.module.css
+3
-4
index.tsx
src/views/Project/ProjectSetting/index.tsx
+1
-1
index.tsx
src/views/Project/ProjectWorkbench/index.tsx
+2
-2
index.tsx
...ceCenter/UserResources/UserResourcesEnvironment/index.tsx
+0
-2
index.tsx
...ourceCenter/UserResources/UserResourcesTemplate/index.tsx
+0
-2
No files found.
src/components/mui/MyTabs/index.tsx
View file @
6927df32
...
@@ -72,7 +72,6 @@ const theme = createTheme({
...
@@ -72,7 +72,6 @@ const theme = createTheme({
},
},
},
},
},
},
// #C2C6CC
MuiTabs
:
{
MuiTabs
:
{
styleOverrides
:
{
styleOverrides
:
{
indicator
:
{
indicator
:
{
...
@@ -80,6 +79,15 @@ const theme = createTheme({
...
@@ -80,6 +79,15 @@ const theme = createTheme({
},
},
},
},
},
},
MuiButtonBase
:
{
styleOverrides
:
{
root
:
{
"&.Mui-selected .MuiTypography-root"
:
{
fontWeight
:
"600"
,
},
},
},
},
},
},
});
});
...
@@ -90,7 +98,7 @@ const Tabs = (props: IProps) => {
...
@@ -90,7 +98,7 @@ const Tabs = (props: IProps) => {
defaultValue
,
defaultValue
,
onChange
,
onChange
,
allowNullValue
=
false
,
allowNullValue
=
false
,
tabPanelSx
=
{
padding
:
"2
4
px 0 0 0"
},
tabPanelSx
=
{
padding
:
"2
0
px 0 0 0"
},
title
,
title
,
titleClass
,
titleClass
,
}
=
props
;
}
=
props
;
...
...
src/views/Project/ProjectData/index.module.css
View file @
6927df32
...
@@ -4,21 +4,21 @@
...
@@ -4,21 +4,21 @@
}
}
.projectDataStickyTop
{
.projectDataStickyTop
{
height
:
100%
;
height
:
100%
;
padding
:
2
8
px
24px
64px
;
padding
:
2
2
px
24px
64px
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.projectDataStickyTopPadding
{
.projectDataStickyTopPadding
{
padding
:
2
8
px
24px
24px
;
padding
:
2
2
px
24px
24px
;
}
}
.projectDataTitle
{
.projectDataTitle
{
font-size
:
18px
;
font-size
:
18px
;
color
:
#1e2633
;
color
:
#1e2633
;
line-height
:
26px
;
line-height
:
26px
;
font-weight
:
600
;
font-weight
:
600
;
margin-bottom
:
2
4
px
;
margin-bottom
:
2
0
px
;
}
}
.projectDataHeader
{
.projectDataHeader
{
position
:
relative
;
position
:
relative
;
...
...
src/views/Project/ProjectOverview/index.module.css
View file @
6927df32
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin
:
0
24px
;
margin
:
0
24px
;
padding
:
2
4
px
0
20px
;
padding
:
2
2
px
0
20px
;
border-bottom
:
1px
solid
#edeff2
;
border-bottom
:
1px
solid
#edeff2
;
}
}
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
color
:
#1e2633
;
color
:
#1e2633
;
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.red
{
.red
{
color
:
rgba
(
255
,
78
,
78
,
1
);
color
:
rgba
(
255
,
78
,
78
,
1
);
}
}
.verticalLine
{
.verticalLine
{
...
@@ -136,4 +136,4 @@
...
@@ -136,4 +136,4 @@
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
height
:
calc
(
100vh
-
100px
);
height
:
calc
(
100vh
-
100px
);
}
}
\ No newline at end of file
src/views/Project/ProjectSetting/index.tsx
View file @
6927df32
...
@@ -40,7 +40,7 @@ const ProjectSetting = observer(() => {
...
@@ -40,7 +40,7 @@ const ProjectSetting = observer(() => {
if
(
currentProjectStore
.
currentProjectInfo
.
name
)
{
if
(
currentProjectStore
.
currentProjectInfo
.
name
)
{
return
(
return
(
<
div
style=
{
{
padding
:
"2
8px 24
px 24px"
}
}
>
<
div
style=
{
{
padding
:
"2
2
px 24px"
}
}
>
<
div
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
,
marginBottom
:
"3px"
}
}
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
,
marginBottom
:
"3px"
}
}
>
>
...
...
src/views/Project/ProjectWorkbench/index.tsx
View file @
6927df32
...
@@ -53,7 +53,7 @@ const ProjectWorkbench = observer(() => {
...
@@ -53,7 +53,7 @@ const ProjectWorkbench = observer(() => {
},
[
isPass
]);
},
[
isPass
]);
if
(
currentProjectStore
.
currentProjectInfo
.
name
)
{
if
(
currentProjectStore
.
currentProjectInfo
.
name
)
{
return
(
return
(
<
div
style=
{
{
padding
:
"2
8
px 24px 24px"
}
}
>
<
div
style=
{
{
padding
:
"2
2
px 24px 24px"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
alignItems
:
"center"
}
}
>
<
span
<
span
style=
{
{
style=
{
{
...
@@ -61,7 +61,7 @@ const ProjectWorkbench = observer(() => {
...
@@ -61,7 +61,7 @@ const ProjectWorkbench = observer(() => {
lineHeight
:
"26px"
,
lineHeight
:
"26px"
,
fontWeight
:
"600"
,
fontWeight
:
"600"
,
color
:
"#1E2633"
,
color
:
"#1E2633"
,
marginBottom
:
"
3
px"
,
marginBottom
:
"
-1
px"
,
}
}
}
}
>
>
工作台
工作台
...
...
src/views/ResourceCenter/UserResources/UserResourcesEnvironment/index.tsx
View file @
6927df32
...
@@ -208,8 +208,6 @@ const UserResourcesEnvironment = () => {
...
@@ -208,8 +208,6 @@ const UserResourcesEnvironment = () => {
></
SearchInput
>
></
SearchInput
>
{
!
addOpen
&&
(
{
!
addOpen
&&
(
<
MySelect
<
MySelect
title=
"环境类型"
isTitle=
{
true
}
options=
{
[
options=
{
[
{
{
label
:
"全部"
,
label
:
"全部"
,
...
...
src/views/ResourceCenter/UserResources/UserResourcesTemplate/index.tsx
View file @
6927df32
...
@@ -141,8 +141,6 @@ const UserResourcesTemplate = observer(() => {
...
@@ -141,8 +141,6 @@ const UserResourcesTemplate = observer(() => {
}
}
}
}
></
SearchInput
>
></
SearchInput
>
<
MySelect
<
MySelect
title=
"产品类型"
isTitle=
{
true
}
options=
{
options=
{
[
[
{
label
:
"全部"
,
value
:
"all"
},
{
label
:
"全部"
,
value
:
"all"
},
...
...
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