OK, die Grafik ist hier mein Problem.
Hmm, die Sucht war wieder stärker...
Die Rundungen passen noch nicht ganz, und die Kanten bzw. Trennlinien links/rechts sind wirklich eine Pest, aber kannst ja mal probieren.
CSS
:root {
--ug-height: calc(var(--tab-min-height) / 2);
--ug-radius: 18px;
--ug-fill: cyan;
--ug-stroke: hsla(0, 100%, 50%, 0.5);
--ug-color-border: hsla(0, 100%, 50%, 0.5);
--ug-color1: hsla(0, 0%, 83%, 0.5);
--ug-color2: hsla(35, 80%, 60%, 0.5);
--ug-color3: hsla(0, 0%, 83%, 1);
--ug-color_hova: hsla(0, 0%, 63%, 0.5);
/*--ug-color_test_text: hsla(0, 0%, 13%, 1) !important;*/
}
#TabsToolbar {
background-image: linear-gradient(to top,
var(--ug-color3) 5px, transparent 5px) !important;
/*outline: 1px solid grey !important;
outline-offset: -1px !important;*/
-moz-context-properties: fill, stroke, stroke-opacity !important;
}
.tab-label, .tab-close-button {
color: var(--ug-color_test_text) !important;
text-shadow: none !important;
}
#TabsToolbar toolbarbutton {
margin-top: -4px !important;
}
#tabbrowser-tabs {
--ug_margin_plus: -2px 2px;
}
:is(#scrollbutton-up, #scrollbutton-down) {
margin-block: var(--ug_margin_plus) !important;
}
#tabbrowser-arrowscrollbox-periphery #tabs-newtab-button .toolbarbutton-icon {
/*margin-left: 8px !important;*/
border-radius: 50% !important;
}
.tabbrowser-tab:is([visuallyselected], [multiselected]) {
z-index: 2 !important;
}
/* tabs distance */
.tabbrowser-tab:not([pinned]) {
/*padding-inline: 16px !important;*/
padding-inline: 2px !important;
overflow: visible !important;
}
/*
.tab-stack {
overflow: hidden !important;
background-clip: padding-box;
}*/
/*** tabs base ***/
.tabbrowser-tab .tab-background {
background-color: var(--ug-color1) !important;
color: var(--ug-color_test_text) !important;
/*border-image: linear-gradient(to top,
var(--ug-color1), var(--ug-color1)) 1 / 0 0 1px 0 !important;*/
border-image-outset: 0 1px !important;
fill: var(--ug-color1, transparent) !important;
/*stroke: var(--ug-stroke) !important;*/
outline: none !important;
box-shadow: inset 0px 1px var(--ug-color-border) !important;
}
/* tabs selected */
.tabbrowser-tab:is([visuallyselected], [multiselected]) .tab-background {
background-image: none !important;
background-color: var(--ug-color2) !important;
fill: var(--ug-color2, transparent) !important;
}
/* tabs unselected hover */
.tabbrowser-tab:not([visuallyselected], [multiselected]):hover .tab-background {
background-color: var(--ug-color_hova) !important;
fill: var(--ug-color_hova) !important;
}
/*** tabs Radien ***/
.tabbrowser-tab .tab-background {
border-radius: var(--ug-radius) var(--ug-radius) var(--ug-radius) 0 !important;
}
.tabbrowser-tab:is([visuallyselected], [pinned]) .tab-background {
border-radius: var(--ug-radius) var(--ug-radius) 0 0 !important;
}
.tabbrowser-tab:is([visuallyselected]) + .tabbrowser-tab:not([visuallyselected]) .tab-background {
border-radius: var(--ug-radius) !important;
}
.tabbrowser-tab:last-of-type .tab-background {
border-radius: var(--ug-radius) var(--ug-radius) 0 0 !important;
}
.tabbrowser-tab:is([visuallyselected]) + .tabbrowser-tab:not([visuallyselected]):last-of-type .tab-background {
border-radius: var(--ug-radius) var(--ug-radius) 0 var(--ug-radius) !important;
}
/* tabs bottom corners */
.tabbrowser-tab:not([pinned]) .tab-background::before,
.tabbrowser-tab:not([pinned]) .tab-background::after {
content: "";
width: 36px !important;
height: 36px !important;
position: absolute;
bottom: 5px;
/*outline: 1px solid white !important;
outline-offset: -1px !important;*/
background-repeat: no-repeat !important;
background-position: bottom left !important;
stroke: var(--ug-stroke) !important;
}
.tabbrowser-tab:not([pinned]) .tab-background::before {
left: -18px;
background-image: url(icons/Tab-corner-left.svg) !important;
background-size: 18px !important;
}
.tabbrowser-tab:not([pinned]):is([visuallyselected], :last-of-type) .tab-background::after {
right: -18px;
background-image: url(icons/Tab-corner-left.svg) !important;
background-size: 18px !important;
transform: scaleX(-1) !important;
}
.tabbrowser-tab:is([visuallyselected]) + .tabbrowser-tab:not([visuallyselected]) .tab-background::before {
background-image: none !important;
}
/* TEST Tabs Ellipsis */
.tab-label-container {
mask-image: none !important;
}
.tab-label {
overflow: hidden !important;
/*text-overflow: ellipsis !important;*/
text-overflow: " ..." !important;
white-space: nowrap !important;
max-width: 100% !important;
}
/*-----------------------------------------------*/
/**** Tabtext nicht verkürzt bei hover ****/
/*-----------------------------------------------*/
/* Ein längerer Tabtext wird am Ende ja ausgeblendet. */
/* Diese Verkürzung bei hover hätte ich gerne verhindert. */
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-content > .tab-close-button {
padding-inline-start: 7px !important;
width: 24px !important;
}
/*---------------------------------------------------*/
/************** Tab schließen X hover ***************/
/*---------------------------------------------------*/
.tab-content > .tab-close-button:hover {
color: var(--ug-color_test_text) !important;
background-color: rgba(255, 0, 0, 0.4) !important; /* Rot */
box-shadow: 0 0 1em rgba(255, 0, 0, 0.7) !important; /* Rot, glow */
outline: none !important;
/* background: #E81123 !important; */ /* Kirschrot rgb(232, 17, 35) */
/* box-shadow: inset 0px 0px 4px 0px #ff0000 !important; */ /* Hellrot rgb(255, 0, 0) */
}
Alles anzeigen