﻿
/**
 * This file contains the styling for the GUI except the sketch element.
 */

/* GUI sketch panel + layer panel */
#simulatorGUI {
    visibility:hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#simulatorContainer {
    max-width: min-content;
}

#simulatorView {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#simulatorView span {
    text-align: center;
}

#sketchPanel {
    display: flex;
    flex-direction: row;
    max-height: min-content;
}

#container {
    display: flex;
}

#selectionPanel {
    display: flex;
    flex-flow: column;
    margin: 0;
    padding: 0;
}

#selectionPanel form {
    width: 200px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    box-sizing: border-box;
    background-color: lightgrey;
    border-style: solid;
    border-width: 2px;
    border-left-style: none;
    flex-grow: 1;
}
#selectionPanel form div {
    border-bottom-style: solid;
    border-width: 2px;
    padding-left: 1.7rem;
}


/* GUI informationpanel */
#informationPanelContainer {
    display: flex;
    flex-direction: row;
}

#informationPanel {
    flex-grow: 1;
}
#informationTitle {
    /*display: inline-block;*/
}

#simulatorHeader {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

#information {
    background-color: lightgrey;
    height: 23rem;
    border-style: solid;
    border-width: 2px;
    overflow-y: scroll;
    position: relative;
}

#informationPanel img {
    height: 15px;
}

#information .information_item .input_readonly {
    background: transparent;
    border: none;
    outline: none;
}
#information .information_item .input_readwrite {
    background: transparent;
    border: none;
    outline: none;
}

#edit_button {
    position: absolute;
    right: 0%;
    top: 0%;
    margin: 0.5em;
    visibility: hidden;
}

#cancel_button {
}

#save_button {
    margin-right: 0.2em;
}

#saveclose_button_div {
    width: fit-content;
    position: absolute;
    right: 0%;
    top: 0%;
    margin: 0.5em;
    visibility: hidden;
}


#button_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5em;
}

#slider_div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
}
#time_slider {
    flex-grow: 1;
    margin-right: 1em;
}