.view[name='code'] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 240px;
}
.view[name='code'] > .header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 8px;
    height: 42px;
}
.view[name='code'] > .header > .tabs {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.view[name='code'] > .header > .tabs > .items {
    height: 26px;
}
.view[name='code'] > .header > .tabs > .items > div {
    position: relative;
    display: inline-block;
    font-size: 12px;
    border-radius: 16px;
    height: 26px;
    backdrop-filter: blur(8px);
}
.view[name='code'] > .header > .tabs > .items > div > .button {
    position: initial;
    transform: initial;
}
.view[name='code'] > .header > .tabs > .items > div > .button[key='show'] {
    padding-top: 4px;
    padding-bottom: 4px;
}
.view[name='code'] > .header > .tabs > .items > div > .button[key='close'] {
    font-size: 17px;
    line-height: 6px;
    text-align: center;
    padding-top: 8px;
    margin: 2px;
    width: 22px;
    height: 22px;
}
.view[name='code'] > .header > .tabs > .items > div {
    overflow: hidden;
}
.view[name='code'] > .header > .tabs > .items > div > .button {
    overflow: initial;
}
/* disabled temporarily
.view[name='code'] > .header > .tabs > .button[key='add'] {
    border-radius: 50%;
    width: 26px;
    height: 26px;
    text-align: center;
    font-size: 17px;
    backdrop-filter: blur(8px);
} */
.view[name='code'] > .content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
.view[name='code'] > .content > .editor {
    width: 100%;
    height: 100%;
    font-size: 13px;
    font-family: monospace;
}
.view[name='code'] > .content > .editor:not(.active) {
    display: none;
}

/* ace search */
.view[name='code'] > .content > .editor .ace_search {
    position: absolute;
    top: 46px;
    border-radius: 16px;
    padding: 8px;
    margin-right: 10px;
    margin-left: 10px;
    z-index: 99;
    backdrop-filter: blur(16px);
}
.view[name='code'] > .content > .editor .ace_search > .ace_searchbtn_close {
    border-radius: 50%;
    cursor: pointer;
    height: 14px;
    width: 14px;
    top: 9px;
    position: absolute;
}
.view[name='code'] > .content > .editor .ace_search > .ace_searchbtn_close:hover {
    background-position: 50% 100%;
}
.view[name='code'] > .content > .editor .ace_search > .ace_search_form {
    margin-bottom: 8px;
}
.view[name='code'] > .content > .editor .ace_search > .ace_replace_form {
    margin-bottom: 8px;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_search_field {
    width: 200px;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 6px 8px;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn {
    cursor: pointer;
    border-radius: 4px;
    padding-right: 6px;
    padding-left: 6px;
    margin: 4px;
    font-size: 12px;;
    font-family: 'poppins';
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn:not(.prev):not(.next) {
    padding-top: 4px;
    padding-bottom: 4px;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn.prev,
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn.next {
    padding-top: 3px;
    padding-bottom: 5px;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn > img {
    width: 12px;
    display: inline-block;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn:disabled {
    cursor: default;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn:not(:hover) > img[src='/images/upGrey.svg'] {
    display: none;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_searchbtn:hover > img[src='/images/upWhite.svg'] {
    display: none;
}
.view[name='code'] > .content > .editor .ace_search > div > .ace_button {
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
    padding: 4px 6px;
}
.view[name='code'] > .content > .editor .ace_search > .ace_search_options {
    margin-top: 12px;
    margin-bottom: 4px;
    user-select: none;
}
.view[name='code'] > .content > .editor .ace_search > .ace_search_options > .ace_search_counter {
    font-family: 'poppins';
    margin: 2px 4px;
}