@xenknight/framework7 0.0.5 → 0.0.7
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/app/app.less +1 -1
- package/components/block/block-vars.less +6 -6
- package/components/button/button-vars.less +11 -10
- package/components/dialog/dialog-class.js +6 -3
- package/components/dialog/dialog-ios.less +10 -34
- package/components/dialog/dialog-md.less +2 -22
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog-vars.less +8 -10
- package/components/dialog/dialog.css +1 -1
- package/components/dialog/dialog.js +3 -3
- package/components/dialog/dialog.less +6 -25
- package/components/icon/icon-ios.less +9 -0
- package/components/icon/icon-md.less +9 -0
- package/components/icon/icon.less +2 -1
- package/components/list/list-vars.less +8 -6
- package/components/list/list.less +1 -1
- package/components/messagebar/messagebar-rtl.css +1 -1
- package/components/messagebar/messagebar-vars.less +1 -1
- package/components/messagebar/messagebar.css +1 -1
- package/components/messages/messages-rtl.css +1 -1
- package/components/messages/messages-vars.less +7 -7
- package/components/messages/messages.css +1 -1
- package/components/navbar-new/navbar-ios.less +135 -0
- package/components/navbar-new/navbar-md.less +105 -0
- package/components/navbar-new/navbar-vars.less +78 -0
- package/components/navbar-new/navbar.d.ts +77 -0
- package/components/navbar-new/navbar.js +568 -0
- package/components/navbar-new/navbar.less +268 -0
- package/components/notification/notification-class.js +6 -6
- package/components/notification/notification-ios.less +3 -8
- package/components/notification/notification-md.less +1 -20
- package/components/notification/notification-rtl.css +1 -1
- package/components/notification/notification-vars.less +13 -16
- package/components/notification/notification.css +1 -1
- package/components/notification/notification.less +13 -1
- package/components/popover/popover-class.js +21 -58
- package/components/popover/popover-ios.less +66 -2
- package/components/popover/popover-md.less +2 -27
- package/components/popover/popover-rtl.css +1 -1
- package/components/popover/popover-vars.less +2 -3
- package/components/popover/popover.css +1 -1
- package/components/popover/popover.d.ts +0 -2
- package/components/popover/popover.js +0 -1
- package/components/popover/popover.less +28 -50
- package/components/range/range-class.js +34 -27
- package/components/range/range-ios.less +60 -0
- package/components/range/range-md.less +67 -4
- package/components/range/range-rtl.css +1 -1
- package/components/range/range-vars.less +18 -13
- package/components/range/range.css +1 -1
- package/components/range/range.d.ts +3 -1
- package/components/range/range.less +11 -24
- package/components/searchbar-new/remove-diacritics.js +271 -0
- package/components/searchbar-new/searchbar-ios.less +131 -0
- package/components/searchbar-new/searchbar-md.less +153 -0
- package/components/searchbar-new/searchbar-new-class.js +592 -0
- package/components/searchbar-new/searchbar-vars.less +75 -0
- package/components/searchbar-new/searchbar.js +122 -0
- package/components/searchbar-new/searchbar.less +331 -0
- package/components/swipeout/swipeout-ios.less +37 -0
- package/components/swipeout/swipeout-md.less +56 -0
- package/components/swipeout/swipeout-rtl.css +1 -1
- package/components/swipeout/swipeout-vars.less +13 -2
- package/components/swipeout/swipeout.css +1 -1
- package/components/swipeout/swipeout.js +98 -23
- package/components/swipeout/swipeout.less +20 -44
- package/components/tabs/tabs.js +5 -0
- package/components/toast/toast-class.js +2 -2
- package/components/toast/toast-ios.less +2 -0
- package/components/toast/toast-rtl.css +1 -1
- package/components/toast/toast-vars.less +2 -4
- package/components/toast/toast.css +1 -1
- package/components/toast/toast.less +1 -1
- package/components/toolbar-new/tabbar-highlight.js +134 -0
- package/components/toolbar-new/toolbar-ios.less +193 -0
- package/components/toolbar-new/toolbar-md.less +152 -0
- package/components/toolbar-new/toolbar-vars.less +77 -0
- package/components/toolbar-new/toolbar.js +223 -0
- package/components/toolbar-new/toolbar.less +261 -0
- package/framework7-bundle-rtl.css +2606 -746
- package/framework7-bundle-rtl.min.css +12 -6
- package/framework7-bundle.css +2603 -743
- package/framework7-bundle.esm.js +11 -4
- package/framework7-bundle.js +4536 -1038
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +6 -3
- package/framework7-bundle.min.css +12 -6
- package/framework7-bundle.min.js +4 -4
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +11 -4
- package/framework7-lite.esm.js +11 -4
- package/framework7-lite.js +8 -1
- package/framework7-rtl.css +2212 -399
- package/framework7-rtl.min.css +11 -5
- package/framework7.css +2211 -398
- package/framework7.esm.js +11 -4
- package/framework7.js +8 -1
- package/framework7.less +6 -3
- package/framework7.min.css +11 -5
- package/package.json +1 -1
- package/shared/get-support.d.ts +0 -6
- package/shared/get-support.js +1 -20
- package/shared/material-color-utils.js +2153 -679
- package/shared/material-colors.js +97 -17
- package/shared/utils.js +18 -6
package/components/app/app.less
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './app-vars.less';
|
|
2
2
|
// Core Icons
|
|
3
3
|
@font-face {
|
|
4
|
-
@fontBase64: '
|
|
4
|
+
@fontBase64: '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';
|
|
5
5
|
font-family: 'framework7-core-icons';
|
|
6
6
|
src: url('data:application/font-woff;charset=utf-8;base64, @{fontBase64}') format('woff');
|
|
7
7
|
font-weight: 400;
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
--f7-block-text-color: inherit;
|
|
20
20
|
--f7-block-margin-vertical: 35px;
|
|
21
21
|
--f7-block-outline-border-color: rgba(0,0,0,0.22);
|
|
22
|
-
--f7-block-title-font-size:
|
|
22
|
+
--f7-block-title-font-size: 17px;
|
|
23
23
|
--f7-block-title-font-weight: 600;
|
|
24
24
|
--f7-block-title-line-height: 20px;
|
|
25
25
|
--f7-block-title-margin-bottom: 10px;
|
|
26
|
-
--f7-block-title-medium-font-size:
|
|
26
|
+
--f7-block-title-medium-font-size: 20px;
|
|
27
27
|
--f7-block-title-medium-font-weight: bold;
|
|
28
28
|
--f7-block-title-medium-line-height: 1.4;
|
|
29
|
-
--f7-block-title-large-font-size:
|
|
29
|
+
--f7-block-title-large-font-size: 22px;
|
|
30
30
|
--f7-block-title-large-font-weight: bold;
|
|
31
31
|
--f7-block-title-large-line-height: 1.3;
|
|
32
|
-
--f7-block-inset-border-radius:
|
|
32
|
+
--f7-block-inset-border-radius: 24px;
|
|
33
33
|
.light-vars({
|
|
34
|
-
--f7-block-title-text-color:
|
|
34
|
+
--f7-block-title-text-color: rgba(0,0,0,0.6);
|
|
35
35
|
--f7-block-strong-text-color: #000;
|
|
36
36
|
--f7-block-header-text-color: rgba(0, 0, 0, 0.45);
|
|
37
37
|
--f7-block-footer-text-color: rgba(0, 0, 0, 0.45);
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
--f7-block-title-large-text-color: #000;
|
|
41
41
|
});
|
|
42
42
|
.dark-vars({
|
|
43
|
-
--f7-block-title-text-color:
|
|
43
|
+
--f7-block-title-text-color: rgba(255,255,255,0.6);
|
|
44
44
|
--f7-block-header-text-color: rgba(255,255,255,0.55);
|
|
45
45
|
--f7-block-footer-text-color: rgba(255,255,255,0.55);
|
|
46
46
|
--f7-block-strong-text-color: #fff;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--f7-button-font-size: 14px;
|
|
3
2
|
--f7-button-min-width: 32px;
|
|
4
3
|
--f7-button-bg-color: transparent;
|
|
5
4
|
--f7-button-border-width: 0px;
|
|
@@ -34,12 +33,13 @@
|
|
|
34
33
|
});
|
|
35
34
|
}
|
|
36
35
|
.ios-vars({
|
|
36
|
+
--f7-button-font-size: 15px;
|
|
37
37
|
--f7-button-fill-text-color: #fff;
|
|
38
|
-
--f7-button-text-transform:
|
|
39
|
-
--f7-button-height:
|
|
38
|
+
--f7-button-text-transform: none;
|
|
39
|
+
--f7-button-height: 34px;
|
|
40
40
|
--f7-button-padding-horizontal: 10px;
|
|
41
41
|
--f7-button-border-radius: 4px;
|
|
42
|
-
--f7-button-font-weight:
|
|
42
|
+
--f7-button-font-weight: 500;
|
|
43
43
|
--f7-button-letter-spacing: 0;
|
|
44
44
|
/*
|
|
45
45
|
--f7-button-outline-border-color: var(--f7-theme-color);
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
--f7-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
|
|
50
50
|
--f7-button-fill-pressed-bg-color: var(--f7-theme-color-tint);
|
|
51
51
|
*/
|
|
52
|
-
--f7-button-large-text-transform:
|
|
53
|
-
--f7-button-large-height:
|
|
52
|
+
--f7-button-large-text-transform: none;
|
|
53
|
+
--f7-button-large-height: 48px;
|
|
54
54
|
--f7-button-large-font-size: 17px;
|
|
55
55
|
--f7-button-large-font-weight: 500;
|
|
56
56
|
--f7-button-small-outline-border-width: 2px;
|
|
57
|
-
--f7-button-small-text-transform:
|
|
58
|
-
--f7-button-small-height:
|
|
59
|
-
--f7-button-small-font-size:
|
|
60
|
-
--f7-button-small-font-weight:
|
|
57
|
+
--f7-button-small-text-transform: none;
|
|
58
|
+
--f7-button-small-height: 28px;
|
|
59
|
+
--f7-button-small-font-size: 14px;
|
|
60
|
+
--f7-button-small-font-weight: 500;
|
|
61
61
|
|
|
62
62
|
--f7-segmented-strong-button-text-transform: none;
|
|
63
63
|
--f7-segmented-strong-button-active-font-weight: 600;
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
});
|
|
80
80
|
.md-vars({
|
|
81
|
+
--f7-button-font-size: 14px;
|
|
81
82
|
/*
|
|
82
83
|
--f7-button-pressed-bg-color: transparent;
|
|
83
84
|
*/
|
|
@@ -53,9 +53,12 @@ class Dialog extends Modal {
|
|
|
53
53
|
if (buttons.length > 0) {
|
|
54
54
|
buttonsHTML = $jsx("div", {
|
|
55
55
|
class: "dialog-buttons"
|
|
56
|
-
}, buttons.map(button =>
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
}, buttons.map(button => {
|
|
57
|
+
const classes = ['button button-round dialog-button', button.strong && 'button-fill', button.color && `color-${button.color}`, app.theme === 'ios' && 'button-large', app.theme === 'ios' && !button.strong && 'button-tonal', button.cssClass && button.cssClass].filter(Boolean).join(' ');
|
|
58
|
+
return $jsx("button", {
|
|
59
|
+
class: classes
|
|
60
|
+
}, button.text);
|
|
61
|
+
}));
|
|
59
62
|
}
|
|
60
63
|
const dialogHtml = $jsx("div", {
|
|
61
64
|
class: dialogClasses.join(' ')
|
|
@@ -1,59 +1,34 @@
|
|
|
1
1
|
.ios {
|
|
2
2
|
.dialog {
|
|
3
|
+
box-shadow: var(--f7-glass-shadow);
|
|
4
|
+
.ios-glass-backdrop();
|
|
5
|
+
border-radius: var(--f7-dialog-border-radius);
|
|
3
6
|
&.modal-out {
|
|
4
7
|
transform: translate3d(0, -50%, 0) scale(1);
|
|
5
8
|
}
|
|
6
9
|
}
|
|
7
10
|
.dialog-inner {
|
|
8
11
|
border-radius: var(--f7-dialog-border-radius) var(--f7-dialog-border-radius) 0 0;
|
|
9
|
-
.hairline(bottom, var(--f7-dialog-border-divider-color));
|
|
10
12
|
}
|
|
11
13
|
.dialog-title {
|
|
12
14
|
+ .dialog-text {
|
|
13
|
-
margin-top:
|
|
15
|
+
margin-top: 12px;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
.dialog-buttons {
|
|
17
|
-
|
|
19
|
+
padding: 0 14px 14px 14px;
|
|
18
20
|
justify-content: center;
|
|
21
|
+
gap: 8px;
|
|
19
22
|
}
|
|
20
23
|
.dialog-button {
|
|
21
24
|
width: 100%;
|
|
22
|
-
padding: 0 5px;
|
|
23
25
|
-webkit-box-flex: 1;
|
|
24
26
|
-ms-flex: 1;
|
|
25
|
-
.hairline(right, var(--f7-dialog-border-divider-color));
|
|
26
|
-
&:first-child {
|
|
27
|
-
border-radius: 0 0 0 var(--f7-dialog-border-radius);
|
|
28
|
-
}
|
|
29
|
-
&:last-child {
|
|
30
|
-
.hairline-remove(right);
|
|
31
|
-
border-radius: 0 0 var(--f7-dialog-border-radius) 0;
|
|
32
|
-
}
|
|
33
|
-
&:first-child:last-child {
|
|
34
|
-
border-radius: 0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.dialog-button[class*='color-'] {
|
|
38
|
-
--f7-dialog-button-text-color: var(--f7-theme-color);
|
|
39
|
-
}
|
|
40
|
-
.dialog-buttons-vertical {
|
|
41
|
-
.dialog-buttons {
|
|
42
|
-
height: auto;
|
|
43
|
-
}
|
|
44
|
-
.dialog-button {
|
|
45
|
-
border-radius: 0;
|
|
46
|
-
.hairline(bottom, var(--f7-dialog-border-divider-color));
|
|
47
|
-
&:last-child {
|
|
48
|
-
border-radius: 0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius);
|
|
49
|
-
.hairline-remove(bottom);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
27
|
}
|
|
28
|
+
|
|
53
29
|
.dialog-no-buttons {
|
|
54
30
|
.dialog-inner {
|
|
55
31
|
border-radius: var(--f7-dialog-border-radius);
|
|
56
|
-
.hairline-remove(bottom);
|
|
57
32
|
}
|
|
58
33
|
}
|
|
59
34
|
// Inputs
|
|
@@ -61,9 +36,9 @@
|
|
|
61
36
|
margin-top: 15px;
|
|
62
37
|
}
|
|
63
38
|
.dialog-input {
|
|
64
|
-
padding: 0
|
|
39
|
+
padding: 0 12px;
|
|
65
40
|
+ .dialog-input {
|
|
66
|
-
margin-top:
|
|
41
|
+
margin-top: 12px;
|
|
67
42
|
}
|
|
68
43
|
}
|
|
69
44
|
.dialog-input-double {
|
|
@@ -78,6 +53,7 @@
|
|
|
78
53
|
|
|
79
54
|
// Preloader
|
|
80
55
|
.dialog-preloader {
|
|
56
|
+
text-align: center;
|
|
81
57
|
.dialog-title ~ .preloader,
|
|
82
58
|
.dialog-text ~ .preloader {
|
|
83
59
|
margin-top: 15px;
|
|
@@ -13,30 +13,14 @@
|
|
|
13
13
|
line-height: 1.5;
|
|
14
14
|
}
|
|
15
15
|
.dialog-buttons {
|
|
16
|
-
height: 64px;
|
|
17
16
|
padding: 0px 24px 24px;
|
|
18
17
|
overflow: hidden;
|
|
19
18
|
box-sizing: border-box;
|
|
20
19
|
justify-content: flex-end;
|
|
20
|
+
gap: 8px;
|
|
21
21
|
}
|
|
22
|
-
|
|
23
22
|
.dialog-button {
|
|
24
|
-
|
|
25
|
-
border-radius: 99px;
|
|
26
|
-
min-width: 64px;
|
|
27
|
-
padding: 0px 16px;
|
|
28
|
-
border: none;
|
|
29
|
-
transition-duration: 300ms;
|
|
30
|
-
transform: translate3d(0, 0, 0);
|
|
31
|
-
+ .dialog-button {
|
|
32
|
-
margin-left: 8px;
|
|
33
|
-
}
|
|
34
|
-
&-strong {
|
|
35
|
-
--f7-touch-ripple-color: var(--f7-touch-ripple-white);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.dialog-button[class*='color-'] {
|
|
39
|
-
--f7-dialog-button-text-color: var(--f7-theme-color);
|
|
23
|
+
width: auto;
|
|
40
24
|
}
|
|
41
25
|
|
|
42
26
|
.dialog-buttons-vertical {
|
|
@@ -45,10 +29,6 @@
|
|
|
45
29
|
flex-direction: column;
|
|
46
30
|
align-items: flex-end;
|
|
47
31
|
}
|
|
48
|
-
.dialog-button + .dialog-button {
|
|
49
|
-
margin-top: 8px;
|
|
50
|
-
margin-left: 0;
|
|
51
|
-
}
|
|
52
32
|
}
|
|
53
33
|
|
|
54
34
|
// Inputs
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--f7-dialog-button-text-color:var(--f7-theme-color);--f7-dialog-button-text-align:center}.ios{--f7-dialog-width:270px;--f7-dialog-inner-padding:16px;--f7-dialog-border-radius:13px;--f7-dialog-text-align:center;--f7-dialog-font-size:14px;--f7-dialog-title-text-color:inherit;--f7-dialog-title-font-size:18px;--f7-dialog-title-font-weight:600;--f7-dialog-title-line-height:inherit;--f7-dialog-button-font-size:17px;--f7-dialog-button-height:44px;--f7-dialog-button-letter-spacing:0;--f7-dialog-button-font-weight:400;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-bg-color:transparent;--f7-dialog-button-strong-text-color:var(--f7-theme-color);--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:4px;--f7-dialog-input-font-size:14px;--f7-dialog-input-height:32px;--f7-dialog-input-border-width:1px;--f7-dialog-input-placeholder-color:#a9a9a9;--f7-dialog-preloader-size:34px;--f7-dialog-input-bg-color:#fff;--f7-dialog-bg-color:rgba(255, 255, 255, 0.95);--f7-dialog-bg-color-rgb:255,255,255;--f7-dialog-text-color:#000;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-input-border-color:rgba(0, 0, 0, 0.3);--f7-dialog-border-divider-color:rgba(0, 0, 0, 0.2)}.ios .dark,.ios.dark{--f7-dialog-text-color:#fff;--f7-dialog-bg-color:rgba(45, 45, 45, 0.95);--f7-dialog-bg-color-rgb:45,45,45;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-border-divider-color:rgba(255, 255, 255, 0.15);--f7-dialog-input-border-color:rgba(255, 255, 255, 0.15);--f7-dialog-input-bg-color:rgba(0, 0, 0, 0.5)}.md{--f7-dialog-width:280px;--f7-dialog-inner-padding:24px;--f7-dialog-border-radius:28px;--f7-dialog-text-align:right;--f7-dialog-font-size:14px;--f7-dialog-title-font-size:24px;--f7-dialog-title-font-weight:400;--f7-dialog-title-line-height:1.3;--f7-dialog-button-font-size:14px;--f7-dialog-button-height:40px;--f7-dialog-button-letter-spacing:normal;--f7-dialog-button-font-weight:500;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:0px;--f7-dialog-input-font-size:16px;--f7-dialog-input-height:36px;--f7-dialog-input-border-color:transparent;--f7-dialog-input-border-width:0px;--f7-dialog-preloader-size:32px;--f7-dialog-input-bg-color:transparent}.md,.md .dark,.md [class*=color-]{--f7-dialog-button-pressed-bg-color:transparent;--f7-dialog-button-strong-bg-color:var(--f7-theme-color);--f7-dialog-button-strong-text-color:var(--f7-md-on-primary);--f7-dialog-button-strong-pressed-bg-color:transparent;--f7-dialog-bg-color:var(--f7-md-surface-3);--f7-dialog-input-placeholder-color:var(--f7-md-on-surface-variant);--f7-dialog-text-color:var(--f7-md-on-surface-variant);--f7-dialog-title-text-color:var(--f7-md-on-surface)}.dialog{position:absolute;z-index:13500;left:50%;margin-top:0;top:50%;overflow:hidden;opacity:0;transform:translate3d(0,-50%,0) scale(1.185);transition-property:transform,opacity;display:none;transition-duration:.4s;width:var(--f7-dialog-width);margin-left:calc(-1 * var(--f7-dialog-width)/ 2);border-radius:var(--f7-dialog-border-radius);text-align:var(--f7-dialog-text-align);color:var(--f7-dialog-text-color);font-size:var(--f7-dialog-font-size);background:var(--f7-dialog-bg-color);will-change:transform,opacity}@supports ((-webkit-backdrop-filter:blur(20px)) or (backdrop-filter:blur(20px))){.ios-translucent-modals .dialog{background-color:rgba(var(--f7-dialog-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.dialog.modal-in{opacity:1;transform:translate3d(0,-50%,0) scale(1)}.dialog.modal-out{opacity:0;z-index:13499}.dialog.not-animated{transition-duration:0s}.dialog-inner{position:relative;padding:var(--f7-dialog-inner-padding)}.dialog-title{color:var(--f7-dialog-title-text-color);font-size:var(--f7-dialog-title-font-size);font-weight:var(--f7-dialog-title-font-weight);line-height:var(--f7-dialog-title-line-height)}.dialog-buttons{position:relative;display:flex;flex-direction:row-reverse}.dialog-buttons-vertical .dialog-buttons{display:block;height:auto!important}.dialog-button{box-sizing:border-box;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis;color:var(--f7-dialog-button-text-color);font-size:var(--f7-dialog-button-font-size);height:var(--f7-dialog-button-height);line-height:var(--f7-dialog-button-height);letter-spacing:var(--f7-dialog-button-letter-spacing);text-align:var(--f7-dialog-button-text-align);font-weight:var(--f7-dialog-button-font-weight);text-transform:var(--f7-dialog-button-text-transform);display:block;cursor:pointer}.dialog-button.active-state{background-color:var(--f7-dialog-button-pressed-bg-color)}.dialog-button-strong{background-color:var(--f7-dialog-button-strong-bg-color);color:var(--f7-dialog-button-strong-text-color);font-weight:var(--f7-dialog-button-strong-font-weight)}.dialog-button-strong.active-state{background-color:var(--f7-dialog-button-strong-pressed-bg-color)}.dialog-no-buttons .dialog-buttons{display:none}.dialog-input-field{position:relative}input.dialog-input[type]{box-sizing:border-box;margin:0;margin-top:15px;border-radius:var(--f7-dialog-input-border-radius);-webkit-appearance:none;appearance:none;width:100%;display:block;font-family:inherit;box-shadow:none;font-size:var(--f7-dialog-input-font-size);height:var(--f7-dialog-input-height);background-color:var(--f7-dialog-input-bg-color);border:var(--f7-dialog-input-border-width) solid var(--f7-dialog-input-border-color)}input.dialog-input[type]::placeholder{color:var(--f7-dialog-input-placeholder-color)}.dialog-input-double input.dialog-input{border-radius:var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius) 0 0}.dialog-input-double+.dialog-input-double input.dialog-input{border-radius:0 0 var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius)}.dialog-preloader .preloader{--f7-preloader-size:var(--f7-dialog-preloader-size)}html.with-modal-dialog .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.ios .dialog.modal-out{transform:translate3d(0,-50%,0) scale(1)}.ios .dialog-inner{border-radius:var(--f7-dialog-border-radius) var(--f7-dialog-border-radius) 0 0}.ios .dialog-inner:after{content:'';position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-title+.dialog-text{margin-top:5px}.ios .dialog-buttons{height:44px;justify-content:center}.ios .dialog-button{width:100%;padding:0 5px;-webkit-box-flex:1;-ms-flex:1}.ios .dialog-button:after{content:'';position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-button:first-child{border-radius:0 0 0 var(--f7-dialog-border-radius)}.ios .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) 0}.ios .dialog-button:last-child:after{display:none!important}.ios .dialog-button:first-child:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-button[class*=color-]{--f7-dialog-button-text-color:var(--f7-theme-color)}.ios .dialog-buttons-vertical .dialog-buttons{height:auto}.ios .dialog-buttons-vertical .dialog-button{border-radius:0}.ios .dialog-buttons-vertical .dialog-button:after{content:'';position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-buttons-vertical .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-buttons-vertical .dialog-button:last-child:after{display:none!important}.ios .dialog-no-buttons .dialog-inner{border-radius:var(--f7-dialog-border-radius)}.ios .dialog-no-buttons .dialog-inner:after{display:none!important}.ios .dialog-input-field{margin-top:15px}.ios .dialog-input{padding:0 5px}.ios .dialog-input+.dialog-input{margin-top:5px}.ios .dialog-input-double+.dialog-input-double{margin-top:0}.ios .dialog-input-double+.dialog-input-double .dialog-input{border-top:0;margin-top:0}.ios .dialog-preloader .dialog-text~.preloader,.ios .dialog-preloader .dialog-title~.preloader{margin-top:15px}.ios .dialog-progress .dialog-text~.progressbar,.ios .dialog-progress .dialog-text~.progressbar-infinite,.ios .dialog-progress .dialog-title~.progressbar,.ios .dialog-progress .dialog-title~.progressbar-infinite{margin-top:15px}.md .dialog.modal-out{transform:translate3d(0,-50%,0) scale(.815)}.md .dialog-title+.dialog-text{margin-top:20px}.md .dialog-text{line-height:1.5}.md .dialog-buttons{height:64px;padding:0px 24px 24px;overflow:hidden;box-sizing:border-box;justify-content:flex-end}.md .dialog-button{--f7-touch-ripple-color:rgba(var(--f7-theme-color-rgb), 0.25);border-radius:99px;min-width:64px;padding:0px 16px;border:none;transition-duration:.3s;transform:translate3d(0,0,0)}.md .dialog-button+.dialog-button{margin-left:8px}.md .dialog-button-strong{--f7-touch-ripple-color:var(--f7-touch-ripple-white)}.md .dialog-button[class*=color-]{--f7-dialog-button-text-color:var(--f7-theme-color)}.md .dialog-buttons-vertical .dialog-buttons{display:flex;flex-direction:column;align-items:flex-end}.md .dialog-buttons-vertical .dialog-button+.dialog-button{margin-top:8px;margin-left:0}.md .dialog-input{padding:0;transition-duration:.2s;position:relative}.md .dialog-input+.dialog-input{margin-top:16px}.md .dialog-preloader .dialog-inner,.md .dialog-preloader .dialog-title,.md .dialog-progress .dialog-inner,.md .dialog-progress .dialog-title{text-align:center}.md .dialog-preloader .dialog-text~.preloader,.md .dialog-preloader .dialog-title~.preloader{margin-top:20px}.md .dialog-progress .dialog-text~.progressbar,.md .dialog-progress .dialog-text~.progressbar-infinite,.md .dialog-progress .dialog-title~.progressbar,.md .dialog-progress .dialog-title~.progressbar-infinite{margin-top:16px}
|
|
1
|
+
:root{--f7-dialog-button-text-color:var(--f7-theme-color);--f7-dialog-button-text-align:center;--f7-dialog-text-line-height:1.5}.ios{--f7-dialog-width:270px;--f7-dialog-inner-padding:24px;--f7-dialog-border-radius:32px;--f7-dialog-text-align:left;--f7-dialog-font-size:14px;--f7-dialog-title-text-color:inherit;--f7-dialog-title-font-size:17px;--f7-dialog-title-font-weight:600;--f7-dialog-title-line-height:inherit;--f7-dialog-button-font-size:17px;--f7-dialog-button-height:44px;--f7-dialog-button-letter-spacing:0;--f7-dialog-button-font-weight:400;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-bg-color:transparent;--f7-dialog-button-strong-text-color:var(--f7-theme-color);--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:16px;--f7-dialog-input-font-size:14px;--f7-dialog-input-height:40px;--f7-dialog-input-border-width:1px;--f7-dialog-input-placeholder-color:#a9a9a9;--f7-dialog-preloader-size:34px;--f7-dialog-bg-color:var(--f7-glass-bg-color);--f7-dialog-input-bg-color:#fff;--f7-dialog-bg-color-rgb:255,255,255;--f7-dialog-text-color:#000;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-input-border-color:rgba(0, 0, 0, 0.3)}.ios .dark,.ios.dark{--f7-dialog-text-color:#fff;--f7-dialog-bg-color-rgb:45,45,45;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-input-border-color:rgba(255, 255, 255, 0.15);--f7-dialog-input-bg-color:rgba(0, 0, 0, 0.5)}.md{--f7-dialog-width:280px;--f7-dialog-inner-padding:24px;--f7-dialog-border-radius:28px;--f7-dialog-text-align:right;--f7-dialog-font-size:14px;--f7-dialog-title-font-size:24px;--f7-dialog-title-font-weight:400;--f7-dialog-title-line-height:1.3;--f7-dialog-button-font-size:14px;--f7-dialog-button-height:40px;--f7-dialog-button-letter-spacing:normal;--f7-dialog-button-font-weight:500;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:0px;--f7-dialog-input-font-size:16px;--f7-dialog-input-height:36px;--f7-dialog-input-border-color:transparent;--f7-dialog-input-border-width:0px;--f7-dialog-preloader-size:32px;--f7-dialog-input-bg-color:transparent}.md,.md .dark,.md [class*=color-]{--f7-dialog-button-pressed-bg-color:transparent;--f7-dialog-button-strong-bg-color:var(--f7-theme-color);--f7-dialog-button-strong-text-color:var(--f7-md-on-primary);--f7-dialog-button-strong-pressed-bg-color:transparent;--f7-dialog-bg-color:var(--f7-md-surface-3);--f7-dialog-input-placeholder-color:var(--f7-md-on-surface-variant);--f7-dialog-text-color:var(--f7-md-on-surface-variant);--f7-dialog-title-text-color:var(--f7-md-on-surface)}.dialog{position:absolute;z-index:13500;left:50%;margin-top:0;top:50%;overflow:hidden;opacity:0;transform:translate3d(0,-50%,0) scale(1.185);transition-property:transform,opacity;display:none;transition-duration:.4s;width:var(--f7-dialog-width);margin-left:calc(-1 * var(--f7-dialog-width)/ 2);border-radius:var(--f7-dialog-border-radius);text-align:var(--f7-dialog-text-align);color:var(--f7-dialog-text-color);font-size:var(--f7-dialog-font-size);background:var(--f7-dialog-bg-color);will-change:transform,opacity}.dialog.modal-in{opacity:1;transform:translate3d(0,-50%,0) scale(1)}.dialog.modal-out{opacity:0;z-index:13499}.dialog.not-animated{transition-duration:0s}.dialog-inner{position:relative;padding:var(--f7-dialog-inner-padding)}.dialog-title{color:var(--f7-dialog-title-text-color);font-size:var(--f7-dialog-title-font-size);font-weight:var(--f7-dialog-title-font-weight);line-height:var(--f7-dialog-title-line-height)}.dialog-text{line-height:var(--f7-dialog-text-line-height)}.dialog-buttons{position:relative;display:flex;flex-direction:row-reverse}.dialog-buttons-vertical .dialog-buttons{flex-direction:column;height:auto!important}.dialog-button{overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.dialog-no-buttons .dialog-buttons{display:none}.dialog-input-field{position:relative}input.dialog-input[type]{box-sizing:border-box;margin:0;margin-top:15px;border-radius:var(--f7-dialog-input-border-radius);-webkit-appearance:none;appearance:none;width:100%;display:block;font-family:inherit;box-shadow:none;font-size:var(--f7-dialog-input-font-size);height:var(--f7-dialog-input-height);background-color:var(--f7-dialog-input-bg-color);border:var(--f7-dialog-input-border-width) solid var(--f7-dialog-input-border-color)}input.dialog-input[type]::placeholder{color:var(--f7-dialog-input-placeholder-color)}.dialog-input-double input.dialog-input{border-radius:var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius) 0 0}.dialog-input-double+.dialog-input-double input.dialog-input{border-radius:0 0 var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius)}.dialog-preloader .preloader{--f7-preloader-size:var(--f7-dialog-preloader-size)}html:has(.dialog.modal-in) .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.ios .dialog{box-shadow:var(--f7-glass-shadow);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-radius:var(--f7-dialog-border-radius)}.ios .dialog.modal-out{transform:translate3d(0,-50%,0) scale(1)}.ios .dialog-inner{border-radius:var(--f7-dialog-border-radius) var(--f7-dialog-border-radius) 0 0}.ios .dialog-title+.dialog-text{margin-top:12px}.ios .dialog-buttons{padding:0 14px 14px 14px;justify-content:center;gap:8px}.ios .dialog-button{width:100%;-webkit-box-flex:1;-ms-flex:1}.ios .dialog-no-buttons .dialog-inner{border-radius:var(--f7-dialog-border-radius)}.ios .dialog-input-field{margin-top:15px}.ios .dialog-input{padding:0 12px}.ios .dialog-input+.dialog-input{margin-top:12px}.ios .dialog-input-double+.dialog-input-double{margin-top:0}.ios .dialog-input-double+.dialog-input-double .dialog-input{border-top:0;margin-top:0}.ios .dialog-preloader{text-align:center}.ios .dialog-preloader .dialog-text~.preloader,.ios .dialog-preloader .dialog-title~.preloader{margin-top:15px}.ios .dialog-progress .dialog-text~.progressbar,.ios .dialog-progress .dialog-text~.progressbar-infinite,.ios .dialog-progress .dialog-title~.progressbar,.ios .dialog-progress .dialog-title~.progressbar-infinite{margin-top:15px}.md .dialog.modal-out{transform:translate3d(0,-50%,0) scale(.815)}.md .dialog-title+.dialog-text{margin-top:20px}.md .dialog-text{line-height:1.5}.md .dialog-buttons{padding:0px 24px 24px;overflow:hidden;box-sizing:border-box;justify-content:flex-end;gap:8px}.md .dialog-button{width:auto}.md .dialog-buttons-vertical .dialog-buttons{display:flex;flex-direction:column;align-items:flex-end}.md .dialog-input{padding:0;transition-duration:.2s;position:relative}.md .dialog-input+.dialog-input{margin-top:16px}.md .dialog-preloader .dialog-inner,.md .dialog-preloader .dialog-title,.md .dialog-progress .dialog-inner,.md .dialog-progress .dialog-title{text-align:center}.md .dialog-preloader .dialog-text~.preloader,.md .dialog-preloader .dialog-title~.preloader{margin-top:20px}.md .dialog-progress .dialog-text~.progressbar,.md .dialog-progress .dialog-text~.progressbar-infinite,.md .dialog-progress .dialog-title~.progressbar,.md .dialog-progress .dialog-title~.progressbar-infinite{margin-top:16px}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--f7-dialog-button-text-color: var(--f7-theme-color);
|
|
3
3
|
--f7-dialog-button-text-align: center;
|
|
4
|
+
--f7-dialog-text-line-height: 1.5;
|
|
4
5
|
}
|
|
5
6
|
.ios-vars({
|
|
6
7
|
|
|
7
8
|
--f7-dialog-width: 270px;
|
|
8
|
-
--f7-dialog-inner-padding:
|
|
9
|
-
--f7-dialog-border-radius:
|
|
10
|
-
--f7-dialog-text-align:
|
|
9
|
+
--f7-dialog-inner-padding: 24px;
|
|
10
|
+
--f7-dialog-border-radius: 32px;
|
|
11
|
+
--f7-dialog-text-align: left;
|
|
11
12
|
--f7-dialog-font-size: 14px;
|
|
12
13
|
--f7-dialog-title-text-color: inherit;
|
|
13
|
-
--f7-dialog-title-font-size:
|
|
14
|
+
--f7-dialog-title-font-size: 17px;
|
|
14
15
|
--f7-dialog-title-font-weight: 600;
|
|
15
16
|
--f7-dialog-title-line-height: inherit;
|
|
16
17
|
|
|
@@ -23,31 +24,28 @@
|
|
|
23
24
|
--f7-dialog-button-strong-text-color: var(--f7-theme-color);
|
|
24
25
|
--f7-dialog-button-strong-font-weight: 500;
|
|
25
26
|
|
|
26
|
-
--f7-dialog-input-border-radius:
|
|
27
|
+
--f7-dialog-input-border-radius: 16px;
|
|
27
28
|
--f7-dialog-input-font-size: 14px;
|
|
28
|
-
--f7-dialog-input-height:
|
|
29
|
+
--f7-dialog-input-height: 40px;
|
|
29
30
|
--f7-dialog-input-border-width: 1px;
|
|
30
31
|
--f7-dialog-input-placeholder-color: #a9a9a9;
|
|
31
32
|
|
|
32
33
|
--f7-dialog-preloader-size: 34px;
|
|
33
34
|
|
|
35
|
+
--f7-dialog-bg-color: var(--f7-glass-bg-color);
|
|
34
36
|
.light-vars({
|
|
35
37
|
--f7-dialog-input-bg-color: #fff;
|
|
36
|
-
--f7-dialog-bg-color: rgba(255,255,255,0.95);
|
|
37
38
|
--f7-dialog-bg-color-rgb: 255, 255, 255;
|
|
38
39
|
--f7-dialog-text-color: #000;
|
|
39
40
|
--f7-dialog-button-pressed-bg-color: rgba(0,0,0,0.1);
|
|
40
41
|
--f7-dialog-button-strong-pressed-bg-color: rgba(0,0,0,0.1);
|
|
41
42
|
--f7-dialog-input-border-color: rgba(0,0,0,0.3);
|
|
42
|
-
--f7-dialog-border-divider-color: rgba(0,0,0,0.2);
|
|
43
43
|
});
|
|
44
44
|
.dark-vars({
|
|
45
45
|
--f7-dialog-text-color: #fff;
|
|
46
|
-
--f7-dialog-bg-color: rgba(45,45,45,0.95);
|
|
47
46
|
--f7-dialog-bg-color-rgb: 45, 45, 45;
|
|
48
47
|
--f7-dialog-button-pressed-bg-color: rgba(0,0,0,0.2);
|
|
49
48
|
--f7-dialog-button-strong-pressed-bg-color: rgba(0,0,0,0.2);
|
|
50
|
-
--f7-dialog-border-divider-color: rgba(255,255,255,0.15);
|
|
51
49
|
--f7-dialog-input-border-color: rgba(255,255,255,0.15);
|
|
52
50
|
--f7-dialog-input-bg-color: rgba(0,0,0,0.5);
|
|
53
51
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--f7-dialog-button-text-color:var(--f7-theme-color);--f7-dialog-button-text-align:center}.ios{--f7-dialog-width:270px;--f7-dialog-inner-padding:16px;--f7-dialog-border-radius:13px;--f7-dialog-text-align:center;--f7-dialog-font-size:14px;--f7-dialog-title-text-color:inherit;--f7-dialog-title-font-size:18px;--f7-dialog-title-font-weight:600;--f7-dialog-title-line-height:inherit;--f7-dialog-button-font-size:17px;--f7-dialog-button-height:44px;--f7-dialog-button-letter-spacing:0;--f7-dialog-button-font-weight:400;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-bg-color:transparent;--f7-dialog-button-strong-text-color:var(--f7-theme-color);--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:4px;--f7-dialog-input-font-size:14px;--f7-dialog-input-height:32px;--f7-dialog-input-border-width:1px;--f7-dialog-input-placeholder-color:#a9a9a9;--f7-dialog-preloader-size:34px;--f7-dialog-input-bg-color:#fff;--f7-dialog-bg-color:rgba(255, 255, 255, 0.95);--f7-dialog-bg-color-rgb:255,255,255;--f7-dialog-text-color:#000;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-input-border-color:rgba(0, 0, 0, 0.3);--f7-dialog-border-divider-color:rgba(0, 0, 0, 0.2)}.ios .dark,.ios.dark{--f7-dialog-text-color:#fff;--f7-dialog-bg-color:rgba(45, 45, 45, 0.95);--f7-dialog-bg-color-rgb:45,45,45;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-border-divider-color:rgba(255, 255, 255, 0.15);--f7-dialog-input-border-color:rgba(255, 255, 255, 0.15);--f7-dialog-input-bg-color:rgba(0, 0, 0, 0.5)}.md{--f7-dialog-width:280px;--f7-dialog-inner-padding:24px;--f7-dialog-border-radius:28px;--f7-dialog-text-align:left;--f7-dialog-font-size:14px;--f7-dialog-title-font-size:24px;--f7-dialog-title-font-weight:400;--f7-dialog-title-line-height:1.3;--f7-dialog-button-font-size:14px;--f7-dialog-button-height:40px;--f7-dialog-button-letter-spacing:normal;--f7-dialog-button-font-weight:500;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:0px;--f7-dialog-input-font-size:16px;--f7-dialog-input-height:36px;--f7-dialog-input-border-color:transparent;--f7-dialog-input-border-width:0px;--f7-dialog-preloader-size:32px;--f7-dialog-input-bg-color:transparent}.md,.md .dark,.md [class*=color-]{--f7-dialog-button-pressed-bg-color:transparent;--f7-dialog-button-strong-bg-color:var(--f7-theme-color);--f7-dialog-button-strong-text-color:var(--f7-md-on-primary);--f7-dialog-button-strong-pressed-bg-color:transparent;--f7-dialog-bg-color:var(--f7-md-surface-3);--f7-dialog-input-placeholder-color:var(--f7-md-on-surface-variant);--f7-dialog-text-color:var(--f7-md-on-surface-variant);--f7-dialog-title-text-color:var(--f7-md-on-surface)}.dialog{position:absolute;z-index:13500;left:50%;margin-top:0;top:50%;overflow:hidden;opacity:0;transform:translate3d(0,-50%,0) scale(1.185);transition-property:transform,opacity;display:none;transition-duration:.4s;width:var(--f7-dialog-width);margin-left:calc(-1 * var(--f7-dialog-width)/ 2);border-radius:var(--f7-dialog-border-radius);text-align:var(--f7-dialog-text-align);color:var(--f7-dialog-text-color);font-size:var(--f7-dialog-font-size);background:var(--f7-dialog-bg-color);will-change:transform,opacity}@supports ((-webkit-backdrop-filter:blur(20px)) or (backdrop-filter:blur(20px))){.ios-translucent-modals .dialog{background-color:rgba(var(--f7-dialog-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.dialog.modal-in{opacity:1;transform:translate3d(0,-50%,0) scale(1)}.dialog.modal-out{opacity:0;z-index:13499}.dialog.not-animated{transition-duration:0s}.dialog-inner{position:relative;padding:var(--f7-dialog-inner-padding)}.dialog-title{color:var(--f7-dialog-title-text-color);font-size:var(--f7-dialog-title-font-size);font-weight:var(--f7-dialog-title-font-weight);line-height:var(--f7-dialog-title-line-height)}.dialog-buttons{position:relative;display:flex}.dialog-buttons-vertical .dialog-buttons{display:block;height:auto!important}.dialog-button{box-sizing:border-box;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis;color:var(--f7-dialog-button-text-color);font-size:var(--f7-dialog-button-font-size);height:var(--f7-dialog-button-height);line-height:var(--f7-dialog-button-height);letter-spacing:var(--f7-dialog-button-letter-spacing);text-align:var(--f7-dialog-button-text-align);font-weight:var(--f7-dialog-button-font-weight);text-transform:var(--f7-dialog-button-text-transform);display:block;cursor:pointer}.dialog-button.active-state{background-color:var(--f7-dialog-button-pressed-bg-color)}.dialog-button-strong{background-color:var(--f7-dialog-button-strong-bg-color);color:var(--f7-dialog-button-strong-text-color);font-weight:var(--f7-dialog-button-strong-font-weight)}.dialog-button-strong.active-state{background-color:var(--f7-dialog-button-strong-pressed-bg-color)}.dialog-no-buttons .dialog-buttons{display:none}.dialog-input-field{position:relative}input.dialog-input[type]{box-sizing:border-box;margin:0;margin-top:15px;border-radius:var(--f7-dialog-input-border-radius);-webkit-appearance:none;appearance:none;width:100%;display:block;font-family:inherit;box-shadow:none;font-size:var(--f7-dialog-input-font-size);height:var(--f7-dialog-input-height);background-color:var(--f7-dialog-input-bg-color);border:var(--f7-dialog-input-border-width) solid var(--f7-dialog-input-border-color)}input.dialog-input[type]::placeholder{color:var(--f7-dialog-input-placeholder-color)}.dialog-input-double input.dialog-input{border-radius:var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius) 0 0}.dialog-input-double+.dialog-input-double input.dialog-input{border-radius:0 0 var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius)}.dialog-preloader .preloader{--f7-preloader-size:var(--f7-dialog-preloader-size)}html.with-modal-dialog .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.ios .dialog.modal-out{transform:translate3d(0,-50%,0) scale(1)}.ios .dialog-inner{border-radius:var(--f7-dialog-border-radius) var(--f7-dialog-border-radius) 0 0}.ios .dialog-inner:after{content:'';position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-title+.dialog-text{margin-top:5px}.ios .dialog-buttons{height:44px;justify-content:center}.ios .dialog-button{width:100%;padding:0 5px;-webkit-box-flex:1;-ms-flex:1}.ios .dialog-button:after{content:'';position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-button:first-child{border-radius:0 0 0 var(--f7-dialog-border-radius)}.ios .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) 0}.ios .dialog-button:last-child:after{display:none!important}.ios .dialog-button:first-child:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-button[class*=color-]{--f7-dialog-button-text-color:var(--f7-theme-color)}.ios .dialog-buttons-vertical .dialog-buttons{height:auto}.ios .dialog-buttons-vertical .dialog-button{border-radius:0}.ios .dialog-buttons-vertical .dialog-button:after{content:'';position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-buttons-vertical .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-buttons-vertical .dialog-button:last-child:after{display:none!important}.ios .dialog-no-buttons .dialog-inner{border-radius:var(--f7-dialog-border-radius)}.ios .dialog-no-buttons .dialog-inner:after{display:none!important}.ios .dialog-input-field{margin-top:15px}.ios .dialog-input{padding:0 5px}.ios .dialog-input+.dialog-input{margin-top:5px}.ios .dialog-input-double+.dialog-input-double{margin-top:0}.ios .dialog-input-double+.dialog-input-double .dialog-input{border-top:0;margin-top:0}.ios .dialog-preloader .dialog-text~.preloader,.ios .dialog-preloader .dialog-title~.preloader{margin-top:15px}.ios .dialog-progress .dialog-text~.progressbar,.ios .dialog-progress .dialog-text~.progressbar-infinite,.ios .dialog-progress .dialog-title~.progressbar,.ios .dialog-progress .dialog-title~.progressbar-infinite{margin-top:15px}.md .dialog.modal-out{transform:translate3d(0,-50%,0) scale(.815)}.md .dialog-title+.dialog-text{margin-top:20px}.md .dialog-text{line-height:1.5}.md .dialog-buttons{height:64px;padding:0px 24px 24px;overflow:hidden;box-sizing:border-box;justify-content:flex-end}.md .dialog-button{--f7-touch-ripple-color:rgba(var(--f7-theme-color-rgb), 0.25);border-radius:99px;min-width:64px;padding:0px 16px;border:none;transition-duration:.3s;transform:translate3d(0,0,0)}.md .dialog-button+.dialog-button{margin-left:8px}.md .dialog-button-strong{--f7-touch-ripple-color:var(--f7-touch-ripple-white)}.md .dialog-button[class*=color-]{--f7-dialog-button-text-color:var(--f7-theme-color)}.md .dialog-buttons-vertical .dialog-buttons{display:flex;flex-direction:column;align-items:flex-end}.md .dialog-buttons-vertical .dialog-button+.dialog-button{margin-top:8px;margin-left:0}.md .dialog-input{padding:0;transition-duration:.2s;position:relative}.md .dialog-input+.dialog-input{margin-top:16px}.md .dialog-preloader .dialog-inner,.md .dialog-preloader .dialog-title,.md .dialog-progress .dialog-inner,.md .dialog-progress .dialog-title{text-align:center}.md .dialog-preloader .dialog-text~.preloader,.md .dialog-preloader .dialog-title~.preloader{margin-top:20px}.md .dialog-progress .dialog-text~.progressbar,.md .dialog-progress .dialog-text~.progressbar-infinite,.md .dialog-progress .dialog-title~.progressbar,.md .dialog-progress .dialog-title~.progressbar-infinite{margin-top:16px}
|
|
1
|
+
:root{--f7-dialog-button-text-color:var(--f7-theme-color);--f7-dialog-button-text-align:center;--f7-dialog-text-line-height:1.5}.ios{--f7-dialog-width:270px;--f7-dialog-inner-padding:24px;--f7-dialog-border-radius:32px;--f7-dialog-text-align:left;--f7-dialog-font-size:14px;--f7-dialog-title-text-color:inherit;--f7-dialog-title-font-size:17px;--f7-dialog-title-font-weight:600;--f7-dialog-title-line-height:inherit;--f7-dialog-button-font-size:17px;--f7-dialog-button-height:44px;--f7-dialog-button-letter-spacing:0;--f7-dialog-button-font-weight:400;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-bg-color:transparent;--f7-dialog-button-strong-text-color:var(--f7-theme-color);--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:16px;--f7-dialog-input-font-size:14px;--f7-dialog-input-height:40px;--f7-dialog-input-border-width:1px;--f7-dialog-input-placeholder-color:#a9a9a9;--f7-dialog-preloader-size:34px;--f7-dialog-bg-color:var(--f7-glass-bg-color);--f7-dialog-input-bg-color:#fff;--f7-dialog-bg-color-rgb:255,255,255;--f7-dialog-text-color:#000;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.1);--f7-dialog-input-border-color:rgba(0, 0, 0, 0.3)}.ios .dark,.ios.dark{--f7-dialog-text-color:#fff;--f7-dialog-bg-color-rgb:45,45,45;--f7-dialog-button-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-button-strong-pressed-bg-color:rgba(0, 0, 0, 0.2);--f7-dialog-input-border-color:rgba(255, 255, 255, 0.15);--f7-dialog-input-bg-color:rgba(0, 0, 0, 0.5)}.md{--f7-dialog-width:280px;--f7-dialog-inner-padding:24px;--f7-dialog-border-radius:28px;--f7-dialog-text-align:left;--f7-dialog-font-size:14px;--f7-dialog-title-font-size:24px;--f7-dialog-title-font-weight:400;--f7-dialog-title-line-height:1.3;--f7-dialog-button-font-size:14px;--f7-dialog-button-height:40px;--f7-dialog-button-letter-spacing:normal;--f7-dialog-button-font-weight:500;--f7-dialog-button-text-transform:none;--f7-dialog-button-strong-font-weight:500;--f7-dialog-input-border-radius:0px;--f7-dialog-input-font-size:16px;--f7-dialog-input-height:36px;--f7-dialog-input-border-color:transparent;--f7-dialog-input-border-width:0px;--f7-dialog-preloader-size:32px;--f7-dialog-input-bg-color:transparent}.md,.md .dark,.md [class*=color-]{--f7-dialog-button-pressed-bg-color:transparent;--f7-dialog-button-strong-bg-color:var(--f7-theme-color);--f7-dialog-button-strong-text-color:var(--f7-md-on-primary);--f7-dialog-button-strong-pressed-bg-color:transparent;--f7-dialog-bg-color:var(--f7-md-surface-3);--f7-dialog-input-placeholder-color:var(--f7-md-on-surface-variant);--f7-dialog-text-color:var(--f7-md-on-surface-variant);--f7-dialog-title-text-color:var(--f7-md-on-surface)}.dialog{position:absolute;z-index:13500;left:50%;margin-top:0;top:50%;overflow:hidden;opacity:0;transform:translate3d(0,-50%,0) scale(1.185);transition-property:transform,opacity;display:none;transition-duration:.4s;width:var(--f7-dialog-width);margin-left:calc(-1 * var(--f7-dialog-width)/ 2);border-radius:var(--f7-dialog-border-radius);text-align:var(--f7-dialog-text-align);color:var(--f7-dialog-text-color);font-size:var(--f7-dialog-font-size);background:var(--f7-dialog-bg-color);will-change:transform,opacity}.dialog.modal-in{opacity:1;transform:translate3d(0,-50%,0) scale(1)}.dialog.modal-out{opacity:0;z-index:13499}.dialog.not-animated{transition-duration:0s}.dialog-inner{position:relative;padding:var(--f7-dialog-inner-padding)}.dialog-title{color:var(--f7-dialog-title-text-color);font-size:var(--f7-dialog-title-font-size);font-weight:var(--f7-dialog-title-font-weight);line-height:var(--f7-dialog-title-line-height)}.dialog-text{line-height:var(--f7-dialog-text-line-height)}.dialog-buttons{position:relative;display:flex}.dialog-buttons-vertical .dialog-buttons{flex-direction:column;height:auto!important}.dialog-button{overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.dialog-no-buttons .dialog-buttons{display:none}.dialog-input-field{position:relative}input.dialog-input[type]{box-sizing:border-box;margin:0;margin-top:15px;border-radius:var(--f7-dialog-input-border-radius);-webkit-appearance:none;appearance:none;width:100%;display:block;font-family:inherit;box-shadow:none;font-size:var(--f7-dialog-input-font-size);height:var(--f7-dialog-input-height);background-color:var(--f7-dialog-input-bg-color);border:var(--f7-dialog-input-border-width) solid var(--f7-dialog-input-border-color)}input.dialog-input[type]::placeholder{color:var(--f7-dialog-input-placeholder-color)}.dialog-input-double input.dialog-input{border-radius:var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius) 0 0}.dialog-input-double+.dialog-input-double input.dialog-input{border-radius:0 0 var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius)}.dialog-preloader .preloader{--f7-preloader-size:var(--f7-dialog-preloader-size)}html:has(.dialog.modal-in) .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.ios .dialog{box-shadow:var(--f7-glass-shadow);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-radius:var(--f7-dialog-border-radius)}.ios .dialog.modal-out{transform:translate3d(0,-50%,0) scale(1)}.ios .dialog-inner{border-radius:var(--f7-dialog-border-radius) var(--f7-dialog-border-radius) 0 0}.ios .dialog-title+.dialog-text{margin-top:12px}.ios .dialog-buttons{padding:0 14px 14px 14px;justify-content:center;gap:8px}.ios .dialog-button{width:100%;-webkit-box-flex:1;-ms-flex:1}.ios .dialog-no-buttons .dialog-inner{border-radius:var(--f7-dialog-border-radius)}.ios .dialog-input-field{margin-top:15px}.ios .dialog-input{padding:0 12px}.ios .dialog-input+.dialog-input{margin-top:12px}.ios .dialog-input-double+.dialog-input-double{margin-top:0}.ios .dialog-input-double+.dialog-input-double .dialog-input{border-top:0;margin-top:0}.ios .dialog-preloader{text-align:center}.ios .dialog-preloader .dialog-text~.preloader,.ios .dialog-preloader .dialog-title~.preloader{margin-top:15px}.ios .dialog-progress .dialog-text~.progressbar,.ios .dialog-progress .dialog-text~.progressbar-infinite,.ios .dialog-progress .dialog-title~.progressbar,.ios .dialog-progress .dialog-title~.progressbar-infinite{margin-top:15px}.md .dialog.modal-out{transform:translate3d(0,-50%,0) scale(.815)}.md .dialog-title+.dialog-text{margin-top:20px}.md .dialog-text{line-height:1.5}.md .dialog-buttons{padding:0px 24px 24px;overflow:hidden;box-sizing:border-box;justify-content:flex-end;gap:8px}.md .dialog-button{width:auto}.md .dialog-buttons-vertical .dialog-buttons{display:flex;flex-direction:column;align-items:flex-end}.md .dialog-input{padding:0;transition-duration:.2s;position:relative}.md .dialog-input+.dialog-input{margin-top:16px}.md .dialog-preloader .dialog-inner,.md .dialog-preloader .dialog-title,.md .dialog-progress .dialog-inner,.md .dialog-progress .dialog-title{text-align:center}.md .dialog-preloader .dialog-text~.preloader,.md .dialog-preloader .dialog-title~.preloader{margin-top:20px}.md .dialog-progress .dialog-text~.progressbar,.md .dialog-progress .dialog-text~.progressbar-infinite,.md .dialog-progress .dialog-title~.progressbar,.md .dialog-progress .dialog-title~.progressbar-infinite{margin-top:16px}
|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
83
83
|
color: null
|
|
84
84
|
}, {
|
|
85
85
|
text: app.params.dialog.buttonOk,
|
|
86
|
-
strong:
|
|
86
|
+
strong: true,
|
|
87
87
|
keyCodes: keyboardActions ? [13] : null
|
|
88
88
|
}],
|
|
89
89
|
onClick(dialog, index) {
|
|
@@ -113,7 +113,7 @@ export default {
|
|
|
113
113
|
color: null
|
|
114
114
|
}, {
|
|
115
115
|
text: app.params.dialog.buttonOk,
|
|
116
|
-
strong:
|
|
116
|
+
strong: true,
|
|
117
117
|
onClick: callbackOk,
|
|
118
118
|
keyCodes: keyboardActions ? [13] : null
|
|
119
119
|
}],
|
|
@@ -180,7 +180,7 @@ export default {
|
|
|
180
180
|
color: null
|
|
181
181
|
}, {
|
|
182
182
|
text: app.params.dialog.buttonOk,
|
|
183
|
-
strong:
|
|
183
|
+
strong: true,
|
|
184
184
|
keyCodes: keyboardActions ? [13] : null
|
|
185
185
|
}],
|
|
186
186
|
onClick(dialog, index) {
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
font-size: var(--f7-dialog-font-size);
|
|
24
24
|
background: var(--f7-dialog-bg-color);
|
|
25
25
|
will-change: transform, opacity;
|
|
26
|
-
.ios-translucent-modals(var(--f7-dialog-bg-color-rgb));
|
|
27
26
|
&.modal-in {
|
|
28
27
|
opacity: 1;
|
|
29
28
|
transform: translate3d(0, -50%, 0) scale(1);
|
|
@@ -46,6 +45,9 @@
|
|
|
46
45
|
font-weight: var(--f7-dialog-title-font-weight);
|
|
47
46
|
line-height: var(--f7-dialog-title-line-height);
|
|
48
47
|
}
|
|
48
|
+
.dialog-text {
|
|
49
|
+
line-height: var(--f7-dialog-text-line-height);
|
|
50
|
+
}
|
|
49
51
|
// Buttons
|
|
50
52
|
.dialog-buttons {
|
|
51
53
|
position: relative;
|
|
@@ -54,38 +56,17 @@
|
|
|
54
56
|
flex-direction: row-reverse;
|
|
55
57
|
});
|
|
56
58
|
.dialog-buttons-vertical & {
|
|
57
|
-
|
|
59
|
+
flex-direction: column;
|
|
58
60
|
height: auto !important;
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
.dialog-button {
|
|
62
|
-
box-sizing: border-box;
|
|
63
64
|
overflow: hidden;
|
|
64
65
|
position: relative;
|
|
65
66
|
white-space: nowrap;
|
|
66
67
|
text-overflow: ellipsis;
|
|
67
|
-
color: var(--f7-dialog-button-text-color);
|
|
68
|
-
font-size: var(--f7-dialog-button-font-size);
|
|
69
|
-
height: var(--f7-dialog-button-height);
|
|
70
|
-
line-height: var(--f7-dialog-button-height);
|
|
71
|
-
letter-spacing: var(--f7-dialog-button-letter-spacing);
|
|
72
|
-
text-align: var(--f7-dialog-button-text-align);
|
|
73
|
-
font-weight: var(--f7-dialog-button-font-weight);
|
|
74
|
-
text-transform: var(--f7-dialog-button-text-transform);
|
|
75
|
-
display: block;
|
|
76
|
-
cursor: pointer;
|
|
77
|
-
&.active-state {
|
|
78
|
-
background-color: var(--f7-dialog-button-pressed-bg-color);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.dialog-button-strong {
|
|
82
|
-
background-color: var(--f7-dialog-button-strong-bg-color);
|
|
83
|
-
color: var(--f7-dialog-button-strong-text-color);
|
|
84
|
-
font-weight: var(--f7-dialog-button-strong-font-weight);
|
|
85
|
-
&.active-state {
|
|
86
|
-
background-color: var(--f7-dialog-button-strong-pressed-bg-color);
|
|
87
|
-
}
|
|
88
68
|
}
|
|
69
|
+
|
|
89
70
|
.dialog-no-buttons {
|
|
90
71
|
.dialog-buttons {
|
|
91
72
|
display: none;
|
|
@@ -128,7 +109,7 @@ input.dialog-input[type] {
|
|
|
128
109
|
}
|
|
129
110
|
}
|
|
130
111
|
|
|
131
|
-
html.
|
|
112
|
+
html:has(.dialog.modal-in) {
|
|
132
113
|
.page-content {
|
|
133
114
|
.not-scrollable();
|
|
134
115
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--f7-list-inset-side-margin: 16px;
|
|
3
3
|
--f7-list-item-padding-horizontal: 16px;
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
--f7-list-media-item-padding-horizontal: 16px;
|
|
6
6
|
--f7-list-item-text-max-lines: 2;
|
|
7
7
|
--f7-list-chevron-icon-font-size: 20px;
|
|
@@ -57,8 +57,9 @@
|
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
.ios-vars({
|
|
60
|
+
--f7-list-item-padding-vertical: 12px;
|
|
60
61
|
--f7-list-in-list-padding-left: 30px;
|
|
61
|
-
--f7-list-inset-border-radius:
|
|
62
|
+
--f7-list-inset-border-radius: 24px;
|
|
62
63
|
--f7-list-margin-vertical: 35px;
|
|
63
64
|
--f7-list-font-size: 17px;
|
|
64
65
|
--f7-list-chevron-icon-area: 20px;
|
|
@@ -76,10 +77,10 @@
|
|
|
76
77
|
--f7-list-item-after-font-size: inherit;
|
|
77
78
|
--f7-list-item-after-padding: 5px;
|
|
78
79
|
|
|
79
|
-
--f7-list-item-min-height:
|
|
80
|
+
--f7-list-item-min-height: 52px;
|
|
80
81
|
--f7-list-item-media-icons-margin: 5px;
|
|
81
82
|
--f7-list-media-item-padding-vertical: 10px;
|
|
82
|
-
--f7-list-media-item-title-font-weight:
|
|
83
|
+
--f7-list-media-item-title-font-weight: 500;
|
|
83
84
|
--f7-list-button-border-color: rgba(0,0,0,0.22);
|
|
84
85
|
/*
|
|
85
86
|
--f7-list-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .15);
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
--f7-list-group-title-font-weight: 400;
|
|
93
94
|
|
|
94
95
|
--f7-menu-list-offset: 8px;
|
|
95
|
-
--f7-menu-list-border-radius:
|
|
96
|
+
--f7-menu-list-border-radius: 16px;
|
|
96
97
|
--f7-menu-list-item-bg-color: transparent;
|
|
97
98
|
--f7-menu-list-item-text-color: inherit;
|
|
98
99
|
--f7-menu-list-item-min-height: 44px;
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
});
|
|
114
115
|
.dark-vars({
|
|
115
116
|
--f7-list-item-border-color: rgba(255, 255, 255, 0.15);
|
|
116
|
-
--f7-list-outline-inset-color: rgba(255, 255, 255, 0.15);
|
|
117
|
+
--f7-list-outline-inset-border-color: rgba(255, 255, 255, 0.15);
|
|
117
118
|
--f7-list-strong-bg-color: #1c1c1d;
|
|
118
119
|
--f7-list-item-after-text-color: rgba(255,255,255,0.55);
|
|
119
120
|
--f7-list-item-header-text-color: rgba(255,255,255,0.55);
|
|
@@ -128,6 +129,7 @@
|
|
|
128
129
|
});
|
|
129
130
|
});
|
|
130
131
|
.md-vars({
|
|
132
|
+
--f7-list-item-padding-vertical: 8px;
|
|
131
133
|
--f7-list-in-list-padding-left: 24px;
|
|
132
134
|
--f7-list-inset-border-radius: 16px;
|
|
133
135
|
--f7-list-margin-vertical: 32px;
|