*, ::after, ::before { box-sizing: border-box; padding: 0; margin: 0; } label { width: 100%; } body { position: relative; overflow: hidden; } ul { list-style: none; transition: all .2s ease; } .startSlideLine { bottom: 8% !important; } .startmenuClass { bottom: 38% !important; } .treeContainer { height: 88vh; width: 100vw; margin-left: 80px; display: flex; justify-content: center; overflow: auto; white-space: nowrap; } .treebody, .rulewidget { width: 100%; height: 90vh; padding: 20px; font-size: 10px; } .treebody ul li { display: inline-block; padding-top: 150px; } .rulewidget ul li { display: inline-block; padding-top: 150px; } /* box */ .rootbox { margin: 0 auto !important; width: 100px; } .box { position: relative; height: 70px; border-left: 15px solid white; border-right: 15px solid white; margin: 1rem; } .boxcontent { padding: 0 1rem; background-color: lightgreen; border-radius: 5px; margin-bottom: 5rem; } .boxcontent.parnet { padding: 0 } .boxcontent.eventbox { background-color: #CDFFFF; } .rootbox .boxcontent { background-color: transparent; } .firstplus { position: absolute; bottom: 55%; z-index: 1; width: 15px; height: 15px; border-radius: 50%; color: white; text-align: center; padding-bottom: 5px; background-color: rgb(28, 118, 221); cursor: pointer; } .boxlinedown { position: absolute; bottom: -18%; left: 0; width: 50%; height: 90px; border-right: 1px dashed #ccc; } .sideline { position: absolute; bottom: -125%; left: 53%; width: 70%; height: 50%; border-top: 1px dashed #ccc; transition: all .2s ease; } .sidemenu { position: absolute; border: 1px solid grey; bottom: -90%; left: 110%; z-index: 999; transition: all .2s ease; background-color: white; } .plusbtn { position: absolute; bottom: 25%; z-index: 1; width: 15px; height: 15px; border-radius: 50%; color: white; text-align: center; padding-bottom: 5px; background-color: rgb(28, 118, 221); cursor: pointer; } .btnStart { padding: 0.5rem 3rem; border: 1px solid darkgreen; border-radius: 20px; background-color: rgba(144, 238, 144, 0.377); } /* card */ .cardTree { position: relative; width: 230px; height: 70px; } li { position: relative; } .element::after { position: absolute; top: 0; content: ''; width: 100%; height: 20%; border-top: 1px dashed #ccc; } .element::before { content: ''; position: absolute; top: 0; width: 50%; height: 110px; border-right: 1px dashed #ccc; } .element:only-child::after, .element:only-child::before { display: none; } .element:only-child { margin-top: -6.3rem; } ul .element:first-child::after { right: 0; width: 50%; } ul .element:last-child::after { left: 0; width: 50%; } .togglechildren { display: none !important; } .card_menu_wrapper { position: relative; } .card_menu_wrapper img { position: absolute; top: 0; left: 0; transform: translateY(-80%); border-radius: 50%; } .cardTree.diffcard .deleteicon i { color: red; font-size: 13px; } .cardTree_des { font-size: 11px; } .conditionbtn { color: red; pointer-events: auto; } .cardTree.diffcard > div { flex-direction: row !important; } .cardTree.diffcard img { position: relative; transform: translateX(0); width: 53px; height: 53px; }