UNPKG

dui-react

Version:
180 lines (179 loc) 3.47 kB
.button_group { display: inline-flex; text-align: center; justify-content: center; align-items: center; } .button_group > div { display: inline-block; } .button_group .radio { display: inline-block; border: 1px solid #e9e9e9; background: #fff; padding: 2px 5px; outline: none; cursor: pointer; margin: 0px 0px 0px -1px; } .button_group .radio.active { background: #f4f8ff; color: #6c91df; } .button_group .radio:first-child { margin-left: 0px; border-radius: 4px 0 0 4px; } .button_group .radio:last-child { border-radius: 0 4px 4px 0; } .road_bord { position: relative; height: 500px; width: 500px; background: gray; border: 1px solid black; } .road_container_base { display: inline-block; position: absolute; height: 100%; width: 100%; background-color: none; pointer-events: none; } .top_road_container { display: inline-block; position: absolute; height: 100%; width: 100%; background-color: none; pointer-events: none; } .bottom_road_container { display: inline-block; position: absolute; height: 100%; width: 100%; background-color: none; pointer-events: none; transform: rotate(180deg); } .left_road_container { display: inline-block; position: absolute; height: 100%; width: 100%; background-color: none; pointer-events: none; transform: rotate(-90deg); } .right_road_container { display: inline-block; position: absolute; height: 100%; width: 100%; background-color: none; pointer-events: none; transform: rotate(90deg); } .top_road_base { position: absolute; left: 0; top: 0; width: 60%; height: 30%; border-bottom: 1px solid black; border-right: 1px dashed black; } .left_road_base { position: absolute; left: 0; top: 40%; width: 30%; height: 60%; border-right: 1px solid black; border-top: 1px dashed black; } .right_road_base { position: absolute; left: 70%; top: 0; width: 30%; height: 60%; border-left: 1px solid black; border-bottom: 1px dashed black; } .bottom_road_base { position: absolute; left: 40%; top: 70%; width: 60%; height: 30%; border-top: 1px solid black; border-left: 1px dashed black; } .tabs_pane_span { text-align: center; } .tabs_pane_span:hover { cursor: pointer; } .inner_content_center_middle { display: flex; align-items: center; justify-content: center; } .tabs_span { display: flex; flex-wrap: wrap; justify-content: space-around; } .divider { border-left: 1px solid #ec1212; margin: 5px 0px; } .children { height: auto; overflow: hidden; max-height: 1500px; transition: max-height 0.4s ease-out 0s; } .hide { max-height: 0; } .tab_collapse_container { position: relative; display: inline-flex; min-width: 30px; min-height: 10px; font-size: 14px; justify-content: center; align-items: center; border-bottom: 1px solid rgba(141, 147, 163, 0.7); } .tab_collapse_container .left_tabs { position: absolute; left: 5px; } .tab_collapse_container .right_button { display: flex; cursor: pointer; position: absolute; right: 19px; font-size: 12px; align-items: center; } .tab_collapse_container .right_button .up_arrow { display: inline-block; color: #858fa5; fill: currentcolor; height: 24px; width: 24px; user-select: none; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .tab_collapse_container .right_button .down_arrow { display: inline-block; transform: rotate(180deg); }