dui-react
Version:
design your ui --base on react
190 lines (189 loc) • 3.63 kB
CSS
.line_container_base {
position: absolute;
bottom: 25%;
width: 100%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
}
.text_block_base {
display: inline-block;
width: 20%;
height: auto;
margin: auto;
border-radius: 10%;
background-color: white;
border: 1px solid black;
display: flex;
justify-content: center;
align-items: center;
}
.icon_image_base {
width: 20%;
height: auto;
border-radius: 10%;
margin: auto;
}
.road_base .road_info_box {
position: relative;
left: 50%;
width: 50%;
height: 100%;
background: #cacaee;
border-left: 1px solid black;
}
.road_base .road_info_box .icons {
position: absolute;
bottom: 25%;
width: 100%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
}
.road_base .road_info_box .icons img {
width: 20%;
height: auto;
border-radius: 10%;
margin: auto;
}
.road_base .road_info_box .ref_nums {
position: absolute;
bottom: 25%;
width: 100%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
bottom: 50%;
}
.road_base .road_info_box .ref_nums div {
display: inline-block;
width: 20%;
height: auto;
margin: auto;
border-radius: 10%;
background-color: white;
border: 1px solid black;
display: flex;
justify-content: center;
align-items: center;
}
.road_base .road_info_box .nums {
position: absolute;
bottom: 25%;
width: 100%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
bottom: 0%;
}
.road_base .road_info_box .nums div {
display: inline-block;
width: 20%;
height: auto;
margin: auto;
border-radius: 10%;
background-color: white;
border: 1px solid black;
display: flex;
justify-content: center;
align-items: center;
background-color: #82ec82;
}
.road_base .road_info_box .roadname {
position: absolute;
bottom: 25%;
width: 100%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
bottom: 75%;
display: initial;
}
.road_base .road_info_box .roadname div {
width: 100%;
text-align: center;
}
.reverse_road_info_box_base {
display: inline-block;
position: relative;
left: 60%;
width: 10%;
height: 30%;
}
.reverse_road_info_box_base .block {
position: absolute;
bottom: 25%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
width: 100%;
}
.reverse_road_info_box_base .icon {
position: absolute;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
width: 100%;
bottom: 25%;
}
.reverse_road_info_box_base .icon img {
width: 20%;
height: auto;
border-radius: 10%;
margin: auto;
width: 60%;
}
.reverse_road_info_box_base .ref_num {
position: absolute;
bottom: 25%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
width: 100%;
bottom: 50%;
}
.reverse_road_info_box_base .ref_num div {
display: inline-block;
width: 20%;
height: auto;
margin: auto;
border-radius: 10%;
background-color: white;
border: 1px solid black;
display: flex;
justify-content: center;
align-items: center;
width: 60%;
}
.reverse_road_info_box_base .num {
position: absolute;
bottom: 25%;
height: 25%;
display: flex;
text-align: center;
vertical-align: middle;
width: 100%;
bottom: 0%;
}
.reverse_road_info_box_base .num div {
display: inline-block;
width: 20%;
height: auto;
margin: auto;
border-radius: 10%;
background-color: white;
border: 1px solid black;
display: flex;
justify-content: center;
align-items: center;
background-color: #db53ec;
width: 60%;
}