app.scss 1.46 KB
Newer Older
hucy's avatar
hucy committed
1 2
// app global css in SCSS form

hucy's avatar
hucy committed
3 4 5 6 7 8 9 10 11 12
a:link {
  color: $primary;
} /* 未访问的链接 */
a:visited {
  color: $primary;
} /* 已访问的链接 */
a:hover {
  opacity: 0.8;
} /* 鼠标移动到链接上 */

hucy's avatar
hucy committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
// 布局
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.container-height {
  height: calc(100vh - 50px);
}

// 颜色
// 播放
.text-play {
  color: #6cc4a1;
}
.bg-play {
  background: #6cc4a1;
}
// 暂停
.text-pause {
  color: #df7861;
}
.bg-pause {
  background: #df7861;
}
// 导航栏激活颜色
.text-headeractive {
  color: $primary-3;
}
.bg-headeractive {
  background: $primary-3;
}

// tooltip样式
.com-tooltip-sty {
  border: 1px solid rgba(9, 30, 66, 0.13);
  color: $gray-light-text;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}
hucy's avatar
hucy committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78

.table-view {
  position: relative;
  table {
    position: relative;
    margin: 0 auto;
    text-align: center;
    background-color: #fafafa;
    border: 1px solid #dadada;
    border-collapse: collapse; /*表格的边框合并,如果相邻,则共用一个边框*/
    border-spacing: 0; /*设置行与单元格边框的间距。当表格边框独立(即border-collapse:separate;)此属性才起作用*/
    td {
      padding: 4px;
      border: 1px solid #dadada;
      height: 30px;
      min-height: 30px;
      min-width: 100px;
    }
    th {
      padding: 4px;
      border: 1px solid #dadada;
      height: 30px;
      min-height: 30px;
    }
  }
}