Server IP : 172.67.158.161 / Your IP : 3.144.114.223 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/base/components/select/ |
Upload File : |
.wc-block-components-select { height: 3em; position: relative; margin-bottom: em($gap-large); label { @include reset-typography(); @include font-size(regular); line-height: 1.375; // =22px when font-size is 16px. position: absolute; transform: translateY(0.75em); transform-origin: top left; transition: all 200ms ease; color: $gray-50; z-index: 1; margin: 0 0 0 #{$gap + 1px}; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - #{2 * $gap}); white-space: nowrap; @media screen and (prefers-reduced-motion: reduce) { transition: none; } } &.is-active label { transform: translateY(#{$gap-smallest}) scale(0.75); } &.has-error { .components-custom-select-control__button { border-color: $error-red; } } &.has-error label { color: $error-red; } .components-custom-select-control__button { &, &:hover, &:focus, &:active { @include font-size(regular); background-color: #fff; box-shadow: none; color: $input-text-active; font-family: inherit; font-weight: normal; height: 3em; letter-spacing: inherit; line-height: 1; overflow: hidden; padding: em($gap-large) $gap em($gap-smallest); text-align: left; text-overflow: ellipsis; text-transform: none; white-space: nowrap; width: 100%; } } .components-custom-select-control__button-icon { right: #{$gap - 4px}; } .components-custom-select-control__menu { background-color: #fff; margin: 0; max-height: 300px; overflow: auto; // Required by IE11. &:empty { display: none; } } .components-custom-select-control__item { @include font-size(regular); margin-left: 0; padding-left: $gap; } .components-custom-select-control__item-icon { display: none; } }