/*
 * 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>
*/

.VariablesExplorer {
    text-align: center;
    font-size: 12px;
    text-align: left;
    height: 100%;
}

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

.VariablesExplorer_cr {
    height: 100%;
}

.VariablesExplorer_cr_c {
    height: 100%;
}

.VariablesExplorer_content {
    max-height: 400px;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    overflow-y: auto;
    overflow-x: auto;
}

.VariablesExplorer.VariablesExplorer__fluent .VariablesExplorer_content {
    overflow: visible;
    max-height: none;
}

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

.VariablesExplorer.VariablesExplorer__passive {
    opacity: 0.4;
}

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

.VariablesExplorer_items {
    height: 100%;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
    user-select: none;
}

.VariablesExplorer_items::-webkit-scrollbar {
  width: 5px;
}
 
.VariablesExplorer_items::-webkit-scrollbar-thumb {
  background: #121212; 
}

.VariablesExplorer_items:hover::-webkit-scrollbar-thumb {
  background: #414141; 
}

.VariablesExplorer_items_item {
    
}

.VariablesExplorer_items_item_button {
    display: flex;
    flex-direction: row;
    line-height: 15px;
    cursor: pointer;
    height: 28px;
    white-space: nowrap;
    position: relative;
    flex-grow: 1;
}

.VariablesExplorer_items_item_button:nth-child(odd) {
    background: rgba(0,0,0,0.1);
}

.VariablesExplorer_items_item.VariablesExplorer__changed > .VariablesExplorer_items_item_sides .VariablesExplorer_items_item_button {
    transition: all 500ms cubic-bezier(0.030, 1.490, 1.000, -0.600);
    transition-timing-function: cubic-bezier(0.030, 1.490, 1.000, -0.600);
    background: rgba(255, 0, 0, 0.5) !important;
}

.VariablesExplorer_items_item:not(.VariablesExplorer__changed) .VariablesExplorer_items_item_button:hover {
    background: rgba(255,255,255,0.025);
}

.VariablesExplorer_items_item.VariablesExplorer__changed .VariablesExplorer_items_item_button_type {
}

.VariablesExplorer_items_item_button_name {
    flex: 1 0;
    display: flex;
    align-items: center;
    padding: 0px 5px;
}

.VariablesExplorer_items_item_button_openBtn {
    flex: 0 0;
    display: flex;
    align-items: center;
    color: #cacaca;
}

.VariablesExplorer_items_item_button_openBtn_icon {
    display: none;
}

.VariablesExplorer_items_item_button_openBtn_icon__notOpenable {
    display: block;
}

.VariablesExplorer_items_item_button_menuBtn {
    flex: 0 0;
    display: flex;
    align-items: center;
    background: rgb(0,0,0,0.1);
    color: #cacaca;
    font-size: 9px;
    padding: 0px 4px;
    justify-content: center;
}

.VariablesExplorer_items_item_button_isPointer {
    flex: 0 0;
    display: flex;
    align-items: center;
    background: rgb(0,0,0,0.1);
    color: #cacaca;
    font-size: 9px;
    padding: 0px 4px;
    justify-content: center;
}

.VariablesExplorer_items_item_button_isNotPointer {
    flex: 0 0;
    display: flex;
    align-items: center;
    font-size: 10px;
    flex-basis: 20px;
    justify-content: center;
}

.VariablesExplorer_items_item_button_preType {
    flex: 0 0;
    display: flex;
    align-items: center;
    font-size: 9px;
    padding: 0px 3px;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    color: #cacaca;
}

.VariablesExplorer_items_item_button_type {
    flex: 0 0;
    display: flex;
    align-items: center;
    padding: 0px 5px;
    color: #ff4c4c;
}

.VariablesExplorer_items_item_button_name {
    flex: 0 0;
    display: flex;
    align-items: center;
    padding: 0px 5px;
    color: #ffff6e;
}

.VariablesExplorer_items_item_button_value {
    flex: 0 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0px 5px;
    cursor: text;
    user-select: text;
}

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

.VariablesExplorer_items_item_openable {
    display: none;
}

.VariablesExplorer_items_item_openable_content {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px dashed rgba(255,255,255,0.1);
    background: rgba(41, 32, 94, 0.01);
}

.VariablesExplorer_items_item_openable_items {
}

.VariablesExplorer_items_item_openable_loading {
    
}

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

.VariablesExplorer_items_item_pointingsSVG {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.VariablesExplorer_items_item_pointingsSVG_path {
    stroke: rgba(49, 31, 31, 0.1);
    stroke-width: 1px;
    fill: transparent;
}

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

.VariablesExplorer_items_item_contextMenu {
    background: #002f6d;
    width: auto;
    top: calc(100% + 10px);
    left: 15px;
    display: none;
    position: absolute;
    z-index: 5000;
    cursor: default;
    padding: 5px 0px;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.1), 0px 0px 40px 0px rgba(0,0,0,0.1);
    animation-duration: 100ms;
}

.VariablesExplorer_items_item_contextMenu.VariablesExplorer__opened {
    display: block;
    animation-name: VariablesExplorer_items_item_contextMenu_openAnim;
}

.VariablesExplorer_items_item_contextMenu:before {
    content: ' ';
    background: #002f6d;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    position: absolute;
    left: 10px;
    top: -5px;
}

.VariablesExplorer_items_item_contextMenu_menu {

}

.VariablesExplorer_items_item_contextMenu_menu_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    height: 30px;
    cursor: pointer;
}

.VariablesExplorer_items_item_contextMenu_menu_item:last-child {
    border-bottom: 0px;
}

.VariablesExplorer_items_item_contextMenu_menu_item_icon {
    padding: 0px 10px;
    display: inline-flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    width: 35px;
}

.VariablesExplorer_items_item_contextMenu_menu_item_icon_img {
    width: 14px;
}

.VariablesExplorer_items_item_contextMenu_menu_item_label {
    display: inline-flex;
    padding: 0px 10px;
    flex-grow: 1;
    align-items: center;
}

.VariablesExplorer_items_item_contextMenu_menu_item:hover {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes VariablesExplorer_items_item_contextMenu_openAnim {
    0% {
        transform: scale(0, 0);
    }
    100% {
        transform: scale(1, 1);
    }
}

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

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

.VariablesExplorer_items_item_sides_left {
    flex-grow: 1;
}

.VariablesExplorer_items_item_sides_left.VariablesExplorer__arrayGraphOpened {
    flex-grow: 0;
    width: 30%;
    max-width: 300px;
    overflow-x: hidden;
}

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

.VariablesExplorer_items_item_llVis {
    display: none;
}

.VariablesExplorer_items_item_arrGrp {
    display: none;
    width: 70%;
    overflow-x: auto;
    flex-grow: 1;
    position: relative;
}

.VariablesExplorer_items_item_arrGrp_arrayGraphComp {
    height: 500px;
}

.VariablesExplorer_items_item_arrGrp_closeBtn {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 40px;
    height: 40px;
    color: white;
    user-select: none;
    transition: background 250ms;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.VariablesExplorer_items_item_arrGrp_closeBtn:hover {
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

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