Commit d01a7561 authored by xixinzhao's avatar xixinzhao

风险模型样式修改

parent bbe19abe
...@@ -9,7 +9,6 @@ $scrollInnerColor: rgba(black, 0.1); ...@@ -9,7 +9,6 @@ $scrollInnerColor: rgba(black, 0.1);
button { button {
opacity: 1; opacity: 1;
width: 100%;
background: $page-header-background; background: $page-header-background;
} }
...@@ -121,28 +120,41 @@ $scrollInnerColor: rgba(black, 0.1); ...@@ -121,28 +120,41 @@ $scrollInnerColor: rgba(black, 0.1);
border-bottom: $page-border-style; border-bottom: $page-border-style;
.ant-tabs-tab { .ant-tabs-tab {
margin-right: -1px !important; background: $header-button;
background: white !important;
border-radius: 0 !important; border-radius: 0 !important;
border: $page-border-style;
&:hover {
background: $button-hover;
}
} }
.ant-tabs-tab-active { .ant-tabs-tab-active {
margin-right: -1px !important; margin-right: -1px !important;
background: #f4f4f4 !important; background: $button-hover;
border-radius: 0 !important; border-radius: 0 !important;
border: $page-border-style;
border-left: 0;
} }
.ant-tabs-extra-content { .ant-tabs-extra-content {
padding-right: 10px; padding-right: 10px;
} }
.ant-tabs-tab-inner {
color: $content-color;
}
} }
button { button {
height: 2.5rem; height: 2.5rem;
margin-left: -0.9px !important; margin-left: -0.9px !important;
background: $content-color; background: $header-button;
border: 1px solid $core-border-color;
opacity: 1; opacity: 1;
border: $page-border-style;
&:hover {
background: $table-highlight-row;
}
} }
.ant-table-tbody { .ant-table-tbody {
...@@ -155,7 +167,7 @@ $scrollInnerColor: rgba(black, 0.1); ...@@ -155,7 +167,7 @@ $scrollInnerColor: rgba(black, 0.1);
} }
.normal-row { .normal-row {
background: white; background: $content-color;
} }
} }
...@@ -209,6 +221,7 @@ $scrollInnerColor: rgba(black, 0.1); ...@@ -209,6 +221,7 @@ $scrollInnerColor: rgba(black, 0.1);
.risk-model-button { .risk-model-button {
display: block; display: block;
margin-left: 0 !important; margin-left: 0 !important;
width: 100%;
} }
.share-model-button { .share-model-button {
......
...@@ -78,3 +78,5 @@ $page-header-background: #01133b; ...@@ -78,3 +78,5 @@ $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; $table-highlight-row: #4f7e9f;
$button-hover: rgba(30,72,142,0.7);
$header-button: #052152;
...@@ -741,7 +741,7 @@ class RiskModel extends Component { ...@@ -741,7 +741,7 @@ class RiskModel extends Component {
top: `${pageY - 45}px`, top: `${pageY - 45}px`,
backgroundColor: 'rgb(79 125 159)', backgroundColor: 'rgb(79 125 159)',
border: 'solid', border: 'solid',
height: isRegion === 'TRUE' ? '137px' : '70px', height: isRegion === 'TRUE' ? '137px' : '69px',
borderWidth: '1px', borderWidth: '1px',
borderColor: 'rgb(31 83 131)' borderColor: 'rgb(31 83 131)'
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment