SiteManage.less 3.13 KB
Newer Older
1
.cardBox{
Maofei94's avatar
Maofei94 committed
2 3
  min-height: calc(100vh - 75px);
  max-height: calc(100vh - 75px);
Maofei94's avatar
Maofei94 committed
4 5
  overflow-y: scroll;
  overflow-x: hidden;
Maofei94's avatar
Maofei94 committed
6
  width: 300px;
Maofei94's avatar
Maofei94 committed
7 8
  left: 0;
  top: 0;
陈前坚's avatar
陈前坚 committed
9
  margin-right: 10px;
Maofei94's avatar
Maofei94 committed
10 11 12 13 14 15 16 17 18 19 20 21 22
  position: relative;
  // transition: left,width 10s;
  transition-property:width,left;
  transition-duration: 0.5s;
  white-space: nowrap
}
.hideBox{
  left: 0px;
  top: 0;
  width: 20px;
}
.hideH{
  width: 100%;
23
}
张烨's avatar
张烨 committed
24 25 26 27 28 29 30
.siteTitle{
  font-size: 16px;
  margin: 0 0 6px 0;
  user-select: none;
  padding: 3px;
  border-bottom: 1px solid #ccc;
}
31
.cardBoxR{
tianfen's avatar
tianfen committed
32 33
  min-height: calc(100vh - 210px);
  max-height: calc(100vh - 210px);
Maofei94's avatar
Maofei94 committed
34
  min-width: 600px;
Maofei94's avatar
Maofei94 committed
35
  overflow-y: scroll;
36
}
Maofei94's avatar
Maofei94 committed
37 38 39 40 41
.cardBoxTop{
  // max-width: calc( 100% - 450px);
  // margin-bottom: 10px;

}
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
.ant-tree-node-content-wrapper-open{
  display: flex;
  align-items: center;
}
.treeTitle {
  display: flex;
  span {
      display: none;
  }
}
.treeTitle:hover {
  span {
      margin-left: 20px;
      display: block;
  }
}
.titleBox{
  display: flex;
Maofei94's avatar
Maofei94 committed
60
  // flex-wrap: wrap;
61 62 63
  justify-content: space-around;
  align-items: center;
}
张烨's avatar
张烨 committed
64
.listItem{
Maofei94's avatar
Maofei94 committed
65
  height: 35px !important;
张烨's avatar
张烨 committed
66
  padding-left: 5px;
Maofei94's avatar
Maofei94 committed
67
  cursor: pointer;
Maofei94's avatar
Maofei94 committed
68
  font-size: 14px;
Maofei94's avatar
Maofei94 committed
69 70 71
}
.listItem:hover{
  background-color:  #f8f8f8  ;
张烨's avatar
张烨 committed
72 73
}
.selected{
Maofei94's avatar
Maofei94 committed
74 75
  font-weight: bold;
  background-color: #bae7ff!important;
Maofei94's avatar
Maofei94 committed
76 77 78 79
}

.hide{
  display: block;
Maofei94's avatar
Maofei94 committed
80
  position: absolute;
Maofei94's avatar
Maofei94 committed
81
  font-size: 18px;
Maofei94's avatar
Maofei94 committed
82 83
  color: #1890FF!important;
  top: 45%;
Maofei94's avatar
Maofei94 committed
84
  right: -3px;
Maofei94's avatar
Maofei94 committed
85 86 87 88 89
  transform: translate(0%,-50%);
  z-index: 2;
}
// .hide{
//   left: 0;
Maofei94's avatar
Maofei94 committed
90 91 92 93 94 95 96 97 98 99
// }
.content{
  width: 100%;
  display: flex;
  position: relative;
}
.boxR{
  width: 100%;
  position: relative;
  transition: width 2s;
tianfen's avatar
tianfen committed
100 101 102 103 104 105 106
}

.siteCheckbox .ant-collapse-content > .ant-collapse-content-box{
  padding: 16px 16px 0;
}
.siteList{
  width:199px;
tianfen's avatar
tianfen committed
107 108
  // margin:0 0 15px 0;
  padding:0 0  15px 0;
tianfen's avatar
tianfen committed
109 110 111
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
tianfen's avatar
tianfen committed
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
}
.sitePanel{
  margin: 0 0 10px 0;
}
.sitePanelHead{
  background-color: #f5f5f5;
  padding:8px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
}
.sitePanelHead p{
  margin: 0;
}
.sitePanelCon{
  border:1px solid #f5f5f5;
  padding:20px;
  padding-bottom: 0;
tianfen's avatar
tianfen committed
130 131 132
  border-top:0;
  max-height: 200px;
  overflow: auto;
tianfen's avatar
tianfen committed
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
}
.sitePanel .ant-checkbox-wrapper + .ant-checkbox-wrapper{
  margin:0
}
.siteIcon{
  color:#ccc;
  margin:4px 10px 0 0;
}
.siteAll{
  margin:0 0 10px 0;
}
.siteColor{
  color:#f00
}
.siteCommit{
tianfen's avatar
tianfen committed
148
   margin: 10px 0;
tianfen's avatar
tianfen committed
149 150 151
}
.siteSelectList{
  border:1px solid #f5f5f5;
tianfen's avatar
tianfen committed
152 153
  height: 200px;
  overflow: auto;
154
  margin-bottom: 50px;
tianfen's avatar
tianfen committed
155 156 157 158
  .siteSelectUl{
    margin: 0;
    padding: 15px;
    display: flex;
tianfen's avatar
tianfen committed
159 160
    flex-direction: row;
    flex-wrap: wrap;
tianfen's avatar
tianfen committed
161 162 163 164
    li{
      width:200px;
      height: 35px;
      line-height: 35px;
tianfen's avatar
tianfen committed
165
      background: rgba(24, 144, 255,0.16) url('../../../assets/images/icons/close.png') no-repeat 175px;
tianfen's avatar
tianfen committed
166 167 168
      background-size: 20px;
      margin: 0 10px 10px 0;
      cursor: pointer;
tianfen's avatar
tianfen committed
169 170 171 172
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      padding: 0 20px 0 10px;
tianfen's avatar
tianfen committed
173 174
    }
  }
175
}
tianfen's avatar
tianfen committed
176 177 178 179 180
.siteline{
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: 20px;
}
181
.siteBtn{
tianfen's avatar
tianfen committed
182 183 184 185 186
  width:98%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
Maofei94's avatar
Maofei94 committed
187
}