forked from aminomancer/uc.css.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext-bitwarden.css
137 lines (113 loc) · 5.11 KB
/
ext-bitwarden.css
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
/* This Source Code Form is subject to the terms of the Creative Commons
* Attribution-NonCommercial-ShareAlike International License, v. 4.0.
* If a copy of the CC BY-NC-SA 4.0 was not distributed with this
* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/
* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */
/* bitwarden. requires extensionStylesheetLoader.uc.js */
iframe#bit-notification-bar-iframe[src^="moz-extension://"] {
filter: none !important;
box-shadow: 0 3px 8px hsla(0, 0%, 0%, 0.1), 0 0 2px hsla(0, 0%, 0%, 0.3) !important;
}
@-moz-document regexp("^moz-extension://.*/popup/index.html.*") {
@supports -moz-bool-pref("userChrome.css.mac-ui-fonts") {
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] :where(body, input, button) {
font-family: SF Pro, SF Arabic, Segoe UI, sans-serif !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] header .search .fa {
top: 14px !important;
}
}
}
@-moz-document regexp("^moz-extension://.*/notification/bar.html.*") {
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] body {
background: var(--in-content-box-background) !important;
color: var(--plaintext-color) !important;
color-scheme: dark !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] .outer-wrapper {
padding-inline: 8px !important;
grid-template-columns: max-content auto max-content !important;
grid-column-gap: 8px !important;
border-color: var(--in-content-border-color-dim) !important;
border: none !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] .add-text {
user-select: none;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] .add-buttons {
display: flex;
flex-flow: row nowrap;
gap: 8px;
margin-inline: 16px !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] .add-buttons .link {
padding: 4px !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] :where(button.link, button.neutral) {
color: var(--in-content-link-color) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] button:not(.neutral, .link) {
background-color: var(--in-content-primary-button-background) !important;
border-color: transparent !important;
color: var(--in-content-primary-button-text-color) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] button:not(.neutral, .link):hover {
background-color: var(--in-content-primary-button-background-hover) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] button:not(.neutral, .link):hover:active {
background-color: var(--in-content-primary-button-background-active) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #close-button:hover {
border-color: var(--in-content-border-hover) !important;
background-color: var(--in-content-button-background-hover) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] select {
border-color: var(--in-content-border-color) !important;
background-color: var(--in-content-button-background) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #logo-link::before {
content: "";
display: block;
width: 26px;
height: 26px;
background: var(--in-content-primary-button-background) url(chrome://userchrome/content/material/bitwarden.svg) center/18px no-repeat;
-moz-context-properties: fill, fill-opacity;
fill: white;
border-radius: var(--general-button-border-radius);
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #logo-link {
display: block !important;
margin-inline: 0 2px !important;
color: var(--in-content-primary-button-background-active) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #logo-link:hover {
color: var(--in-content-primary-button-background-hover) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #logo-link:hover:active {
color: var(--in-content-primary-button-background) !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #logo-link img#logo {
display: none !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #close-button {
padding: 5px !important;
float: right !important;
fill-opacity: 0.6;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #close-button #close {
display: none !important;
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #close-button::before {
content: "";
background: url(chrome://userchrome/content/close.svg) center/contain no-repeat !important;
width: 20px;
height: 20px;
display: block;
-moz-context-properties: fill, fill-opacity;
fill: currentColor;
color: var(--plaintext-color);
}
:root[uc-extension-id="{446900e4-71c2-419f-a6a7-df9c091e268b}"] #close-button:hover {
fill-opacity: 1;
}
}