/* {{@@ header() @@}}
 _____ _           __
|  ___(_)_ __ ___ / _| _____  __
| |_  | | '__/ _ \ |_ / _ \ \/ /
|  _| | | | |  __/  _| (_) >  <
|_|   |_|_|  \___|_|  \___/_/\_\
*/

/*** BEGIN Firefox 91 Undo changes in Proton redesign ***/
    :root {
      --arrowpanel-menuitem-padding: 2px !important;
    }
    /* .titlebar-color {
      color: -moz-accent-color-foreground;
      background-color: -moz-accent-color;
    } */
    .tab-background {
      border-radius: 0px 0px !important;
      margin-bottom: 0px !important;
      margin-block: 0px !important;
    }
    .tabbrowser-tab[selected="true"] .tab-background {
      border-top: 2px solid {{@@ accent_color @@}} !important;
    }
    /*.tabbrowser-tab:not([selected="true"]):not([multiselected="true"]) .tab-background {
      background-color: color-mix(in srgb, currentColor 5%, transparent);
    }*/
    menupopup > menu, menupopup > menuitem {
      padding-block: 2px !important;
    }
    .toolbar-items, .tabbrowser-tab {
      max-height: 38px;
    }

    :root[uidensity=touch] .toolbar-items, .tabbrowser-tab {
      max-height: 45px;
    }
/*** END Firefox 91 Undo changes in Proton redesign ***/
/*** BEGIN Firefox 77 (June 2, 2020) Override URL bar enlargement ***/

  /* Compute new position, width, and padding */

  #urlbar[breakout][breakout-extend] {
    top: 5px !important;
    left: 0px !important;
    width: 100% !important;
    padding: 0px !important;
  }
  /* for alternate Density settings */
  [uidensity="compact"] #urlbar[breakout][breakout-extend] {
    top: 3px !important;
  }
  [uidensity="touch"] #urlbar[breakout][breakout-extend] {
    top: 4px !important;
  }

  /* Prevent shift of URL bar contents */

  #urlbar[breakout][breakout-extend] > #urlbar-input-container {
    height: var(--urlbar-height) !important;
    padding: 0 !important;
  }

  /* Do not animate */

  #urlbar[breakout][breakout-extend] > #urlbar-background {
    animation: none !important;;
  }

  /* Remove shadows */

  #urlbar[breakout][breakout-extend] > #urlbar-background {
    box-shadow: none !important;
  }

/*** END Firefox 77 (June 2, 2020) Override URL bar enlargement ***/
/*** BEGIN Remove webRTC indicator ***/

#webrtcIndicator {
  display: none;
}
/*** END Remove webRTC indicator ***/
