@timus-networks/theme 2.4.137 → 2.4.140
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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/assets/scss/main.css +131 -97
- package/dist/runtime/components/development/example.alert.vue +16 -1
- package/dist/runtime/public/scss/element-plus/alert.css +56 -56
- package/dist/runtime/public/scss/element-plus/alert.scss +27 -36
- package/dist/runtime/public/scss/element-plus/base.css +1 -1
- package/dist/runtime/public/scss/element-plus/common/var.scss +6 -6
- package/dist/runtime/public/scss/element-plus/index.css +131 -97
- package/dist/runtime/public/scss/element-plus/link.css +1 -0
- package/dist/runtime/public/scss/element-plus/link.scss +1 -1
- package/dist/runtime/public/scss/element-plus/message-box.css +32 -11
- package/dist/runtime/public/scss/element-plus/message-box.scss +16 -10
- package/dist/runtime/public/scss/element-plus/message.css +24 -24
- package/dist/runtime/public/scss/element-plus/notification.css +4 -4
- package/dist/runtime/public/scss/element-plus/popover.css +13 -1
- package/dist/runtime/public/scss/element-plus/popover.scss +15 -1
- package/dist/runtime/public/scss/element-plus/var.css +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
11
11
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
12
12
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
13
13
|
const name = "@timus-networks/theme";
|
|
14
|
-
const version = "2.4.
|
|
14
|
+
const version = "2.4.139";
|
|
15
15
|
const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
|
|
16
16
|
const type = "module";
|
|
17
17
|
const exports = {
|
|
@@ -1301,7 +1301,7 @@ body {
|
|
|
1301
1301
|
--el-color-white: #ffffff;
|
|
1302
1302
|
--el-color-black: #000000;
|
|
1303
1303
|
--el-color-primary-rgb: 87, 55, 214;
|
|
1304
|
-
--el-color-secondary-rgb:
|
|
1304
|
+
--el-color-secondary-rgb: 168, 166, 177;
|
|
1305
1305
|
--el-color-neutral-rgb: 168, 166, 177;
|
|
1306
1306
|
--el-color-success-rgb: 76, 183, 112;
|
|
1307
1307
|
--el-color-warning-rgb: 232, 197, 82;
|
|
@@ -1556,23 +1556,24 @@ body {
|
|
|
1556
1556
|
--el-alert-padding: 8px 16px;
|
|
1557
1557
|
--el-alert-border-radius: var(--el-border-radius-small);
|
|
1558
1558
|
--el-alert-border-color: var(--el-color-info-light-3);
|
|
1559
|
-
--el-alert-title-font-size:
|
|
1560
|
-
--el-alert-title-with-description-font-size:
|
|
1561
|
-
--el-alert-description-font-size:
|
|
1559
|
+
--el-alert-title-font-size: 12px;
|
|
1560
|
+
--el-alert-title-with-description-font-size: 12px;
|
|
1561
|
+
--el-alert-description-font-size: 10px;
|
|
1562
1562
|
--el-alert-close-font-size: 14px;
|
|
1563
1563
|
--el-alert-close-customed-font-size: 14px;
|
|
1564
|
-
--el-alert-icon-size:
|
|
1564
|
+
--el-alert-icon-size: 12px;
|
|
1565
1565
|
--el-alert-icon-large-size: 32px;
|
|
1566
|
+
position: relative;
|
|
1566
1567
|
width: 100%;
|
|
1567
|
-
padding:
|
|
1568
|
+
padding: 8px 16px;
|
|
1568
1569
|
margin: 0;
|
|
1569
1570
|
box-sizing: border-box;
|
|
1570
|
-
border-radius: var(--el-
|
|
1571
|
+
border-radius: var(--el-border-radius-small);
|
|
1571
1572
|
border-width: var(--el-border-width);
|
|
1572
1573
|
border-style: var(--el-border-style);
|
|
1573
1574
|
border-color: var(--el-alert-border-color);
|
|
1574
1575
|
position: relative;
|
|
1575
|
-
background-color: var(--el-color-
|
|
1576
|
+
background-color: var(--el-color-neutral-light-1);
|
|
1576
1577
|
overflow: hidden;
|
|
1577
1578
|
opacity: 1;
|
|
1578
1579
|
display: flex;
|
|
@@ -1593,42 +1594,61 @@ body {
|
|
|
1593
1594
|
justify-content: center;
|
|
1594
1595
|
}
|
|
1595
1596
|
|
|
1597
|
+
.el-alert--primary {
|
|
1598
|
+
--el-alert-bg-color: var(--el-color-primary-light-1);
|
|
1599
|
+
--el-alert-border-color: var(--el-color-primary-light-3);
|
|
1600
|
+
}
|
|
1601
|
+
.el-alert--primary.is-light {
|
|
1602
|
+
background-color: var(--el-alert-bg-color);
|
|
1603
|
+
color: var(--el-color-primary-light-6);
|
|
1604
|
+
}
|
|
1605
|
+
.el-alert--primary.is-light .el-alert__description {
|
|
1606
|
+
color: var(--el-color-primary-light-6);
|
|
1607
|
+
}
|
|
1608
|
+
.el-alert--primary.is-dark {
|
|
1609
|
+
background-color: var(--el-color-primary);
|
|
1610
|
+
color: var(--el-color-white);
|
|
1611
|
+
}
|
|
1612
|
+
.el-alert--primary.is-light .el-alert__close-btn {
|
|
1613
|
+
color: var(--el-color-primary-light-6);
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1596
1616
|
.el-alert--success {
|
|
1597
1617
|
--el-alert-bg-color: var(--el-color-success-light-1);
|
|
1598
1618
|
--el-alert-border-color: var(--el-color-success-light-3);
|
|
1599
1619
|
}
|
|
1600
1620
|
.el-alert--success.is-light {
|
|
1601
1621
|
background-color: var(--el-alert-bg-color);
|
|
1602
|
-
color: var(--el-color-success-light-
|
|
1622
|
+
color: var(--el-color-success-light-6);
|
|
1603
1623
|
}
|
|
1604
1624
|
.el-alert--success.is-light .el-alert__description {
|
|
1605
|
-
color: var(--el-color-success-light-
|
|
1625
|
+
color: var(--el-color-success-light-6);
|
|
1606
1626
|
}
|
|
1607
1627
|
.el-alert--success.is-dark {
|
|
1608
1628
|
background-color: var(--el-color-success);
|
|
1609
1629
|
color: var(--el-color-white);
|
|
1610
1630
|
}
|
|
1611
1631
|
.el-alert--success.is-light .el-alert__close-btn {
|
|
1612
|
-
color: var(--el-color-success-light-
|
|
1632
|
+
color: var(--el-color-success-light-6);
|
|
1613
1633
|
}
|
|
1614
1634
|
|
|
1615
1635
|
.el-alert--info {
|
|
1616
|
-
--el-alert-bg-color: var(--el-color-
|
|
1617
|
-
--el-alert-border-color: var(--el-color-
|
|
1636
|
+
--el-alert-bg-color: var(--el-color-neutral-light-1);
|
|
1637
|
+
--el-alert-border-color: var(--el-color-neutral-light-3);
|
|
1618
1638
|
}
|
|
1619
1639
|
.el-alert--info.is-light {
|
|
1620
1640
|
background-color: var(--el-alert-bg-color);
|
|
1621
|
-
color: var(--el-color-
|
|
1641
|
+
color: var(--el-color-neutral-light-6);
|
|
1622
1642
|
}
|
|
1623
1643
|
.el-alert--info.is-light .el-alert__description {
|
|
1624
|
-
color: var(--el-color-
|
|
1644
|
+
color: var(--el-color-neutral-light-6);
|
|
1625
1645
|
}
|
|
1626
1646
|
.el-alert--info.is-dark {
|
|
1627
|
-
background-color: var(--el-color-
|
|
1647
|
+
background-color: var(--el-color-neutral);
|
|
1628
1648
|
color: var(--el-color-white);
|
|
1629
1649
|
}
|
|
1630
1650
|
.el-alert--info.is-light .el-alert__close-btn {
|
|
1631
|
-
color: var(--el-color-
|
|
1651
|
+
color: var(--el-color-neutral-light-6);
|
|
1632
1652
|
}
|
|
1633
1653
|
|
|
1634
1654
|
.el-alert--warning {
|
|
@@ -1637,17 +1657,17 @@ body {
|
|
|
1637
1657
|
}
|
|
1638
1658
|
.el-alert--warning.is-light {
|
|
1639
1659
|
background-color: var(--el-alert-bg-color);
|
|
1640
|
-
color: var(--el-color-warning-light-
|
|
1660
|
+
color: var(--el-color-warning-light-6);
|
|
1641
1661
|
}
|
|
1642
1662
|
.el-alert--warning.is-light .el-alert__description {
|
|
1643
|
-
color: var(--el-color-warning-light-
|
|
1663
|
+
color: var(--el-color-warning-light-6);
|
|
1644
1664
|
}
|
|
1645
1665
|
.el-alert--warning.is-dark {
|
|
1646
1666
|
background-color: var(--el-color-warning);
|
|
1647
1667
|
color: var(--el-color-white);
|
|
1648
1668
|
}
|
|
1649
1669
|
.el-alert--warning.is-light .el-alert__close-btn {
|
|
1650
|
-
color: var(--el-color-warning-light-
|
|
1670
|
+
color: var(--el-color-warning-light-6);
|
|
1651
1671
|
}
|
|
1652
1672
|
|
|
1653
1673
|
.el-alert--error {
|
|
@@ -1656,63 +1676,41 @@ body {
|
|
|
1656
1676
|
}
|
|
1657
1677
|
.el-alert--error.is-light {
|
|
1658
1678
|
background-color: var(--el-alert-bg-color);
|
|
1659
|
-
color: var(--el-color-error-light-
|
|
1679
|
+
color: var(--el-color-error-light-6);
|
|
1660
1680
|
}
|
|
1661
1681
|
.el-alert--error.is-light .el-alert__description {
|
|
1662
|
-
color: var(--el-color-error-light-
|
|
1682
|
+
color: var(--el-color-error-light-6);
|
|
1663
1683
|
}
|
|
1664
1684
|
.el-alert--error.is-dark {
|
|
1665
1685
|
background-color: var(--el-color-error);
|
|
1666
1686
|
color: var(--el-color-white);
|
|
1667
1687
|
}
|
|
1668
1688
|
.el-alert--error.is-light .el-alert__close-btn {
|
|
1669
|
-
color: var(--el-color-error-light-
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
.el-alert--danger {
|
|
1673
|
-
--el-alert-bg-color: var(--el-color-danger-light-1);
|
|
1674
|
-
--el-alert-border-color: var(--el-color-danger-light-3);
|
|
1675
|
-
}
|
|
1676
|
-
.el-alert--danger.is-light {
|
|
1677
|
-
background-color: var(--el-alert-bg-color);
|
|
1678
|
-
color: var(--el-color-danger-light-5);
|
|
1679
|
-
}
|
|
1680
|
-
.el-alert--danger.is-light .el-alert__description {
|
|
1681
|
-
color: var(--el-color-danger-light-4);
|
|
1682
|
-
}
|
|
1683
|
-
.el-alert--danger.is-dark {
|
|
1684
|
-
background-color: var(--el-color-danger);
|
|
1685
|
-
color: var(--el-color-white);
|
|
1686
|
-
}
|
|
1687
|
-
.el-alert--danger.is-light .el-alert__close-btn {
|
|
1688
|
-
color: var(--el-color-danger-light-5);
|
|
1689
|
+
color: var(--el-color-error-light-6);
|
|
1689
1690
|
}
|
|
1690
1691
|
|
|
1691
1692
|
.el-alert::before {
|
|
1692
|
-
font-family: "
|
|
1693
|
+
font-family: "Material Symbols Outlined" !important;
|
|
1693
1694
|
-webkit-font-smoothing: antialiased;
|
|
1694
1695
|
-moz-osx-font-smoothing: grayscale;
|
|
1695
1696
|
font-style: normal;
|
|
1696
1697
|
font-variant: normal;
|
|
1697
1698
|
font-weight: 600;
|
|
1698
|
-
line-height: 1;
|
|
1699
1699
|
speak: never;
|
|
1700
1700
|
text-transform: none;
|
|
1701
1701
|
font-size: var(--el-alert-icon-size);
|
|
1702
|
-
line-height:
|
|
1703
|
-
margin-right:
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
.el-alert.el-alert--warning::before {
|
|
1712
|
-
content: "\e9f6";
|
|
1702
|
+
line-height: 1;
|
|
1703
|
+
margin-right: 5px;
|
|
1704
|
+
content: "info";
|
|
1705
|
+
position: absolute;
|
|
1706
|
+
font-weight: 500;
|
|
1707
|
+
width: 12px;
|
|
1708
|
+
height: 12px;
|
|
1709
|
+
font-size: 12px;
|
|
1710
|
+
top: 14px;
|
|
1713
1711
|
}
|
|
1714
|
-
.el-alert
|
|
1715
|
-
|
|
1712
|
+
.el-alert .el-alert__title {
|
|
1713
|
+
padding-left: 17px;
|
|
1716
1714
|
}
|
|
1717
1715
|
.el-alert .el-alert__icon {
|
|
1718
1716
|
display: none;
|
|
@@ -1741,6 +1739,8 @@ body {
|
|
|
1741
1739
|
}
|
|
1742
1740
|
.el-alert__title.with-description {
|
|
1743
1741
|
font-size: var(--el-alert-title-with-description-font-size);
|
|
1742
|
+
line-height: 14px;
|
|
1743
|
+
margin-top: 5px;
|
|
1744
1744
|
}
|
|
1745
1745
|
|
|
1746
1746
|
.el-alert .el-alert__description {
|
|
@@ -10902,6 +10902,7 @@ heights > $common-component-size
|
|
|
10902
10902
|
border-color: var(--el-color-primary-light-4);
|
|
10903
10903
|
}
|
|
10904
10904
|
.el-link__inner {
|
|
10905
|
+
display: inline-flex;
|
|
10905
10906
|
overflow: hidden;
|
|
10906
10907
|
text-overflow: ellipsis;
|
|
10907
10908
|
white-space: nowrap;
|
|
@@ -11579,6 +11580,10 @@ heights > $common-component-size
|
|
|
11579
11580
|
.el-message-box__status {
|
|
11580
11581
|
font-size: 24px;
|
|
11581
11582
|
}
|
|
11583
|
+
.el-message-box__status.el-message-box-icon--primary {
|
|
11584
|
+
--el-messagebox-color: var(--el-color-primary);
|
|
11585
|
+
color: var(--el-messagebox-color);
|
|
11586
|
+
}
|
|
11582
11587
|
.el-message-box__status.el-message-box-icon--success {
|
|
11583
11588
|
--el-messagebox-color: var(--el-color-success);
|
|
11584
11589
|
color: var(--el-messagebox-color);
|
|
@@ -11595,10 +11600,6 @@ heights > $common-component-size
|
|
|
11595
11600
|
--el-messagebox-color: var(--el-color-error);
|
|
11596
11601
|
color: var(--el-messagebox-color);
|
|
11597
11602
|
}
|
|
11598
|
-
.el-message-box__status.el-message-box-icon--danger {
|
|
11599
|
-
--el-messagebox-color: var(--el-color-danger);
|
|
11600
|
-
color: var(--el-messagebox-color);
|
|
11601
|
-
}
|
|
11602
11603
|
|
|
11603
11604
|
.el-message-box__message {
|
|
11604
11605
|
margin: 0;
|
|
@@ -11625,16 +11626,37 @@ heights > $common-component-size
|
|
|
11625
11626
|
flex-basis: 100%;
|
|
11626
11627
|
}
|
|
11627
11628
|
.el-message-box__btns .el-button:first-of-type {
|
|
11628
|
-
--el-button-text-color: var(--el-color-
|
|
11629
|
-
--el-button-
|
|
11629
|
+
--el-button-text-color: var(--el-color-secondary-light-9);
|
|
11630
|
+
--el-button-bg-color: var(--el-color-secondary-light-1);
|
|
11631
|
+
--el-button-border-color: var(--el-color-secondary-light-2);
|
|
11632
|
+
--el-button-outline-color: var(--el-color-secondary-light-5);
|
|
11633
|
+
--el-button-active-color: var(--el-color-secondary-dark-2);
|
|
11634
|
+
--el-button-hover-text-color: var(--el-color-secondary-light-9);
|
|
11635
|
+
--el-button-hover-link-text-color: var(--el-color-secondary-light-5);
|
|
11636
|
+
--el-button-hover-bg-color: var(--el-color-white);
|
|
11637
|
+
--el-button-hover-border-color: var(--el-color-secondary-light-3);
|
|
11638
|
+
--el-button-active-bg-color: var(--el-color-secondary-light-2);
|
|
11639
|
+
--el-button-active-border-color: var(--el-color-secondary-light-2);
|
|
11640
|
+
--el-button-disabled-text-color: var(--el-color-white);
|
|
11641
|
+
--el-button-disabled-bg-color: var(--el-color-secondary-light-1);
|
|
11642
|
+
--el-button-disabled-border-color: var(--el-color-secondary-light-1);
|
|
11643
|
+
}
|
|
11644
|
+
.el-message-box__btns .el-button:first-of-type.is-plain, .el-message-box__btns .el-button:first-of-type.is-text, .el-message-box__btns .el-button:first-of-type.is-link {
|
|
11645
|
+
--el-button-text-color: var(--el-color-secondary);
|
|
11646
|
+
--el-button-disabled-text-color: var(--el-color-secondary-light-9);
|
|
11630
11647
|
--el-button-bg-color: var(--el-color-white);
|
|
11631
|
-
--el-button-border-color: var(--el-color-
|
|
11632
|
-
--el-button-hover-text-color: var(--el-color-
|
|
11648
|
+
--el-button-border-color: var(--el-color-secondary-light-5);
|
|
11649
|
+
--el-button-hover-text-color: var(--el-color-secondary-light-4);
|
|
11633
11650
|
--el-button-hover-bg-color: var(--el-color-white);
|
|
11634
|
-
--el-button-hover-border-color: var(--el-color-
|
|
11635
|
-
--el-button-active-text-color: var(--el-color-
|
|
11651
|
+
--el-button-hover-border-color: var(--el-color-secondary-light-4);
|
|
11652
|
+
--el-button-active-text-color: var(--el-color-secondary-light-6);
|
|
11636
11653
|
--el-button-active-bg-color: var(--el-color-white);
|
|
11637
|
-
--el-button-active-border-color: var(--el-color-
|
|
11654
|
+
--el-button-active-border-color: var(--el-color-secondary-light-6);
|
|
11655
|
+
}
|
|
11656
|
+
.el-message-box__btns .el-button:first-of-type.is-plain.is-disabled, .el-message-box__btns .el-button:first-of-type.is-plain.is-disabled:hover, .el-message-box__btns .el-button:first-of-type.is-plain.is-disabled:focus, .el-message-box__btns .el-button:first-of-type.is-plain.is-disabled:active, .el-message-box__btns .el-button:first-of-type.is-text.is-disabled, .el-message-box__btns .el-button:first-of-type.is-text.is-disabled:hover, .el-message-box__btns .el-button:first-of-type.is-text.is-disabled:focus, .el-message-box__btns .el-button:first-of-type.is-text.is-disabled:active, .el-message-box__btns .el-button:first-of-type.is-link.is-disabled, .el-message-box__btns .el-button:first-of-type.is-link.is-disabled:hover, .el-message-box__btns .el-button:first-of-type.is-link.is-disabled:focus, .el-message-box__btns .el-button:first-of-type.is-link.is-disabled:active {
|
|
11657
|
+
color: var(--el-color-secondary-light-2);
|
|
11658
|
+
background-color: transparent;
|
|
11659
|
+
border-color: var(--el-color-secondary-light-2);
|
|
11638
11660
|
}
|
|
11639
11661
|
|
|
11640
11662
|
.el-message-box--center .el-message-box__title {
|
|
@@ -11734,6 +11756,30 @@ heights > $common-component-size
|
|
|
11734
11756
|
.el-message .el-message__closeBtn:hover {
|
|
11735
11757
|
color: var(--el-color-info-light-6);
|
|
11736
11758
|
}
|
|
11759
|
+
.el-message--primary {
|
|
11760
|
+
--el-message-bg-color: var(--el-color-primary-light-1);
|
|
11761
|
+
--el-message-border-color: var(--el-color-primary-light-3);
|
|
11762
|
+
--el-message-text-color: var(--el-color-primary);
|
|
11763
|
+
}
|
|
11764
|
+
.el-message--primary .el-message__content {
|
|
11765
|
+
color: var(--el-message-text-color);
|
|
11766
|
+
overflow-wrap: break-word;
|
|
11767
|
+
}
|
|
11768
|
+
.el-message--primary .el-message__closeBtn {
|
|
11769
|
+
color: var(--el-color-primary);
|
|
11770
|
+
}
|
|
11771
|
+
.el-message--primary .el-message__closeBtn:hover {
|
|
11772
|
+
color: var(--el-color-primary-light-4);
|
|
11773
|
+
}
|
|
11774
|
+
.el-message--primary .el-message__closeBtn:active {
|
|
11775
|
+
color: var(--el-color-primary-light-6);
|
|
11776
|
+
}
|
|
11777
|
+
|
|
11778
|
+
.el-message .el-message-icon--primary {
|
|
11779
|
+
color: var(--el-message-text-color);
|
|
11780
|
+
width: 12px;
|
|
11781
|
+
height: 12px;
|
|
11782
|
+
}
|
|
11737
11783
|
.el-message--success {
|
|
11738
11784
|
--el-message-bg-color: var(--el-color-success-light-1);
|
|
11739
11785
|
--el-message-border-color: var(--el-color-success-light-3);
|
|
@@ -11830,30 +11876,6 @@ heights > $common-component-size
|
|
|
11830
11876
|
width: 12px;
|
|
11831
11877
|
height: 12px;
|
|
11832
11878
|
}
|
|
11833
|
-
.el-message--danger {
|
|
11834
|
-
--el-message-bg-color: var(--el-color-danger-light-1);
|
|
11835
|
-
--el-message-border-color: var(--el-color-danger-light-3);
|
|
11836
|
-
--el-message-text-color: var(--el-color-danger);
|
|
11837
|
-
}
|
|
11838
|
-
.el-message--danger .el-message__content {
|
|
11839
|
-
color: var(--el-message-text-color);
|
|
11840
|
-
overflow-wrap: break-word;
|
|
11841
|
-
}
|
|
11842
|
-
.el-message--danger .el-message__closeBtn {
|
|
11843
|
-
color: var(--el-color-danger);
|
|
11844
|
-
}
|
|
11845
|
-
.el-message--danger .el-message__closeBtn:hover {
|
|
11846
|
-
color: var(--el-color-danger-light-4);
|
|
11847
|
-
}
|
|
11848
|
-
.el-message--danger .el-message__closeBtn:active {
|
|
11849
|
-
color: var(--el-color-danger-light-6);
|
|
11850
|
-
}
|
|
11851
|
-
|
|
11852
|
-
.el-message .el-message-icon--danger {
|
|
11853
|
-
color: var(--el-message-text-color);
|
|
11854
|
-
width: 12px;
|
|
11855
|
-
height: 12px;
|
|
11856
|
-
}
|
|
11857
11879
|
.el-message .el-message__badge {
|
|
11858
11880
|
position: absolute;
|
|
11859
11881
|
top: -8px;
|
|
@@ -11980,6 +12002,10 @@ heights > $common-component-size
|
|
|
11980
12002
|
.el-notification .el-notification__closeBtn:hover {
|
|
11981
12003
|
color: var(--el-notification-close-hover-color);
|
|
11982
12004
|
}
|
|
12005
|
+
.el-notification .el-notification--primary {
|
|
12006
|
+
--el-notification-icon-color: var(--el-color-primary);
|
|
12007
|
+
color: var(--el-notification-icon-color);
|
|
12008
|
+
}
|
|
11983
12009
|
.el-notification .el-notification--success {
|
|
11984
12010
|
--el-notification-icon-color: var(--el-color-success);
|
|
11985
12011
|
color: var(--el-notification-icon-color);
|
|
@@ -11996,10 +12022,6 @@ heights > $common-component-size
|
|
|
11996
12022
|
--el-notification-icon-color: var(--el-color-error);
|
|
11997
12023
|
color: var(--el-notification-icon-color);
|
|
11998
12024
|
}
|
|
11999
|
-
.el-notification .el-notification--danger {
|
|
12000
|
-
--el-notification-icon-color: var(--el-color-danger);
|
|
12001
|
-
color: var(--el-notification-icon-color);
|
|
12002
|
-
}
|
|
12003
12025
|
|
|
12004
12026
|
.el-notification-fade-enter-from.right {
|
|
12005
12027
|
right: 0;
|
|
@@ -12437,11 +12459,23 @@ heights > $common-component-size
|
|
|
12437
12459
|
.popover-footer {
|
|
12438
12460
|
display: flex;
|
|
12439
12461
|
padding-top: 16px;
|
|
12440
|
-
gap:
|
|
12462
|
+
gap: 28px;
|
|
12441
12463
|
}
|
|
12442
12464
|
.popover-footer .el-button {
|
|
12443
12465
|
flex-basis: 100%;
|
|
12444
12466
|
@apply el-button--mini;
|
|
12467
|
+
/*
|
|
12468
|
+
&:first-of-type {
|
|
12469
|
+
--el-button-hover-text-color: var(--el-color-primary-light-4);
|
|
12470
|
+
--el-button-hover-bg-color: var(--el-color-white);
|
|
12471
|
+
--el-button-hover-border-color: var(--el-color-primary-light-4);
|
|
12472
|
+
--el-button-active-text-color: var(--el-color-primary-light-6);
|
|
12473
|
+
--el-button-active-bg-color: var(--el-color-white);
|
|
12474
|
+
--el-button-active-border-color: var(--el-color-primary-light-6);
|
|
12475
|
+
--el-button-bg-color: var(--el-color-white);
|
|
12476
|
+
--el-button-text-color: var(--el-color-primary);
|
|
12477
|
+
}
|
|
12478
|
+
*/
|
|
12445
12479
|
}
|
|
12446
12480
|
.popover-footer .el-button:first-of-type {
|
|
12447
12481
|
--el-button-text-color: var(--el-color-secondary-light-9);
|
|
@@ -13,6 +13,21 @@
|
|
|
13
13
|
<div class="flex gap-4 items-start flex-col">
|
|
14
14
|
<el-alert :title="`default`" />
|
|
15
15
|
<el-alert v-for="color of colors" :key="color" :title="`${color} alert`" :type="color" show-icon />
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<template #footer> <html-encode :tag="snippets.basic" /> </template>
|
|
19
|
+
</el-card>
|
|
20
|
+
|
|
21
|
+
<el-card>
|
|
22
|
+
<template #header> With Description </template>
|
|
23
|
+
<div class="flex flex-col gap-7.5">
|
|
24
|
+
<p>
|
|
25
|
+
Alert components are non-overlay elements in the page that does not disappear automatically. Alert provides 4 types of themes defined by
|
|
26
|
+
<el-text tag="mark">type</el-text>, whose default value is <el-text tag="mark">info</el-text>. And you can add a description to the alert width
|
|
27
|
+
<el-text tag="mark">description</el-text> attribute. Also you can use <el-text tag="mark">#default</el-text> slot to add a description to the alert.
|
|
28
|
+
</p>
|
|
29
|
+
<div class="flex gap-4 items-start flex-col">
|
|
30
|
+
<el-alert :title="`default`" description="This is a description." />
|
|
16
31
|
<el-alert v-for="color of colors" :key="color" :title="`${color} alert`" :type="color" description="This is a description." show-icon />
|
|
17
32
|
</div>
|
|
18
33
|
</div>
|
|
@@ -24,7 +39,7 @@
|
|
|
24
39
|
<script lang="ts" setup>
|
|
25
40
|
import { ref } from 'vue';
|
|
26
41
|
|
|
27
|
-
const colors = ref(['success', 'warning', 'info', 'error'
|
|
42
|
+
const colors = ref(['primary', 'success', 'warning', 'info', 'error']);
|
|
28
43
|
|
|
29
44
|
const snippets = ref({
|
|
30
45
|
basic: `<el-alert title="Title Text Goes Here" type="danger" description="This is a description." show-icon :closable="false" />`,
|
|
@@ -304,23 +304,24 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
304
304
|
--el-alert-padding: 8px 16px;
|
|
305
305
|
--el-alert-border-radius: var(--el-border-radius-small);
|
|
306
306
|
--el-alert-border-color: var(--el-color-info-light-3);
|
|
307
|
-
--el-alert-title-font-size:
|
|
308
|
-
--el-alert-title-with-description-font-size:
|
|
309
|
-
--el-alert-description-font-size:
|
|
307
|
+
--el-alert-title-font-size: 12px;
|
|
308
|
+
--el-alert-title-with-description-font-size: 12px;
|
|
309
|
+
--el-alert-description-font-size: 10px;
|
|
310
310
|
--el-alert-close-font-size: 14px;
|
|
311
311
|
--el-alert-close-customed-font-size: 14px;
|
|
312
|
-
--el-alert-icon-size:
|
|
312
|
+
--el-alert-icon-size: 12px;
|
|
313
313
|
--el-alert-icon-large-size: 32px;
|
|
314
|
+
position: relative;
|
|
314
315
|
width: 100%;
|
|
315
|
-
padding:
|
|
316
|
+
padding: 8px 16px;
|
|
316
317
|
margin: 0;
|
|
317
318
|
box-sizing: border-box;
|
|
318
|
-
border-radius: var(--el-
|
|
319
|
+
border-radius: var(--el-border-radius-small);
|
|
319
320
|
border-width: var(--el-border-width);
|
|
320
321
|
border-style: var(--el-border-style);
|
|
321
322
|
border-color: var(--el-alert-border-color);
|
|
322
323
|
position: relative;
|
|
323
|
-
background-color: var(--el-color-
|
|
324
|
+
background-color: var(--el-color-neutral-light-1);
|
|
324
325
|
overflow: hidden;
|
|
325
326
|
opacity: 1;
|
|
326
327
|
display: flex;
|
|
@@ -341,42 +342,61 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
341
342
|
justify-content: center;
|
|
342
343
|
}
|
|
343
344
|
|
|
345
|
+
.el-alert--primary {
|
|
346
|
+
--el-alert-bg-color: var(--el-color-primary-light-1);
|
|
347
|
+
--el-alert-border-color: var(--el-color-primary-light-3);
|
|
348
|
+
}
|
|
349
|
+
.el-alert--primary.is-light {
|
|
350
|
+
background-color: var(--el-alert-bg-color);
|
|
351
|
+
color: var(--el-color-primary-light-6);
|
|
352
|
+
}
|
|
353
|
+
.el-alert--primary.is-light .el-alert__description {
|
|
354
|
+
color: var(--el-color-primary-light-6);
|
|
355
|
+
}
|
|
356
|
+
.el-alert--primary.is-dark {
|
|
357
|
+
background-color: var(--el-color-primary);
|
|
358
|
+
color: var(--el-color-white);
|
|
359
|
+
}
|
|
360
|
+
.el-alert--primary.is-light .el-alert__close-btn {
|
|
361
|
+
color: var(--el-color-primary-light-6);
|
|
362
|
+
}
|
|
363
|
+
|
|
344
364
|
.el-alert--success {
|
|
345
365
|
--el-alert-bg-color: var(--el-color-success-light-1);
|
|
346
366
|
--el-alert-border-color: var(--el-color-success-light-3);
|
|
347
367
|
}
|
|
348
368
|
.el-alert--success.is-light {
|
|
349
369
|
background-color: var(--el-alert-bg-color);
|
|
350
|
-
color: var(--el-color-success-light-
|
|
370
|
+
color: var(--el-color-success-light-6);
|
|
351
371
|
}
|
|
352
372
|
.el-alert--success.is-light .el-alert__description {
|
|
353
|
-
color: var(--el-color-success-light-
|
|
373
|
+
color: var(--el-color-success-light-6);
|
|
354
374
|
}
|
|
355
375
|
.el-alert--success.is-dark {
|
|
356
376
|
background-color: var(--el-color-success);
|
|
357
377
|
color: var(--el-color-white);
|
|
358
378
|
}
|
|
359
379
|
.el-alert--success.is-light .el-alert__close-btn {
|
|
360
|
-
color: var(--el-color-success-light-
|
|
380
|
+
color: var(--el-color-success-light-6);
|
|
361
381
|
}
|
|
362
382
|
|
|
363
383
|
.el-alert--info {
|
|
364
|
-
--el-alert-bg-color: var(--el-color-
|
|
365
|
-
--el-alert-border-color: var(--el-color-
|
|
384
|
+
--el-alert-bg-color: var(--el-color-neutral-light-1);
|
|
385
|
+
--el-alert-border-color: var(--el-color-neutral-light-3);
|
|
366
386
|
}
|
|
367
387
|
.el-alert--info.is-light {
|
|
368
388
|
background-color: var(--el-alert-bg-color);
|
|
369
|
-
color: var(--el-color-
|
|
389
|
+
color: var(--el-color-neutral-light-6);
|
|
370
390
|
}
|
|
371
391
|
.el-alert--info.is-light .el-alert__description {
|
|
372
|
-
color: var(--el-color-
|
|
392
|
+
color: var(--el-color-neutral-light-6);
|
|
373
393
|
}
|
|
374
394
|
.el-alert--info.is-dark {
|
|
375
|
-
background-color: var(--el-color-
|
|
395
|
+
background-color: var(--el-color-neutral);
|
|
376
396
|
color: var(--el-color-white);
|
|
377
397
|
}
|
|
378
398
|
.el-alert--info.is-light .el-alert__close-btn {
|
|
379
|
-
color: var(--el-color-
|
|
399
|
+
color: var(--el-color-neutral-light-6);
|
|
380
400
|
}
|
|
381
401
|
|
|
382
402
|
.el-alert--warning {
|
|
@@ -385,17 +405,17 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
385
405
|
}
|
|
386
406
|
.el-alert--warning.is-light {
|
|
387
407
|
background-color: var(--el-alert-bg-color);
|
|
388
|
-
color: var(--el-color-warning-light-
|
|
408
|
+
color: var(--el-color-warning-light-6);
|
|
389
409
|
}
|
|
390
410
|
.el-alert--warning.is-light .el-alert__description {
|
|
391
|
-
color: var(--el-color-warning-light-
|
|
411
|
+
color: var(--el-color-warning-light-6);
|
|
392
412
|
}
|
|
393
413
|
.el-alert--warning.is-dark {
|
|
394
414
|
background-color: var(--el-color-warning);
|
|
395
415
|
color: var(--el-color-white);
|
|
396
416
|
}
|
|
397
417
|
.el-alert--warning.is-light .el-alert__close-btn {
|
|
398
|
-
color: var(--el-color-warning-light-
|
|
418
|
+
color: var(--el-color-warning-light-6);
|
|
399
419
|
}
|
|
400
420
|
|
|
401
421
|
.el-alert--error {
|
|
@@ -404,63 +424,41 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
404
424
|
}
|
|
405
425
|
.el-alert--error.is-light {
|
|
406
426
|
background-color: var(--el-alert-bg-color);
|
|
407
|
-
color: var(--el-color-error-light-
|
|
427
|
+
color: var(--el-color-error-light-6);
|
|
408
428
|
}
|
|
409
429
|
.el-alert--error.is-light .el-alert__description {
|
|
410
|
-
color: var(--el-color-error-light-
|
|
430
|
+
color: var(--el-color-error-light-6);
|
|
411
431
|
}
|
|
412
432
|
.el-alert--error.is-dark {
|
|
413
433
|
background-color: var(--el-color-error);
|
|
414
434
|
color: var(--el-color-white);
|
|
415
435
|
}
|
|
416
436
|
.el-alert--error.is-light .el-alert__close-btn {
|
|
417
|
-
color: var(--el-color-error-light-
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
.el-alert--danger {
|
|
421
|
-
--el-alert-bg-color: var(--el-color-danger-light-1);
|
|
422
|
-
--el-alert-border-color: var(--el-color-danger-light-3);
|
|
423
|
-
}
|
|
424
|
-
.el-alert--danger.is-light {
|
|
425
|
-
background-color: var(--el-alert-bg-color);
|
|
426
|
-
color: var(--el-color-danger-light-5);
|
|
427
|
-
}
|
|
428
|
-
.el-alert--danger.is-light .el-alert__description {
|
|
429
|
-
color: var(--el-color-danger-light-4);
|
|
430
|
-
}
|
|
431
|
-
.el-alert--danger.is-dark {
|
|
432
|
-
background-color: var(--el-color-danger);
|
|
433
|
-
color: var(--el-color-white);
|
|
434
|
-
}
|
|
435
|
-
.el-alert--danger.is-light .el-alert__close-btn {
|
|
436
|
-
color: var(--el-color-danger-light-5);
|
|
437
|
+
color: var(--el-color-error-light-6);
|
|
437
438
|
}
|
|
438
439
|
|
|
439
440
|
.el-alert::before {
|
|
440
|
-
font-family: "
|
|
441
|
+
font-family: "Material Symbols Outlined" !important;
|
|
441
442
|
-webkit-font-smoothing: antialiased;
|
|
442
443
|
-moz-osx-font-smoothing: grayscale;
|
|
443
444
|
font-style: normal;
|
|
444
445
|
font-variant: normal;
|
|
445
446
|
font-weight: 600;
|
|
446
|
-
line-height: 1;
|
|
447
447
|
speak: never;
|
|
448
448
|
text-transform: none;
|
|
449
449
|
font-size: var(--el-alert-icon-size);
|
|
450
|
-
line-height:
|
|
451
|
-
margin-right:
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
.el-alert.el-alert--warning::before {
|
|
460
|
-
content: "\e9f6";
|
|
450
|
+
line-height: 1;
|
|
451
|
+
margin-right: 5px;
|
|
452
|
+
content: "info";
|
|
453
|
+
position: absolute;
|
|
454
|
+
font-weight: 500;
|
|
455
|
+
width: 12px;
|
|
456
|
+
height: 12px;
|
|
457
|
+
font-size: 12px;
|
|
458
|
+
top: 14px;
|
|
461
459
|
}
|
|
462
|
-
.el-alert
|
|
463
|
-
|
|
460
|
+
.el-alert .el-alert__title {
|
|
461
|
+
padding-left: 17px;
|
|
464
462
|
}
|
|
465
463
|
.el-alert .el-alert__icon {
|
|
466
464
|
display: none;
|
|
@@ -489,6 +487,8 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
489
487
|
}
|
|
490
488
|
.el-alert__title.with-description {
|
|
491
489
|
font-size: var(--el-alert-title-with-description-font-size);
|
|
490
|
+
line-height: 14px;
|
|
491
|
+
margin-top: 5px;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.el-alert .el-alert__description {
|