Skip to content

Commit 46d1d23

Browse files
daniloff200valorkin
authored andcommitted
fix(core): remove important properties for styles (#4939)
1 parent 85f0d5c commit 46d1d23

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/datepicker/bs-datepicker.scss

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
}
155155

156156
// todo: check first :not(.disabled) usage
157-
&:not(.disabled):not(.week) span:not(.disabled) {
157+
&:not(.disabled):not(.week) span:not(.disabled):not(.is-other-month) {
158158
cursor: pointer;
159159
}
160160

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

174174
span.disabled,
@@ -181,6 +181,11 @@
181181
color: $font-color-01;
182182
}
183183

184+
span.is-other-month,
185+
&.is-other-month span {
186+
color: rgba(0, 0, 0, 0.25);
187+
}
188+
184189
&.active {
185190
position: relative;
186191

@@ -437,12 +442,6 @@
437442
}
438443
}
439444

440-
/* .is-other-month */
441-
.is-other-month {
442-
color: rgba(0, 0, 0, 0.25);
443-
cursor: default !important;
444-
}
445-
446445
/* .bs-datepicker-buttons */
447446
&-buttons {
448447
display: flex;

0 commit comments

Comments
 (0)