@font-face {
    font-family: 'fz';
    src: url('../fonts/fz.ttf') format('truetype');
}
.blocklyHtmlInput,
.blocklyWidgetDiv.fieldTextInput{
    max-width: 500px;
}
.blocklyText{
}
.scratchCategoryItemIcon{
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.Popover-body {
    border-radius: 14px !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
.Popover-tipShape {
    stroke: #fff !important;
}
.blocklyToolboxFixTrigger .blocklyToolboxFixIcon{
    background-image: url('../images/fixed.png');
    background-size: 17px 17px;
    background-repeat: no-repeat;
    background-position: center;
}
.blocklyToolboxFixTrigger .blocklyToolboxUnfixIcon{
    background-image: url('../images/unfixed.png');
    background-size: 17px 17px;
    background-repeat: no-repeat;
    background-position: center;
}

@media (hover: hover) {
    .blocklyToolboxFixIcon:hover {
        background-image: url('../images/fixed-active.png');
        background-size: 17px 17px;
        background-repeat: no-repeat;
        background-position: center;
    }
    .blocklyToolboxUnfixIcon:hover {
        background-image: url('../images/unfixed-active.png');
        background-size: 17px 17px;
        background-repeat: no-repeat;
        background-position: center;
    }
}
.mxcTrash {
    display: none;
    background: rgba(0, 0, 0, 0.70);
    position: absolute;
    z-index: 100;
    text-align: center;
    vertical-align: middle;
}
.mxcTrash.mxcTrashOpen {
    background: rgba(255, 51, 51, 0.50);
}
.mxcTrash .mxcTrashIcon {
    width: 32px;
    height: 32px;
    background-image: url('../images/trash.png');
    background-size: 100% 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.mxcTrash.mxcTrashOpen .mxcTrashIcon {
    width: 32px;
    height: 32px;
    background-image: url('../images/trash-open.png');
    background-size: 100% 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: PingFang SC, "Microsoft YaHei";
}
input, textarea {
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
::-webkit-scrollbar {
    display: none;
}
html {
    font-size: 16px;
}
body {
    background-color: #e6f1fe;
}
.blocklyDropDownContent {
    padding: 5px;
}
/* body {
    padding-top: const(safe-area-inset-top);
    padding-right: const(safe-area-inset-right);
    padding-bottom: const(safe-area-inset-bottom);
    padding-left: const(safe-area-inset-left);
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
} */

/*自定义点阵屏*/
/* .custom-matrix-toolbox {
    position: relative;
    height: 167px;
    min-width: 99px;
    display: inline-block;
}
 
.custom-matrix-leds {
    height: 100%;
    overflow: auto;
    position: absolute;
    text-align: left;
}
 
.custom-matrix-leds::-webkit-scrollbar {
    width: 0;
}
 
.custom-matrix-times {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    transition: .2s;
    color: white;
    border-radius: 8px;
    padding: 0;
    font-size: 12px;
    line-height: 15px;
}
 
.custom-matrix-times:hover {
    background: rgba(0, 0, 0, 1);
}
 
.custom-matrix-led-btn {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;
    transition: .2s;
    background: rgba(0, 0, 0, 0);
    padding: 4px 4px 0 4px;
    position: relative;
}
 
.custom-matrix-led-btn:hover {
    background: rgba(0, 0, 0, .1);
}

.blocklyDropDownContent {
    max-width: 224px;
    overflow-x: hidden;

} */
