Skip to content

Commit

Permalink
Revert "feat(datepicker): add a year view"
Browse files Browse the repository at this point in the history
This reverts commit cfc33a6.
  • Loading branch information
ThomasBurleson committed May 26, 2016
1 parent 9e55daa commit c9158c8
Show file tree
Hide file tree
Showing 15 changed files with 773 additions and 1,604 deletions.
13 changes: 9 additions & 4 deletions src/components/datepicker/calendar-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@
}
}

.md-calendar-date-selection-indicator {
.md-calendar-date.md-focus &,
&:hover {
background: '{{background-300}}';
// The CSS class `md-focus` is used instead of real browser focus for accessibility reasons
// (the root md-calendar holds browser focus).
.md-calendar-date.md-focus {
.md-calendar-date-selection-indicator {
background: '{{background-hue-1}}';
}
}

.md-calendar-date-selection-indicator:hover {
background: '{{background-300}}';
}

// Selected style goes after hover and focus so that it takes priority.
.md-calendar-date.md-calendar-selected-date,
.md-calendar-date.md-focus.md-calendar-selected-date {
Expand Down
Loading

0 comments on commit c9158c8

Please sign in to comment.