@import './db/index.scss'; 
@import './routes/index.scss'; 
@import './file-menu/index.scss';

html, body, .wrapper, .content-wrapper, 
  section.content, #workspace, #ace, #db, #routes {
  height: 100%!important;
}

#workspace {
  #ace {
    -webkit-font-smoothing: auto;
    display: none;
  }

  &.ace {
    #ace {
      display: block;
    }
  }

  #db {
    display: none;
    overflow: auto;
  }

  &.db {
    #db {
      display: block;
    }
  }
  
  #routes {
    display: none;
    overflow: auto;
    background-color: #fff;
  }

  &.routes {
    #routes {
      display: block;
    }
  } 
}

.sidebar {
  .open-editors {
    .clear, .save, .clear-all, .save-all {
      z-index: 10;
      display: none;
      margin-left: 10px;
    }

    li:hover {
      .clear, .save, .clear-all, .save-all {
        display: block;
      }
    }
  }
}

a {
  cursor: pointer;
}

.tree, .tree ul {
  margin: 0;
  list-style-type: none;
  position: relative;
  // overflow: hidden;
}

.tree {
  padding: 0 0 0 6px;
  display: block;
  
  ul {
    padding: 0 0 0 16px;
  }

  li {
    margin: 0;
    padding: 0;
    position: relative;
    white-space: nowrap;

    i {
      margin-right: 3px;
      cursor: pointer;
      min-width: 8px;
    }

    a {
      padding: 1px 4px;
      margin: 1px 0;
      display: inline-block;
      text-decoration: none;
      cursor: pointer;
      white-space: nowrap;
      user-select: none;
      -webkit-user-select: none;
    }
  }
}

text {
  font-weight: 300;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
  font-size: 14px;
}

.node rect {
  stroke: #333;
  fill: #fff;
  stroke-width: 1.5px;
}

.edgePath path.path {
  stroke: #333;
  fill: none;
  stroke-width: 1.5px;
}

.arrowhead {
 stroke: blue;
 fill: blue;
 stroke-width: 1.5px;
}

.popover {
  font-family: inherit;
}

:-webkit-full-screen {
  width: 100%;
  height: 100%;
}

.box:-webkit-full-screen {
  margin: 0;
  overflow: auto;
}

.pad-10 {
  padding: 10px;
}

/* Layout mods */
header.main-header {
  position: fixed;
  width: 100%;
}

section.content {
  padding: 0;
  padding-top: 50px;
  @media (max-width: 768px) {
    padding-top: 100px;
  }
}

.main-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: fixed;

  .sidebar {
    flex-grow: 1;
    overflow: auto;
  }
}

.sidebar-collapse {
  .main-sidebar {
    .sidebar {
      overflow: initial;
    }
  }
}

.control-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: fixed;

  vsd-tree {
    flex-grow: 1;
    overflow: auto;
  }
}

.file-editor {
  padding: 5px;
}

vsd-notify {
  position: absolute;
  width: 80%;
  left: 10%;
  top: 10px;
  opacity: 0.9;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 {
  font-family: 'ren__stimpyregular';
  font-size: 18px;
}