userChrome.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /* Ctrl + Shift + Alt + I */
  2. @import "global/variables.css";
  3. @import "global/global.css";
  4. @import "tabbar/tabbar.css";
  5. @import "navbar/navbar.css";
  6. @import "personalbar/personalbar.css";
  7. #identity-icon,
  8. #connection-icon,
  9. .urlbar-icon,
  10. #identity-icon-labels,
  11. #identity-box {
  12. display: none !important;
  13. }
  14. #nav-bar {
  15. border: none !important;
  16. box-shadow: none !important;
  17. border-top-left-radius: 6px !important;
  18. border-top-right-radius: 6px !important;
  19. }
  20. /* thicc tabs */
  21. .tab-background {
  22. height: 36px !important;
  23. }
  24. /* tab toolbar padding */
  25. #TabsToolbar {
  26. padding-inline-start: 0px !important;
  27. padding-inline-end: 0px !important;
  28. }
  29. /* tab titles */
  30. .tab-text {
  31. text-transform: lowercase;
  32. }
  33. .tab-close-button {
  34. display: none !important;
  35. }
  36. .tab-label-container {
  37. text-align: center;
  38. display: inline-block;
  39. }
  40. /* expand tabs */
  41. .tabbrowser-tab[fadein] {
  42. max-width: initial !important;
  43. }
  44. .tabbrowser-arrowscrollbox > .scrollbutton-up,
  45. .tabbrowser-arrowscrollbox > .scrollbutton-down,
  46. toolbarbutton#new-tab-button,
  47. #alltabs-button {
  48. display: none !important;
  49. }
  50. /* hide rounded corners of document when first/last tab selected */
  51. #tabbrowser-tabs .scrollbox-innerbox,
  52. .tabbrowser-arrowscrollbox {
  53. margin: 0 !important;
  54. }
  55. #tabbrowser-tabs {
  56. margin-left: -8px !important;
  57. }
  58. .tabbrowser-tab:first-child .tab-background::before {
  59. content: "";
  60. background: white;
  61. position: fixed;
  62. top: 36px;
  63. width: 6px;
  64. height: 6px;
  65. opacity: 0;
  66. transition: opacity 400ms;
  67. left: 0;
  68. }
  69. .tabbrowser-tab:last-of-type .tab-background::after {
  70. content: "";
  71. background: white;
  72. position: fixed;
  73. top: 36px;
  74. width: 6px;
  75. height: 6px;
  76. opacity: 0;
  77. transition: opacity 400ms;
  78. right: 0;
  79. }
  80. .tab-background[selected=true]::before, .tab-background[selected=true]::after {
  81. opacity: 1 !important;
  82. }
  83. /* no flash on load */
  84. .tab-loading-burst {
  85. display: none !important;
  86. }
  87. /* favicons */
  88. /*
  89. .tab-icon-image {
  90. border-radius: 99px;
  91. display: block !important;
  92. filter: grayscale(100%) contrast(0%) brightness(50%);
  93. }
  94. */
  95. /* remove toolbox-appcontent border */
  96. #navigator-toolbox::after {
  97. border-bottom: 0 !important;
  98. }
  99. /* userChrome.js (what sorcery is this??) */
  100. /* this is for pretty floating scrollbars */
  101. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  102. toolbarbutton#alltabs-button {
  103. -moz-binding: url("userChrome.xml#js");
  104. }