Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report: brand the header #1797

Merged
merged 1 commit into from
Mar 1, 2017
Merged

Report: brand the header #1797

merged 1 commit into from
Mar 1, 2017

Conversation

ebidel
Copy link
Contributor

@ebidel ebidel commented Mar 1, 2017

R: all

Little branding for the header. Left the "Beta" banner in for now but we should consider moving it soon.

screen shot 2017-02-28 at 3 58 30 pm

Instead of a data URI, I'd rather link to https://raw.githubusercontent.com/GoogleChrome/lighthouse/master/lighthouse-viewer/app/images/lh_logo_bg.png...but we didn't like that.

@paulirish
Copy link
Member

Here's the beta badge like this:
image

.menu__header::after {
  content: '';
  display: block;
  width: 90px;
  height: 86px;
  position: absolute;
  bottom: 0;
  right: 0;
  background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="86" height="86" viewBox="0 0 86 86"><title>Beta</title><defs><path id="b" d="M-11.704 13.144H125.58v30H-11.703z"/><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="a"><feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" in="shadowBlurOuter1"/></filter><path id="d" d="M.4 16.972h119v28.4H.4z"/><text id="f" font-family="Arial-BoldMT, Arial" font-size="13" font-weight="700" fill="#FFF"><tspan x="37.556" y="34.556">BETA</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="e"><feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation=".5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.140964674 0" in="shadowBlurOuter1"/></filter></defs><g fill="none" fill-rule="evenodd"><g mask="url(#mask-2)" transform="rotate(135 55.44 44.523)"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#CF3A3C" xlink:href="#b"/></g><g mask="url(#mask-2)" transform="rotate(-45 95 36)" fill="white" class=""><use filter="url(#e)" xlink:href="#f"/><use xlink:href="#f"/></g><path d="M8.5-.5l88.204 88.204M8.5-39.5l88.204 88.204" stroke="#FFF" stroke-linecap="square" stroke-dasharray="1,2" opacity=".386" mask="url(#mask-2)" transform="translate(-3)" style="&#10;    transform: rotate(90deg) translateY(81px);&#10;    transform-origin: bottom right;&#10;"/></g></svg>') top right no-repeat;
}

@ebidel
Copy link
Contributor Author

ebidel commented Mar 1, 2017

Looks good.

screen shot 2017-02-28 at 6 38 04 pm

@paulirish paulirish merged commit 647d957 into master Mar 1, 2017
@paulirish paulirish deleted the logo branch March 1, 2017 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants