Skip to content

Commit 3edee92

Browse files
authored
Merge pull request #38 from unicef-polymer/publish
Prepare version 2.2.0
2 parents 9b54ec9 + e08a5dc commit 3edee92

File tree

3 files changed

+581
-50
lines changed

3 files changed

+581
-50
lines changed

calendar-lite.js

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -279,22 +279,20 @@ class CalendarLite extends GestureEventListeners(PolymerElement) {
279279
width: 50%;
280280
}
281281
282-
.swipePanel {
283-
284-
}
285-
286282
.swipePanel paper-icon-button {
287283
margin: 2px;
288-
border: solid 2px #DDDDDD;
284+
border: solid 2px #dddddd;
289285
border-radius: 50%;
286+
width: 38px;
287+
height: 38px;
290288
}
291289
292290
#dateContainer {
293291
height: 195px;
294292
}
295293
296294
.swipePanel paper-icon-button[focused] {
297-
background: #DDDDDD;
295+
background: #dddddd;
298296
}
299297
.paper-material[elevation='1'] {
300298
height: 100%;
@@ -326,17 +324,21 @@ class CalendarLite extends GestureEventListeners(PolymerElement) {
326324
<div>
327325
<!-- header with left, right icon and present viewing month -->
328326
<div class="container menu flex-horizontal">
329-
330-
<div class="flexchild">
331-
<div
327+
<div class="flexchild">
328+
<div
332329
id="headerMonth"
333330
class="headerContainer notextselect"
334331
type="monthsList"
335332
on-keydown="activateOnEnterAndSpace"
336333
on-tap="_show"
337334
>
338335
{{monthFormat(currentMonth)}}
339-
<paper-icon-button type="monthsList" on-tap="_show" tabindex="-1" icon="icons:arrow-drop-down"></paper-icon-button>
336+
<paper-icon-button
337+
type="monthsList"
338+
on-tap="_show"
339+
tabindex="-1"
340+
icon="icons:arrow-drop-down"
341+
></paper-icon-button>
340342
</div>
341343
<div
342344
id="headerYear"
@@ -346,12 +348,21 @@ class CalendarLite extends GestureEventListeners(PolymerElement) {
346348
on-tap="_show"
347349
>
348350
{{yearFormat(currentYear)}}
349-
<paper-icon-button type="yearList" on-tap="_show" tabindex="-1" icon="icons:arrow-drop-down"></paper-icon-button>
351+
<paper-icon-button
352+
type="yearList"
353+
on-tap="_show"
354+
tabindex="-1"
355+
icon="icons:arrow-drop-down"
356+
></paper-icon-button>
350357
</div>
351-
</div>
358+
</div>
352359
<div class="swipePanel">
353360
<paper-icon-button on-tap="_swipePrevMonth" icon="my-icons:left"></paper-icon-button>
354-
<paper-icon-button on-tap="_swipeNextMonth" icon="my-icons:right" on-keydown="onSwipeNextKeyDown" ></paper-icon-button>
361+
<paper-icon-button
362+
on-tap="_swipeNextMonth"
363+
icon="my-icons:right"
364+
on-keydown="onSwipeNextKeyDown"
365+
></paper-icon-button>
355366
</div>
356367
</div>
357368

0 commit comments

Comments
 (0)