mirror of
https://gitlab.com/aviortheking/code-stats-vscode.git
synced 2025-08-06 00:21:58 +00:00
Start language radial progress
This commit is contained in:
committed by
Juha Ristolainen
parent
1643159674
commit
ac74701866
@@ -1,4 +1,4 @@
|
||||
.language {
|
||||
/* .language {
|
||||
float: left;
|
||||
width: 5rem;
|
||||
height: 5rem;
|
||||
@@ -11,14 +11,40 @@
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border: solid 2px;
|
||||
} */
|
||||
|
||||
.circle-progress {
|
||||
float: left;
|
||||
position: relative;
|
||||
width: 7rem;
|
||||
height: 7rem;
|
||||
}
|
||||
|
||||
.language span{
|
||||
display: block;
|
||||
svg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
/* .circle-progress svg {
|
||||
transform: rotate(-90deg);
|
||||
} */
|
||||
|
||||
.circle-progress svg circle {
|
||||
fill:transparent;
|
||||
}
|
||||
|
||||
.language {
|
||||
padding-top: 2.5rem;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.language span {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
@@ -60,9 +86,10 @@ img {
|
||||
.progress {
|
||||
height: 20px;
|
||||
margin-bottom: 20px;
|
||||
/* background-color: #f5f5f5; */
|
||||
background-color: #303030;
|
||||
border-radius: 4px;
|
||||
border: solid 1px;
|
||||
border-color: #424242;
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
|
||||
}
|
||||
@@ -72,10 +99,9 @@ img {
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
/* color: #fff; */
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
background-color: #337ab7;
|
||||
background-color: #ddca7e;
|
||||
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
|
||||
-webkit-transition: width .6s ease;
|
||||
@@ -84,7 +110,7 @@ img {
|
||||
}
|
||||
|
||||
.progress-bar-success {
|
||||
background-color: #ddca7e;;
|
||||
background-color: #318245;
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
|
Reference in New Issue
Block a user