<commit_before>/* Import all components */
@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';

/* Reference import */
@import (reference) "semantic.less";

@inlineBlockColor: #D83B01;

/*******************************
      Tutorial mode
*******************************/

.tutorial #maineditor .full-abs {
    top: 5.5rem;
}
.tutorial #maineditor #monacoEditor {
    top: 0rem;
}
/* Tutorial Mode */
.menubar .ui.menu .item.tutorial-menuitem {
    background: rgba(27, 28, 29, 0.3) !important;
    margin: calc(0.45rem);
    padding: calc(0.45rem);
    border-radius: 0.5rem !important;
}
.menubar .ui.menu .item.tutorial-menuitem > .step-label {
    margin-left: 0.4em;
    margin-right: 0.4em;
}
.menubar .ui.menu .item.tutorial-menuitem > .label {
    background: white;
    margin-left: 0em;
}
.tutorial-menuitem > .selected {
    background-color: @tutorialSelectedMenuColor !important;
    padding: 1.0rem !important;
    padding-left: 1.3rem !important;
    padding-right: 1.3rem !important;
}

#tutorialcard {
    position: relative;
    z-index: 1;
    height: 6rem;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady {
    z-index: @tutorialLightboxCardZIndex;
}

#tutorialhint {
    height: 100%;
}

#tutorialcontent {
    position: fixed;
    top: 0;
    left: 0;
}

body#docs.tutorial {
    overflow-y: hidden;
}
#docs.tutorial .ui.segment {
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
}
#docs.tutorial #root{
    margin-bottom: 0.5rem !important;
}

/******************************
    Tutorial Avatar
******************************/

#tutorialcard .ui.tutorialsegment {
    width: 100%;
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0px;
    background: @tutorialSegmentBackground;
}

#tutorialcard .ui.tutorialsegment .avatar-image {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: @avatarImage;
    cursor:pointer;
}

#tutorialcard {
    padding: 0.5rem;
}

#tutorialcard .ui.buttons {
    width: 100%;
    height: 4.5rem;
}

#tutorialcard .ui.tutorialsegment {
    width: 100%;
}

#tutorialcard .tutorialmessage .content {
    width: 100%;
    font-size: 12pt;
    height: 4rem;
    overflow: auto;
    cursor:pointer;
}
#tutorialcard .tutorialmessage .content p {
    line-height: 30px !important;
    color: @tutorialSegmentColor;
}

#tutorialcard .tutorialmessage {
    width: 100%;
    padding: 0.5rem;
    padding-left: 7rem;
    height: 4.5rem;
    margin-bottom: 1rem;
}

#root.dimmable.dimmed .ui.segment.message {
    border-radius: 5px;
}

/* Show / Hide in dimmer */
.ui.showlightbox {
    display: none;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady .ui.showlightbox {
    display: block;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady .ui.hidelightbox {
    display: none;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady .ui.prevbutton, #root.dimmable.dimmed #tutorialcard.tutorialReady .ui.nextbutton {
    opacity: 0 !important;
    z-index: -1;
}

#tutorialcard .ui.button.okbutton {
    border-radius: 0.28571429rem;
}

i.icon.avatar-image {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: @avatarImage;
}

/* Tutorial blocks */

.ui.segment .blocklyPreview {
    width: 100%;
}

/******************************
    Hint button
******************************/<commit_msg>Adding max-height for tutorial hint previews (#4577)<commit_after>/* Import all components */
@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';

/* Reference import */
@import (reference) "semantic.less";

@inlineBlockColor: #D83B01;

/*******************************
      Tutorial mode
*******************************/

.tutorial #maineditor .full-abs {
    top: 5.5rem;
}
.tutorial #maineditor #monacoEditor {
    top: 0rem;
}
/* Tutorial Mode */
.menubar .ui.menu .item.tutorial-menuitem {
    background: rgba(27, 28, 29, 0.3) !important;
    margin: calc(0.45rem);
    padding: calc(0.45rem);
    border-radius: 0.5rem !important;
}
.menubar .ui.menu .item.tutorial-menuitem > .step-label {
    margin-left: 0.4em;
    margin-right: 0.4em;
}
.menubar .ui.menu .item.tutorial-menuitem > .label {
    background: white;
    margin-left: 0em;
}
.tutorial-menuitem > .selected {
    background-color: @tutorialSelectedMenuColor !important;
    padding: 1.0rem !important;
    padding-left: 1.3rem !important;
    padding-right: 1.3rem !important;
}

#tutorialcard {
    position: relative;
    z-index: 1;
    height: 6rem;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady {
    z-index: @tutorialLightboxCardZIndex;
}

#tutorialhint {
    height: 100%;
}

#tutorialcontent {
    position: fixed;
    top: 0;
    left: 0;
}

body#docs.tutorial {
    overflow-y: hidden;
}
#docs.tutorial .ui.segment {
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
}
#docs.tutorial #root{
    margin-bottom: 0.5rem !important;
}

/******************************
    Tutorial Avatar
******************************/

#tutorialcard .ui.tutorialsegment {
    width: 100%;
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0px;
    background: @tutorialSegmentBackground;
}

#tutorialcard .ui.tutorialsegment .avatar-image {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: @avatarImage;
    cursor:pointer;
}

#tutorialcard {
    padding: 0.5rem;
}

#tutorialcard .ui.buttons {
    width: 100%;
    height: 4.5rem;
}

#tutorialcard .ui.tutorialsegment {
    width: 100%;
}

#tutorialcard .tutorialmessage .content {
    width: 100%;
    font-size: 12pt;
    height: 4rem;
    overflow: auto;
    cursor:pointer;
}
#tutorialcard .tutorialmessage .content p {
    line-height: 30px !important;
    color: @tutorialSegmentColor;
}

#tutorialcard .tutorialmessage {
    width: 100%;
    padding: 0.5rem;
    padding-left: 7rem;
    height: 4.5rem;
    margin-bottom: 1rem;
}

#root.dimmable.dimmed .ui.segment.message {
    border-radius: 5px;
}

/* Show / Hide in dimmer */
.ui.showlightbox {
    display: none;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady .ui.showlightbox {
    display: block;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady .ui.hidelightbox {
    display: none;
}

#root.dimmable.dimmed #tutorialcard.tutorialReady .ui.prevbutton, #root.dimmable.dimmed #tutorialcard.tutorialReady .ui.nextbutton {
    opacity: 0 !important;
    z-index: -1;
}

#tutorialcard .ui.button.okbutton {
    border-radius: 0.28571429rem;
}

i.icon.avatar-image {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: @avatarImage;
}

/* Tutorial blocks */

.ui.segment .blocklyPreview {
    width: 100%;
    @media only screen and (min-height: 400px) {
        max-height: 50vh;
    }
}


/******************************
    Hint button
******************************/
{'fraction_non_alphanumeric': 0.18008562353266122, 'fraction_numerical': 0.02996823643143212, 'mean_word_length': 3.303030303030303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2088083', 'n_tokens_mistral': 2814, 'n_tokens_neox': 2549, 'n_words': 520}