Compare commits

...

2 Commits

Author SHA1 Message Date
jiangxucong 770034626d 调整菜单栏样式 2 weeks ago
jiangxucong 74f7adcf5e 调整菜单图标位置 2 weeks ago

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -84,9 +84,9 @@
// 悬停效果 // 悬停效果
&:hover { &:hover {
border-color: #0056FF; // border-color: #0056FF;
// transform: translateY(-1px); // transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0, 86, 255, 0.1); // box-shadow: 0 4px 8px rgba(0, 86, 255, 0.1);
} }
} }
@ -96,14 +96,14 @@
// border-color: #0056FF; // border-color: #0056FF;
.ant-breadcrumb-link { .ant-breadcrumb-link {
color: #0056FF !important; color: #333333 !important;
font-weight: 500; font-weight: 500;
} }
} }
// 面包屑文本选中状态样式 - 对应第252行代码中的条件样式 // 面包屑文本选中状态样式 - 对应第252行代码中的条件样式
.breadcrumb-item-text-active { .breadcrumb-item-text-active {
color: #0056FF !important; color: #333333 !important;
font-weight: 500; font-weight: 500;
} }
@ -156,9 +156,9 @@
} }
.ant-breadcrumb-link:hover { .ant-breadcrumb-link:hover {
color: #0056FF !important; // color: #0056FF !important;
} }
.ant-breadcrumb-item-active .ant-breadcrumb-link { .ant-breadcrumb-item-active .ant-breadcrumb-link {
color: #0056FF !important; // color: #0056FF !important;
} }

@ -20,7 +20,7 @@ import license from '@/assets/img/license.svg'
import people from '@/assets/img/people.svg' import people from '@/assets/img/people.svg'
import risk from '@/assets/img/risk.svg' import risk from '@/assets/img/risk.svg'
import inforicon from '@/assets/img/inforicon.svg' import inforicon from '@/assets/img/inforicon.svg'
import alarm from '@/assets/business_envmonitoring/alarm.svg' import alarm from '@/assets/img/alarm.svg'
import { CustomBreadcrumb } from '@/components/GlobalComponent' import { CustomBreadcrumb } from '@/components/GlobalComponent'
@ -223,9 +223,9 @@ const SystemContentList = (props) => {
style={{ style={{
width: 192, width: 192,
height: 42, height: 42,
borderColor: '#3D81FF', borderColor: '#fff',
backgroundColor: '#003AA7', backgroundColor: 'rgba(88, 88, 88, 0.34)',
borderRadius: 0, borderRadius: 8,
color: '#fff', color: '#fff',
fontSize: 22, fontSize: 22,
fontWeight: 600 fontWeight: 600
@ -235,8 +235,8 @@ const SystemContentList = (props) => {
{ value: '环保管理系统', label: '环保管理系统' } { value: '环保管理系统', label: '环保管理系统' }
]} ]}
dropdownStyle={{ dropdownStyle={{
backgroundColor: '#003AA7', backgroundColor: 'rgba(88, 88, 88, 0.54)',
borderColor: '#3D81FF' borderColor: 'rgba(45, 45, 45, 0.22)'
}} }}
popupClassName="custom-select-dropdown" popupClassName="custom-select-dropdown"
className="custom-select" className="custom-select"
@ -246,9 +246,9 @@ const SystemContentList = (props) => {
<style jsx>{` <style jsx>{`
.custom-select .ant-select-selector { .custom-select .ant-select-selector {
height: 42px !important; height: 42px !important;
border-radius: 0 !important; border-radius: 8px !important;
border-color: #3D81FF !important; border-color: #fff !important;
background-color: #003AA7 !important; background-color: rgba(88, 88, 88, 0.34) !important;
color: #fff !important; color: #fff !important;
fontSize: 22px !important; fontSize: 22px !important;
fontWeight: 600 !important; fontWeight: 600 !important;
@ -270,7 +270,7 @@ const SystemContentList = (props) => {
color: #fff !important; color: #fff !important;
} }
.custom-select-dropdown .ant-select-item-option-selected { .custom-select-dropdown .ant-select-item-option-selected {
background-color: #3D81FF !important; background-color: rgba(45, 45, 45, 0.22) !important;
color: #fff !important; color: #fff !important;
} }
.custom-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected) { .custom-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected) {
@ -304,8 +304,8 @@ const SystemContentList = (props) => {
box-shadow: 0 0 5px 3px rgba(169, 185, 255, 0.33); box-shadow: 0 0 5px 3px rgba(169, 185, 255, 0.33);
} }
.menuToggleBtn:hover { .menuToggleBtn:hover {
border: 1px solid #3D81FF; border: 1px solid rgba(61, 129, 255, 0.1);
background: #3D81FF; background: rgba(61, 129, 255, 0.1);
color: white; color: white;
transform: scale(1.1); transform: scale(1.1);
} }

@ -77,11 +77,11 @@
width: 230px; width: 230px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
background-color: #2E4CD4; background: linear-gradient(180deg, #00D296 0%, #01B77D 100%);
.ant-menu-inline, .ant-menu-inline,
.ant-menu-vertical { .ant-menu-vertical {
background: #2E4CD4 !important; background: transparent !important;
} }
// 默认情况字体样式和右边距 // 默认情况字体样式和右边距
@ -105,7 +105,7 @@
// 选中状态样式 // 选中状态样式
.ant-menu-item-selected { .ant-menu-item-selected {
color: rgba(255, 255, 255, 1) !important; color: rgba(255, 255, 255, 1) !important;
background-color: rgba(255, 255, 255, 0.22) !important; background-color: rgba(45, 45, 45, 0.22) !important;
} }
// 选中状态下的文本颜色和右边距 // 选中状态下的文本颜色和右边距

Loading…
Cancel
Save