Changeset 13520 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/site/_site.scss
- Timestamp:
- 04/15/2024 04:52:02 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/site/_site.scss
r13503 r13520 366 366 367 367 .button-search { 368 border-left: none; 369 border-radius: 0 2px 2px 0; 370 font-size: ms( 0 ); 371 position: relative; 372 right: auto; 373 top: auto; 368 background: transparent; 369 border: none; 370 border-radius: 0; 371 box-shadow: none; 372 color: #32373c; 373 display: block; 374 height: 100%; 375 padding-inline: var(--wp--custom--form--padding--block); 376 padding-block: var(--wp--custom--form--padding--block); 377 position: absolute; 378 right: 0; 379 text-shadow: none; 380 top: 0; 381 margin: 0; 382 383 &:focus-visible { 384 outline: -webkit-focus-ring-color auto 1px; 385 } 374 386 375 387 &:active { 376 background: #006799;377 border-right: 1px solid #006799;378 box-shadow: none;379 }380 381 .dashicons {382 font-size: ms( 0 );383 }384 }385 386 .site-header & {387 display: inline-block;388 }389 390 .site-header.home &,391 .site-main & {392 393 .button-search {394 388 background: transparent; 395 389 border: none; 396 border-radius: 0; 397 box-shadow: none; 398 color: #32373c; 399 display: block; 400 height: 100%; 401 padding-inline: var(--wp--custom--form--padding--block); 402 padding-block: var(--wp--custom--form--padding--block); 403 position: absolute; 404 right: 0; 405 text-shadow: none; 406 top: 0; 407 margin: 0; 408 409 &:focus { 410 box-shadow: 0 0 2px 1px #33b3db; 411 } 412 413 &:active { 414 background: transparent; 415 border: none; 416 transform: none; 417 } 418 419 i { 420 vertical-align: sub; 421 } 422 } 423 } 424 425 .site-header:not(.home) & { 426 margin: 0; 427 428 .search-field { 429 border: 0; 430 border-radius: 2px; 431 display: inline-block; 432 font-size: ms( 0 ); 433 padding: 5px 10px; 434 position: relative; 435 width: 100%; 436 } 437 438 @media screen and (min-width: $ms-breakpoint) { 439 440 .search-field { 441 border-radius: 2px 0 0 2px; 442 font-size: ms( -4 ); 443 width: 7rem; 444 } 445 446 .search-field + .button-search { 447 display: inline-block; 448 margin-bottom: 0; 449 } 450 } 451 452 @media screen and (min-width: 60em) { 453 454 .search-field { 455 width: 10rem; 456 } 457 } 458 } 459 } 460 461 .search { 462 463 .site-main { 464 margin-top: 2rem; 465 padding-top: 0; 466 } 467 468 &.search-results .page-header { 469 margin: 2rem 0; 390 transform: none; 391 } 470 392 } 471 393 }
Note: See TracChangeset
for help on using the changeset viewer.