Skip to content

Commit 64224e7

Browse files
some css changes
1 parent 0fbb0ae commit 64224e7

File tree

4 files changed

+58
-2
lines changed

4 files changed

+58
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ Few more features are also added apart from the above mentioned features.
342342
[Bug#179](https://github.com/rajeshwarpatlolla/ionic-datepicker/issues/179),
343343
[Bug#180](https://github.com/rajeshwarpatlolla/ionic-datepicker/issues/180)
344344

345+
### 15) v1.2.0
346+
347+
Lots of bug fixes.
348+
345349

346350
##License:
347351
[MIT](https://github.com/rajeshwarpatlolla/ionic-datepicker/blob/master/LICENSE.MD "MIT")

dist/ionic-datepicker.bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ionic-datepicker-popup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
ng-repeat="weekName in weeksList track by $index" ng-bind="weekName"></div>
4141
</div>
4242
<div>
43-
<div class="row text-center padding_top_zero" ng-repeat="row in rows track by $index">
43+
<div class="row text-center padding_zero" ng-repeat="row in rows track by $index">
4444
<div class="col no_padding date_col" ng-repeat="col in cols track by $index"
4545
ng-class="{'selected_date': (dayList[row + $index].epoch === selctedDateEpoch),
4646
'today' : (dayList[row + $index].epoch == today),

src/ionic-datepicker.styles.css

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,56 @@
55
.ionic_datepicker_popup .font_bold {
66
font-weight: bold;
77
}
8+
89
.ionic_datepicker_popup .padding_top_zero {
910
padding-top: 0;
1011
}
12+
1113
.ionic_datepicker_popup .padding_left_5px {
1214
padding-left: 5px;
1315
}
16+
1417
.ionic_datepicker_popup .padding_right_5px {
1518
padding-right: 5px;
1619
}
20+
1721
.ionic_datepicker_popup .calendar_grid {
1822
height: 215px;
1923
}
24+
25+
.ionic_datepicker_popup .calendar_grid .weeks_row {
26+
padding: 0;
27+
}
28+
2029
.ionic_datepicker_popup .today {
2130
border: 1px solid #009688;
2231
border-radius: 50%;
2332
}
33+
2434
.ionic_datepicker_popup .selected_date {
2535
background-color: #009688;
2636
border-radius: 50%;
2737
color: #fff;
2838
font-weight: bold;
2939
}
40+
3041
.ionic_datepicker_popup .popup-head {
3142
background-color: #009688;
3243
display: none;
3344
}
45+
3446
.ionic_datepicker_popup .popup-head .popup-title {
3547
color: #ffffff;
3648
}
49+
3750
.ionic_datepicker_popup .popup-head .popup-sub-title {
3851
color: #ffffff;
3952
}
53+
4054
.ionic_datepicker_popup .popup-body {
4155
background-color: #ffffff;
4256
}
57+
4358
.ionic_datepicker_popup .popup-body .selected_date_full {
4459
background-color: #019688;
4560
margin: -10px -10px 0 -10px;
@@ -50,129 +65,166 @@
5065
line-height: 45px;
5166
font-size: 18px;
5267
}
68+
5369
.ionic_datepicker_popup .popup-body .select_section {
5470
padding: 1px 5px;
5571
}
72+
5673
.ionic_datepicker_popup .popup-body .pointer_events_none {
5774
pointer-events: none;
5875
color: #aaaaaa !important;
5976
}
77+
6078
.ionic_datepicker_popup .popup-body .month_select, .ionic_datepicker_popup .popup-body .year_select {
6179
border: none;
6280
border-bottom: 1px solid #009688;
6381
padding: 0;
6482
}
83+
6584
.ionic_datepicker_popup .popup-body .month_select .input-label, .ionic_datepicker_popup .popup-body .year_select .input-label {
6685
padding: 2px 0;
6786
width: 0;
6887
}
88+
6989
.ionic_datepicker_popup .popup-body .month_select select, .ionic_datepicker_popup .popup-body .year_select select {
7090
left: 10px;
7191
border: none;
7292
padding: 0;
7393
}
94+
7495
.ionic_datepicker_popup .popup-body .month_select:after, .ionic_datepicker_popup .popup-body .year_select:after {
7596
right: 5px;
7697
color: #009688;
7798
}
99+
78100
.ionic_datepicker_popup .popup-body .show_nav {
79101
padding: 10px 0 0 0;
80102
}
103+
81104
.ionic_datepicker_popup .popup-body .show_nav .prev_btn_section {
82105
padding: 5px 0;
83106
text-align: left;
84107
}
108+
85109
.ionic_datepicker_popup .popup-body .show_nav .prev_btn_section button {
86110
padding: 0;
87111
}
112+
88113
.ionic_datepicker_popup .popup-body .show_nav .next_btn_section {
89114
padding: 5px 0;
90115
text-align: right;
91116
}
117+
92118
.ionic_datepicker_popup .popup-body .show_nav .next_btn_section button {
93119
padding: 0;
94120
}
121+
95122
.ionic_datepicker_popup .popup-body .button-clear {
96123
color: #009688;
97124
}
125+
98126
.ionic_datepicker_popup .popup-buttons {
99127
padding: 0;
100128
min-height: 45px;
101129
}
130+
102131
.ionic_datepicker_popup .popup-buttons button {
103132
background-color: #009688;
104133
border-radius: 0;
105134
margin-right: 1px;
106135
color: #ffffff;
107136
}
108137

138+
.ionic_datepicker_popup .row + .row {
139+
padding: 0;
140+
}
141+
109142
.ionic_datepicker_modal .header, .ionic_datepicker_modal .footer {
110143
background-color: #009688;
111144
}
145+
112146
.ionic_datepicker_modal .header .title, .ionic_datepicker_modal .header .button, .ionic_datepicker_modal .footer .title, .ionic_datepicker_modal .footer .button {
113147
color: #ffffff;
114148
}
149+
115150
.ionic_datepicker_modal .footer .button-block {
116151
margin: 0;
117152
}
153+
118154
.ionic_datepicker_modal .today {
119155
border: 1px solid #009688;
120156
}
157+
121158
.ionic_datepicker_modal .selected_date {
122159
background-color: #009688;
123160
color: #fff;
124161
font-weight: bold;
125162
}
163+
126164
.ionic_datepicker_modal .pointer_events_none {
127165
pointer-events: none;
128166
color: #aaaaaa !important;
129167
}
168+
130169
.ionic_datepicker_modal .select_section {
131170
padding: 1px 5px;
132171
}
172+
133173
.ionic_datepicker_modal .button-clear {
134174
color: #009688;
135175
}
176+
136177
.ionic_datepicker_modal .month_select, .ionic_datepicker_modal .year_select {
137178
border: none;
138179
border-bottom: 1px solid #009688;
139180
padding: 0;
140181
}
182+
141183
.ionic_datepicker_modal .month_select .input-label, .ionic_datepicker_modal .year_select .input-label {
142184
padding: 2px 0;
143185
width: 0;
144186
}
187+
145188
.ionic_datepicker_modal .month_select select, .ionic_datepicker_modal .year_select select {
146189
left: 10px;
147190
border: none;
148191
padding: 0 10px;
149192
}
193+
150194
.ionic_datepicker_modal .month_select:after, .ionic_datepicker_modal .year_select:after {
151195
right: 5px;
152196
color: #009688;
153197
}
198+
154199
.ionic_datepicker_modal .padding_left_5px {
155200
padding-left: 5px;
156201
}
202+
157203
.ionic_datepicker_modal .padding_right_5px {
158204
padding-right: 5px;
159205
}
206+
160207
.ionic_datepicker_modal .date_col {
161208
height: 50px;
162209
line-height: 50px;
163210
}
211+
164212
.ionic_datepicker_modal .font_bold {
165213
font-weight: bold;
166214
}
215+
167216
.ionic_datepicker_modal .font_22px {
168217
font-size: 22px;
169218
}
219+
170220
.platform-android .ionic_datepicker_modal .bar .title.title-left {
171221
text-align: center;
172222
}
223+
173224
.platform-android .ionic_datepicker_modal select {
174225
left: 25%;
175226
}
227+
176228
.platform-ios .ionic_datepicker_modal select {
177229
left: 5%;
178230
}

0 commit comments

Comments
 (0)