/*
 * gdb-frontend is a easy, flexible and extensionable gui debugger
 *
 * https://github.com/rohanrhu/gdb-frontend
 * https://oguzhaneroglu.com/projects/gdb-frontend/
 *
 * Licensed under GNU/GPLv3
 * Copyright (C) 2019, Oğuzhan Eroğlu (https://oguzhaneroglu.com/) <rohanrhu2@gmail.com>
*/

.FileTabs {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}

.FileTabs_tabs {
    display: flex;
    flex: 0 0 40px;
    background: rgba(0, 0, 0, 0.2);
    user-select: none;
    position: relative;
    z-index: 2100;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.FileTabs_tabs_items {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 100px;
}

.FileTabs_tabs_items_item {
    display: flex;
    flex: 0;
    min-height: 20px;
    border-right: 1px solid rgba(163, 163, 163, 0.1);
    cursor: pointer;
    position: relative;
}

.FileTabs_tabs_items_item:hover {
    background: rgba(255,255,255,0.05);
}

.FileTabs_tabs_items_item_isChanged {
    display: flex;
    flex: 0;
    align-items: center;
    padding-left: 10px;
    font-size: 16px;
    display: none;
}

.FileTabs_tabs_items_item_fileName {
    display: flex;
    flex: 0;
    align-items: center;
    padding-left: 10px;
    padding-right: 5px;
    font-size: 16px;
}

.FileTabs_tabs_items_item_closeBtn {
    display: flex;
    flex: 0;
    align-items: center;
    padding-left: 5px;
    padding-right: 10px;
    font-size: 16px;
    color: rgba(255,255,255,0.5);
}

.FileTabs_tabs_items_item_closeBtn:hover {
    color: white;
}

.FileTabs_tabs_items_item.FileTabs_tabs_items_item__current {
    background: rgba(255, 255, 255, 0.1);
}

.FileTabs_tabs_items_item.FileTabs_tabs_items_item__current .FileTabs_tabs_items_closeBtn {
    color: rgba(0,0,0,0.8);
}

.FileTabs_tabs_items_item.FileTabs_tabs_items_item__current .FileTabs_tabs_items_closeBtn:hover {
    color: #003f91;
}

.FileTabs_tabs_items_item_pathTooltip {
    position: absolute;
    z-index: 3000;
    top: 105px;
    left: 0px;
    user-select: text;
}

.FileTabs_tabs_items_item_pathTooltip_box {
    background: #003f91;
    font-size: 16px;
    display: inline-block;
    box-shadow: 0px 0px 20px 0px rgba(0, 25, 0, 0.5);
}

.FileTabs_tabs_items_item_pathTooltip_box_arrow {
    position: absolute;
    left: 0px;
    top: -20px;
    width: 100%;
    height: 0px;
}

.FileTabs_tabs_items_item_pathTooltip_box_arrow:after {
    position: absolute;
    left: 50%;
    margin-left: -5px;
    content: ' ';
    border: 10px solid transparent;
    border-bottom: 10px solid #003f91;
    width: 0px;
    height: 0px;
}

.FileTabs_tabs_items_item_pathTooltip_path {
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
}

.FileTabs_tabs_items_item_pathTooltip_copyBtn {
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    cursor: pointer;
    border-left: 1px solid rgba(0,0,0,0.15);
    user-select: none;
}

.FileTabs_tabs_items_item_pathTooltip_copyBtn:hover {
    transition: background 250ms;
    background: rgba(0,0,0,0.1);
}

/* ---------------------- */

.FileTabs_editors {
    display: flex;
    flex: 1 1 auto;
    position: relative;
    z-index: 2000;
}

.FileTabs_editors_content {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
}

.FileTabs_editors_noItem {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    font-size: 20px;
    color: rgba(255,255,255,0.4);
    user-select: none;
    width: 100%;
}

.FileTabs_editors_items {
    height: 100%;
    width: 100%;
    display: none;
}

.FileTabs_editors_items_item {
    position: relative;
    display: none;
    height: 100%;
}

.FileTabs_editors_items_item_variablePopup {
    display: none;
    position: absolute;
    z-index: 2000;
    min-width: 300px;
    max-width: 400px;
    max-height: 250px;
    overflow-y: auto;
    line-height: 20px;
    padding: 5px;
    background: rgb(0, 20, 46);
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
}

.FileTabs_editors_items_item_variablePopup:focus {
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.FileTabs_editors_items_item_ace {
    height: 100%;
    border: 1px solid transparent;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell {
    cursor: pointer;
    box-sizing: border-box;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.FileTabs__breakpoint {
}

.FileTabs_editors_items_item_ace .ace_gutter-cell:hover::after {
    content: ' ';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 4px;
    top: 2px;
    background: #ff4c4c;
    border-radius: 100%;
    opacity: 0.5;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.FileTabs__breakpoint::after {
    content: ' ';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 4px;
    top: 1px;
    background: #ff4c4c;
    border-radius: 100%;
    opacity: 1;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.FileTabs__conditionalBreakpoint::after {
    content: ' ';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 4px;
    top: 1px;
    background: #3487ed;
    border-radius: 100%;
    opacity: 1;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.FileTabs__stopped {
    background: rgb(255, 255, 255);
    color: black;
}

.FileTabs_editors_items_item_breakpointDetails {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: none;
    font-size: 14px;
}

.FileTabs_editors_items_item_breakpointDetails_box {
    min-width: 300px;
    min-height: 100px;
    color: white;
    text-align: left;
    background: #003f91;
    transition: opacity 500ms;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 25%), 0px 0px 40px 0px rgb(0 0 0 / 15%);
    border: 1px solid rgba(47, 130, 255, 0.25);
    position: fixed;
    pointer-events: all;
    margin-top: -8px;
    margin-left: 5px;
}

.FileTabs_editors_items_item_breakpointDetails_box:before {
    content: ' ';
    background: #003f91;
    position: absolute;
    left: -6px;
    top: 10px;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.FileTabs__detailsOpened {
    background: #003f91;
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 25%), 0px 0px 40px 0px rgb(0 0 0 / 15%);
    border-top: 1px solid rgba(47, 130, 255, 0.25);
    border-bottom: 1px solid rgba(47, 130, 255, 0.25);
    color: white;
}

.FileTabs_editors_items_item_breakpointDetails_box_condition {
    padding: 10px;
    padding-bottom: 0px;
}

.FileTabs_editors_items_item_breakpointDetails_box_condition_title {
    margin-bottom: 10px;
}

.FileTabs_editors_items_item_breakpointDetails_box_condition_input {

}

.FileTabs_editors_items_item_breakpointDetails_box_condition_input_rI {
    background: rgb(255 255 255 / 40%);
    border: 1px solid rgb(255 255 255 / 25%);
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0px 5px;
    font-family: 'SourceSansPro Regular';
}

.FileTabs_editors_items_item_breakpointDetails_box_condition_input_rI:focus {
    background: rgb(255 255 255 / 60%);
    border: 1px solid rgb(255 255 255 / 40%);
    outline: none;
}

.FileTabs_editors_items_item_breakpointDetails_box_buttons {
    display: flex;
    flex-direction: row;
}

.FileTabs_editors_items_item_breakpointDetails_box_buttons_button {
    background: rgb(0 0 0 / 40%);
    border: 1px solid rgb(255 255 255 / 25%);
    box-sizing: border-box;
    height: 32px;
    padding: 0px 5px;
    margin: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    cursor: pointer;
}

.FileTabs_editors_items_item_breakpointDetails_box_buttons_button__save {
    background-color: rgb(0 149 255 / 25%);
}

.FileTabs_editors_items_item_breakpointDetails_box_buttons_button__cancel {
    background-color: rgb(255 0 0 / 25%);
}

.FileTabs_editors_items_item_breakpointDetails_box_buttons_button:hover {
    border-color: rgb(255 255 255 / 50%);
}

.ace_highlightedWord {
    position: absolute;
    background: rgb(32 94 131 / 90%);
    mix-blend-mode: darken;
    padding: 2px;
    margin-left: -2px;
    margin-top: -2px;
}