Repository navigation
Expand file tree
/
Copy pathionic-tabs-ios26.css
More file actions
63 lines (57 loc) · 1.76 KB
/
Copy pathionic-tabs-ios26.css
File metadata and controls
63 lines (57 loc) · 1.76 KB
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
html.ios:not(.vertical-bars-leading):not(.vertical-bars-trailing) ion-tab-bar {
position: absolute;
bottom: 21px;
left: 50%;
z-index: 10;
width: auto;
height: 54px;
padding: 4px;
border: none;
border-radius: 31px;
contain: none;
transform: translateX(-50%);
background: rgba(255, 255, 255, 0.78);
-webkit-backdrop-filter: blur(12px) saturate(180%);
backdrop-filter: blur(12px) saturate(180%);
box-shadow:
inset 0 0 0 0.5px rgba(0, 0, 0, 0.2),
inset 0 0 8px rgba(0, 0, 0, 0.04),
0 2px 10px rgba(0, 0, 0, 0.05);
}
html.ios:not(.vertical-bars-leading):not(.vertical-bars-trailing) ion-tab-button {
--background: transparent;
--background-focused: transparent;
--color: #111;
--color-selected: #0088ff;
flex: 0 0 auto;
width: 88px;
max-width: none;
height: 54px;
border-radius: 27px;
}
html.ios:not(.vertical-bars-leading):not(.vertical-bars-trailing) ion-tab-button.tab-selected {
background: rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
html.ios:not(.vertical-bars-leading):not(.vertical-bars-trailing) ion-tab-bar {
background: rgba(40, 40, 40, 0.78);
box-shadow:
inset 0 0 0 0.5px rgba(255, 255, 255, 0.18),
inset 0 0 8px rgba(255, 255, 255, 0.04),
0 2px 10px rgba(0, 0, 0, 0.3);
}
html.ios:not(.vertical-bars-leading):not(.vertical-bars-trailing) ion-tab-button {
--color: #f2f2f2;
}
html.ios:not(.vertical-bars-leading):not(.vertical-bars-trailing) ion-tab-button.tab-selected {
background: rgba(255, 255, 255, 0.1);
}
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
html.ios ion-tab-bar {
background: Canvas;
-webkit-backdrop-filter: none;
backdrop-filter: none;
border: 1px solid CanvasText;
}
}