context-menu.less 1.1 KB
Newer Older
ibizdev's avatar
ibizdev committed
1
.context-menu-container {
2 3 4 5 6 7 8 9
  // width: 100vw;
  // height: 100vh;
  // z-index: -10000;
  // position: absolute;
  // top: 0;
  // left: 0;
  // line-height: 1;
  z-index: 10001;
ibizdev's avatar
ibizdev committed
10

11 12 13 14
  .context-menu-content {
      position: absolute;
      background: #FFF;
      // border: 1px solid #e3e3e3;
15 16 17 18 19
      .tree-right-menu{
        .ivu-select-dropdown{
          overflow: auto;
        }
      }
20 21 22
      .ivu-divider{
        width: 100%;
      }
ibizdev's avatar
ibizdev committed
23

24
  }
ibizdev's avatar
ibizdev committed
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 53
  .context-menus {

      .context-menus-item {
          list-style: none;
          line-height: 36px;
          padding: 0 13px;
          margin: 0;
          font-size: 14px;
          color: #606266;
          cursor: pointer;
          outline: none;
          display: flex;
  
          .icon {
              display: flex;
              justify-content: center;
              align-items: center;
              font-size: 16px;
              width: 20px;
              margin-right: 8px;
          }
      }
  
      .context-menus-item:hover {
          background-color: #ecf5ff;
          color: #66b1ff;
      }
  }
ibizdev's avatar
ibizdev committed
54 55
}
.context-menu {
56 57 58 59 60
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
ibizdev's avatar
ibizdev committed
61
}