Server IP : 85.214.239.14 / Your IP : 18.191.165.187 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/cwd/var/www/wordpress/wp-content/themes/twentytwentyone/assets/sass/05-blocks/search/ |
Upload File : |
.wp-block-search { max-width: var(--responsive--aligndefault-width); &__button-only.aligncenter { .wp-block-search__inside-wrapper { justify-content: center; } } .wp-block-search__label { font-size: var(--form--font-size); font-weight: var(--form--label-weight); margin-bottom: calc(var(--global--spacing-vertical) / 3); } .wp-block-search__input { border: var(--form--border-width) solid var(--form--border-color); border-radius: var(--form--border-radius); color: var(--form--color-text); line-height: var(--form--line-height); max-width: inherit; margin-right: calc(-1 * var(--button--border-width)); padding: var(--form--spacing-unit); &:focus { color: var(--form--color-text); border-color: var(--form--border-color); } .has-background & { border-color: var(--local--color-primary, var(--global--color-primary)) !important; } } button.wp-block-search__button { margin-left: 0; line-height: 1; &.has-icon { padding: 6px calc(0.5 * var(--button--padding-horizontal)); svg { width: 40px; height: 40px; fill: currentColor; } } &:hover, &:active { .has-background & { background-color: var(--local--color-background, var(--global--color-background)) !important; color: var(--local--color-primary, var(--global--color-primary)) !important; } .has-text-color & { color: var(--local--color-primary, var(--global--color-primary)) !important; } } } &.wp-block-search__button-inside { .wp-block-search__inside-wrapper { background-color: var(--global--color-white); border: var(--form--border-width) solid var(--form--border-color); border-radius: var(--form--border-radius); padding: var(--form--border-width); .has-background & { border-color: var(--local--color-primary, var(--global--color-primary)) !important; } .wp-block-search__input { margin-left: 0; margin-right: 0; padding-left: var(--form--spacing-unit); // Add outline for focus styles to override default &:focus { color: var(--form--color-text); outline-offset: -2px; outline: 2px dotted var(--form--border-color); } } button.wp-block-search__button { padding: var(--button--padding-vertical) var(--button--padding-horizontal); // Search button always needs black contrast against white form background &:hover { color: var(--global--color-dark-gray); } .is-dark-theme & { color: var(--global--color-dark-gray); &:hover { background-color: var(--global--color-dark-gray); color: var(--global--color-white); } } &.has-icon { padding: 6px calc(0.5 * var(--button--padding-horizontal)); } } } } } .wp-block-search__button { box-shadow: none; }