Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
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
station
amos-convertor-view
Commits
bbe19abe
Commit
bbe19abe
authored
Jun 24, 2021
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风险模型样式修改
parent
588437aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
15 deletions
+25
-15
riskModel.scss
src/styles/view/biz/riskModel/riskModel.scss
+20
-11
var.scss
src/styles/view/var.scss
+2
-1
index.js
src/view/bizview/preControl/riskModel/index.js
+3
-3
No files found.
src/styles/view/biz/riskModel/riskModel.scss
View file @
bbe19abe
@import
'./../../var.scss'
;
@import
'./../../var.scss'
;
@import
'~amos-framework/lib/styles/mixins/scrollbar.scss'
;
$scrollOutColor
:
rgba
(
#dedede
,
0
.3
);
$scrollInnerColor
:
rgba
(
black
,
0
.1
);
.risk-model
{
.risk-model
{
height
:
100%
;
height
:
100%
;
button
{
button
{
opacity
:
1
;
opacity
:
1
;
width
:
100%
;
background
:
$page-header-background
;
}
}
.risk-level-map
{
.risk-level-map
{
...
@@ -38,7 +44,7 @@
...
@@ -38,7 +44,7 @@
text-align
:
center
;
text-align
:
center
;
padding
:
8px
0
;
padding
:
8px
0
;
border-color
:
$biz-border-color
;
border-color
:
$biz-border-color
;
background-color
:
$
biz-title-color
;
background-color
:
$
page-header-background
;
}
}
position
:
absolute
;
position
:
absolute
;
width
:
60%
;
width
:
60%
;
...
@@ -74,7 +80,7 @@
...
@@ -74,7 +80,7 @@
text-align
:
center
;
text-align
:
center
;
padding
:
8px
0
;
padding
:
8px
0
;
border-color
:
$biz-border-color
;
border-color
:
$biz-border-color
;
background-color
:
$
biz-title-color
;
background-color
:
$
page-header-background
;
}
}
.risk-model-eva-con
{
.risk-model-eva-con
{
height
:
calc
(
100%
-
37px
);
height
:
calc
(
100%
-
37px
);
...
@@ -112,6 +118,7 @@
...
@@ -112,6 +118,7 @@
.ant-tabs-bar
{
.ant-tabs-bar
{
padding-top
:
10px
;
padding-top
:
10px
;
margin-bottom
:
-1px
;
margin-bottom
:
-1px
;
border-bottom
:
$page-border-style
;
.ant-tabs-tab
{
.ant-tabs-tab
{
margin-right
:
-1px
!
important
;
margin-right
:
-1px
!
important
;
...
@@ -140,10 +147,10 @@
...
@@ -140,10 +147,10 @@
.ant-table-tbody
{
.ant-table-tbody
{
.highlight-row
{
.highlight-row
{
background
:
#ecf6fd
;
background
:
$table-highlight-row
;
&
:hover
{
&
:hover
{
background
:
#ecf6fd
;
background
:
$table-highlight-row
;
}
}
}
}
...
@@ -169,6 +176,8 @@
...
@@ -169,6 +176,8 @@
}
}
.risk-model-table
{
.risk-model-table
{
@include
pretty-scrollbar
(
5px
,
8px
,
$scrollOutColor
,
$scrollInnerColor
);
width
:
100%
;
width
:
100%
;
&
.fmea-table
{
&
.fmea-table
{
...
@@ -218,7 +227,7 @@
...
@@ -218,7 +227,7 @@
border
:
solid
;
border
:
solid
;
border-width
:
1px
;
border-width
:
1px
;
border-style
:
hidden
hidden
solid
hidden
;
border-style
:
hidden
hidden
solid
hidden
;
background
:
$
biz-title-color
;
background
:
$
page-header-background
;
border-color
:
$biz-border-color
;
border-color
:
$biz-border-color
;
text-align
:
center
;
text-align
:
center
;
.amos-input
{
.amos-input
{
...
@@ -251,7 +260,7 @@
...
@@ -251,7 +260,7 @@
border
:
solid
;
border
:
solid
;
border-width
:
1px
;
border-width
:
1px
;
border-style
:
hidden
hidden
solid
hidden
;
border-style
:
hidden
hidden
solid
hidden
;
background
:
$
biz-title-color
;
background
:
$
page-header-background
;
border-color
:
$biz-border-color
;
border-color
:
$biz-border-color
;
text-align
:
center
;
text-align
:
center
;
.amos-input
{
.amos-input
{
...
@@ -273,7 +282,7 @@
...
@@ -273,7 +282,7 @@
.ant-table-tbody
{
.ant-table-tbody
{
.highlight-row
{
.highlight-row
{
background
:
#ecf6fd
;
background
:
$table-highlight-row
;
}
}
}
}
}
}
...
@@ -287,7 +296,7 @@
...
@@ -287,7 +296,7 @@
height
:
40px
;
height
:
40px
;
line-height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
text-align
:
center
;
background
:
$
biz-title-color
;
background
:
$
page-header-background
;
border
:
solid
;
border
:
solid
;
border-color
:
$biz-border-color
;
border-color
:
$biz-border-color
;
border-style
:
hidden
hidden
solid
;
border-style
:
hidden
hidden
solid
;
...
@@ -330,7 +339,7 @@
...
@@ -330,7 +339,7 @@
height
:
40px
;
height
:
40px
;
line-height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
text-align
:
center
;
background
:
$
biz-title-color
;
background
:
$
page-header-background
;
border
:
solid
;
border
:
solid
;
border-color
:
$biz-border-color
;
border-color
:
$biz-border-color
;
border-style
:
hidden
hidden
solid
;
border-style
:
hidden
hidden
solid
;
...
@@ -357,10 +366,10 @@
...
@@ -357,10 +366,10 @@
.risk-model-model
{
.risk-model-model
{
.amos-modal-header
{
.amos-modal-header
{
background
:
$
biz-title-color
;
background
:
$
page-header-background
;
}
}
.amos-modal-footer
{
.amos-modal-footer
{
background
:
$
biz-title-color
;
background
:
$
page-header-background
;
}
}
.amos-modal-container
{
.amos-modal-container
{
// width: 50% !important;
// width: 50% !important;
...
...
src/styles/view/var.scss
View file @
bbe19abe
...
@@ -71,9 +71,10 @@ $core-bg2-color: #f2f2f2;
...
@@ -71,9 +71,10 @@ $core-bg2-color: #f2f2f2;
$biz-table-font-color
:
black
;
$biz-table-font-color
:
black
;
$biz-table-title-color
:
$component-bg
;
$biz-table-title-color
:
$component-bg
;
$biz-title-color
:
rgba
(
243
,
243
,
243
,
1
);
//$component-bg-active;
$biz-title-color
:
rgba
(
243
,
243
,
243
,
1
);
//$component-bg-active;
$biz-border-color
:
rgba
(
201
,
201
,
201
,
1
)
;
$biz-border-color
:
#1f5383
;
$model-header-color-3d
:
#ebebeb
;
$model-header-color-3d
:
#ebebeb
;
$model-body-color-3d
:
#f9f9f9
;
$model-body-color-3d
:
#f9f9f9
;
$page-header-background
:
#01133b
;
$page-header-background
:
#01133b
;
$page-border-style
:
1px
solid
#1f5383
;
$page-border-style
:
1px
solid
#1f5383
;
$custom-picker-color
:
#063c8c
;
$custom-picker-color
:
#063c8c
;
$table-highlight-row
:
#4f7e9f
;
src/view/bizview/preControl/riskModel/index.js
View file @
bbe19abe
...
@@ -739,11 +739,11 @@ class RiskModel extends Component {
...
@@ -739,11 +739,11 @@ class RiskModel extends Component {
position
:
'absolute'
,
position
:
'absolute'
,
left
:
`
${
pageX
}
px`
,
left
:
`
${
pageX
}
px`
,
top
:
`
${
pageY
-
45
}
px`
,
top
:
`
${
pageY
-
45
}
px`
,
backgroundColor
:
'
#ffffff
'
,
backgroundColor
:
'
rgb(79 125 159)
'
,
border
:
'solid'
,
border
:
'solid'
,
height
:
isRegion
===
'TRUE'
?
'1
40
px'
:
'70px'
,
height
:
isRegion
===
'TRUE'
?
'1
37
px'
:
'70px'
,
borderWidth
:
'1px'
,
borderWidth
:
'1px'
,
borderColor
:
'
#c9c9c9
'
borderColor
:
'
rgb(31 83 131)
'
};
};
const
menu
=
(
const
menu
=
(
<
div
style
=
{
tmpStyle
}
>
<
div
style
=
{
tmpStyle
}
>
...
...
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