summaryrefslogtreecommitdiff
path: root/userContent.css
blob: 0de39f90b47de90bce9a7c4cc9ff9fd353c920fb (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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
/* ╔════════════════════════════════════════════════════════════╗
   ║                        USERCONTENT                         ║
   ╚════════════════════════════════════════════════════════════╝ */
/* userContent.css */
@-moz-document url(about:newtab), url("about:home") {
  html {
    --newtab-background-color: transparent !important;
    --newtab-background-color-secondary: transparent !important;
    background: transparent !important;
  }

  body {
    background: transparent !important;
  }
}


/* ╔════════════════════════════════════════════════════════════╗
   ║                        CHATGPT                             ║
   ╚════════════════════════════════════════════════════════════╝ */
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {

	/* ╔════════════════════════════════════════════════════════════╗
	   ║                     PAGE BACKGROUND                       ║
	   ╚════════════════════════════════════════════════════════════╝ */

	html,
	body {
		min-height: 100% !important;
		overflow-x: hidden !important;
		overflow-y: hidden !important;
		background: transparent !important;
	}

	body::before {
		content: "" !important;
		position: fixed !important;
		inset: 0 !important;
		z-index: -1 !important;
		background-image: transparent !important;
		background-size: cover !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
	}

	#__next {
		background: transparent !important;
		min-height: 100% !important;
		height: auto !important;
	}

	main {
		background: transparent !important;
		min-height: auto !important;
		height: auto !important;
		overflow: visible !important;
		padding-top: 0 !important;
	}


    /* ╔════════════════════════════════════════════════════════════╗
       ║                  ASSISTANT MESSAGE BUBBLES               ║
       ╚════════════════════════════════════════════════════════════╝ */

    div[data-message-author-role="assistant"] {
        margin: 8px 0 !important;
        padding: 12px 16px !important;
        /* border: 1px solid rgba(17, 190, 191, 0.8) !important; */
        border-radius: 14px !important;
        background-color: rgba(0, 54, 54, 0) !important;
    }


    /* ╔════════════════════════════════════════════════════════════╗
       ║                     COMPOSER / PROMPT                    ║
       ╚════════════════════════════════════════════════════════════╝ */

	[data-type="unified-composer"] .bg-token-bg-primary {
		background-color: rgba(0, 35, 35, 0.5) !important;
		backdrop-filter: blur(10000px) !important;
	}


    /* ╔════════════════════════════════════════════════════════════╗
       ║                    MAIN CHAT WIDTH                       ║
       ╚════════════════════════════════════════════════════════════╝ */

    .max-w-\(--thread-content-max-width\) {
        width: 85vw !important;
        max-width: 85vw !important;
    }

    body:has(aside) .max-w-\(--thread-content-max-width\) {
        width: calc(85vw - 16rem) !important;
        max-width: calc(85vw - 16rem) !important;
    }

    body {
        overflow-x: hidden !important;
    }


    /* ╔════════════════════════════════════════════════════════════╗
       ║                    SIDEBAR FOUNDATION                    ║
       ╚════════════════════════════════════════════════════════════╝ */

    aside,
    #stage-slideover-sidebar {
        background-color: #003636 !important;
        background-image: none !important;
        --sidebar-bg: #003636 !important;
        --bg-elevated-secondary: #003636 !important;
    }

    #stage-slideover-sidebar .shadow-sharp-edge-bottom {
        box-shadow: none !important;
    }

    #sidebar-header,
    .touch\:px-1\.5.px-2 {
        background-color: #003636 !important;
    }


    /* ╔════════════════════════════════════════════════════════════╗
       ║                     SIDEBAR ITEMS                        ║
       ╚════════════════════════════════════════════════════════════╝ */

    .__menu-item[data-sidebar-item="true"] {
        background-color: #003636 !important;
        border-radius: 10px !important;
    }

    .__menu-item[data-sidebar-item="true"]:hover {
        background-color: #004344 !important;
    }

    a[data-sidebar-item="true"] > div.flex.min-w-0.grow.items-center.gap-2\.5 {
        border-radius: 10px !important;
    }

    a[data-sidebar-item="true"]:hover:not([data-active]) > div.flex.min-w-0.grow.items-center.gap-2\.5 {
        background-color: #004344 !important;
    }

    .__menu-item[data-sidebar-item="true"][data-active] {
        background-color: #008282 !important;
        border-radius: 10px !important;
    }


    /* ╔════════════════════════════════════════════════════════════╗
       ║                    ACCOUNT / PROFILE                     ║
       ╚════════════════════════════════════════════════════════════╝ */

    [data-testid="accounts-profile-button"] {
        background-color: #003636 !important;
        border-radius: 10px !important;
    }

    [data-testid="accounts-profile-button"]:hover {
        background-color: #004344 !important;
    }


    /* ╔════════════════════════════════════════════════════════════╗
       ║                     HEADER STYLING                       ║
       ╚════════════════════════════════════════════════════════════╝ */

    header,
    [data-testid="conversation-header"] {
        background-color: #003636 !important;
        background-image: none !important;
        backdrop-filter: none !important;
    }

    @media (min-width: 1024px) {
        header,
        [data-testid="conversation-header"] {
            background-color: transparent !important;
            background-image: none !important;
            backdrop-filter: none !important;
        }
    }

/* ╔════════════════════════════════════════════════════════════╗
   ║                    CODE BLOCK STYLING                    ║
   ╚════════════════════════════════════════════════════════════╝ */

/* CODE BLOCK STYLING */
div.rounded-3xl.bg-token-bg-elevated-secondary:has(#code-block-viewer) {
    background-color: rgba(0, 35, 35, 0.5) !important;
}


	/* ╔════════════════════════════════════════════════════════════╗
	   ║                 REMOVE BOTTOM GREY / BLUR                 ║
	   ╚════════════════════════════════════════════════════════════╝ */

	.content-fade::after,
	.content-fade,
	.bg-token-bg-elevated-secondary,
	.bg-token-bg-primary,
	.bg-token-main-surface-primary,
	.bg-token-main-surface-secondary,
	.bg-token-sidebar-surface-primary,
	.bg-token-sidebar-surface-secondary {
		background: transparent !important;
		background-color: transparent !important;
		background-image: none !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}

	/* Composer / bottom dock wrappers */
	[data-type="unified-composer"],
	[data-type="unified-composer"] > div,
	form:has(#prompt-textarea),
	form:has(.ProseMirror) {
		background: transparent !important;
		background-color: transparent !important;
		background-image: none !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		box-shadow: none !important;
	}

}