Refactor MacOS Vibrancy CSS for Main Content Layout
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Simplified CSS rules for light and dark modes in the MacOS vibrancy styles by removing unnecessary selectors related to the dashboard splitter. - Enhanced clarity and maintainability of styles for the ant-layout main content layout, ensuring consistent background appearance across both modes.
This commit is contained in:
parent
c9f854379a
commit
2ed961b9ec
@ -143,21 +143,11 @@ html.macos-vibrancy .main-layout {
|
|||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.macos-vibrancy .light-mode .ant-layout.main-content-layout,
|
html.macos-vibrancy .light-mode .ant-layout.main-content-layout {
|
||||||
html.macos-vibrancy
|
|
||||||
.light-mode
|
|
||||||
.dashboard-splitter.farmcontrol-splitter
|
|
||||||
> .ant-splitter-bar
|
|
||||||
.ant-splitter-bar-dragger:before {
|
|
||||||
background: rgba(255, 255, 255, 0.88) !important;
|
background: rgba(255, 255, 255, 0.88) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.macos-vibrancy .dark-mode .ant-layout.main-content-layout,
|
html.macos-vibrancy .dark-mode .ant-layout.main-content-layout {
|
||||||
html.macos-vibrancy
|
|
||||||
.dark-mode
|
|
||||||
.dashboard-splitter.farmcontrol-splitter
|
|
||||||
> .ant-splitter-bar
|
|
||||||
.ant-splitter-bar-dragger:before {
|
|
||||||
background: rgba(0, 0, 0, 0.88) !important;
|
background: rgba(0, 0, 0, 0.88) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user