|
|
@@ -1,5 +1,6 @@
|
|
|
.menu-container {
|
|
|
height: 100%;
|
|
|
+ padding: 0 3px 7px 0;
|
|
|
// padding-top: 88px;
|
|
|
// .menu-buttons {
|
|
|
// height: 32px;
|
|
|
@@ -23,34 +24,45 @@
|
|
|
.menu-content {
|
|
|
height: 100%;
|
|
|
overflow: auto;
|
|
|
+ padding: 0 0 0 12px;
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
|
|
- .ant-tree li .ant-tree-node-content-wrapper {
|
|
|
- width: ~'calc(100% - 32px)';
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
-
|
|
|
- .node-title {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- &>span {
|
|
|
- width: ~'calc(100% - 62px)';
|
|
|
- .label {
|
|
|
- font-size: 16px;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- user-select:none;
|
|
|
- }
|
|
|
+ .ant-tree {
|
|
|
+ li {
|
|
|
+ span.ant-tree-switcher {
|
|
|
+ width: 13px;
|
|
|
}
|
|
|
- .tools {
|
|
|
- .anticon {
|
|
|
- display: none;
|
|
|
- }
|
|
|
+ span.ant-tree-node-content-wrapper {
|
|
|
+ padding-left: 4px;
|
|
|
}
|
|
|
- &:hover {
|
|
|
- .tools {
|
|
|
- .anticon {
|
|
|
- display: inline-block;
|
|
|
+ .ant-tree-node-content-wrapper {
|
|
|
+ width: ~'calc(100% - 32px)';
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+
|
|
|
+ .node-title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ &>span {
|
|
|
+ width: ~'calc(100% - 62px)';
|
|
|
+ .label {
|
|
|
+ // font-size: 16px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ user-select:none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tools {
|
|
|
+ .anticon {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &:hover {
|
|
|
+ .tools {
|
|
|
+ .anticon {
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|