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

Per-site Redirect Opt-out #687

Merged
merged 11 commits into from
Mar 5, 2019
Prev Previous commit
Next Next commit
style(browserAction): tweak style of active tab items
This removes dotted border and introduces familiar grandient
as sugegsted in
#687 (comment)
  • Loading branch information
lidel committed Feb 23, 2019
commit 1f939d6f4210dfa85904477d3ce54f9f81f5717d
4 changes: 2 additions & 2 deletions add-on/src/popup/browser-action/context-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ function activeTabActions (state) {
const showActiveTabSection = (state.active && state.globalRedirectEnabled && state.ipfsNodeType === 'external') || state.isIpfsContext
if (!showActiveTabSection) return
return html`
<div class="no-select w-100 outline-0--focus tl ba b--dashed b--navy-muted">
<div class="ph3 pv2 tr charcoal bg-snow-muted truncate tl">
<div class="no-select w-100 outline-0--focus tl">
<div class="ph3 pv2 white f7 ttu" style="background-image: url('../../../images/stars.png'), linear-gradient(to left, #041727 0%,#043b55 100%); background-size: 100%; background-repeat: repeat;">
${browser.i18n.getMessage('panel_activeTabSectionHeader')}
</div>
${contextActions(state)}
Expand Down