File tree Expand file tree Collapse file tree
static/usage/v8/datetime/styling Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,19 +11,19 @@ ion-datetime::part(month-year-button) {
1111 background-color : lightblue ;
1212}
1313
14- ion-datetime ::part(prev-next-buttons ) {
14+ ion-datetime ::part(navigation-button ) {
1515 background-color : firebrick ;
1616}
1717
18- ion-datetime ::part(prev -button ) {
18+ ion-datetime ::part(previous -button ) {
1919 color : white ;
2020}
2121
2222ion-datetime ::part(next-button ) {
2323 color : black ;
2424}
2525
26- ion-datetime ::part(days-of-week ) {
26+ ion-datetime ::part(calendar- days-of-week ) {
2727 background-color : #9ad162 ;
2828 color : white ;
2929}
Original file line number Diff line number Diff line change 2323 background-color : lightblue;
2424 }
2525
26- ion-datetime ::part (prev-next-buttons ) {
26+ ion-datetime ::part (navigation-button ) {
2727 background-color : firebrick;
2828 }
2929
30- ion-datetime ::part (prev -button ) {
30+ ion-datetime ::part (previous -button ) {
3131 color : white;
3232 }
3333
3434 ion-datetime ::part (next-button ) {
3535 color : black;
3636 }
3737
38- ion-datetime ::part (days-of-week ) {
38+ ion-datetime ::part (calendar- days-of-week ) {
3939 background-color : # 9ad162 ;
4040 color : white;
4141 }
Original file line number Diff line number Diff line change 1414 background-color : lightblue ;
1515 }
1616
17- ion-datetime ::part(prev-next-buttons ) {
17+ ion-datetime ::part(navigation-button ) {
1818 background-color : firebrick ;
1919 }
2020
21- ion-datetime ::part(prev -button ) {
21+ ion-datetime ::part(previous -button ) {
2222 color : white ;
2323 }
2424
2525 ion-datetime ::part(next-button ) {
2626 color : black ;
2727 }
2828
29- ion-datetime ::part(days-of-week ) {
29+ ion-datetime ::part(calendar- days-of-week ) {
3030 background-color : #9ad162 ;
3131 color : white ;
3232 }
Original file line number Diff line number Diff line change @@ -11,19 +11,19 @@ ion-datetime::part(month-year-button) {
1111 background-color : lightblue ;
1212}
1313
14- ion-datetime ::part(prev-next-buttons ) {
14+ ion-datetime ::part(navigation-button ) {
1515 background-color : firebrick ;
1616}
1717
18- ion-datetime ::part(prev -button ) {
18+ ion-datetime ::part(previous -button ) {
1919 color : white ;
2020}
2121
2222ion-datetime ::part(next-button ) {
2323 color : black ;
2424}
2525
26- ion-datetime ::part(days-of-week ) {
26+ ion-datetime ::part(calendar- days-of-week ) {
2727 background-color : #9ad162 ;
2828 color : white ;
2929}
Original file line number Diff line number Diff line change 2020 background-color : lightblue ;
2121 }
2222
23- ion-datetime ::part(prev-next-buttons ) {
23+ ion-datetime ::part(navigation-button ) {
2424 background-color : firebrick ;
2525 }
2626
27- ion-datetime ::part(prev -button ) {
27+ ion-datetime ::part(previous -button ) {
2828 color : white ;
2929 }
3030
3131 ion-datetime ::part(next-button ) {
3232 color : black ;
3333 }
3434
35- ion-datetime ::part(days-of-week ) {
35+ ion-datetime ::part(calendar- days-of-week ) {
3636 background-color : #9ad162 ;
3737 color : white ;
3838 }
Original file line number Diff line number Diff line change 11``` css
22/*
3- * Custom Datetime Header Part
3+ * Custom Datetime Header Parts
44 * -------------------------------------------
55 */
66ion-datetime ::part(datetime-header ) {
77 background-color : orange ;
88}
9+
10+ ion-datetime ::part(datetime-title ) {
11+ background-color : pink ;
12+ }
13+
14+ ion-datetime ::part(datetime-selected-date ) {
15+ background-color : violet ;
16+ }
917```
Original file line number Diff line number Diff line change 1111
1212 < style >
1313 /*
14- * Custom Datetime Header Part
14+ * Custom Datetime Header Parts
1515 * -------------------------------------------
1616 */
1717
1818 ion-datetime ::part (datetime-header ) {
1919 background-color : orange;
2020 }
21+
22+ ion-datetime ::part (datetime-title ) {
23+ background-color : pink;
24+ }
25+
26+ ion-datetime ::part (datetime-selected-date ) {
27+ background-color : violet;
28+ }
2129 </ style >
2230 </ head >
2331
Original file line number Diff line number Diff line change 55
66<style >
77 /*
8- * Custom Datetime Header Part
8+ * Custom Datetime Header Parts
99 * -------------------------------------------
1010 */
1111 ion-datetime ::part(datetime-header ) {
1212 background-color : orange ;
1313 }
14+
15+ ion-datetime ::part(datetime-title ) {
16+ background-color : pink ;
17+ }
18+
19+ ion-datetime ::part(datetime-selected-date ) {
20+ background-color : violet ;
21+ }
1422 </style >
1523```
Original file line number Diff line number Diff line change 11``` css
22/*
3- * Custom Datetime Header Part
3+ * Custom Datetime Header Parts
44 * -------------------------------------------
55 */
66ion-datetime ::part(datetime-header ) {
77 background-color : orange ;
88}
9+
10+ ion-datetime ::part(datetime-title ) {
11+ background-color : pink ;
12+ }
13+
14+ ion-datetime ::part(datetime-selected-date ) {
15+ background-color : violet ;
16+ }
917```
Original file line number Diff line number Diff line change 1111
1212<style scoped >
1313 /*
14- * Custom Datetime Header Part
14+ * Custom Datetime Header Parts
1515 * -------------------------------------------
1616 */
1717
1818 ion-datetime ::part(datetime-header ) {
1919 background-color : orange ;
2020 }
21+
22+ ion-datetime ::part(datetime-title ) {
23+ background-color : pink ;
24+ }
25+
26+ ion-datetime ::part(datetime-selected-date ) {
27+ background-color : violet ;
28+ }
2129 </style >
2230```
You can’t perform that action at this time.
0 commit comments