Refactor CSS for improved readability and maintainability, including adjustments to selectors and spacing for various components.
This commit is contained in:
parent
8ed0287d73
commit
aeebaaddda
@ -55,7 +55,9 @@
|
|||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
.electron-navigation-wrapper li, .electron-navigation-wrapper button, .electron-navigation-wrapper .ant-tag{
|
.electron-navigation-wrapper li,
|
||||||
|
.electron-navigation-wrapper button,
|
||||||
|
.electron-navigation-wrapper .ant-tag {
|
||||||
-webkit-app-region: no-drag;
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,7 +69,8 @@
|
|||||||
padding-inline: 10px;
|
padding-inline: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.electron-sidebar .ant-menu-item, .electron-sidebar .ant-menu-submenu-title {
|
.electron-sidebar .ant-menu-item,
|
||||||
|
.electron-sidebar .ant-menu-submenu-title {
|
||||||
height: 32.5px !important;
|
height: 32.5px !important;
|
||||||
line-height: 32.5px !important;
|
line-height: 32.5px !important;
|
||||||
}
|
}
|
||||||
@ -81,7 +84,6 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--unit-100vh: 100vh;
|
--unit-100vh: 100vh;
|
||||||
}
|
}
|
||||||
@ -229,15 +231,17 @@ body {
|
|||||||
table-layout: fixed !important;
|
table-layout: fixed !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.objectTableDescritions >.ant-descriptions-view .ant-descriptions-row >.ant-descriptions-item-label {
|
.objectTableDescritions
|
||||||
|
> .ant-descriptions-view
|
||||||
|
.ant-descriptions-row
|
||||||
|
> .ant-descriptions-item-label {
|
||||||
width: 35%;
|
width: 35%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.farmcontrol-splitter > .ant-splitter-bar {
|
.farmcontrol-splitter > .ant-splitter-bar {
|
||||||
margin: 8px
|
margin: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.dark-mode {
|
.dark-mode {
|
||||||
--sb-track-color: #1d1d1d;
|
--sb-track-color: #1d1d1d;
|
||||||
--sb-thumb-color: #848484;
|
--sb-thumb-color: #848484;
|
||||||
@ -249,7 +253,6 @@ body {
|
|||||||
--sb-size: 8px;
|
--sb-size: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
}
|
}
|
||||||
@ -307,3 +310,7 @@ body {
|
|||||||
.ant-table-body {
|
.ant-table-body {
|
||||||
scrollbar-color: auto;
|
scrollbar-color: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-select-selection-item .ant-tag {
|
||||||
|
margin-left: 1px !important;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user