@@ -52565,116 +52565,6 @@ input::placeholder {
5256552565.card.flex-card .card-footer {
5256652566 margin-top: auto;
5256752567}
52568- :root {
52569- --product-title-color: #191919;
52570- --product-status-color: #191919;
52571- --product-price-color: #191919;
52572- }
52573- .dark-side {
52574- --product-title-color: #dbdfe7;
52575- --product-status-color: #dbdfe7;
52576- --product-price-color: #dbdfe7;
52577- }
52578- .product-card {
52579- display: flex;
52580- flex-flow: column nowrap;
52581- position: relative;
52582- font-size: 14px;
52583- margin: 8px auto;
52584- border: 1px solid var(--border-color);
52585- border-radius: var(--card-border-radius);
52586- background: var(--card-background);
52587- color: var(--card-color);
52588- padding: 1rem;
52589- }
52590- .product-card .product-image {
52591- width: 100%;
52592- position: relative;
52593- display: block;
52594- padding-bottom: 100%;
52595- margin-bottom: 1rem;
52596- }
52597- .product-card .product-image img {
52598- position: absolute;
52599- width: 100%;
52600- height: 100%;
52601- inset: 0;
52602- object-fit: scale-down;
52603- }
52604- .product-card .product-title {
52605- --ratio: calc(19 / 14);
52606- font-size: 16px;
52607- font-weight: 400;
52608- display: -webkit-box;
52609- -webkit-line-clamp: var(--line-clamp, 2);
52610- -webkit-box-orient: vertical;
52611- height: calc(var(--line-clamp, 2) * var(--ratio) * 1em);
52612- line-height: var(--ratio);
52613- overflow: hidden;
52614- word-break: break-word;
52615- color: var(--product-title-color, inherit);
52616- }
52617- .product-card .product-status {
52618- font-size: 12px;
52619- font-weight: 500;
52620- line-height: 16px;
52621- word-break: break-word;
52622- color: var(--product-status-color, inherit);
52623- display: flex;
52624- flex-flow: row nowrap;
52625- align-items: center;
52626- margin: 0.25rem 0;
52627- gap: 10px;
52628- }
52629- .product-card .product-status .icon {
52630- font-size: 20px;
52631- width: 20px;
52632- height: 20px;
52633- line-height: 20px;
52634- display: flex;
52635- align-items: center;
52636- justify-content: center;
52637- object-fit: cover;
52638- }
52639- .product-card .product-desc {
52640- font-size: 14px;
52641- font-weight: 400;
52642- line-height: 18px;
52643- word-break: break-word;
52644- }
52645- .product-card .product-rating {
52646- display: flex;
52647- flex-flow: row nowrap;
52648- align-items: center;
52649- margin: 0.5rem 0;
52650- }
52651- .product-card .-old {
52652- font-size: 12px;
52653- font-weight: 400;
52654- line-height: 12px;
52655- text-decoration: line-through;
52656- }
52657- .product-card .product-price {
52658- font-size: 18px;
52659- font-weight: 700;
52660- line-height: 20px;
52661- }
52662- .product-card .product-footer {
52663- display: flex;
52664- flex-flow: row nowrap;
52665- align-items: center;
52666- margin-top: 0.5rem;
52667- }
52668- .product-card > .badge {
52669- position: absolute;
52670- top: 10px;
52671- right: 10px;
52672- font-size: 14px;
52673- }
52674- .product-card > .badge.-left {
52675- left: 10px;
52676- right: auto;
52677- }
5267852568
5267952569/* source/components/carousel/carousel.less */
5268052570:root {
@@ -65459,6 +65349,136 @@ label:has(input) {
6545965349 color: #fff;
6546065350}
6546165351
65352+ /* source/components/product-card/product-card.less */
65353+ :root {
65354+ --product-card-padding: 1rem;
65355+ --product-card-font-size: 14px;
65356+ --product-card-header-background: #fbfbfb;
65357+ --product-card-header-color: #191919;
65358+ --product-card-footer-background: #fbfbfb;
65359+ --product-card-footer-color: #191919;
65360+ --product-card-background: #ffffff;
65361+ --product-card-color: #191919;
65362+ --product-card-avatar-border-color: #ffffff;
65363+ --product-card-border-radius: 6px;
65364+ --product-card-button-border-color: var(--border-color);
65365+ --product-title-color: #191919;
65366+ --product-status-color: #191919;
65367+ --product-price-color: #191919;
65368+ }
65369+ .dark-side {
65370+ --product-card-header-background: #282c35;
65371+ --product-card-header-color: #fbfbfb;
65372+ --product-card-footer-background: #282c35;
65373+ --product-card-footer-color: #fbfbfb;
65374+ --product-card-background: #2b2d30;
65375+ --product-card-color: #dbdfe7;
65376+ --product-card-avatar-border-color: #414245;
65377+ --product-card-button-border-color: var(--border-color);
65378+ --product-title-color: #dbdfe7;
65379+ --product-status-color: #dbdfe7;
65380+ --product-price-color: #dbdfe7;
65381+ }
65382+ .product-card {
65383+ display: flex;
65384+ flex-flow: column nowrap;
65385+ position: relative;
65386+ font-size: var(--product-card-font-size);
65387+ border: 1px solid var(--border-color);
65388+ border-radius: var(--product-card-border-radius);
65389+ background: var(--product-card-background);
65390+ color: var(--product-card-color);
65391+ padding: var(--product-card-padding);
65392+ }
65393+ .product-card .product-image {
65394+ width: 100%;
65395+ position: relative;
65396+ display: block;
65397+ padding-bottom: 100%;
65398+ margin-bottom: 1rem;
65399+ }
65400+ .product-card .product-image img {
65401+ position: absolute;
65402+ width: 100%;
65403+ height: 100%;
65404+ inset: 0;
65405+ object-fit: scale-down;
65406+ }
65407+ .product-card .product-title {
65408+ --ratio: calc(19 / 14);
65409+ font-size: calc(var(--product-card-font-size) * 1.14);
65410+ font-weight: 400;
65411+ display: -webkit-box;
65412+ -webkit-line-clamp: var(--line-clamp, 2);
65413+ -webkit-box-orient: vertical;
65414+ height: calc(var(--line-clamp, 2) * var(--ratio) * 1em);
65415+ line-height: var(--ratio);
65416+ overflow: hidden;
65417+ word-break: break-word;
65418+ color: var(--product-title-color, inherit);
65419+ }
65420+ .product-card .product-status {
65421+ font-size: calc(var(--product-card-font-size) / 1.16);
65422+ font-weight: 500;
65423+ line-height: 16px;
65424+ word-break: break-word;
65425+ color: var(--product-status-color, inherit);
65426+ display: flex;
65427+ flex-flow: row nowrap;
65428+ align-items: center;
65429+ margin: 0.25rem 0;
65430+ gap: 4px;
65431+ }
65432+ .product-card .product-status .icon {
65433+ font-size: calc(var(--product-card-font-size) * 1.25);
65434+ width: calc(var(--product-card-font-size) * 1.25);
65435+ height: calc(var(--product-card-font-size) * 1.25);
65436+ line-height: calc(var(--product-card-font-size) * 1.25);
65437+ display: flex;
65438+ align-items: center;
65439+ justify-content: center;
65440+ object-fit: cover;
65441+ }
65442+ .product-card .product-desc {
65443+ font-size: 12px;
65444+ font-weight: 400;
65445+ line-height: 18px;
65446+ word-break: break-word;
65447+ }
65448+ .product-card .product-rating {
65449+ display: flex;
65450+ flex-flow: row nowrap;
65451+ align-items: center;
65452+ margin: 0.5rem 0;
65453+ }
65454+ .product-card .-old {
65455+ font-size: 12px;
65456+ font-weight: 400;
65457+ line-height: 12px;
65458+ text-decoration: line-through;
65459+ }
65460+ .product-card .product-price {
65461+ font-size: 18px;
65462+ font-weight: 700;
65463+ line-height: 20px;
65464+ }
65465+ .product-card .product-footer {
65466+ display: flex;
65467+ flex-flow: row nowrap;
65468+ align-items: center;
65469+ margin-top: 0.5rem;
65470+ }
65471+ .product-card > .badge {
65472+ position: absolute;
65473+ top: 10px;
65474+ right: 10px;
65475+ font-size: 14px;
65476+ }
65477+ .product-card > .badge.-left {
65478+ left: 10px;
65479+ right: auto;
65480+ }
65481+
6546265482/* source/components/progress/progress.less */
6546365483:root {
6546465484 --progress-bar-height: 12px;
0 commit comments