Commit 973cd125 by zhaochengxiang

统一样式

parent 8d364a46
...@@ -19,7 +19,11 @@ module.exports = { ...@@ -19,7 +19,11 @@ module.exports = {
modifyVars: { modifyVars: {
'@ant-prefix': 'yy', '@ant-prefix': 'yy',
// '@border-color-split': 'hsv(0, 0, 85%)', // '@border-color-split': 'hsv(0, 0, 85%)',
'@border-radius-base': '4px' '@border-radius-base': '4px',
'@primary-color': '#0069AC',
'@success-color': '#8FC31F',
'@warning-color': '#F7AB00',
'@error-color': '#E94848',
}, },
javascriptEnabled: true, javascriptEnabled: true,
}, },
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
font-size: 12px; font-size: 12px;
color: #a2a3a4; color: #a2a3a4;
&:hover { &:hover {
color: #2593fc; color: #0069AC;
} }
} }
} }
......
...@@ -42,7 +42,7 @@ const AssetItem = (props) => { ...@@ -42,7 +42,7 @@ const AssetItem = (props) => {
return ( return (
<div> <div>
<div className='flex' style={{ alignItems: 'center', padding: '15px 0' }}> <div className='flex' style={{ alignItems: 'center', padding: '15px 0' }}>
<div style={{ width: 3, height: 14, backgroundColor: '#2593fc', marginRight: 5 }} /> <div style={{ width: 3, height: 14, backgroundColor: '#0069AC', marginRight: 5 }} />
<span style={{ fontWeight: 'bold', color: '#464646' }}>{_type||''}</span> <span style={{ fontWeight: 'bold', color: '#464646' }}>{_type||''}</span>
</div> </div>
<Row> <Row>
......
...@@ -16,7 +16,7 @@ const AssetItem = (props) => { ...@@ -16,7 +16,7 @@ const AssetItem = (props) => {
return ( return (
<div> <div>
<div className='flex' style={{ alignItems: 'center', padding: '15px 0' }}> <div className='flex' style={{ alignItems: 'center', padding: '15px 0' }}>
<div style={{ width: 3, height: 14, backgroundColor: '#2593fc', marginRight: 5 }} /> <div style={{ width: 3, height: 14, backgroundColor: '#0069AC', marginRight: 5 }} />
<span style={{ fontWeight: 'bold', color: '#464646' }}>{_type||''}</span> <span style={{ fontWeight: 'bold', color: '#464646' }}>{_type||''}</span>
</div> </div>
<Row> <Row>
......
...@@ -10,7 +10,7 @@ import ImportElement from './ImportElement'; ...@@ -10,7 +10,7 @@ import ImportElement from './ImportElement';
import FilterElement from './FilterElement'; import FilterElement from './FilterElement';
import ImportAsset from './ImportAsset'; import ImportAsset from './ImportAsset';
import AssetEdit from './AssetEdit'; import AssetEdit from './AssetEdit';
import AssetDetail from "./AssetDetail" import AssetDetail from "./AssetDetail";
import AssetItem from './AssetItem'; import AssetItem from './AssetItem';
import { dispatch, dispatchLatest } from '../../../../model'; import { dispatch, dispatchLatest } from '../../../../model';
import { showMessage, showNotifaction, getQueryParam } from '../../../../util'; import { showMessage, showNotifaction, getQueryParam } from '../../../../util';
......
...@@ -110,7 +110,7 @@ const FilterElement = (props) => { ...@@ -110,7 +110,7 @@ const FilterElement = (props) => {
return ( return (
<div> <div>
<div className='flex' style={{ alignItems: 'center', padding: '15px 0' }}> <div className='flex' style={{ alignItems: 'center', padding: '15px 0' }}>
<div style={{ width: 3, height: 14, backgroundColor: '#2593fc', marginRight: 5 }} /> <div style={{ width: 3, height: 14, backgroundColor: '#0069AC', marginRight: 5 }} />
<span style={{ fontWeight: 'bold', color: '#464646' }}>{_type||''}</span> <span style={{ fontWeight: 'bold', color: '#464646' }}>{_type||''}</span>
</div> </div>
<Row> <Row>
......
...@@ -142,7 +142,7 @@ const init = (ctx) => function (container, data) { ...@@ -142,7 +142,7 @@ const init = (ctx) => function (container, data) {
return { return {
style: { style: {
fill: (node.dbType==='Dir'||node.dbType==='More')?'#40a9ff':'#fff', fill: (node.dbType==='Dir'||node.dbType==='More')?'#0069AC':'#fff',
stroke: '#096dd9' stroke: '#096dd9'
}, },
label: fittingString(node.text||'', maxTextWidth, globalFontSize), label: fittingString(node.text||'', maxTextWidth, globalFontSize),
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.left { .left {
height: 100%; height: 100%;
background: #2452B9; background: #0069AC;
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
} }
......
...@@ -230,7 +230,7 @@ G6.registerNode( ...@@ -230,7 +230,7 @@ G6.registerNode(
const topRect = group.addShape('rect', { const topRect = group.addShape('rect', {
attrs: { attrs: {
height: 4, height: 4,
fill: '#2593fc', fill: '#0069AC',
} }
}) })
......
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