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

.FileBrowser {
    display: none;
    padding: 10px;
    overflow-y: auto;
    text-align: left;
    user-select: none;
}

.FileBrowser_window {
    display: flex;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10000;
}

.FileBrowser_window_box {
    text-align: left;
    position: relative;
    z-index: 200;
    background: #003f91;
    margin: auto;
    width: 600px;
    box-shadow:
        0px 0px 15px 0px rgba(0,0,0,0.25),
        0px 0px 40px 0px rgba(0,0,0,0.15)
    ;
    transition: opacity 500ms;
}

.FileBrowser_window_box_header {
}

.FileBrowser_window_box_header_line {
    background: rgb(0,0,0,0.25);
    position: relative;
    height: 40px;
    line-height: 18px;
    display: flex;
    align-items: center;
    flex-direction: row;
}

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

.FileBrowser_window_box_header_line_label {
    padding-left: 10px;
}

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

.FileBrowser_window_box_header_path {
    flex-grow: 1;
    color: rgba(255,255,255,0.5);
    padding-left: 10px;
    height: 100%;
}

.FileBrowser_window_box_header_path_input {
    height: 100%;
    width: 100%;
}

.FileBrowser_window_box_header_path_input_rI {
    width: 100%;
    height: 100%;
    border: 0px;
    padding: 0px 10px;
    color: white;
    font-family: 'SourceSansPro Regular';
    outline: none;
    background: transparent;
    font-size: 16px;
    box-sizing: border-box;
}

.FileBrowser_window_box_header_path_input_rI:focus {
    background: rgba(0,0,0,0.1);
}

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

.FileBrowser_cr_c {
    color: #dbdbdb;
}

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

.FileBrowser.FileBrowser__passive .FileBrowser_window_box {
    opacity: 0.4;
}

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

.FileBrowser_window_box_closeBtn {
    width: 40px;
    height: 100%;
    align-items: center;
    cursor: pointer;
    transition: color 100ms;
    display: flex;
    align-items: center;
    justify-content: center;
}

.FileBrowser_window_box_closeBtn:hover {
    background: rgba(0,0,0,0.2);
}

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

.FileBrowser_items {
    position: relative;
    height: 500px;
    overflow-y: auto;
}

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

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

.FileBrowser_items_item {
    line-height: 15px;
    cursor: pointer;
    padding: 10px;
}

.FileBrowser_items_item_icon {
    display: inline-block;
}

.FileBrowser_items_item_name {
    display: inline-block;
}

.FileBrowser_items_item_name.FileBrowser__dir {
    font-weight: bold;
}

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

.FileBrowser_items_item.FileBrowser_items_item__current {
    background: rgba(255,255,255,0.2);
}

.FileBrowser_items_item_location {
    margin-top: 5px;
    color: #8c8c8c;
}

.FileBrowser_items_parentBtn {
    line-height: 15px;
    cursor: pointer;
    padding: 10px;
}

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

.FileBrowser_items_parentBtn.FileBrowser_items_item__current {
    background: rgba(255,255,255,0.2);
}

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

.FileBrowser_total {
    padding: 10px;
    background: rgba(0,0,0,0.1);
}

.FileBrowser_total_number {
    display: inline;
}

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