Advertisement
veso266

Neat firefox theme

Jun 29th, 2022
951
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Photon Australis - Curve Tabs CSS mod *********************************************************/
  2. /* by wilfredwee *********************************************************************************/
  3. /* with addional code by teijiIshida ************************************************************/
  4. /* Github: https://github.com/wilfredwee/photon-australis ***************************************/
  5. /************************************************************************************************/
  6.  
  7. /************************************************************************************************/
  8. /* based on wilfredwee's Default theme CSS mod v0.3.0 *******************************************/
  9. /************************************************************************************************/
  10.  
  11. :root {
  12.   --tab-curve-width: 30px;
  13.   --tabs-border: transparent !important;
  14. }
  15.  
  16. .arrowscrollbox-scrollbox {
  17.   padding-inline-start: 10px !important;
  18. }
  19.  
  20. /* To be able to see the top border of the tab */
  21. .tab-stack {
  22.   margin-top: 2px !important;
  23. }
  24.  
  25. /* When the window is maximized, the first pinned tab is properly displayed. */
  26. #TabsToolbar  {
  27.   padding-inline-start: 15px !important;
  28. }
  29.  
  30. .titlebar-spacer {
  31.   border: none !important;
  32. }
  33.  
  34. /* Remove unneeded styles from Photon */
  35. .tabbrowser-tab::before,
  36. .tabbrowser-tab::after {
  37.   border: none !important;
  38. }
  39.  
  40. .tabbrowser-tab > .tab-stack > .tab-background {
  41.   background-image: none !important;
  42.   -moz-box-orient: horizontal !important;
  43.   background-color: transparent !important;
  44.   margin-top: 1px !important;
  45. }
  46.  
  47. .tab-background[selected="true"] {
  48.   border: none !important;
  49. }
  50.  
  51. .tab-line {
  52.   display: none !important;
  53. }
  54.  
  55. .tab-context-line {
  56.   display: none !important;
  57. }
  58.  
  59. /* Match height of new tab button (right svg) on hover */
  60. #tabs-newtab-button {
  61.   margin: 0 !important;
  62. }
  63.  
  64. /* overlap the tab curves */
  65. .tab-background {
  66.   -moz-margin-end: -15px !important;
  67.   -moz-margin-start: -15px !important;
  68. }
  69.  
  70. /* Begin tab background customizations */
  71. .tab-background[selected="true"]::before {
  72.   border: none !important;
  73.   content: "" !important;
  74.   width: 30px !important;
  75.   min-height: 30px !important;
  76.   display: -moz-box !important;
  77.   background-repeat: no-repeat !important;
  78. }
  79.  
  80. .tab-background[selected="true"]::after {
  81.   border: none !important;
  82.   content: "" !important;
  83.   width: 30px !important;
  84.   min-height: 30px !important;
  85.   display: -moz-box !important;
  86.   background-repeat: no-repeat !important;
  87. }
  88.  
  89. .tab-background[selected="true"]{
  90.   margin-top: 0px !important;
  91. }
  92.  
  93. #new-tab-button,
  94. #tabs-newtab-button {
  95.   width: calc(36px + 30px) !important;
  96.   margin-inline-start: -15px !important;
  97.   margin-top: 1px !important;
  98. }
  99.  
  100. /* Tab hover customizations */
  101. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::before {
  102.   display: -moz-box !important;
  103.   background-repeat: no-repeat !important;
  104.   content: "" !important;
  105.   width: 30px !important;
  106.   min-height: 30px !important;
  107.   background-color: transparent !important;
  108. }
  109.  
  110. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::after {
  111.   display: -moz-box !important;
  112.   background-repeat: no-repeat !important;
  113.   content: "" !important;
  114.   width: 30px !important;
  115.   min-height: 30px !important;
  116.   background-color: transparent !important;
  117. }
  118.  
  119. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) >  .tab-loading-burst{
  120.   margin-top: 0px !important;
  121. }
  122.  
  123. #TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"]),
  124. #tabs-newtab-button:hover,
  125. #tabs-newtab-button:hover::before,
  126. #tabs-newtab-button:hover::after {
  127.   background-color: transparent !important;
  128. }
  129.  
  130. /* New tab hover customizations */
  131. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"]), #tabs-newtab-button:hover {
  132.   background-position: 0px 2px, 30px 4px , right bottom !important;
  133.   background-repeat: no-repeat !important;
  134.   background-size: 30px 30px, calc(100% - (2 * 30px)) 30px, 30px !important;
  135. }
  136.  
  137. #tabs-newtab-button:hover > .toolbarbutton-icon {
  138.   background: none !important;
  139.   background-color: transparent !important;
  140. }
  141.  
  142.  
  143. /* Inactive tab customizations */
  144. .tab-background:not([selected])::before {
  145.   border: none !important;
  146.   content: "" !important;
  147.   width: 30px !important;
  148.   min-height: 30px !important;
  149.   display: -moz-box !important;
  150.   background-repeat: no-repeat !important;
  151. }
  152.  
  153. .tab-background:not([selected])::after {
  154.   border: none !important;
  155.   content: "" !important;
  156.   width: 30px !important;
  157.   min-height: 30px !important;
  158.   display: -moz-box !important;
  159.   background-repeat: no-repeat !important;
  160. }
  161.  
  162. .tab-background:not([selected]) >  .tab-loading-burst{
  163.   margin-top: 0px !important;
  164. }
  165.  
  166.  
  167. /******************************************** SVG: Color specific customizations ********************************************/
  168. /* ACTIVE Tab */
  169. .tab-background[selected="true"]::before {
  170.     /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgb(193, 193, 193);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important; */
  171.    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgb(67, 81, 104);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  172. }
  173.  
  174. .tab-background[selected="true"]::after {
  175.    /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgb(193, 193, 193);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important; */
  176.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgb(67, 81, 104);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  177. }
  178.  
  179. .tab-background[selected="true"] > .tab-loading-burst{
  180.   background-image:
  181.   linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
  182.   linear-gradient(
  183.     transparent
  184.     2px,
  185.     /*
  186.     rgb(193, 193, 193) 2px,
  187.     rgb(193, 193, 193)
  188.     */
  189.     rgb(67, 81, 104) 2px,
  190.     rgb(67, 81, 104)
  191.   ),
  192.   none !important;
  193. }
  194.  
  195. /* Hover Tab */
  196. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::before {
  197.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='30px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1.69,0.0625 0.05,0 0,0.938 -0.9,0 0,-0.028 C 0.75,0.95840561 0.5453096,0.81970962 0.53499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='30' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgba(255, 255, 255, 0.8);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  198. }
  199.  
  200. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true])::after {
  201.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgba(255, 255, 255, 0.8);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  202. }
  203.  
  204. .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) >  .tab-loading-burst{
  205.   background-image:
  206.   linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
  207.   linear-gradient(
  208.     transparent
  209.     2px,
  210.     rgba(255,255,255, 0.8) 2px,
  211.     rgba(255,255,255, 0.8)
  212.   ),
  213.   none !important;
  214. }
  215.  
  216. #tabs-newtab-button:hover {
  217.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1.68,0.0625 0.05,0 0,0.938 -0.9,0 0,-0.028 C 0.75,0.95840561 0.5453096,0.81970962 0.53499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgba(255,255,255, 0.3);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>"),
  218.     linear-gradient(rgba(255,255,255, 0.3), rgba(255,255,255, 0.3)),
  219.                     url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='30px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1.68,0.0625 0.05,0 0,0.938 -0.9,0 0,-0.028 C 0.75,0.95840561 0.5453096,0.81970962 0.53499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgba(255,255,255, 0.3);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>")
  220.     !important;
  221. }
  222.  
  223.  
  224. /* Inactive Tabs */
  225. .tab-background:not([selected])::before {
  226.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1.77,0.0625 0.05,0 0,0.938 -0.9,0 0,-0.028 C 0.75,0.95840561 0.5453096,0.81970962 0.53499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgba(255,255,255,0.6);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  227. }
  228.  
  229. .tab-background:not([selected])::after {
  230.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgba(255,255,255, 0.6);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  231. }
  232.  
  233. .tab-background:not([selected]) > .tab-loading-burst{
  234.   background-image:
  235.   linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
  236.   linear-gradient(
  237.     transparent
  238.     2px,
  239.     rgba(255,255,255, 0.6) 2px,
  240.     rgba(255,255,255, 0.6)
  241.   ),
  242.   none !important;
  243. }
  244.  
  245.  
  246. /* Fix for first tab curve: INACTIVE */
  247. #tabbrowser-tabs tab:first-child > .tab-stack > .tab-background:not([selected])::before {
  248.     background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgba(255,255,255,0.6);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  249. }
  250.  
  251. #tabbrowser-tabs tab:first-child > .tab-stack > .tab-background:not([selected])::after {
  252.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgba(255,255,255, 0.6);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  253. }
  254.  
  255. #tabbrowser-tabs tab:first-child > .tab-stack > .tab-background:not([selected]) >  .tab-loading-burst {
  256.   background-image:
  257.   linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
  258.   linear-gradient(
  259.     transparent
  260.     2px,
  261.     rgba(255,255,255, 0.6) 2px,
  262.     rgba(255,255,255, 0.6)
  263.   ),
  264.   none !important;
  265. }
  266.  
  267.  
  268. /* Fix for first tab curve: HOVER */
  269. #tabbrowser-tabs tab:first-child:hover > .tab-stack > .tab-background:not([selected])::before {
  270.     background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-start)'><div id='tab-background-fill' style='background-color:rgba(255,255,255,0.8);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  271. }
  272.  
  273. #tabbrowser-tabs tab:first-child:hover > .tab-stack > .tab-background:not([selected])::after {
  274.   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' width='30px' height='31px' preserveAspectRatio='none'><defs><svg:clipPath id='tab-curve-clip-path-start' clipPathUnits='objectBoundingBox'><svg:path d='m 1,0.0625 0.05,0 0,0.938 -1,0 0,-0.028 C 0.32082458,0.95840561 0.4353096,0.81970962 0.48499998,0.5625 0.51819998,0.3905 0.535,0.0659 1,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-curve-clip-path-end' clipPathUnits='objectBoundingBox'><svg:path d='m 0,0.0625 -0.05,0 0,0.938 1,0 0,-0.028 C 0.67917542,0.95840561 0.56569036,0.81970962 0.51599998,0.5625 0.48279998,0.3905 0.465,0.0659 0,0.0625 z'/></svg:clipPath><svg:clipPath id='tab-hover-clip-path' clipPathUnits='objectBoundingBox'><svg:path d='M 0,0.2 0,1 1,1, 1,0.2 z'/></svg:clipPath></defs><foreignObject width='30' height='31' clip-path='url(%23tab-curve-clip-path-end)'><div id='tab-background-fill' style='background-color:rgba(255,255,255, 0.8);background-repeat:no-repeat;height:100%;width:100%;' xmlns='http://www.w3.org/1999/xhtml'></div></foreignObject></svg>") !important;
  275. }
  276.  
  277. #tabbrowser-tabs tab:first-child:hover > .tab-stack > .tab-background:not([selected]) > .tab-loading-burst {
  278.   background-image:
  279.   linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
  280.   linear-gradient(
  281.     transparent
  282.     2px,
  283.     rgba(255,255,255, 0.8) 2px,
  284.     rgba(255,255,255, 0.8)
  285.   ),
  286.   none !important;
  287. }
  288.  
  289.  
  290. /* Change color of all tabs' text */
  291.  
  292. /* Change color of in-active tab */
  293. #TabsToolbar .tabbrowser-tab:not([selected]){
  294.     color: rgb(5, 36, 173) !important;
  295. }
  296.  
  297.  
  298. /* Bold ACTIVE tab and set its color to white */ /* Change color of active tab */
  299. #TabsToolbar .tabbrowser-tab[selected] {
  300.     font-weight: bold !important;
  301.     color: white !important;
  302.     text-shadow: none;
  303. }
  304. :root{ --tab-block-margin: 0px !important; --tab-min-height: 31px !important; }
  305. .tab-background{ border-radius: 0 !important; box-shadow: none !important; }
  306. .tabbrowser-tab{ padding-inline: 0px !important; }
  307. #tabbrowser-tabs{ --scrollbutton-margin: 0px; }
  308. #scrollbutton-up,#scrollbutton-down{ border-block: var(--scrolllbutton-margin,initial) !important; }
Advertisement
RAW Paste Data Copied
Advertisement