-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[datetime] merge overrides into component styles
- Loading branch information
Showing
3 changed files
with
15 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,8 @@ | ||
// Copyright 2017 Palantir Technologies, Inc. All rights reserved. | ||
// Copyright 2015 Palantir Technologies, Inc. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. | ||
|
||
@import "~@blueprintjs/colors/lib/scss/colors"; | ||
|
||
@import "datepicker"; | ||
@import "daterangepicker"; | ||
@import "timepicker"; | ||
@import "datetimepicker"; | ||
@import "dateinput"; | ||
|
||
/* stylelint-disable selector-class-pattern */ | ||
|
||
.#{$ns}-datepicker, .#{$ns}-daterangepicker { | ||
.DayPicker-Day { | ||
&.DayPicker-Day--selected { | ||
&:active { | ||
background-color: $blue1; | ||
} | ||
|
||
.#{$ns}-dark & { | ||
&:hover { | ||
background-color: $blue2; | ||
} | ||
|
||
&:active { | ||
background-color: $blue1; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.#{$ns}-daterangepicker { | ||
.DayPicker-Day { | ||
&--hovered-range { | ||
color: $blue2; | ||
} | ||
|
||
&--selected-range { | ||
color: $blue2; | ||
|
||
&:hover { | ||
color: $blue2; | ||
} | ||
} | ||
|
||
.#{$ns}-dark & { | ||
&--hovered-range { | ||
color: $light-gray5; | ||
} | ||
|
||
&--selected-range { | ||
color: $light-gray5; | ||
} | ||
} | ||
} | ||
} |
5ccd615
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[datetime] merge overrides into component styles
Previews: documentation | landing | table | demo