-
Notifications
You must be signed in to change notification settings - Fork 27
/
uc-ctrl-tab.css
127 lines (108 loc) · 3.55 KB
/
uc-ctrl-tab.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
/* 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. */
/* this stylesheet only controls the appearance of the ctrl+tab popup */
#ctrlTab-panel {
appearance: none !important;
border-style: none !important;
font-weight: normal !important;
box-shadow: none !important;
background: none !important;
--panel-background: var(--ctrlTab-overlay-color) !important;
border-radius: 15px !important;
overflow: hidden !important;
}
#ctrlTab-previews {
align-items: center;
justify-content: space-between;
display: flex !important;
border-radius: 0% !important;
}
.ctrlTab-preview {
background: none !important;
flex: 0 !important;
min-width: min-content !important;
&:not([hidden]) {
display: flex !important;
}
&:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner {
margin: -10px -10px 0 !important;
}
}
.ctrlTab-preview-inner img:-moz-broken {
visibility: hidden !important;
}
.ctrlTab-canvas {
box-shadow: none !important;
border: none !important;
fill: currentColor !important;
fill-opacity: 0.8 !important;
-moz-context-properties: fill, fill-opacity !important;
border-radius: 3px !important;
overflow: clip !important;
}
#ctrlTab-showAll-container {
margin-top: 8px !important;
}
#ctrlTab-showAll {
background-color: var(--ctrlTab-panel-bgcolor) !important;
border: 1px solid var(--blurred-dialog-border-color) !important;
.button-box {
padding: 2px 4px !important;
}
}
.ctrlTab-preview-inner {
flex: 0 !important;
color: var(--ui-text-80) !important;
margin: 0 !important;
padding: 0 !important;
padding: 10px !important;
border: 1px solid var(--blurred-dialog-border-color) !important;
border-radius: 9px !important;
box-shadow: 0 0 4px -1px rgba(0, 0, 0, 0.2), 0 0 25px -2px rgba(0, 0, 0, 0.2) !important;
background-color: var(--ctrlTab-panel-bgcolor) !important;
}
#ctrlTab-showAll:focus,
#ctrlTab-showAll:focus-within,
.ctrlTab-preview:focus > .ctrlTab-preview-inner {
background-color: var(--ctrlTab-panel-focused-bgcolor) !important;
border-color: transparent !important;
outline: 4px solid var(--ctrlTab-panel-focused-bgcolor) !important;
outline-offset: -2px !important;
text-shadow: 0 0 1px hsla(0, 0%, 0%, 1), 0 0 2px hsla(0, 0%, 0%, 0.75), 0 0 4px hsla(0, 0%, 0%, 0.5) !important;
}
.ctrlTab-preview:focus > .ctrlTab-preview-inner > .ctrlTab-canvas {
box-shadow: 0 0 4px hsla(0, 0%, 0%, 0.25), 0 0 6px hsla(0, 0%, 0%, 0.125), 0 0 8px hsla(0, 0%, 0%, 0.125) !important;
}
.ctrlTab-preview-inner {
position: relative;
}
.ctrlTab-favicon-container {
align-items: start !important;
justify-items: start !important;
box-shadow: none !important;
margin-inline-start: 7px !important;
margin-top: 7px !important;
padding-bottom: 13px !important;
height: 45px !important;
position: absolute !important;
}
.ctrlTab-favicon {
margin: 0 !important;
&[src] {
background: hsla(0, 0%, 49%, 0.3) !important;
width: 32px !important;
height: 32px !important;
padding: 3px !important;
box-shadow: none !important;
border-radius: 3px !important;
-moz-context-properties: fill, fill-opacity, stroke, stroke-opacity !important;
fill: currentColor !important;
}
}
.ctrlTab-label {
color: inherit !important;
margin-bottom: -1.5px !important;
}