|
4 | 4 | .light-vars({ |
5 | 5 | --f7-dialog-input-bg-color: #fff; |
6 | 6 | }); |
7 | | - .dark-vars({ |
8 | | - --f7-dialog-text-color: #fff; |
9 | | - }); |
10 | 7 | } |
11 | 8 | .ios-vars({ |
12 | | - --f7-dialog-box-shadow: none; |
| 9 | + |
13 | 10 | --f7-dialog-width: 270px; |
14 | 11 | --f7-dialog-inner-padding: 16px; |
15 | 12 | --f7-dialog-border-radius: 13px; |
|
25 | 22 | --f7-dialog-button-letter-spacing: 0; |
26 | 23 | --f7-dialog-button-font-weight: 400; |
27 | 24 | --f7-dialog-button-text-transform: none; |
| 25 | + --f7-dialog-button-strong-bg-color: transparent; |
| 26 | + --f7-dialog-button-strong-text-color: var(--f7-theme-color); |
| 27 | + --f7-dialog-button-strong-font-weight: 500; |
28 | 28 |
|
29 | 29 | --f7-dialog-input-border-radius: 4px; |
30 | 30 | --f7-dialog-input-font-size: 14px; |
|
39 | 39 | --f7-dialog-bg-color-rgb: 255, 255, 255; |
40 | 40 | --f7-dialog-text-color: #000; |
41 | 41 | --f7-dialog-button-pressed-bg-color: rgba(0,0,0,0.1); |
| 42 | + --f7-dialog-button-strong-pressed-bg-color: rgba(0,0,0,0.1); |
42 | 43 | --f7-dialog-input-border-color: rgba(0,0,0,0.3); |
43 | 44 | --f7-dialog-border-divider-color: rgba(0,0,0,0.2); |
44 | 45 | }); |
45 | 46 | .dark-vars({ |
| 47 | + --f7-dialog-text-color: #fff; |
46 | 48 | --f7-dialog-bg-color: rgba(45,45,45,0.95); |
47 | 49 | --f7-dialog-bg-color-rgb: 45, 45, 45; |
48 | 50 | --f7-dialog-button-pressed-bg-color: rgba(0,0,0,0.2); |
| 51 | + --f7-dialog-button-strong-pressed-bg-color: rgba(0,0,0,0.2); |
49 | 52 | --f7-dialog-border-divider-color: rgba(255,255,255,0.15); |
50 | 53 | --f7-dialog-input-border-color: rgba(255,255,255,0.15); |
51 | 54 | --f7-dialog-input-bg-color: rgba(0,0,0,0.5); |
52 | 55 | }); |
53 | 56 | }); |
54 | 57 | .md-vars({ |
55 | | - --f7-dialog-box-shadow: var(--f7-elevation-24); |
56 | 58 | --f7-dialog-width: 280px; |
57 | 59 | --f7-dialog-inner-padding: 24px; |
58 | | - --f7-dialog-border-radius: 4px; |
| 60 | + --f7-dialog-border-radius: 28px; |
59 | 61 | .ltr({ |
60 | 62 | --f7-dialog-text-align: left; |
61 | 63 | }); |
62 | 64 | .rtl({ |
63 | 65 | --f7-dialog-text-align: right; |
64 | 66 | }); |
65 | | - --f7-dialog-font-size: 16px; |
66 | | - --f7-dialog-title-font-size: 20px; |
67 | | - --f7-dialog-title-font-weight: 500; |
| 67 | + --f7-dialog-font-size: 14px; |
| 68 | + --f7-dialog-title-font-size: 24px; |
| 69 | + --f7-dialog-title-font-weight: 400; |
68 | 70 | --f7-dialog-title-line-height: 1.3; |
69 | 71 |
|
70 | 72 | --f7-dialog-button-font-size: 14px; |
71 | | - --f7-dialog-button-height: 36px; |
72 | | - --f7-dialog-button-letter-spacing: 0.05em; |
| 73 | + --f7-dialog-button-height: 40px; |
| 74 | + --f7-dialog-button-letter-spacing: normal; |
73 | 75 | --f7-dialog-button-font-weight: 500; |
74 | | - --f7-dialog-button-text-transform: uppercase; |
| 76 | + --f7-dialog-button-text-transform: none; |
75 | 77 | --f7-dialog-button-pressed-bg-color: rgba(var(--f7-theme-color-rgb), 0.15); |
76 | 78 |
|
| 79 | + --f7-dialog-button-strong-bg-color: var(--f7-theme-color); |
| 80 | + --f7-dialog-button-strong-text-color: var(--f7-md-on-primary); |
| 81 | + --f7-dialog-button-strong-font-weight: 500; |
| 82 | + --f7-dialog-button-strong-pressed-bg-color: var(--f7-theme-color-shade); |
| 83 | + |
77 | 84 | --f7-dialog-input-border-radius: 0px; |
78 | 85 | --f7-dialog-input-font-size: 16px; |
79 | 86 | --f7-dialog-input-height: 36px; |
80 | 87 | --f7-dialog-input-border-color: transparent; |
81 | 88 | --f7-dialog-input-border-width: 0px; |
82 | 89 |
|
83 | 90 | --f7-dialog-preloader-size: 32px; |
| 91 | + --f7-dialog-bg-color: var(--f7-md-surface-3); |
| 92 | + --f7-dialog-text-color: var(--f7-md-on-surface-variant); |
| 93 | + --f7-dialog-title-text-color: var(--f7-md-on-surface); |
84 | 94 | .light-vars({ |
85 | | - --f7-dialog-bg-color: #fff; |
86 | | - --f7-dialog-text-color: rgba(0,0,0,0.54); |
87 | | - --f7-dialog-title-text-color: #212121; |
88 | 95 | --f7-dialog-input-placeholder-color: rgba(0,0,0,0.35); |
89 | 96 | }); |
90 | 97 | .dark-vars({ |
91 | | - --f7-dialog-bg-color: #1c1c1d; |
92 | | - --f7-dialog-title-text-color: #fff; |
93 | 98 | --f7-dialog-input-bg-color: transparent; |
94 | 99 | --f7-dialog-input-placeholder-color: rgba(255,255,255,0.54); |
95 | 100 | }); |
|
0 commit comments