Sha256: fc355d8a1efce1a5752b029ea342712d99c78eab995e1ff05ab43f9462bceedf

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

@import "../pb_caption/caption_mixin";
@import "../pb_textarea/textarea_mixin";
@import "../tokens/colors";
@import "./sass_partials/flatpickr_styles";
@import "./sass_partials/inline_styles";
@import "./sass_partials/month_and_year_styles";
@import "./sass_partials/time_selection_styles";
@import "./sass_partials/input_styles";
@import "./sass_partials/quick_pick_styles";

[class^=pb_date_picker_kit] {
  .input_wrapper {
    position: relative;

    .flatpickr-wrapper {
      display: block;
    }

    @import "./sass_partials/calendar_input_icon";
  }

  &:focus,
  :focus-within {
    div.cal_icon_wrapper,
    input.date_picker_input {
      @include transition_default;
      border-color: $primary;
    }
    .add-on-card {
      border-color: $primary;
    }
  }

  @media (hover: hover) {
    &:hover {
      .add-on-card {
        cursor: pointer;
        background-color: rgba($focus_input_light,$opacity_5);
      }
    }
  }
  .text_input_wrapper_add_on .add-on-icon {
    color: $text_lt_light
  }

  .text_input_wrapper_add_on .add-on-right .text_input{
    cursor: pointer;
  }

}


.pb_popover_reference_wrapper {
  display: unset !important
}

.flatpickr-calendar {
  @import "./sass_partials/day_styles";
  @import "./sass_partials/header_styles";
  @import "./sass_partials/overrides";

  .date_picker_input.flatpickr-input {
    text-overflow: ellipsis;
    padding-right: $space_xl + 10 !important;
  }

  // Calendar Shadow and Border
  .flatpickr-calendar {
    box-shadow: $shadow_deeper;
    border: 1px solid $border_light;
  }

  // Hide Caret
  &:before,
  &:after {
    content: none;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-13.15.0.pre.alpha.1132globalpropdatepickerspacing1929 app/pb_kits/playbook/pb_date_picker/_date_picker.scss