Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 908113 - Stop fading in header elements #11694

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 12 additions & 2 deletions shared/style/headers.css
Expand Up @@ -148,12 +148,22 @@ section[role="region"] > header:first-child button:focus {
border: none !important;
}

section[role="region"] > header:first-child a:not([aria-disabled="true"]):not(:active) .icon:after,
section[role="region"] > header:first-child button:not(:disabled):not(:active) .icon:after {
/* keep the #008aaa for 1s so it's visible when back animation kicks in */
transition: background-color 1.0s ease-in;
}

section[role="region"] > header:first-child a:not([aria-disabled="true"]):active .icon:after,
section[role="region"] > header:first-child button:not(:disabled):active .icon:after,
section[role="region"] > header:first-child menu[type="toolbar"] a:not([aria-disabled="true"]):active,
section[role="region"] > header:first-child menu[type="toolbar"] button:not(:disabled):active {
background: #008aaa !important;
transition: background 0.2s ease;
}

section[role="region"] > header:first-child menu[type="toolbar"] a:not([aria-disabled="true"]):not(:active),
section[role="region"] > header:first-child menu[type="toolbar"] button:not(:disabled):not(:active) {
transition: background 0.1s step-end;
}

/* Disabled state */
Expand Down Expand Up @@ -221,7 +231,7 @@ section[role="region"] > header:first-child > button,
section[role="region"] > header:first-child > a {
position: absolute;
left: 0;
width: 5rem;
width: 8rem;
height: 5rem;
background: url(headers/images/ui/separator-large.png) no-repeat 2rem top / 0.2rem 5rem;
overflow: hidden;
Expand Down