﻿@import './../fonts/FluentSystemIcons-Resizable.css';
@import './variables.css';

.主题色 {
    /*color: var( --accent-fill-hover );*/
    color: var( --accent-fill-hover );
}

.主题被选 {
    /*color: var( --accent-foreground-active );*/
    color: var( --accent-fill-hover );
}

input {
    background-color: var(--background);
    color: var(--neutral-stroke-input-rest);
    border: none !important;
    outline: none !important;
    line-height: 10px !important;
    background: none !important;
}

    input::-webkit-scrollbar {
        display: none;
    }

    input[type=date]::-webkit-calendar-picker-indicator {
    }

:focus {
    outline: none
}

.floatinput {
    border: 1px solid;
    border-color: #aaa;
    border-radius: 3px;
    /*margin-top: 4px;*/
    flex: 1;
    padding: 0 !important;
    /*--background: none !important;*/
    /*--stroke-width: 0;*/
    --neutral-stroke-input-rest: none;
    min-width: unset;
    max-width: unset;
    display: grid;
    height: 33px;
}

fluent-text-field::part(root) {
    background: none !important;
    /*margin: -3px 0px 0px !important;*/
    align-self: center;
}

fluent-number-field::part(root) {
    background: none !important;
    /*margin: -3px 0px 0px !important;*/
    font-weight: 700;
}




fluent-select::part(control) {
    background: none !important;
    height: auto !important;
}

fluent-select::part(indicator) {
    visibility: hidden;
}

fluent-select:hover::part(indicator) {
    visibility: visible;
}

fluent-combobox::part(control) {
    background: none !important;
    height: auto;
}

.floatinput:disabled {
    opacity: 1;
    --stroke-width: 0;
    --background: none;
    pointer-events: none;
}

.floatinput.hasdata {
    border-color: transparent;
    --stroke-width: 0;
    --neutral-stroke-input-rest: none;
    --neutral-stroke-control-rest: none;
    --background: var(--neutral-layer-1);
    --background-color: var(--neutral-layer-1);
    align-self: center;
    display: grid;
}

    .floatinput.hasdata:hover {
        border-color: #aaa;
    }



/*    .floatinput.hasdata.outline.disabled {
        background: none;
    }
*/
.floatinput:focus {
    /*border: 1px solid #1266f1;*/
    border-color: transparent;
    --stroke-width: 0;
}



fluent-checkbox {
    display: grid;
    align-content: center;
    grid-auto-flow: column;
    justify-content: center;
}

.combotext {
    border: none;
    width: 100%;
    padding: 0;
    margin-left: -12px;
    --background: var(--neutral-layer-1);
    background: none;
}



.floatlabel {
    position: absolute;
    top: 5px;
    padding: 0;
    left: 9px;
    margin: 0;
    font-size: unset;
    display: flex;
    align-items: center;
    visibility: visible;
    background-color: transparent;
    transition: all 0.1s linear;
    color: #777;
}


.hasdata .floatlabel {
    position: absolute;
    top: -5px;
    line-height: 10px;
    left: 9px;
    padding: 0;
    margin: 0;
    font-size: smaller;
    display: block;
    visibility: visible;
    color: var(--accent-foreground-rest);
}

.floatinput.hasdata:is(:hover) .floatlabel {
    background-color: var(--neutral-layer-1);
    color: var(--accent-foreground-active); /*#b200ff;*/
}


.floatinput:is(:hover) .floatlabel {
    color: var(--accent-foreground-active); /*#b200ff;*/
}



:focus .floatlabel {
    position: absolute;
    top: -5px;
    line-height: 10px;
    left: 9px;
    padding: 0;
    margin: 0;
    font-size: smaller;
    display: block;
    visibility: visible;
    /*background-color: var(--neutral-layer-1);*/
    /*backdrop-filter:blur(10px);*/
    color: var(--accent-foreground-focus); /*#b200ff;*/
}



.checkgroupv {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
}

.checkgrouph {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}



fluent-combobox::part(listbox),
fluent-select::part(listbox) {
    z-index: 4;
    max-height: 15rem;
}

    fluent-combobox::part(listbox)::-webkit-scrollbar,
    fluent-select::part(listbox)::-webkit-scrollbar {
        display: none !important;
    }

fluent-button {
    border: 1px solid;
    border-color: transparent;
    --stroke-width: 0;
    background-color: rgba(0,0,0,0);
    vertical-align: middle;
    padding: 0;
    margin: 0;
    /*line-height: 10px;*/
}

    fluent-button:hover {
        -webkit-text-stroke-width: thin;
        background-color: rgba(0,0,0,0.1);
    }


.表格列 {
    pointer-events: none;
    grid-auto-flow: dense;
    justify-content: center;
}

.无标签 {
    grid-auto-flow: dense;
    justify-content: center;
}

.btnloading {
    animation: rotate 2s linear infinite;
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

textarea {
    background: none;
    color: var(--neutral-stroke-input-rest);
    resize: none;
}


fluent-badge {
    background-color: transparent;
    border: 1px solid red;
    border-radius: 100%;
    width: 22px;
    text-align: center;
}

    fluent-badge::part(control) {
        background: none;
        color: unset;
    }

.floatpanel {
    position: relative;
}

.fluentlable {
    pointer-events: none;
    position: absolute;
    top: 6px;
    left: 10px;
    font-weight: normal;
    background-color: transparent !important;
}

.floatpanel:is(:hover) .fluentlable {
    color: var(--accent-foreground-active); /*#b200ff;*/
    border: none;
    /*background-color: var(--neutral-fill-layer-rest);*/
}

fluent-search:hover {
    fill: none;
}

.fluentlable.hasdata {
    position: absolute;
    top: -5px;
    line-height: 10px;
    left: 9px;
    padding: 0;
    margin: 0;
    font-size: smaller;
    display: block;
    visibility: visible;
    color: var(--accent-foreground-rest);
    /*background-color: var(--neutral-fill-layer-rest)!important;*/
}

.hidestart::part(start) {
    display: none;
}

fluent-search::part(root) {
    background: none;
}

.selected-value {
    position: absolute;
    top: 0;
    margin: 0;
    margin-left: -9px;
    height: auto;
}

.timelabel:hover {
    color: var( --accent-fill-hover );
    font-weight:700;
}
