Changeset 50026
- Timestamp:
- 01/26/2021 06:58:08 PM (4 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwentyone
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/assets/css/ie.css
r49988 r50026 6342 6342 padding-bottom: 8px; 6343 6343 } 6344 @media only screen and (max-width: 481px) { 6345 6346 .menu-button-container { 6347 display: flex; 6348 } 6349 } 6344 6350 6345 6351 .menu-button-container #primary-mobile-menu { 6352 display: flex; 6346 6353 margin-left: auto; 6347 6354 padding: 10px 15px; 6348 }6349 @media only screen and (max-width: 481px) {6350 6351 .menu-button-container {6352 display: flex;6353 }6354 }6355 6356 .menu-button-container .button.button {6357 display: flex;6358 6355 font-size: 1rem; 6359 6356 font-weight: 500; … … 6363 6360 } 6364 6361 6365 .menu-button-container .button.button.dropdown-icon {6362 .menu-button-container #primary-mobile-menu .dropdown-icon { 6366 6363 display: flex; 6367 6364 align-items: center; 6368 6365 } 6369 6366 6370 .menu-button-container .button.button.dropdown-icon .svg-icon {6367 .menu-button-container #primary-mobile-menu .dropdown-icon .svg-icon { 6371 6368 margin-left: 5px; 6372 6369 } 6373 6370 6374 .menu-button-container .button.button.dropdown-icon.open .svg-icon {6371 .menu-button-container #primary-mobile-menu .dropdown-icon.open .svg-icon { 6375 6372 position: relative; 6376 6373 top: -1px; 6377 6374 } 6378 6375 6379 .menu-button-container .button.button.dropdown-icon.close {6376 .menu-button-container #primary-mobile-menu .dropdown-icon.close { 6380 6377 display: none; 6381 6378 } 6382 6379 6383 .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.open {6380 .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.open { 6384 6381 display: none; 6385 6382 } 6386 6383 6387 .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.close {6384 .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close { 6388 6385 display: flex; 6389 6386 } 6390 6387 6391 .has-logo.has-title-and-tagline .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.close {6388 .has-logo.has-title-and-tagline .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close { 6392 6389 animation-name: twentytwentyone-close-button-transition; 6393 6390 animation-duration: 0.3s; -
trunk/src/wp-content/themes/twentytwentyone/assets/sass/06-components/navigation.scss
r49914 r50026 11 11 padding-bottom: calc(0.25 * var(--global--spacing-vertical)); 12 12 13 @include media(mobile-only) { 14 display: flex; 15 } 16 17 // Override specificity from default button styles. 13 18 #primary-mobile-menu { 19 display: flex; 14 20 margin-left: auto; 15 21 padding: calc(var(--button--padding-vertical) - (0.25 * var(--global--spacing-unit))) calc(0.5 * var(--button--padding-horizontal)); 16 }17 18 @include media(mobile-only) {19 display: flex;20 }21 22 // Override specificty from default button styles.23 .button.button {24 display: flex;25 22 font-size: var(--primary-nav--font-size-button); 26 23 font-weight: var(--primary-nav--font-weight-button); -
trunk/src/wp-content/themes/twentytwentyone/style-rtl.css
r49988 r50026 4568 4568 padding-bottom: calc(0.25 * var(--global--spacing-vertical)); 4569 4569 } 4570 @media only screen and (max-width: 481px) { 4571 4572 .menu-button-container { 4573 display: flex; 4574 } 4575 } 4570 4576 4571 4577 .menu-button-container #primary-mobile-menu { 4578 display: flex; 4572 4579 margin-right: auto; 4573 4580 padding: calc(var(--button--padding-vertical) - (0.25 * var(--global--spacing-unit))) calc(0.5 * var(--button--padding-horizontal)); 4574 }4575 @media only screen and (max-width: 481px) {4576 4577 .menu-button-container {4578 display: flex;4579 }4580 }4581 4582 .menu-button-container .button.button {4583 display: flex;4584 4581 font-size: var(--primary-nav--font-size-button); 4585 4582 font-weight: var(--primary-nav--font-weight-button); … … 4589 4586 } 4590 4587 4591 .menu-button-container .button.button.dropdown-icon {4588 .menu-button-container #primary-mobile-menu .dropdown-icon { 4592 4589 display: flex; 4593 4590 align-items: center; 4594 4591 } 4595 4592 4596 .menu-button-container .button.button.dropdown-icon .svg-icon {4593 .menu-button-container #primary-mobile-menu .dropdown-icon .svg-icon { 4597 4594 margin-right: calc(0.25 * var(--global--spacing-unit)); 4598 4595 } 4599 4596 4600 .menu-button-container .button.button.dropdown-icon.open .svg-icon {4597 .menu-button-container #primary-mobile-menu .dropdown-icon.open .svg-icon { 4601 4598 position: relative; 4602 4599 top: -1px; 4603 4600 } 4604 4601 4605 .menu-button-container .button.button.dropdown-icon.close {4602 .menu-button-container #primary-mobile-menu .dropdown-icon.close { 4606 4603 display: none; 4607 4604 } 4608 4605 4609 .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.open {4606 .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.open { 4610 4607 display: none; 4611 4608 } 4612 4609 4613 .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.close {4610 .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close { 4614 4611 display: flex; 4615 4612 } 4616 4613 4617 .has-logo.has-title-and-tagline .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.close {4614 .has-logo.has-title-and-tagline .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close { 4618 4615 animation-name: twentytwentyone-close-button-transition; 4619 4616 animation-duration: 0.3s; -
trunk/src/wp-content/themes/twentytwentyone/style.css
r49988 r50026 4588 4588 padding-bottom: calc(0.25 * var(--global--spacing-vertical)); 4589 4589 } 4590 @media only screen and (max-width: 481px) { 4591 4592 .menu-button-container { 4593 display: flex; 4594 } 4595 } 4590 4596 4591 4597 .menu-button-container #primary-mobile-menu { 4598 display: flex; 4592 4599 margin-left: auto; 4593 4600 padding: calc(var(--button--padding-vertical) - (0.25 * var(--global--spacing-unit))) calc(0.5 * var(--button--padding-horizontal)); 4594 }4595 @media only screen and (max-width: 481px) {4596 4597 .menu-button-container {4598 display: flex;4599 }4600 }4601 4602 .menu-button-container .button.button {4603 display: flex;4604 4601 font-size: var(--primary-nav--font-size-button); 4605 4602 font-weight: var(--primary-nav--font-weight-button); … … 4609 4606 } 4610 4607 4611 .menu-button-container .button.button.dropdown-icon {4608 .menu-button-container #primary-mobile-menu .dropdown-icon { 4612 4609 display: flex; 4613 4610 align-items: center; 4614 4611 } 4615 4612 4616 .menu-button-container .button.button.dropdown-icon .svg-icon {4613 .menu-button-container #primary-mobile-menu .dropdown-icon .svg-icon { 4617 4614 margin-left: calc(0.25 * var(--global--spacing-unit)); 4618 4615 } 4619 4616 4620 .menu-button-container .button.button.dropdown-icon.open .svg-icon {4617 .menu-button-container #primary-mobile-menu .dropdown-icon.open .svg-icon { 4621 4618 position: relative; 4622 4619 top: -1px; 4623 4620 } 4624 4621 4625 .menu-button-container .button.button.dropdown-icon.close {4622 .menu-button-container #primary-mobile-menu .dropdown-icon.close { 4626 4623 display: none; 4627 4624 } 4628 4625 4629 .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.open {4626 .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.open { 4630 4627 display: none; 4631 4628 } 4632 4629 4633 .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.close {4630 .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close { 4634 4631 display: flex; 4635 4632 } 4636 4633 4637 .has-logo.has-title-and-tagline .menu-button-container .button.button[aria-expanded*=true] .dropdown-icon.close {4634 .has-logo.has-title-and-tagline .menu-button-container #primary-mobile-menu[aria-expanded*=true] .dropdown-icon.close { 4638 4635 animation-name: twentytwentyone-close-button-transition; 4639 4636 animation-duration: 0.3s;
Note: See TracChangeset
for help on using the changeset viewer.