@deppon/deppon-template 2.4.9 → 2.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1657,7 +1657,7 @@ body .el-overlay-dialog,
1657
1657
  margin: 0 6px;
1658
1658
  padding: 0 6px;
1659
1659
  /* 覆盖 Element Plus:.el-menu-item [class^=el-icon] 的 margin-right,间距改由 label 的 gap 控制 */
1660
- /* 首项(工作台):浅灰底、紧凑内边距,字与图标近黑、同一水平线 */
1660
+ /* 首项(工作台):极浅底、紧凑内边距;选中与顶栏其它项一致用主题色 */
1661
1661
  /* 其余项选中:加粗、近黑字;下划线挂在菜单项上,绝对定位不占布局、不挡选中背景 */
1662
1662
  }
1663
1663
  .pro-layout__top-menu-glass {
@@ -1798,8 +1798,8 @@ body .el-overlay-dialog,
1798
1798
  padding: 0 8px !important;
1799
1799
  margin: 0 2px !important;
1800
1800
  border-radius: 8px !important;
1801
- background: rgba(0, 0, 0, 0.06) !important;
1802
- color: rgba(0, 0, 0, 0.92) !important;
1801
+ background: var(--el-fill-color-lighter, #fafafa) !important;
1802
+ color: rgba(0, 0, 0, 0.88) !important;
1803
1803
  font-weight: 500 !important;
1804
1804
  }
1805
1805
  .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead:not(.pro-layout__top-menu-divider) .pro-layout__top-menu-item-label {
@@ -1807,24 +1807,25 @@ body .el-overlay-dialog,
1807
1807
  align-items: center !important;
1808
1808
  }
1809
1809
  .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead:not(.is-active):hover:not(.pro-layout__top-menu-divider) {
1810
- background: rgba(0, 0, 0, 0.078) !important;
1811
- color: #000 !important;
1810
+ background: var(--el-fill-color-light, #f5f7fa) !important;
1811
+ color: rgba(0, 0, 0, 0.92) !important;
1812
1812
  }
1813
1813
  .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead.is-active {
1814
- background: rgba(0, 0, 0, 0.085) !important;
1815
- color: #000 !important;
1814
+ background: var(--el-color-primary-light-9, #ecf5ff) !important;
1815
+ color: var(--el-color-primary, #409eff) !important;
1816
1816
  font-weight: 600 !important;
1817
1817
  box-shadow: none !important;
1818
1818
  }
1819
1819
  .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead .pro-layout__top-menu-item-icon {
1820
1820
  font-size: 16px !important;
1821
- color: rgba(0, 0, 0, 0.88) !important;
1821
+ color: rgba(0, 0, 0, 0.55) !important;
1822
1822
  }
1823
1823
  .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead .pro-layout__top-menu-item-icon svg {
1824
1824
  fill: currentColor !important;
1825
1825
  }
1826
- .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead.is-active .pro-layout__top-menu-item-icon {
1827
- color: #000 !important;
1826
+ .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead.is-active .pro-layout__top-menu-item-icon,
1827
+ .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead.is-active .pro-layout__top-menu-item-icon svg {
1828
+ color: var(--el-color-primary, #409eff) !important;
1828
1829
  }
1829
1830
  .pro-layout__top-menu .el-menu-item.pro-layout__top-menu-item--lead .pro-layout__top-menu-item-text {
1830
1831
  color: inherit !important;
@@ -1833,17 +1834,17 @@ body .el-overlay-dialog,
1833
1834
  padding: 0 8px !important;
1834
1835
  margin: 0 2px !important;
1835
1836
  border-radius: 8px !important;
1836
- background: rgba(0, 0, 0, 0.06) !important;
1837
- color: rgba(0, 0, 0, 0.92) !important;
1837
+ background: var(--el-fill-color-lighter, #fafafa) !important;
1838
+ color: rgba(0, 0, 0, 0.88) !important;
1838
1839
  font-weight: 500 !important;
1839
1840
  }
1840
1841
  .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead:not(.is-active):hover > .el-sub-menu__title {
1841
- background: rgba(0, 0, 0, 0.078) !important;
1842
- color: #000 !important;
1842
+ background: var(--el-fill-color-light, #f5f7fa) !important;
1843
+ color: rgba(0, 0, 0, 0.92) !important;
1843
1844
  }
1844
1845
  .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead.is-active > .el-sub-menu__title {
1845
- background: rgba(0, 0, 0, 0.085) !important;
1846
- color: #000 !important;
1846
+ background: var(--el-color-primary-light-9, #ecf5ff) !important;
1847
+ color: var(--el-color-primary, #409eff) !important;
1847
1848
  font-weight: 600 !important;
1848
1849
  }
1849
1850
  .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead .pro-layout__top-menu-item-label {
@@ -1852,13 +1853,14 @@ body .el-overlay-dialog,
1852
1853
  }
1853
1854
  .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead .pro-layout__top-menu-item-icon {
1854
1855
  font-size: 16px !important;
1855
- color: rgba(0, 0, 0, 0.88) !important;
1856
+ color: rgba(0, 0, 0, 0.55) !important;
1856
1857
  }
1857
1858
  .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead .pro-layout__top-menu-item-icon svg {
1858
1859
  fill: currentColor !important;
1859
1860
  }
1860
- .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead.is-active .pro-layout__top-menu-item-icon {
1861
- color: #000 !important;
1861
+ .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead.is-active .pro-layout__top-menu-item-icon,
1862
+ .pro-layout__top-menu .el-sub-menu.pro-layout__top-menu-item--lead.is-active .pro-layout__top-menu-item-icon svg {
1863
+ color: var(--el-color-primary, #409eff) !important;
1862
1864
  }
1863
1865
  .pro-layout__top-menu .el-menu-item.is-active:not(.pro-layout__top-menu-divider):not(.pro-layout__top-menu-item--lead) {
1864
1866
  position: relative !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deppon/deppon-template",
3
- "version": "2.4.9",
3
+ "version": "2.4.12",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -43,11 +43,11 @@
43
43
  "less": "^4.2.0"
44
44
  },
45
45
  "dependencies": {
46
- "@deppon/deppon-assets": "2.4.9",
47
- "@deppon/deppon-request": "2.4.9",
48
- "@deppon/deppon-router": "2.4.9",
49
- "@deppon/deppon-ui": "2.4.9",
50
- "@deppon/deppon-utils": "2.4.9",
46
+ "@deppon/deppon-assets": "2.4.12",
47
+ "@deppon/deppon-request": "2.4.12",
48
+ "@deppon/deppon-router": "2.4.12",
49
+ "@deppon/deppon-ui": "2.4.12",
50
+ "@deppon/deppon-utils": "2.4.12",
51
51
  "dayjs": "^1.11.10",
52
52
  "lodash-es": "^4.17.21",
53
53
  "mitt": "^3.0.1"