* {
    padding: 0;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    font-family: Microsoft Yahei;
}

/* flex 布局常用 start */

.row {
    display: flex;
    flex-direction: row;
    margin: 4px 0;
}


.column {
    display: flex;
    flex-direction: column;
}

.align {
    align-items: center;
}


.center {
    justify-content: center;
}


/* 横向 stretch 对齐方式*/
.stretch {
    display: flex;
    align-items: stretch;
}

.stretch>.button {
    display: flex;
    align-items: center;
    border-radius: 0px;
    /*border: 1px solid #ccc;*/
    font-size: 0.9rem;
    padding: 0 16px;
    cursor: pointer;
}

.stretch>.button.disabled {
    background: #c9c9c9;
    color: #777;
    cursor: not-allowed;
}

.stretch>div:not(:first-child) {
    margin-left: 8px;
}


.none {
    display: none;
}

/* flex 布局常用 end */



/* 目录工具内的按钮 */
.dir-btn {
    border-radius: 4px;
    /* background: #cbdbe0c0;
    border: 1px solid #93aec0; */
    cursor: pointer;
    align-items: center;
    font-size: 0.9rem;
}

/* 通用的按钮 */
.btn {
    border-radius: 0px;
    background: #eee;
    cursor: pointer;
    align-items: center;
    font-size: 0.9rem;
    display: flex;
    padding: 8px 16px;
}

.btn.with-icon {
    padding: 0;
}

.btn > .icon {
    padding: 8px;
}

.btn > .text {
    padding: 8px 24px;
}


.btn > .icon {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}



.btn.disabled {
    background: #7e7e7e;
}

.btn>.icon {
    padding-right: 8px;
}

/* 通用图标 */
.icon {
    width: 32px;
    height: 32px;
}

.small-icon {
    width: 20px;
    height: 20px;
}


/* 目录工具内的图标 */
.dir-icon {
    width: 20px;
    height: 20px;
    padding-right: 8px;
}

/* 横向分割线 */
.delimiter {
    margin-top: 8px;
    height: 8px;
    border-top: 1px solid #e3e3e3;
}



/* 美化滚动条 */
::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
    border-radius: 4px;
}

/* 滚动条：滑动轨道*/
::-webkit-scrollbar-track {
    background-color: #e6e6e6;
    border: 1px #beeeea;
    border-radius: 4px;
}

/* 滚动条：滑动块 */
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #b3b3b3;
}

::-webkit-scrollbar-thumb:hover {
    background: #8d8d8d;
}



input {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 0px;
}

input[disabled] {
    background: #c9c9c9;
}


/* 进度条 */
.progress {
    border-radius: 10px;
    background: #ebebeb;
    position: relative;
    border: 1px solid #ebebeb60;
	height: 10px;
}

/* 进度条的已完成进度 */
.progress>.box {
    background: #09a516;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    transition: .4s;
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
}


/* 窗口容器 */
.window-store {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #00000082;
}

/* 窗口 */
.window {
    position: absolute;
    left: 50%;
    top: 50%;
    min-width: 320px;
    border-radius: 0px;
    background: #fff;
    box-shadow: 4px 4px 10px #00000015;
    transform: translate(-50%, -50%);
}

/* 窗口名称 */
.window>.name {
    padding: 16px;
    display: flex;
    align-items: center;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    font-size: 16pt;
}

.window>.name>.text {
    flex: 1;
}

.window>.content {
    padding: 16px;
}


.label {
    padding-top: 4px;
}

textarea {
    border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 8px;
	font-size: 6px;
	font-family: 微软雅黑;
}


/* 下拉选择框 */
.select {
    display: flex;
    font-size: 0.9rem;
    justify-content: stretch;
    position: relative;
    cursor: pointer;
}

.select-icon {
    width: 18px;
    height: 18px;
}


.select>.choosed {
    display: flex;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    flex-shrink: 0;
    align-items: center;
}

.select >.choosed >.text {
    flex: 1;
    text-align: center;
}

.select:hover>.list {
    display: flex;
    flex-direction: column;
}

.select>.list {
    flex-shrink: 0;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    flex: 1;
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top: 0;
    background: #fff;
}

.select:hover>.choosed {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select>.list>.item {
    flex-shrink: 0;
    padding: 8px;
    text-align: center;
}

.select>.list>.item:hover {
    background: #eee;
}



/* 横向开关，单选 */
.switch {
    display: flex;
    align-items: stretch;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    position: relative;
}

.switch>.item {
    display: flex;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
    border-radius: 4px;
}

.switch>.choosed {
    background: #1671e7;
    border: 1px solid #1671e7;
    color: #fff;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-right: 8px;
    padding: 8px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.8rem;
}

.checkbox.choosed {
    background: #eee;
}

.checkbox > .icon {
    width: 18px;
    height: 18px;
    margin-right: 0px;
}