.tex-container {
    border: 1px solid #efefef;
    box-sizing: border-box;
    border-radius: 4px;
    overflow: hidden
}

.tex-container.theme-dark {
    border-color: #383838
}

.htmlContent,
.tex-content {
    box-sizing: border-box;
    background-color: #fff;
    height: 300px;
    width: 100%;
    outline: 0;
    overflow-y: auto;
    padding: 10px
}

.theme-dark .htmlContent,
.theme-dark .tex-content {
    background-color: #10131a;
    color: #fff
}

.tex-actionbar {
    background-color: #fff;
    border-bottom: 1px solid #efefef;
    padding: 5px
}

.theme-dark .tex-actionbar {
    background-color: #10131a;
    border-color: #383838
}

.tex-button {
    position: relative;
    background-color: #f7f7f7;
    border: none;
    cursor: pointer;
    height: 30px;
    outline: 0;
    min-width: 30px;
    vertical-align: bottom;
    color: #000;
    margin-right: 3px;
    border-radius: 4px;
    border-bottom: 1px solid #d3d3d3
}

.theme-dark .tex-button {
    background-color: #181d27;
    color: #fff;
    border-bottom: 1px solid #383838
}

.tex-button:hover {
    background-color: #f2f2f2
}

.theme-dark .tex-button:hover {
    background-color: #353434
}

.tex-button-selected {
    background-color: #f0f0f0
}

.tex-modal {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px
}

.tex-button>:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 30px;
    width: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: 0 0;
    cursor: pointer;
    border: 0;
    padding: 0
}