summary refs log tree commit diff
path: root/.mozilla/firefox/hibiki.default/chrome/userChrome.css
blob: 6d2d27cee40dd116a5dcad2f4ca8e9c1911bca9e (plain) (blame)
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
/* vim: foldmethod=marker
 */

@import url(lepton.userChrome.css);
@import url(csshacks.hide_tabs_toolbar_v2.css);
@import url(user.urlbar.css);
@import url(user.sidebar.css);

@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
@namespace html "http://www.w3.org/1999/xhtml";

* {
    font-family: "Iosevka Aile", monospace !important;
}

@media (-moz-toolbar-prefers-color-scheme: dark),
(prefers-color-scheme: dark) {
    :root {
        --toolbar-non-lwt-bgcolor: #040405 !important;
        --toolbar-bgcolor: #040405 !important;
        --toolbar-color: #fffffb !important;
    }
}

:root {
    --urlbar-box-bgcolor: var(--toolbar-bgcolor) !important;
    --urlbar-icon-fill-opacity: 0.8 !important;
    --arrowpanel-background: var(--toolbar-bgcolor) !important;

    --chrome-content-separator-color: #70649ab0 !important;
}

/* prevent pre-load flash bang */
.browserContainer {
    background-color: var(--toolbar-bgcolor) !important;
}

.tabbrowser tabpanels {
    background-color: var(--toolbar-bgcolor) !important;
}

#titlebar {
    display: none !important;
}

.titlebar-spacer[type="pre-tabs"],
.titlebar-spacer[type="post-tabs"] {
    width: 0 !important;
}

/* = RADIUS STUFF ========================================================== */

/* Makes urlbar and many other things sharper on the edges */
:root {
    --any-border-radius: 0;
    --toolbarbutton-border-radius: var(--any-border-radius) !important;
    --urlbar-icon-border-radius: var(--any-border-radius) !important;
    --arrowpanel-menuitem-border-radius: var(--any-border-radius) !important;
    --arrowpanel-border-radius: var(--any-border-radius) !important;
}

menupopup,
panel {
    --panel-padding: 0 !important;
    --panel-border-radius: var(--any-border-radius) !important;
}

.dialogBox {
    border-radius: var(--any-border-radius) !important;
}

/* Hide the back and forward buttons */
#main-window :-moz-any(#back-button, #forward-button) {
    display: none !important;
}

/* Disable statuspanel completely, remove this if you want to keep the statuspanel */
statuspanel {
    display: none !important;
}

/* = PANEL STUFF =========================================================== */

:root {
    /*removes any excess space at start/end of toolbar*/
    --toolbarbutton-outer-padding: 0 !important;
    --toolbar-start-end-padding: 0 !important;
}

#TabsToolbar {
    display: none !important;
}

#nav-bar {
    /*removes thin space at the top of window*/
    border-top: none !important;
}

/*spacer cannot be removed via customize, do this instead*/
#nav-bar toolbarspring {
    min-width: 0 !important;
    flex-grow: 0 !important;
}

.titlebar-spacer {
    width: 0 !important;
}