<commit_before>$bezier = cubic-bezier(0, 1, 0.5, 1)

$daySize = 38px
$padding = ($daySize/16)
$dayMargin = 1.5px
$daysWidth = ($daySize*7 + $dayMargin*14 + $padding*2 + 2)
$timeHeight = 40px
$calendarWidth = ($daysWidth)

// Colors

$calendarBackground ?= #ffffff
$calendarBorderColor ?= #e6e6e6

$monthForeground ?= alpha(black, 0.9)
$arrow_hover_color ?= #f64747

$monthBackground ?= transparent

$weekdaysBackground ?= transparent

$dayForeground ?= #393939
$dayHoverBackground ?= #e6e6e6

$todayColor ?= #959ea9
$selectedDayBackground ?= #569FF7

$invertedBg = invert($calendarBackground)


@keyframes flatpickrFadeInDown
    from
        opacity 0
        transform translate3d(0, -20px, 0)

    to
        opacity 1
        transform none


.flatpickr-calendar
    background transparent
    overflow hidden
    max-height 0
    opacity 0
    visibility hidden
    text-align center
    padding 0
    animation none
    direction ltr
    border 0
    font-size 14px
    line-height 24px
    border-radius 5px
    position absolute
    width $calendarWidth
    box-sizing border-box
    transition top $bezier 100ms
    z-index 99999999

    if $noCalendarBorder is defined
        box-shadow 0 3px 13px alpha(black, 0.08)

    else
        background $calendarBackground
        box-shadow 1px 0 0 $calendarBorderColor,
            -1px 0 0 $calendarBorderColor,
            0 1px 0 $calendarBorderColor,
            0 -1px 0 $calendarBorderColor,
            0 3px 13px alpha(black, 0.08)


    &.open, &.inline
        opacity 1
        visibility visible
        overflow visible
        max-height 640px
<commit_msg>Decrease z-index | resolves #542<commit_after>$bezier = cubic-bezier(0, 1, 0.5, 1)

$daySize = 38px
$padding = ($daySize/16)
$dayMargin = 1.5px
$daysWidth = ($daySize*7 + $dayMargin*14 + $padding*2 + 2)
$timeHeight = 40px
$calendarWidth = ($daysWidth)

// Colors

$calendarBackground ?= #ffffff
$calendarBorderColor ?= #e6e6e6

$monthForeground ?= alpha(black, 0.9)
$arrow_hover_color ?= #f64747

$monthBackground ?= transparent

$weekdaysBackground ?= transparent

$dayForeground ?= #393939
$dayHoverBackground ?= #e6e6e6

$todayColor ?= #959ea9
$selectedDayBackground ?= #569FF7

$invertedBg = invert($calendarBackground)


@keyframes flatpickrFadeInDown
    from
        opacity 0
        transform translate3d(0, -20px, 0)

    to
        opacity 1
        transform none


.flatpickr-calendar
    background transparent
    overflow hidden
    max-height 0
    opacity 0
    visibility hidden
    text-align center
    padding 0
    animation none
    direction ltr
    border 0
    font-size 14px
    line-height 24px
    border-radius 5px
    position absolute
    width $calendarWidth
    box-sizing border-box
    transition top $bezier 100ms
    z-index 999

    if $noCalendarBorder is defined
        box-shadow 0 3px 13px alpha(black, 0.08)

    else
        background $calendarBackground
        box-shadow 1px 0 0 $calendarBorderColor,
            -1px 0 0 $calendarBorderColor,
            0 1px 0 $calendarBorderColor,
            0 -1px 0 $calendarBorderColor,
            0 3px 13px alpha(black, 0.08)


    &.open, &.inline
        opacity 1
        visibility visible
        overflow visible
        max-height 640px

{'fraction_non_alphanumeric': 0.0848132271892223, 'fraction_numerical': 0.06184935701163503, 'mean_word_length': 2.7125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '4117668', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1038, 'n_words': 287}