@xenknight/framework7 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/navbar-new/navbar-ios.less +135 -135
- package/components/navbar-new/navbar-md.less +105 -105
- package/components/navbar-new/navbar-vars.less +78 -78
- package/components/navbar-new/navbar.d.ts +77 -77
- package/components/navbar-new/navbar.less +268 -268
- package/components/page/page.less +4 -2
- package/components/searchbar-new/searchbar-ios.less +131 -131
- package/components/searchbar-new/searchbar-md.less +154 -153
- package/components/searchbar-new/searchbar-new-class.js +32 -20
- package/components/searchbar-new/searchbar-vars.less +75 -75
- package/components/searchbar-new/searchbar.less +336 -331
- package/components/subnavbar-new/subnavbar-new-ios.less +67 -0
- package/components/subnavbar-new/subnavbar-new-md.less +48 -0
- package/components/subnavbar-new/subnavbar-new-vars.less +42 -0
- package/components/subnavbar-new/subnavbar-new.d.ts +12 -0
- package/components/subnavbar-new/subnavbar-new.js +20 -0
- package/components/subnavbar-new/subnavbar-new.less +151 -0
- package/components/toolbar-new/tabbar-highlight.js +29 -9
- package/components/toolbar-new/toolbar-ios.less +193 -193
- package/components/toolbar-new/toolbar-md.less +152 -152
- package/components/toolbar-new/toolbar-vars.less +77 -77
- package/components/toolbar-new/toolbar.less +261 -261
- package/framework7-bundle-rtl.css +259 -8
- package/framework7-bundle-rtl.min.css +4 -4
- package/framework7-bundle.css +259 -8
- package/framework7-bundle.esm.js +4 -2
- package/framework7-bundle.js +83 -31
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -1
- package/framework7-bundle.min.css +4 -4
- package/framework7-bundle.min.js +2 -2
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +4 -2
- package/framework7-lite.esm.js +4 -2
- package/framework7-lite.js +3 -1
- package/framework7-rtl.css +259 -8
- package/framework7-rtl.min.css +4 -4
- package/framework7-types.d.ts +5 -1
- package/framework7.css +259 -8
- package/framework7.d.ts +4 -0
- package/framework7.esm.js +4 -2
- package/framework7.js +3 -1
- package/framework7.less +2 -1
- package/framework7.min.css +4 -4
- package/package.json +1 -1
|
@@ -1,193 +1,193 @@
|
|
|
1
|
-
.ios {
|
|
2
|
-
.toolbar-new-pane {
|
|
3
|
-
user-select: none;
|
|
4
|
-
}
|
|
5
|
-
.toolbar-new-pane,
|
|
6
|
-
.toolbar-new .left,
|
|
7
|
-
.toolbar-new .right {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
height: 100%;
|
|
12
|
-
position: relative;
|
|
13
|
-
z-index: 1;
|
|
14
|
-
border-radius: 32px;
|
|
15
|
-
.ios-glass();
|
|
16
|
-
}
|
|
17
|
-
.toolbar-new {
|
|
18
|
-
.left {
|
|
19
|
-
margin-right: auto;
|
|
20
|
-
}
|
|
21
|
-
.right {
|
|
22
|
-
margin-left: auto;
|
|
23
|
-
}
|
|
24
|
-
.left:empty,
|
|
25
|
-
.right:empty {
|
|
26
|
-
display: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
a.icon-only {
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
align-items: center;
|
|
33
|
-
margin: 0;
|
|
34
|
-
min-width: 48px;
|
|
35
|
-
min-height: 48px;
|
|
36
|
-
padding: 0;
|
|
37
|
-
}
|
|
38
|
-
.link {
|
|
39
|
-
padding: 0 12px;
|
|
40
|
-
height: 100%;
|
|
41
|
-
}
|
|
42
|
-
&:before,
|
|
43
|
-
&:after {
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
content: '';
|
|
46
|
-
position: absolute;
|
|
47
|
-
inset: 0;
|
|
48
|
-
}
|
|
49
|
-
&:before {
|
|
50
|
-
backdrop-filter: blur(2px);
|
|
51
|
-
mask-image: linear-gradient(
|
|
52
|
-
to top,
|
|
53
|
-
black calc(50% + var(--f7-safe-area-bottom, 0px)),
|
|
54
|
-
transparent 100%
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
&:after {
|
|
58
|
-
background-image: linear-gradient(
|
|
59
|
-
to top,
|
|
60
|
-
var(--f7-toolbar-new-bars-bg-color) var(--f7-safe-area-bottom, 0px),
|
|
61
|
-
transparent 100%
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
&.toolbar-new-bottom,
|
|
65
|
-
&.messagebar {
|
|
66
|
-
&:before,
|
|
67
|
-
&:after {
|
|
68
|
-
top: -16px;
|
|
69
|
-
}
|
|
70
|
-
.toolbar-new-inner {
|
|
71
|
-
padding-bottom: 16px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
&.toolbar-new-top,
|
|
75
|
-
&:not(.toolbar-new-bottom, .toolbar-new-top, .messagebar) {
|
|
76
|
-
&:before {
|
|
77
|
-
mask-image: linear-gradient(
|
|
78
|
-
to bottom,
|
|
79
|
-
black calc(50% + var(--f7-safe-area-top, 0px)),
|
|
80
|
-
transparent 100%
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
&:after {
|
|
84
|
-
background-image: linear-gradient(
|
|
85
|
-
to bottom,
|
|
86
|
-
var(--f7-toolbar-new-bars-bg-color) var(--f7-safe-area-top, 0px),
|
|
87
|
-
transparent 100%
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
&:before,
|
|
91
|
-
&:after {
|
|
92
|
-
bottom: -16px;
|
|
93
|
-
}
|
|
94
|
-
.toolbar-new-inner {
|
|
95
|
-
padding-top: 16px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
.navbar-new ~ .toolbar-new-top {
|
|
100
|
-
&:before,
|
|
101
|
-
&:after {
|
|
102
|
-
display: none;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
.toolbar-new-inner {
|
|
106
|
-
justify-content: center;
|
|
107
|
-
overflow: visible;
|
|
108
|
-
gap: 16px;
|
|
109
|
-
}
|
|
110
|
-
.tabbar-new-scrollable .toolbar-new-pane {
|
|
111
|
-
.scrollable();
|
|
112
|
-
.no-scrollbar();
|
|
113
|
-
justify-content: flex-start;
|
|
114
|
-
}
|
|
115
|
-
.tabbar-new:not(.tabbar-new-scrollable) {
|
|
116
|
-
touch-action: none;
|
|
117
|
-
}
|
|
118
|
-
.tabbar-new-icons {
|
|
119
|
-
.tab-link,
|
|
120
|
-
.link {
|
|
121
|
-
padding-top: 4px;
|
|
122
|
-
padding-bottom: 4px;
|
|
123
|
-
i + span {
|
|
124
|
-
margin: 0;
|
|
125
|
-
margin-top: 4px;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
@media (max-width: 767px) {
|
|
130
|
-
.tabbar-new .toolbar-new-pane {
|
|
131
|
-
width: 100%;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
@media (min-width: 768px) {
|
|
135
|
-
.tabbar-new .tab-link {
|
|
136
|
-
padding-left: 16px;
|
|
137
|
-
padding-right: 16px;
|
|
138
|
-
min-width: 96px;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
// Scrollable
|
|
143
|
-
.tabbar-new-scrollable {
|
|
144
|
-
.toolbar-new-inner {
|
|
145
|
-
justify-content: flex-start;
|
|
146
|
-
}
|
|
147
|
-
.tab-link,
|
|
148
|
-
.link {
|
|
149
|
-
padding: 0 8px;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
.tab-link-highlight {
|
|
153
|
-
position: absolute;
|
|
154
|
-
height: 100%;
|
|
155
|
-
top: 0;
|
|
156
|
-
transition-duration: 300ms;
|
|
157
|
-
border-radius: inherit;
|
|
158
|
-
.ltr({
|
|
159
|
-
left: 0;
|
|
160
|
-
});
|
|
161
|
-
.rtl({
|
|
162
|
-
right: 0;
|
|
163
|
-
});
|
|
164
|
-
&:before,
|
|
165
|
-
&:after {
|
|
166
|
-
content: '';
|
|
167
|
-
position: absolute;
|
|
168
|
-
inset: 4px;
|
|
169
|
-
border-radius: inherit;
|
|
170
|
-
transition-duration: 300ms;
|
|
171
|
-
}
|
|
172
|
-
&:before {
|
|
173
|
-
background-color: var(--f7-tabbar-new-link-highlight-bg-color);
|
|
174
|
-
}
|
|
175
|
-
&:after {
|
|
176
|
-
opacity: 0;
|
|
177
|
-
box-shadow: var(--f7-glass-shadow-thumb);
|
|
178
|
-
background-color: var(--f7-tabbar-new-link-highlight-active-bg-color);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
.tab-link-highlight-pressed {
|
|
182
|
-
&:before {
|
|
183
|
-
opacity: 0;
|
|
184
|
-
}
|
|
185
|
-
&:after {
|
|
186
|
-
opacity: 1;
|
|
187
|
-
}
|
|
188
|
-
&:before,
|
|
189
|
-
&:after {
|
|
190
|
-
scale: 1.4;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
1
|
+
.ios {
|
|
2
|
+
.toolbar-new-pane {
|
|
3
|
+
user-select: none;
|
|
4
|
+
}
|
|
5
|
+
.toolbar-new-pane,
|
|
6
|
+
.toolbar-new .left,
|
|
7
|
+
.toolbar-new .right {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
height: 100%;
|
|
12
|
+
position: relative;
|
|
13
|
+
z-index: 1;
|
|
14
|
+
border-radius: 32px;
|
|
15
|
+
.ios-glass();
|
|
16
|
+
}
|
|
17
|
+
.toolbar-new {
|
|
18
|
+
.left {
|
|
19
|
+
margin-right: auto;
|
|
20
|
+
}
|
|
21
|
+
.right {
|
|
22
|
+
margin-left: auto;
|
|
23
|
+
}
|
|
24
|
+
.left:empty,
|
|
25
|
+
.right:empty {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
a.icon-only {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
margin: 0;
|
|
34
|
+
min-width: 48px;
|
|
35
|
+
min-height: 48px;
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
38
|
+
.link {
|
|
39
|
+
padding: 0 12px;
|
|
40
|
+
height: 100%;
|
|
41
|
+
}
|
|
42
|
+
&:before,
|
|
43
|
+
&:after {
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
content: '';
|
|
46
|
+
position: absolute;
|
|
47
|
+
inset: 0;
|
|
48
|
+
}
|
|
49
|
+
&:before {
|
|
50
|
+
backdrop-filter: blur(2px);
|
|
51
|
+
mask-image: linear-gradient(
|
|
52
|
+
to top,
|
|
53
|
+
black calc(50% + var(--f7-safe-area-bottom, 0px)),
|
|
54
|
+
transparent 100%
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
&:after {
|
|
58
|
+
background-image: linear-gradient(
|
|
59
|
+
to top,
|
|
60
|
+
var(--f7-toolbar-new-bars-bg-color) var(--f7-safe-area-bottom, 0px),
|
|
61
|
+
transparent 100%
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
&.toolbar-new-bottom,
|
|
65
|
+
&.messagebar {
|
|
66
|
+
&:before,
|
|
67
|
+
&:after {
|
|
68
|
+
top: -16px;
|
|
69
|
+
}
|
|
70
|
+
.toolbar-new-inner {
|
|
71
|
+
padding-bottom: 16px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&.toolbar-new-top,
|
|
75
|
+
&:not(.toolbar-new-bottom, .toolbar-new-top, .messagebar) {
|
|
76
|
+
&:before {
|
|
77
|
+
mask-image: linear-gradient(
|
|
78
|
+
to bottom,
|
|
79
|
+
black calc(50% + var(--f7-safe-area-top, 0px)),
|
|
80
|
+
transparent 100%
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
&:after {
|
|
84
|
+
background-image: linear-gradient(
|
|
85
|
+
to bottom,
|
|
86
|
+
var(--f7-toolbar-new-bars-bg-color) var(--f7-safe-area-top, 0px),
|
|
87
|
+
transparent 100%
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
&:before,
|
|
91
|
+
&:after {
|
|
92
|
+
bottom: -16px;
|
|
93
|
+
}
|
|
94
|
+
.toolbar-new-inner {
|
|
95
|
+
padding-top: 16px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.navbar-new ~ .toolbar-new-top {
|
|
100
|
+
&:before,
|
|
101
|
+
&:after {
|
|
102
|
+
display: none;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
.toolbar-new-inner {
|
|
106
|
+
justify-content: center;
|
|
107
|
+
overflow: visible;
|
|
108
|
+
gap: 16px;
|
|
109
|
+
}
|
|
110
|
+
.tabbar-new-scrollable .toolbar-new-pane {
|
|
111
|
+
.scrollable();
|
|
112
|
+
.no-scrollbar();
|
|
113
|
+
justify-content: flex-start;
|
|
114
|
+
}
|
|
115
|
+
.tabbar-new:not(.tabbar-new-scrollable) {
|
|
116
|
+
touch-action: none;
|
|
117
|
+
}
|
|
118
|
+
.tabbar-new-icons {
|
|
119
|
+
.tab-link,
|
|
120
|
+
.link {
|
|
121
|
+
padding-top: 4px;
|
|
122
|
+
padding-bottom: 4px;
|
|
123
|
+
i + span {
|
|
124
|
+
margin: 0;
|
|
125
|
+
margin-top: 4px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
@media (max-width: 767px) {
|
|
130
|
+
.tabbar-new .toolbar-new-pane {
|
|
131
|
+
width: 100%;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
@media (min-width: 768px) {
|
|
135
|
+
.tabbar-new .tab-link {
|
|
136
|
+
padding-left: 16px;
|
|
137
|
+
padding-right: 16px;
|
|
138
|
+
min-width: 96px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// Scrollable
|
|
143
|
+
.tabbar-new-scrollable {
|
|
144
|
+
.toolbar-new-inner {
|
|
145
|
+
justify-content: flex-start;
|
|
146
|
+
}
|
|
147
|
+
.tab-link,
|
|
148
|
+
.link {
|
|
149
|
+
padding: 0 8px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
.tab-link-highlight {
|
|
153
|
+
position: absolute;
|
|
154
|
+
height: 100%;
|
|
155
|
+
top: 0;
|
|
156
|
+
transition-duration: 300ms;
|
|
157
|
+
border-radius: inherit;
|
|
158
|
+
.ltr({
|
|
159
|
+
left: 0;
|
|
160
|
+
});
|
|
161
|
+
.rtl({
|
|
162
|
+
right: 0;
|
|
163
|
+
});
|
|
164
|
+
&:before,
|
|
165
|
+
&:after {
|
|
166
|
+
content: '';
|
|
167
|
+
position: absolute;
|
|
168
|
+
inset: 4px;
|
|
169
|
+
border-radius: inherit;
|
|
170
|
+
transition-duration: 300ms;
|
|
171
|
+
}
|
|
172
|
+
&:before {
|
|
173
|
+
background-color: var(--f7-tabbar-new-link-highlight-bg-color);
|
|
174
|
+
}
|
|
175
|
+
&:after {
|
|
176
|
+
opacity: 0;
|
|
177
|
+
box-shadow: var(--f7-glass-shadow-thumb);
|
|
178
|
+
background-color: var(--f7-tabbar-new-link-highlight-active-bg-color);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
.tab-link-highlight-pressed {
|
|
182
|
+
&:before {
|
|
183
|
+
opacity: 0;
|
|
184
|
+
}
|
|
185
|
+
&:after {
|
|
186
|
+
opacity: 1;
|
|
187
|
+
}
|
|
188
|
+
&:before,
|
|
189
|
+
&:after {
|
|
190
|
+
scale: 1.4;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
.md {
|
|
2
|
-
.toolbar-new-pane {
|
|
3
|
-
display: contents;
|
|
4
|
-
}
|
|
5
|
-
.toolbar-new {
|
|
6
|
-
background-color: var(--f7-toolbar-new-bg-color, var(--f7-bars-bg-color));
|
|
7
|
-
.link {
|
|
8
|
-
justify-content: center;
|
|
9
|
-
padding: 0 12px;
|
|
10
|
-
min-width: 48px;
|
|
11
|
-
min-height: 48px;
|
|
12
|
-
line-height: var(--f7-toolbar-new-link-line-height, var(--f7-toolbar-new-height));
|
|
13
|
-
height: var(--f7-toolbar-new-link-height, var(--f7-toolbar-new-height));
|
|
14
|
-
}
|
|
15
|
-
a.icon-only {
|
|
16
|
-
min-width: 48px;
|
|
17
|
-
flex-shrink: 0;
|
|
18
|
-
padding: 0;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.toolbar-new-top,
|
|
22
|
-
.md .toolbar-new-top-md {
|
|
23
|
-
&.no-outline {
|
|
24
|
-
&:after {
|
|
25
|
-
display: none !important;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
&.toolbar-new-hidden {
|
|
29
|
-
&:before {
|
|
30
|
-
display: none !important;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
&:after,
|
|
34
|
-
&:before {
|
|
35
|
-
backface-visibility: hidden;
|
|
36
|
-
}
|
|
37
|
-
.hairline(bottom, var(--f7-toolbar-new-border-color, var(--f7-bars-border-color)));
|
|
38
|
-
}
|
|
39
|
-
.toolbar-new-bottom,
|
|
40
|
-
.md .toolbar-new-bottom-md {
|
|
41
|
-
&.no-outline {
|
|
42
|
-
&:before {
|
|
43
|
-
display: none !important;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
&.toolbar-new-hidden {
|
|
47
|
-
&:after {
|
|
48
|
-
display: none !important;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.hairline(top, var(--f7-toolbar-new-border-color, var(--f7-bars-border-color)));
|
|
52
|
-
}
|
|
53
|
-
.toolbar-new-inner {
|
|
54
|
-
justify-content: space-between;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
}
|
|
57
|
-
.tabbar-new,
|
|
58
|
-
.tabbar-new-icons {
|
|
59
|
-
.tab-link,
|
|
60
|
-
.link {
|
|
61
|
-
padding-left: 0;
|
|
62
|
-
padding-right: 0;
|
|
63
|
-
}
|
|
64
|
-
a.icon-only {
|
|
65
|
-
flex-shrink: initial;
|
|
66
|
-
}
|
|
67
|
-
.tab-link {
|
|
68
|
-
transition-duration: 300ms;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
position: relative;
|
|
71
|
-
}
|
|
72
|
-
i.icon {
|
|
73
|
-
position: relative;
|
|
74
|
-
&::before {
|
|
75
|
-
content: '';
|
|
76
|
-
width: 64px;
|
|
77
|
-
height: 32px;
|
|
78
|
-
border-radius: 32px;
|
|
79
|
-
position: absolute;
|
|
80
|
-
left: 50%;
|
|
81
|
-
top: 50%;
|
|
82
|
-
transform: translateX(-50%) translateY(-50%) scaleX(0.5);
|
|
83
|
-
background: var(--f7-tabbar-new-link-active-icon-bg-color);
|
|
84
|
-
opacity: 0;
|
|
85
|
-
transition-duration: 200ms;
|
|
86
|
-
z-index: -1;
|
|
87
|
-
}
|
|
88
|
-
+ .tabbar-new-label {
|
|
89
|
-
margin-top: 8px;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
.tab-link-active i.icon::before {
|
|
93
|
-
opacity: 1;
|
|
94
|
-
transform: translateX(-50%) translateY(-50%) scaleX(1);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.tabbar-new-icons {
|
|
99
|
-
.tab-link,
|
|
100
|
-
.link {
|
|
101
|
-
padding-top: 8px;
|
|
102
|
-
padding-bottom: 8px;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
.tabbar-new-label {
|
|
106
|
-
max-width: 100%;
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
line-height: 1.2;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Scrollable
|
|
112
|
-
.tabbar-new-scrollable {
|
|
113
|
-
.toolbar-new-inner {
|
|
114
|
-
overflow: auto;
|
|
115
|
-
}
|
|
116
|
-
.tab-link,
|
|
117
|
-
.link {
|
|
118
|
-
padding: 0 12px;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
.toolbar-new-top-md,
|
|
122
|
-
.toolbar-new-top {
|
|
123
|
-
.tab-link-highlight {
|
|
124
|
-
bottom: 0;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
.toolbar-new-bottom,
|
|
128
|
-
.toolbar-new-bottom-md {
|
|
129
|
-
.tab-link-highlight {
|
|
130
|
-
top: 0;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
.tabbar-new,
|
|
134
|
-
.tabbar-new-icons {
|
|
135
|
-
&.tabbar-new-icons .tab-link-highlight {
|
|
136
|
-
display: none;
|
|
137
|
-
}
|
|
138
|
-
&:not(.tabbar-new-icons) .tab-link-highlight {
|
|
139
|
-
position: absolute;
|
|
140
|
-
height: 2px;
|
|
141
|
-
background: var(--f7-tabbar-new-link-active-border-color, var(--f7-theme-color));
|
|
142
|
-
transition-duration: 300ms;
|
|
143
|
-
.ltr({
|
|
144
|
-
left: 0;
|
|
145
|
-
});
|
|
146
|
-
.rtl({
|
|
147
|
-
right: 0;
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
1
|
+
.md {
|
|
2
|
+
.toolbar-new-pane {
|
|
3
|
+
display: contents;
|
|
4
|
+
}
|
|
5
|
+
.toolbar-new {
|
|
6
|
+
background-color: var(--f7-toolbar-new-bg-color, var(--f7-bars-bg-color));
|
|
7
|
+
.link {
|
|
8
|
+
justify-content: center;
|
|
9
|
+
padding: 0 12px;
|
|
10
|
+
min-width: 48px;
|
|
11
|
+
min-height: 48px;
|
|
12
|
+
line-height: var(--f7-toolbar-new-link-line-height, var(--f7-toolbar-new-height));
|
|
13
|
+
height: var(--f7-toolbar-new-link-height, var(--f7-toolbar-new-height));
|
|
14
|
+
}
|
|
15
|
+
a.icon-only {
|
|
16
|
+
min-width: 48px;
|
|
17
|
+
flex-shrink: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.toolbar-new-top,
|
|
22
|
+
.md .toolbar-new-top-md {
|
|
23
|
+
&.no-outline {
|
|
24
|
+
&:after {
|
|
25
|
+
display: none !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&.toolbar-new-hidden {
|
|
29
|
+
&:before {
|
|
30
|
+
display: none !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
&:after,
|
|
34
|
+
&:before {
|
|
35
|
+
backface-visibility: hidden;
|
|
36
|
+
}
|
|
37
|
+
.hairline(bottom, var(--f7-toolbar-new-border-color, var(--f7-bars-border-color)));
|
|
38
|
+
}
|
|
39
|
+
.toolbar-new-bottom,
|
|
40
|
+
.md .toolbar-new-bottom-md {
|
|
41
|
+
&.no-outline {
|
|
42
|
+
&:before {
|
|
43
|
+
display: none !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
&.toolbar-new-hidden {
|
|
47
|
+
&:after {
|
|
48
|
+
display: none !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.hairline(top, var(--f7-toolbar-new-border-color, var(--f7-bars-border-color)));
|
|
52
|
+
}
|
|
53
|
+
.toolbar-new-inner {
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
}
|
|
57
|
+
.tabbar-new,
|
|
58
|
+
.tabbar-new-icons {
|
|
59
|
+
.tab-link,
|
|
60
|
+
.link {
|
|
61
|
+
padding-left: 0;
|
|
62
|
+
padding-right: 0;
|
|
63
|
+
}
|
|
64
|
+
a.icon-only {
|
|
65
|
+
flex-shrink: initial;
|
|
66
|
+
}
|
|
67
|
+
.tab-link {
|
|
68
|
+
transition-duration: 300ms;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
position: relative;
|
|
71
|
+
}
|
|
72
|
+
i.icon {
|
|
73
|
+
position: relative;
|
|
74
|
+
&::before {
|
|
75
|
+
content: '';
|
|
76
|
+
width: 64px;
|
|
77
|
+
height: 32px;
|
|
78
|
+
border-radius: 32px;
|
|
79
|
+
position: absolute;
|
|
80
|
+
left: 50%;
|
|
81
|
+
top: 50%;
|
|
82
|
+
transform: translateX(-50%) translateY(-50%) scaleX(0.5);
|
|
83
|
+
background: var(--f7-tabbar-new-link-active-icon-bg-color);
|
|
84
|
+
opacity: 0;
|
|
85
|
+
transition-duration: 200ms;
|
|
86
|
+
z-index: -1;
|
|
87
|
+
}
|
|
88
|
+
+ .tabbar-new-label {
|
|
89
|
+
margin-top: 8px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
.tab-link-active i.icon::before {
|
|
93
|
+
opacity: 1;
|
|
94
|
+
transform: translateX(-50%) translateY(-50%) scaleX(1);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.tabbar-new-icons {
|
|
99
|
+
.tab-link,
|
|
100
|
+
.link {
|
|
101
|
+
padding-top: 8px;
|
|
102
|
+
padding-bottom: 8px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
.tabbar-new-label {
|
|
106
|
+
max-width: 100%;
|
|
107
|
+
overflow: hidden;
|
|
108
|
+
line-height: 1.2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Scrollable
|
|
112
|
+
.tabbar-new-scrollable {
|
|
113
|
+
.toolbar-new-inner {
|
|
114
|
+
overflow: auto;
|
|
115
|
+
}
|
|
116
|
+
.tab-link,
|
|
117
|
+
.link {
|
|
118
|
+
padding: 0 12px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
.toolbar-new-top-md,
|
|
122
|
+
.toolbar-new-top {
|
|
123
|
+
.tab-link-highlight {
|
|
124
|
+
bottom: 0;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
.toolbar-new-bottom,
|
|
128
|
+
.toolbar-new-bottom-md {
|
|
129
|
+
.tab-link-highlight {
|
|
130
|
+
top: 0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
.tabbar-new,
|
|
134
|
+
.tabbar-new-icons {
|
|
135
|
+
&.tabbar-new-icons .tab-link-highlight {
|
|
136
|
+
display: none;
|
|
137
|
+
}
|
|
138
|
+
&:not(.tabbar-new-icons) .tab-link-highlight {
|
|
139
|
+
position: absolute;
|
|
140
|
+
height: 2px;
|
|
141
|
+
background: var(--f7-tabbar-new-link-active-border-color, var(--f7-theme-color));
|
|
142
|
+
transition-duration: 300ms;
|
|
143
|
+
.ltr({
|
|
144
|
+
left: 0;
|
|
145
|
+
});
|
|
146
|
+
.rtl({
|
|
147
|
+
right: 0;
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|