@charset "UTF-8";

/*
 @Name: 东源汇金CSS模板 简称D.CSS
 @Author: 王昭东
 @Site: www.bjdyhj.cn
 可以通过@import url("d.css") 方式导入到新的项目中
*/
/* 简洁样式 */
.r {
  text-align: right;
}

.c {
  text-align: center;
}

.l {
  text-align: left;
}

.u {
  border-bottom: var(--border);
}

.b {
  font-weight: bold;
}

.none {
  display: none;
}

.block {
  display: block;
}


body {
  margin: 0;
  padding: 0;
}

th {
  background: #EEE;
  cursor: pointer;
  white-space: nowrap;
}

th:hover {
  background: #CCC;
}

td {
  vertical-align: top;
}

/* 按钮样式 */
.but {
  display: inline-block;
  text-align: center;
  min-width: 25px;
  cursor: pointer;
  border-radius: 3px;
  border: 1px solid transparent;
}

.but:hover {
  background: #EEE;
  color: #222;
  border: 1px solid #666;
}

/* 属性面板样式 */
#set_box {
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  box-sizing: border-box;
  background: #EEE;
  padding: 0 5px;
  width: 50%;
  vertical-align: top;

}

.set_iframe {
  height: 400px;
  width: 100%;
  border: 0;
  box-sizing: border-box;
}

/* IDE样式 */
#ide_box {
  border: 1px solid #666;
  border-left: 0px;
  box-sizing: border-box;
  width: 50%;
  height: 400px;
  background: #222;
  color: #EEE;
  padding: 5px;
  vertical-align: top;
}

#ide_box .code {
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 3px;
  margin-bottom: 5px;
  padding: 0 5px;
  cursor: pointer;
}

.menu {
  width: 100%;
  margin-top: 5px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border: 1px #666 dashed;
}
.sub_menu {

  white-space: nowrap;
  overflow-x: visible;
  overflow-y: hidden;
  max-width: calc(100vw - 20px);
}

/* 源码样式 */
#ide_box .code:hover,
#ide_box .hover {
  border: 1px #999 dashed;
}

.grey {
  color: #DDD;
}

.red {
  color: #F22;
}

.green {
  color: #2E2;
}

.blue {
  color: #47E;
}

.yellow {
  color: #F90;
}

#code_div {
  width: 100%;
  min-height: 1em;
  background: #FFF;
  line-height: 1.5em;
  outline: none;
  border-radius: 5px;
  padding: 5px;
  box-sizing: border-box;
}

/* 终端样式 */
.show_title {
  background: #111;
  color: #FFF;
  text-align: center;
  cursor: pointer;
  height: 30px;
  line-height: 30px;
  border-radius: 5px 5px 0 0;
}

#show_box {
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  height: 300px;
  border-radius: 0 0 5px 5px;
}

/*我的菜单*/
#my_home {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #EEE;
}

#my_home select {
  height: 30px;
  padding: 0 5px;
  border-radius: 5px;
}