Code Monkey home page Code Monkey logo

Comments (2)

bmFtZQ avatar bmFtZQ commented on August 21, 2024

You can disable the outline by replacing/removing these parts of the theme (easiest way is to set the outline: none or outline-color: transparent:

chrome/content/newtab.css, line 82 (newtab search bar):

.search-wrapper.fake-focus:not(.search.disabled) .search-handoff-button {
  border-color: transparent !important;
  outline: 2px solid var(--newtab-primary-action-background) !important;
  outline-offset: -1px !important;
}

chrome/content/newtab.css, line 194 (private newtab search bar):

.search-handoff-button.focused:not(.disabled) {
  box-shadow: none !important;
  outline: 2px solid var(--in-content-focus-outline-color) !important;
  outline-offset: -1px !important;
}

chrome/toolbar/findbar.css, line 18 (find in page search bar):

.findbar-textbox:focus {
  outline: 2px solid var(--focus-outline-color, -moz-accent-color) !important;
  outline-offset: -1px !important;
}

chrome/toolbar/urlbar.css, line 12 (urlbar):

:root[style*="--lwt-accent-color: rgb(240, 240, 244)"] #urlbar[focused="true"]:not([suppress-focus-border])>#urlbar-background,
:root[style*="--lwt-accent-color: rgb(240, 240, 244)"] #searchbar:focus-within {
  outline-color: color-mix(in srgb, var(--toolbar-field-focus-border-color) 50%, transparent) !important;
}

The newtab search bar should be centred vertically when no other items are checked now.

from edge-frfox.

VitalSkib avatar VitalSkib commented on August 21, 2024

Oh, thank you very much.
I was able to figured it out on my own already, but it was not easy.. πŸ€ͺ

from edge-frfox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.