Hi. Haven't found anything about how to style Ctrl+Tab switcher.
Did it possible with Stylish?
Styling Ctrl+Tab switcher (Linux)
-
- Posts: 2
- Joined: October 20th, 2016, 11:26 am
Styling Ctrl+Tab switcher (Linux)
Last edited by DanRaisch on October 20th, 2016, 1:42 pm, edited 1 time in total.
Reason: "(Linux)" added to subject line.
Reason: "(Linux)" added to subject line.
-
- Posts: 10
- Joined: April 21st, 2015, 3:00 am
Re: Styling Ctrl+Tab switcher (Linux)
Yes, you can do it with Stylish. https://userstyles.org/styles/8843/ctrl ... ground-fx3 <- This ia a little outdated but when you add some #id's from your version it should work. Ask here if you need further assistance.
-
- Posts: 2
- Joined: October 20th, 2016, 11:26 am
Re: Styling Ctrl+Tab switcher (Linux)
Very fine, thanks! Currently i'm found that only styling for #ctrlTab-panel works. Transparency could be set for background, at least.greenenemy wrote:Yes, you can do it with Stylish. https://userstyles.org/styles/8843/ctrl ... ground-fx3 <- This ia a little outdated but when you add some #id's from your version it should work. Ask here if you need further assistance.
But styling for other #id's from https://dxr.mozilla.org/mozilla-beta/so ... rowser.xul not work. Hmmm.
-
- Posts: 10
- Joined: April 21st, 2015, 3:00 am
Re: Styling Ctrl+Tab switcher (Linux)
You can use these selectors: .ctrlTab-preview, .ctrlTab-preview:focus and .ctrlTab-preview-inner, .tabPreview-canvas, .ctrlTab-favicon-container , .ctrlTab-favicon and some others.
I found it with Browser toolbox and inspect element.
default values for firefox dev edition on win10:
I found it with Browser toolbox and inspect element.
default values for firefox dev edition on win10:
Code: Select all
#ctrlTab-panel {
-moz-appearance: none;
background: hsla(0,0%,33%,.85);
color: white;
border-style: none;
padding: 20px 10px 10px;
font-weight: bold;
text-shadow: 0 0 1px hsl(0,0%,12%), 0 0 2px hsl(0,0%,12%);
}
.ctrlTab-preview {
-moz-binding: url("chrome://browser/content/browser-tabPreviews.xml#ctrlTab-preview");
}
.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner {
margin: -10px -10px 0;
}
.ctrlTab-preview-inner {
padding: 8px;
border: 2px solid transparent;
border-radius: .5em;
}
tabPreview-canvas
element {
max-width: 272px;
min-width: 272px;
max-height: 153px;
min-height: 153px;
}
.ctrlTab-favicon-container {
-moz-box-align: start;
-moz-box-pack: start;
}
.ctrlTab-favicon[src] {
background-color: white;
width: 20px;
height: 20px;
padding: 2px;
}