Advertisement
Guest User

Untitled

a guest
Nov 12th, 2017
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  2.  
  3. /* Remove padding at left of the tab-bar */
  4. .arrowscrollbox-scrollbox
  5. {
  6. padding: 0 !important;
  7. }
  8.  
  9. /* Remove tab curves */
  10. .tabbrowser-tab .tab-background-start,
  11. .tabbrowser-tab .tab-background-end,
  12. .tabbrowser-tab[last-visible-tab]:after /* Hide another tab separator after the last visible tab */
  13. {
  14. display: none !important;
  15. }
  16. .tab-background,
  17. .tab-background-middle,
  18. .tabs-newtab-button
  19. {
  20. background: none !important;
  21. }
  22. .tab-background,
  23. .tab-background-middle,
  24. .tabs-newtab-button
  25. {
  26. border: 0 !important;
  27. margin: 0 !important;
  28. }
  29.  
  30.  
  31. /* Apply background colors from Firefox 28 (before Australis) */
  32. .tabbrowser-tab:hover,
  33. .tabs-newtab-button:hover
  34. {
  35. background-image: linear-gradient(#393F3F, #393F3F) !important;
  36. }
  37. .tabbrowser-tab[selected]
  38. {
  39. background-image: linear-gradient(#393F3F, #393F3F) !important;
  40. }
  41.  
  42. /* Adding borders to tabs */
  43. .tabbrowser-tab,
  44. .tabs-newtab-button
  45. {
  46. background-position: 1px 2px !important;
  47. background-repeat: no-repeat !important;
  48. background-size: calc(-2px + 100%) calc(-2px + 100%) !important;
  49. }
  50. /* Adding borders as border-images to tabs */
  51. .tabbrowser-tab:hover,
  52. .tabs-newtab-button:hover
  53. {
  54. border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAcCAYAAABh2p9gAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAPZJREFUSEutz0kKwlAQhGHjFRQED+BCtx5ANwq6EcnG2cR5NteM59BrxP4lD4IiglRDbar7ffBy8imWyp6lZulaBmlCS2AZZToXOnbcuI63GB5gvdf3h3F885MkaaRpW1qWZqZzoWPHzavjLQYWoH9/PDq2KFjymXjpJz6G3dttAQMLcGRF1fIV+DW8xcByYCXd/T0YDhwLwTHgRAhOAKdCcAo4E4IzwLkQnAMGQjAADIVgCLgQggvApRBcAq6E4ApwLQTXgBshuAHcCsEt4E4I7gD3QnAPeBCCB8CjEDwCnoTgCfAsBM+AFyF4AbwKwStgpAPL0RNseiOcDGPu5QAAAABJRU5ErkJggg==") 4 10 0 3 / 4px 10px 1px 3px stretch !important;
  55. }
  56. .tabbrowser-tab[selected]
  57. {
  58. border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAcCAYAAABh2p9gAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAPZJREFUSEutz0kKwlAQhGHjFRQED+BCtx5ANwq6EcnG2cR5NteM59BrxP4lD4IiglRDbar7ffBy8imWyp6lZulaBmlCS2AZZToXOnbcuI63GB5gvdf3h3F885MkaaRpW1qWZqZzoWPHzavjLQYWoH9/PDq2KFjymXjpJz6G3dttAQMLcGRF1fIV+DW8xcByYCXd/T0YDhwLwTHgRAhOAKdCcAo4E4IzwLkQnAMGQjAADIVgCLgQggvApRBcAq6E4ApwLQTXgBshuAHcCsEt4E4I7gD3QnAPeBCCB8CjEDwCnoTgCfAsBM+AFyF4AbwKwStgpAPL0RNseiOcDGPu5QAAAABJRU5ErkJggg==") 4 10 0 3 / 4px 10px 1px 3px stretch !important;
  59. }
  60.  
  61. /* Make the active tab and navigational toolbar have the same color */
  62. #nav-bar
  63. {
  64. box-shadow: none !important;
  65. background-image: linear-gradient(#393F3F, #393F3F) !important;
  66. }
  67.  
  68. /* Make the active tab and navigational toolbar have no separation line */
  69. /*#nav-bar
  70. {
  71. box-shadow: none !important;
  72. }*/
  73.  
  74. /* Fix AppTabs' height */
  75. #tabbrowser-tabs
  76. {
  77. min-height: 0 !important;
  78. }
  79. .tab-background
  80. {
  81. min-height: 26px !important;
  82. }
  83.  
  84. /* */
  85. /* Ergonomics */
  86. /*____________*/
  87. #TabsToolbar
  88. {
  89. margin: 0 !important;
  90. padding: 0 !important;
  91. background: none !important;
  92. }
  93. /* Decrease side padding in tabs */
  94. .tab-content
  95. {
  96. padding: 0 6px !important;
  97. }
  98.  
  99. /* Fix new tab button's width */
  100. .tabs-newtab-button
  101. {
  102. width: 28px !important;
  103. }
  104.  
  105. /* Light text on a dark background (e.g. input fields) */
  106. input {
  107. -moz-appearance: none !important;
  108. background-color: white;
  109. color: black;
  110. }
  111.  
  112. textarea {
  113. -moz-appearance: none !important;
  114. background-color: white;
  115. color: black;
  116. }
  117.  
  118. select {
  119. -moz-appearance: none !important;
  120. background-color: white;
  121. color: black;
  122. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement