diff --git a/public/build/beike/shop/default/css/app.css b/public/build/beike/shop/default/css/app.css index 8da689a5..ddd8d39c 100644 --- a/public/build/beike/shop/default/css/app.css +++ b/public/build/beike/shop/default/css/app.css @@ -393,11 +393,17 @@ body.page-product .variables-wrap .variable-info > div { padding: 0.5rem; cursor: pointer; text-align: center; + font-weight: bold; transition: all 0.1s ease-in-out; } -body.page-product .variables-wrap .variable-info > div:hover, body.page-product .variables-wrap .variable-info > div.active { +body.page-product .variables-wrap .variable-info > div:hover, body.page-product .variables-wrap .variable-info > div.selected { border-color: #222; } +body.page-product .variables-wrap .variable-info > div:not(.selected).disabled { + border: 1px dashed #bfbfbf; + color: #999; + font-weight: initial; +} body.page-product .peoduct-info .rating-wrap { margin-bottom: 2rem; } diff --git a/resources/beike/shop/default/css/product.scss b/resources/beike/shop/default/css/product.scss index 3b6505a3..97790539 100644 --- a/resources/beike/shop/default/css/product.scss +++ b/resources/beike/shop/default/css/product.scss @@ -25,10 +25,20 @@ body.page-product { padding: 0.5rem; cursor: pointer; text-align: center; + font-weight: bold; + // border-radius: 2rem; transition: all .1s ease-in-out; - &:hover, &.active { + &:hover, &.selected { border-color: #222; } + + &:not(.selected) { + &.disabled { + border: 1px dashed #bfbfbf; + color: #999; + font-weight: initial; + } + } } } } diff --git a/themes/default/product.blade.php b/themes/default/product.blade.php index 18717149..24e7b9af 100644 --- a/themes/default/product.blade.php +++ b/themes/default/product.blade.php @@ -47,14 +47,14 @@
@{{ variable.name }}
+@{{ variable.name }}