body {
    background-color: #e7e7e7;
}

.layout-top {
    position: fixed;
    z-index: 10;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
}

.layout-left {
    position: fixed;
    top: 45px;
    left: 5px;
    bottom: 5px;
    width: 200px;
    background-color: white;
}

.layout-right {
    position: fixed;
    top: 45px;
    left: 210px;
    right: 5px;
    bottom: 5px;
}

.layout-top button {
    height: 30px;
    padding: 0px 10px;
    border-radius: 5px;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.layout-top button:hover {
    background-color: white;
    color: dodgerblue;
}

.top-path {
    position: absolute;
    top: 5px;
    left: 5px;
}

.top-path button {
    max-width: 300px;
}

.top-command {
    position: absolute;
    top: 5px;
    left: 210px;
}

.left-list {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
}

.left-item {
    position: relative;
    padding: 5px 10px;
    cursor: pointer;
}

.left-item-name {
    line-height: 20px;
    font-size: 14px;
}

.left-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.left-item-current {
    background-color: dodgerblue !important;
    color: white !important;
    cursor: default;
}

.layout-sql {
    position: absolute;
    z-index: 5;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 80px;
}

.layout-sql textarea {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    resize: none;
    box-sizing: border-box;
    padding: 5px 10px;
    border: none;
    font-size: 14px;
    font-family: consolas, menlo, 'courier new', 'microsoft yahei';
}

.layout-result {
    position: absolute;
    top: 85px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: white;
}

.fit-table table, table.fit-table {
    display: block;
    width: 100%;
    height: 100%;
    overflow: auto;
    text-align: left;
    table-layout: fixed;
    border-width: 0px;
    border-spacing: 0px;
    border-collapse: collapse;
}

.fit-table thead {
    /* display: table; */
    /* width: 100%; */
    /* table-layout: fixed; */
    background-color: #efefef;
}

.fit-table thead {
    position: sticky;
    z-index: 3;
    top: 0px;
}

.fit-table thead tr th:nth-child(1) {
    position: sticky;
    z-index: 4;
    top: 0px;
    left: 0px;
    background-color: #efefef;
}

.fit-table tbody tr td:nth-child(1) {
    position: sticky;
    z-index: 2;
    left: 0px;
    background-color: #f7f7f7;
}

.fit-table tbody tr {
    /* white-space: nowrap;
    word-break: break-all;
    display: table;
    width: 100%;
    table-layout: fixed; */
}

.fit-table tbody tr:nth-child(3n+3) {
    background-color: #fbfbfb;
}

.fit-table tbody tr:hover {
    background-color: #efefef;
}

.fit-table tbody tr:hover td:nth-child(1) {
    background-color: #efefef;
}

.fit-table thead tr th, .fit-table tbody tr td {
    padding: 0px;
    border-color: #dfdfdf;
    border-style: solid;
    border-width: 0px 1px 1px 0px;
}

.fit-table thead tr th div, .fit-table tbody tr td div {
    text-align: left;
    white-space: nowrap;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    font-size: 12px;
    padding: 2px 6px 2px 6px;
}

.fit-table thead tr th div, .fit-table tbody tr td div {
    min-width: 70px !important;
}

.fit-table thead tr th:nth-child(1) div, .fit-table tbody tr td:nth-child(1) div {
    min-width: 40px !important;
}