index.scss 2.22 KB
Newer Older
wangdanlei's avatar
wangdanlei committed
1 2 3 4 5 6 7 8 9 10 11 12 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
/**
 * @Description: 框架样式
 * @author lyk
 * @date 2019/6/4
*/
@import './element-variables.scss';
@import './variables.scss';
@import './mixin.scss';

label {
  font-weight: normal;
}

html {
  height: 100%;
  //min-width: 1366px;
  @include family();
}
a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}
#app {
  height: 100%;
}

#nprogress .bar {
  @include color(background);
}

.sub-title {
  font-size: $--font-size-base;
  font-weight: bold;
  padding: 12px 0 0px 0px;
  display: flex;
  flex-direction: row;

wangdanlei's avatar
wangdanlei committed
50 51 52 53 54 55 56 57
  // &:before {
  //   content: '';
  //   width: 4px;
  //   height: 13px;
  //   @include color(background-color);
  //   align-self: center;
  //   margin-right: 12px
  // }
wangdanlei's avatar
wangdanlei committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
}

.third-title {
  font-size: 14px;
  height: 24px;
  padding: 2px 0 0 12px;
  font-weight: normal;
  color: rgba(33, 33, 33, 1);
}

.middle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flexCenter {
  display: flex;
  justify-content: center;
}

.flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.block-background {
  background-color: #fff;
  border-radius: $--border-radius-base;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px;
  height: 100%;
}

div::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

div::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 3px;
  transition: .3s background-color;
}

div::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: rgba(144,147,153,0);
  transition: .3s background-color;
}

div:hover::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 3px;
  background-color: rgba(144,147,153,.3);
  transition: .3s background-color;
}

//div::-webkit-scrollbar-thumb:hover {
//  background-color: rgba(144,147,153,.3);
//  cursor: pointer;
//}
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.sidebar-com{
  @include sidebar();
}