Skip to content

Commit

Permalink
Fixed month and year picker dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ManukMinasyan committed Dec 30, 2019
1 parent c11b171 commit 5d4a123
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"name": "vue-functional-calendar",
"description": "Lightweight, high-performance calendar component based on Vue.js",
"version": "2.7.2",
"version": "2.7.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
82 changes: 43 additions & 39 deletions src/assets/scss/calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ input.vfc-single-input {

.vfc-navigation-buttons {
position: unset;

div {
margin: 10px 10px;

Expand Down Expand Up @@ -676,6 +677,48 @@ input.vfc-single-input {

.vfc-calendars {
.vfc-calendar {

.vfc-months-container {
.vfc-content {
background-color: $white;

.vfc-navigation-buttons {
div {
.vfc-arrow-left, .vfc-arrow-right {
border-color: $black;
}
}

.vfc-top-date {
color: $black;

.vfc-popover-caret {
background-color: $white;
}

&.vfc-underline {
text-decoration: underline dotted $royalblue;
}
}
}

.vfc-months {
div.vfc-item {
color: $black;

&:hover {
background-color: rgba(113, 113, 113, 0.3);
}

&.vfc-selected {
background-color: $pictionBlue;
color: $white;
}
}
}
}
}

div {
&.vfc-content {
h2 {
Expand Down Expand Up @@ -762,45 +805,6 @@ input.vfc-single-input {
}


.vfc-months-container {
.vfc-content {
background-color: $white;

.vfc-navigation-buttons {
.vfc-arrow-left, .vfc-arrow-right {
border-color: $black;
}

.vfc-top-date {
color: $black;

.vfc-popover-caret {
background-color: $white;
}

&.vfc-underline {
text-decoration: underline dotted $royalblue;
}
}
}

.vfc-months {
div.vfc-item {
color: $black;

&:hover {
background-color: rgba(113, 113, 113, 0.3);
}

&.vfc-selected {
background-color: $pictionBlue;
color: $white;
}
}
}
}
}

.vfc-time-picker-container {
.vfc-time-picker__list {

Expand Down

1 comment on commit 5d4a123

@vercel
Copy link

@vercel vercel bot commented on 5d4a123 Dec 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.