summaryrefslogtreecommitdiff
path: root/userChrome.css
blob: 3b7ac24ff08d1d9cd16bc78ebf1339a3d008cafc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* ═══════════════════════════════════════════════════════════════════
   🎨 GLOBAL UI TRANSPARENCY
   ═══════════════════════════════════════════════════════════════════ */

/* Main browser window */
#main-window,
#navigator-toolbox,
#browser,
#browser-panel,
#sidebar-box {
  background-color: rgba(0, 54, 54, 0.3) !important;
}

/* Toolbars (tab bar, nav bar, bookmarks bar) */
#TabsToolbar,
#nav-bar,
#PersonalToolbar,
.toolbar-items {
  background-color: rgba(0, 54, 54, 0.3) !important;
  background-image: none !important;
}

/* Sidebar */
#sidebar {
  background-color: rgba(0, 54, 54, 0.3) !important;
}

/* Menus & popups */
menupopup,
panelview,
.panel-subview-body,
.popup-internal-box {
  background-color: rgba(0, 54, 54, 0.3) !important;
}

/* URL bar dropdown */
#urlbar-background,
.urlbarView {
  background-color: rgba(0, 54, 54, 0.3) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   🎨 CSS VARIABLES & THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════════ */

/* Remove forced opaque themes */
:root {
  --toolbar-bgcolor: transparent !important;
  --lwt-accent-color: transparent !important;
  --lwt-toolbar-field-background-color: rgba(0,54,54,0.3) !important;
  --toolbar-field-background-color: rgba(0, 15, 15, 0.3) !important;
  --toolbar-field-focus-background-color: rgba(0, 67, 68, 1) !important;
  --tabs-navbar-separator-color: rgba(0, 0, 0, 0) !important;
}

.tabbrowser-tab[selected="true"] .tab-background,
.tabbrowser-tab[multiselected="true"] .tab-background {
  background-color: rgba(0, 67, 68, 0.3) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   🙈 HIDE UI ELEMENTS
   ═══════════════════════════════════════════════════════════════════ */

/* Hide the normal tab bar */
#TabsToolbar {
  visibility: collapse !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Hide the bookmarks / personal toolbar */
#PersonalToolbar {
  visibility: collapse !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Hide all sidebar headers (History, Bookmarks, etc.) */
/* For old sidebar (sidebar.revamp: false) */
#sidebar-header {
  display: none !important;
}

/* For new revamped sidebar (sidebar.revamp: true) - Firefox 146+ */
#sidebar-panel-header {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════════
   🌳 TREE STYLE TABS CONFIGURATION
   ═══════════════════════════════════════════════════════════════════ */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* Sidebar background when TST is open */
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
  background: rgba(0, 54, 54, 0.3) !important;
}

/* Sidebar content background when TST is active */
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar {
  background-color: rgba(0, 54, 54, 0.3) !important;
}

/* Sidebar overall background */
#sidebar-box {
  background-color: #003636 !important;
}

/* Tree Style Tab tab background */
treechildren::-moz-tree-row(odd),
treechildren::-moz-tree-row(even) {
  background-color: #003636 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   URL SETTINGS
   ═══════════════════════════════════════════════════════════════════ */

/* Always show full URL, even when focused */
#urlbar[focused] #urlbar-input,
#urlbar:not([focused]) #urlbar-input {
  text-align: left !important;
}

/* Disable URL reveal-on-hover behavior */
#urlbar-input {
  overflow: visible !important;
}


#identity-box.extensionPage:has(label[value*="Startpage"]) {
    display: none !important;
}


/* ═══════════════════════════════════════════════════════════════════
   📏 COMPACT TOP BAR
   ═══════════════════════════════════════════════════════════════════ */

/* Make navigation bar taller than URL bar */
#nav-bar {
  max-height: 40px !important;
  min-height: 40px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* Set font size to 13px for top bar elements */
#nav-bar,
#nav-bar * {
  font-size: 13px !important;
}

/* Compact URL bar */
#urlbar,
#urlbar-input {
  font-size: 13px !important;
  min-height: 28px !important;
}

/* Compact toolbar buttons */
#nav-bar toolbarbutton {
  padding: 2px !important;
}

/* Compact URL bar container */
#urlbar-container {
  max-height: 28px !important;
}