Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .bs-datepicker {
- &:not([readonly]),
- &:not(.disabled),
- &:not(.is-disabled) {
- cursor: pointer;
- }
- &.t-oto {
- border: 1px solid setColor("dark", "darken-20");
- box-shadow: $dropdown-box-shadow;
- min-width: 270px;
- .bs-datepicker-container,
- .bs-datepicker-body {
- padding: 0;
- border: 0;
- }
- .bs-datepicker-head {
- height: 2.875rem;
- user-select: none;
- &:after {
- vertical-align: middle;
- border-top: 1px solid setColor("dark", "darken-20");
- }
- bs-datepicker-navigation-view {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- button {
- color: setColor('dark', 'darken-80');
- height: unset;
- line-height: 1;
- &.previous,
- &.next {
- position: relative;
- height: 1rem;
- width: 1rem;
- display: inline-block;
- background-size: contain !important;
- span {
- opacity: 0;
- }
- }
- &.previous {
- font-family: 'oto-fe';
- content: "\e913";
- background: none;
- margin-right: auto;
- }
- &.next {
- font-family: 'oto-fe';
- content: "\e914";
- background: none;
- margin-left: auto;
- }
- &.current {
- font-weight: 600;
- // pointer-events: none;
- padding: 0 map-get($spacers, 1) 0 0;
- ~.current {
- padding: 0;
- }
- }
- }
- }
- .bs-datepicker-body {
- min-height: 200px;
- thead {
- th {
- font-weight: 600;
- color: setColor('dark', 'darken-80');
- text-transform: lowercase;
- }
- }
- tbody {
- td {
- color: setColor('dark', 'darken-100');
- span {
- border-radius: 0;
- }
- .disabled {
- color: setColor('dark', 'darken-40');
- background-color: #f3f3f3;
- }
- .selected {
- background-color: var(--bs-primary);
- color: #fff;
- }
- .is-today {
- background-color: #F7E1CD;
- }
- .is-other-month {
- // pointer-events: none;
- cursor: default;
- opacity: 0;
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement