Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 9b0b861

Browse files
committed
feat(calendar): starting work for date-picker.
1 parent 3e8c994 commit 9b0b861

File tree

11 files changed

+1327
-0
lines changed

11 files changed

+1327
-0
lines changed

src/components/button/button.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ $icon-button-margin: rem(0.600) !default;
181181
}
182182
}
183183
}
184+
184185
.md-toast-open-bottom {
185186
.md-button.md-fab-bottom-left,
186187
.md-button.md-fab-bottom-right {
@@ -199,6 +200,7 @@ $icon-button-margin: rem(0.600) !default;
199200
flex: 1;
200201
width: 100%;
201202
}
203+
202204
.md-button-group > .md-button {
203205
flex: 1;
204206

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Theme styles for mdCalendar.
2+
3+
.md-calendar-day-header {
4+
background-color: #eeeeee; // grey-200
5+
color: #616161; // need spec; currently grey-700
6+
}
7+
8+
.md-calendar-date.md-calendar-date-today {
9+
color: #2196f3; // blue-500
10+
}
11+
12+
.md-calendar-date:focus {
13+
.md-calendar-date-selection-indicator {
14+
background-color: #e0e0e0; // grey-300
15+
}
16+
}
17+
18+
.md-calendar-date-selection-indicator:hover {
19+
background-color: #e0e0e0; // grey-300
20+
}
21+
22+
// Selected style goes after hover and focus so that it takes priority.
23+
.md-calendar-date.md-calendar-selected-date {
24+
.md-calendar-date-selection-indicator {
25+
background-color: #2196f3; // blue-500
26+
color: white; // ?
27+
}
28+
}

0 commit comments

Comments
 (0)