<commit_before>/*
  Custom Time Range Dropdown
  ------------------------------------------------------
*/

.custom-time-range {
  position: relative;
}
.custom-time--container {
  display: none;
  position: absolute;
  flex-direction: row;
  align-items: stretch;
  top: 35px;
  right: 0;
  border-radius: $radius;
  z-index: 1000;
  box-shadow: 0 2px 5px 0.6px rgba(15, 14, 21, 0.2);
}
.custom-time--wrap,
.custom-time--moving-dates {
  display: flex;
  flex-direction: column;
}
.custom-time--wrap {
  padding: 8px;
  align-items: center;
  border-radius: 0 $radius $radius 0;
  background: $g5-pepper;
}
.custom-time--dates {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.custom-time--upper-container,
.custom-time--lower-container {
  position: relative;
}
.custom-time--lower {
  margin-right: 4px;
  text-align: center;
}
.custom-time--upper {
  margin-left: 4px;
  text-align: center;
}
.custom-time--mask {
  position: absolute;
  width: 100%;
  height: calc(100% - 30px);
  top: 30px;
  left: 0;
  opacity: 0.5;
  background-color: $g5-pepper;
  z-index: 2;
}
.custom-time--now {
  position: absolute !important;
  right: 0;
  top: 4px;
}
.custom-time--shortcuts {
  @include no-user-select();
  align-items: stretch;
  background-color: $g6-smoke;
  border-radius: $radius 0 0 $radius;
}
.custom-time--shortcuts-header {
  white-space: nowrap;
  padding: 16px;
  color: $g15-platinum;
  font-weight: 700;
}
.custom-time--shortcut {
  white-space: nowrap;
  padding: 6px 16px;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
  color: $g11-sidewalk;
  font-weight: 500;

  &:hover {
    cursor: pointer;
    background-color: $g7-graphite;
    color: $g17-whisper;
  }
}

$custom-time-arrow: 28px;
$rd-cell-size: 30px;

.rd-container {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}
.rd-date {
  position: relative;
}
.rd-back,
.rd-next,
.rd-month-label {
  position: absolute;
  top: 0;
  height: $custom-time-arrow;
  line-height: $custom-time-arrow;
}
.rd-back,
.rd-next {
  outline: none;
  width: $custom-time-arrow;
  border: 0;
  background-color: transparent;
  border-radius: 50%;
  color: $g15-platinum;
  transition: background-color 0.25s ease, color 0.25s ease;

  &:after {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    color: inherit;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
  }
  &:hover {
    background-color: $g6-smoke;
    color: $g20-white;
  }
}
.rd-back {
  left: 0;
  &:after {
    left: calc(50% - 1px);
    content: "\e90c";
  }
}
.rd-next {
  left: calc(100% - #{$custom-time-arrow});
  &:after {
    left: calc(50% + 1px);
    content: "\e911";
  }
}
.rd-month-label {
  font-weight: 600;
  color: $g15-platinum;
  left: $custom-time-arrow;
  text-align: center;
  @include no-user-select();
  width: calc(100% - #{($custom-time-arrow * 2)});
}
.rd-days {
  margin-top: ($custom-time-arrow + 8px);
  background-color: transparent;
  border-radius: $radius-small;

  /* Cancel out default table styles */
  tr:hover {
    background-color: transparent !important;
    color: inherit !important;
  }

  thead.rd-days-head th.rd-day-head,
  tbody.rd-days-body td.rd-day-body {
    padding: 0 !important;
    min-height: $rd-cell-size !important;<commit_msg>Fix arrows in date picker<commit_after>/*
  Custom Time Range Dropdown
  ------------------------------------------------------
*/

.custom-time-range {
  position: relative;
}
.custom-time--container {
  display: none;
  position: absolute;
  flex-direction: row;
  align-items: stretch;
  top: 35px;
  right: 0;
  border-radius: $radius;
  z-index: 1000;
  box-shadow: 0 2px 5px 0.6px rgba(15, 14, 21, 0.2);
}
.custom-time--wrap,
.custom-time--moving-dates {
  display: flex;
  flex-direction: column;
}
.custom-time--wrap {
  padding: 8px;
  align-items: center;
  border-radius: 0 $radius $radius 0;
  background: $g5-pepper;
}
.custom-time--dates {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.custom-time--upper-container,
.custom-time--lower-container {
  position: relative;
}
.custom-time--lower {
  margin-right: 4px;
  text-align: center;
}
.custom-time--upper {
  margin-left: 4px;
  text-align: center;
}
.custom-time--mask {
  position: absolute;
  width: 100%;
  height: calc(100% - 30px);
  top: 30px;
  left: 0;
  opacity: 0.5;
  background-color: $g5-pepper;
  z-index: 2;
}
.custom-time--now {
  position: absolute !important;
  right: 0;
  top: 4px;
}
.custom-time--shortcuts {
  @include no-user-select();
  align-items: stretch;
  background-color: $g6-smoke;
  border-radius: $radius 0 0 $radius;
}
.custom-time--shortcuts-header {
  white-space: nowrap;
  padding: 16px;
  color: $g15-platinum;
  font-weight: 700;
}
.custom-time--shortcut {
  white-space: nowrap;
  padding: 6px 16px;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
  color: $g11-sidewalk;
  font-weight: 500;

  &:hover {
    cursor: pointer;
    background-color: $g7-graphite;
    color: $g17-whisper;
  }
}

$custom-time-arrow: 28px;
$rd-cell-size: 30px;

.rd-container {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}
.rd-date {
  position: relative;
}
.rd-back,
.rd-next,
.rd-month-label {
  position: absolute;
  top: 0;
  height: $custom-time-arrow;
  line-height: $custom-time-arrow;
}
.rd-back,
.rd-next {
  outline: none;
  width: $custom-time-arrow;
  border: 0;
  background-color: transparent;
  border-radius: 50%;
  color: $g15-platinum;
  transition: background-color 0.25s ease, color 0.25s ease;

  &:after {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    color: inherit;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
  }
  &:hover {
    background-color: $g6-smoke;
    color: $g20-white;
  }
}
.rd-back {
  left: 0;
  &:after {
    left: calc(50% - 1px);
    content: "\e901";
  }
}
.rd-next {
  left: calc(100% - #{$custom-time-arrow});
  &:after {
    left: calc(50% + 1px);
    content: "\e903";
  }
}
.rd-month-label {
  font-weight: 600;
  color: $g15-platinum;
  left: $custom-time-arrow;
  text-align: center;
  @include no-user-select();
  width: calc(100% - #{($custom-time-arrow * 2)});
}
.rd-days {
  margin-top: ($custom-time-arrow + 8px);
  background-color: transparent;
  border-radius: $radius-small;

  /* Cancel out default table styles */
  tr:hover {
    background-color: transparent !important;
    color: inherit !important;
  }

  thead.rd-days-head th.rd-day-head,
  tbody.rd-days-body td.rd-day-body {
    padding: 0 !important;
    min-height: $rd-cell-size !important;
{'fraction_non_alphanumeric': 0.18014059753954306, 'fraction_numerical': 0.036174575278265966, 'mean_word_length': 2.8516638465877047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5892313', 'n_tokens_mistral': 2817, 'n_tokens_neox': 2599, 'n_words': 565}