diff --git a/chrome/browser/resources/settings/basic_page/basic_page.html b/chrome/browser/resources/settings/basic_page/basic_page.html index 21f042ff0b77a..fb78a72471076 100644 --- a/chrome/browser/resources/settings/basic_page/basic_page.html +++ b/chrome/browser/resources/settings/basic_page/basic_page.html @@ -5,6 +5,29 @@ overflow: hidden; } + :host([advanced-toggling-in-progress_]) { + -webkit-tap-highlight-color: transparent; + } + + #advancedToggle { + --ink-color: currentColor; + align-items: center; + background: transparent; + border: none; + box-shadow: none; + color: currentColor; + display: flex; + font-weight: 400; + margin-bottom: 3px; + margin-top: 12px; /* Part of a 48px spacer (33px + 12px + 3px). */ + min-height: 32px; + padding: 0 12px; + } + + :host-context(.focus-outline-visible) #advancedToggle:focus { + outline: auto 5px -webkit-focus-ring-color; + } + #osSettingsBanner { background-color: var(--cr-card-background-color); border-radius: var(--cr-card-border-radius); @@ -12,7 +35,27 @@ margin-top: 21px; } - :host(:not([in-search-mode])) settings-section:not([active]) { + #toggleContainer { + align-items: center; + color: var(--cr-primary-text-color); + display: flex; + font: inherit; + justify-content: center; + margin-bottom: 0; + margin-top: 0; + padding-bottom: 0; + padding-top: 0; + } + + #toggleSpacer { + padding-top: 33px; /* Part of a 48px spacer (33px + 12px + 3px). */ + } + + iron-icon { + margin-inline-start: 16px; + } + + :host-context([enable-landing-page-redesign]):host(:not([in-search-mode])) settings-section:not([active]) { display: none; } @@ -110,6 +153,19 @@