responsivewebframework
Version:
Jalasoft Foundation Front End Framework ========================================
134 lines (118 loc) • 2.85 kB
text/less
@size-percentage-graph: 88px;
.percentage-graph-div {
border-radius: 50%;
background-color:#ddd;
width:@size-percentage-graph;
height: @size-percentage-graph;
position: relative;
margin: 0;
padding: 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.percentage-graph-div:hover {
cursor: default;
}
.percentage-graph-div-circle-center {
border-radius: 50%;
background-color: white;
width: @size-percentage-graph - 8;
height: @size-percentage-graph - 8;
top: 4px;
left: 4px;
display: table-cell;
position: absolute ;
z-index: 585;
}
.percentage-graph-div-caption {
position: absolute;
width: 100%;
font-family: @font-family-Light;
font-size: 25px;
top: calc(50% - 13px);
text-align: center;
transition-duration: 300ms;
}
.percentage-graph-div-oc1 {
position: absolute ;
width: @size-percentage-graph / 2;
height: @size-percentage-graph / 2;
border-top-left-radius: 100%;
padding: 0px;
margin: 0px;
z-index: 575;
}
.percentage-graph-div-oc2 {
position: absolute ;
width: @size-percentage-graph / 2;
height: @size-percentage-graph / 2;
border-bottom-left-radius: 100%;
padding: 0px;
margin: 0px;
top: @size-percentage-graph / 2;
z-index: 575;
}
.percentage-graph-div-oc3 {
position: absolute ;
width: @size-percentage-graph / 2;
height: @size-percentage-graph / 2;
border-top-left-radius: 100%;
padding: 0px;
margin: 0px;
top: 0px;
left: 0px;
z-index: 575;
}
.percentage-graph-div-oc4 {
position: absolute ;
width: @size-percentage-graph / 2;
height: @size-percentage-graph / 2;
border-bottom-left-radius: 100%;
padding: 0px;
margin: 0px;
top: @size-percentage-graph / 2;
left:0px;
z-index: 575;
}
.percentage-graph-div-oclgray1 {
position: absolute ;
background-color: #ddd;
width: @size-percentage-graph / 2;
height: @size-percentage-graph / 2;
border-top-left-radius: 100%;
padding: 0px;
margin: 0px;
z-index: 505;
}
.percentage-graph-div-oclgray2 {
position: absolute ;
background-color: #ddd;
width: @size-percentage-graph / 2;
height: @size-percentage-graph / 2;
border-bottom-left-radius: 100%;
padding: 0px;
margin: 0px;
z-index: 505;
top: @size-percentage-graph / 2;
transition-duration: 300ms;
}
.percentage-graph-div-containerc1 {
position: relative;
width: @size-percentage-graph;
height: @size-percentage-graph;
border: 0px gray solid;
z-index: 500;
transition-duration: 300ms;
}
.percentage-graph-div-containerc2 {
background-color: transparent;
width: @size-percentage-graph;
height: @size-percentage-graph;
border: 0px gray solid;
transition-duration: 300ms;
position: absolute ;
z-index: 507;
display: none;
}