Skip to content

Commit

Permalink
fix(core): remove important properties for styles (#4939)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloff200 authored and valorkin committed Dec 17, 2018
1 parent 85f0d5c commit 46d1d23
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/datepicker/bs-datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
}

// todo: check first :not(.disabled) usage
&:not(.disabled):not(.week) span:not(.disabled) {
&:not(.disabled):not(.week) span:not(.disabled):not(.is-other-month) {
cursor: pointer;
}

Expand All @@ -168,7 +168,7 @@
span.is-active-other-month:not(.disabled):not(.selected) {
background-color: $highlighted;
transition: 0s;
cursor: pointer !important;
cursor: pointer;
}

span.disabled,
Expand All @@ -181,6 +181,11 @@
color: $font-color-01;
}

span.is-other-month,
&.is-other-month span {
color: rgba(0, 0, 0, 0.25);
}

&.active {
position: relative;

Expand Down Expand Up @@ -437,12 +442,6 @@
}
}

/* .is-other-month */
.is-other-month {
color: rgba(0, 0, 0, 0.25);
cursor: default !important;
}

/* .bs-datepicker-buttons */
&-buttons {
display: flex;
Expand Down

0 comments on commit 46d1d23

Please sign in to comment.