|
9 | 9 | --f7-timeline-month-font-weight: inherit; |
10 | 10 | --f7-timeline-item-text-font-weight: inherit; |
11 | 11 | --f7-timeline-item-subtitle-font-weight: inherit; |
12 | | - .light-vars({ |
13 | | - --f7-timeline-item-inner-bg-color: #fff; |
14 | | - }); |
15 | | - .dark-vars({ |
16 | | - --f7-timeline-item-inner-bg-color: #1c1c1d; |
17 | | - --f7-timeline-horizontal-item-border-color: rgba(255, 255, 255, 0.15); |
18 | | - --f7-timeline-horizontal-item-date-border-color: rgba(255, 255, 255, 0.15); |
19 | | - }); |
20 | 12 | } |
21 | 13 | .ios-vars({ |
| 14 | + --f7-timeline-divider-color: #bbb; |
22 | 15 | --f7-timeline-padding-horizontal: 16px; |
23 | 16 | --f7-timeline-margin-vertical: 35px; |
24 | 17 | --f7-timeline-item-inner-border-radius: 7px; |
25 | | - --f7-timeline-item-inner-box-shadow: none; |
26 | 18 | --f7-timeline-item-time-font-size: 13px; |
27 | 19 | --f7-timeline-item-title-font-size: 17px; |
28 | 20 | --f7-timeline-item-title-line-height: inherit; |
|
35 | 27 | --f7-timeline-year-font-size: 16px; |
36 | 28 | --f7-timeline-horizontal-item-padding: 10px; |
37 | 29 | .light-vars({ |
| 30 | + --f7-timeline-item-inner-bg-color: #fff; |
38 | 31 | --f7-timeline-item-time-text-color: rgba(0,0,0,0.45); |
39 | 32 | --f7-timeline-horizontal-item-border-color: rgba(0,0,0,0.22); |
40 | 33 | --f7-timeline-horizontal-item-date-border-color: rgba(0,0,0,0.22); |
41 | 34 | }); |
42 | 35 | .dark-vars({ |
| 36 | + --f7-timeline-horizontal-item-border-color: rgba(255, 255, 255, 0.15); |
| 37 | + --f7-timeline-horizontal-item-date-border-color: rgba(255, 255, 255, 0.15); |
| 38 | + --f7-timeline-item-inner-bg-color: #1c1c1d; |
43 | 39 | --f7-timeline-item-time-text-color: rgba(255,255,255,0.55); |
44 | 40 | }); |
45 | 41 | }); |
46 | 42 | .md-vars({ |
| 43 | + --f7-timeline-divider-color: var(--f7-md-outline); |
47 | 44 | --f7-timeline-padding-horizontal: 16px; |
48 | 45 | --f7-timeline-margin-vertical: 32px; |
49 | | - --f7-timeline-item-inner-border-radius: 4px; |
50 | | - --f7-timeline-item-inner-box-shadow: var(--f7-elevation-1); |
| 46 | + --f7-timeline-item-inner-border-radius: 16px; |
51 | 47 | --f7-timeline-item-time-font-size: 13px; |
52 | 48 | --f7-timeline-item-title-font-size: 16px; |
53 | 49 | --f7-timeline-item-title-line-height: inherit; |
|
56 | 52 | --f7-timeline-item-subtitle-line-height: inherit; |
57 | 53 | --f7-timeline-item-text-font-size: inherit; |
58 | 54 | --f7-timeline-item-text-line-height: inherit; |
59 | | - --f7-timeline-item-text-color: inherit; |
| 55 | + --f7-timeline-item-text-color: var(--f7-md-on-surface); |
60 | 56 | --f7-timeline-year-font-size: 16px; |
61 | 57 | --f7-timeline-horizontal-item-padding: 12px; |
62 | | - .light-vars({ |
63 | | - --f7-timeline-item-time-text-color: rgba(0, 0, 0, 0.54); |
64 | | - --f7-timeline-horizontal-item-border-color: rgba(0,0,0,0.12); |
65 | | - --f7-timeline-horizontal-item-date-border-color: transparent; |
66 | | - }); |
67 | | - .dark-vars({ |
68 | | - --f7-timeline-item-time-text-color: rgba(255,255,255,0.54); |
69 | | - }); |
| 58 | + --f7-timeline-horizontal-item-border-color: var(--f7-md-outline); |
| 59 | + --f7-timeline-horizontal-item-date-border-color: transparent; |
| 60 | + --f7-timeline-item-inner-bg-color: var(--f7-md-surface-1); |
| 61 | + --f7-timeline-item-time-text-color: var(--f7-md-on-surface-variant); |
| 62 | + |
70 | 63 | }); |
0 commit comments