Compare commits
4 Commits
3887788e3e
...
698874e6d5
Author | SHA1 | Date |
---|---|---|
Juan Massuelles | 698874e6d5 | 1 year ago |
Juan Massuelles | 5362b590d6 | 1 year ago |
Juan Massuelles | 15c79eed68 | 1 year ago |
Juan Massuelles | 09f509a444 | 1 year ago |
@ -0,0 +1,52 @@
|
||||
$pie-size:300px;
|
||||
$pie-bg:#3434AF;
|
||||
$red:#ed3457;
|
||||
$green:#248991;
|
||||
$orange:#ed8724;
|
||||
$line-color:#cecece;
|
||||
$border-width:5px;
|
||||
$segment-border-width:1px;
|
||||
|
||||
:root{
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
.pie,.target {
|
||||
border-radius: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pie {
|
||||
height: $pie-size;
|
||||
width: $pie-size;
|
||||
background-color:$pie-bg;
|
||||
top:$border-width;
|
||||
left:$border-width;
|
||||
&-segment {
|
||||
border: dotted $segment-border-width $line-color;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width:100%;
|
||||
}
|
||||
}
|
||||
|
||||
.target {
|
||||
height: ($pie-size + $border-width * 2);
|
||||
width: ($pie-size + $border-width * 2);
|
||||
background-color:$line-color;
|
||||
}
|
||||
|
||||
.references {
|
||||
position:fixed;
|
||||
bottom:5px;
|
||||
right:5px;
|
||||
border-radius:5px;
|
||||
padding:10px;
|
||||
background-color:lightblue;
|
||||
a {
|
||||
&[href],&:link,&:hover,&:focus,&:active {
|
||||
color:darkblue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,35 @@
|
||||
:root {
|
||||
font-family: sans-serif; }
|
||||
|
||||
.pie, .target {
|
||||
border-radius: 100%;
|
||||
position: relative; }
|
||||
|
||||
.pie {
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
background-color: #3434AF;
|
||||
top: 5px;
|
||||
left: 5px; }
|
||||
.pie-segment {
|
||||
border: dotted 1px #cecece;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%; }
|
||||
|
||||
.target {
|
||||
height: 310px;
|
||||
width: 310px;
|
||||
background-color: #cecece; }
|
||||
|
||||
.references {
|
||||
position: fixed;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
background-color: lightblue; }
|
||||
.references a[href], .references a:link, .references a:hover, .references a:focus, .references a:active {
|
||||
color: darkblue; }
|
||||
|
||||
/*# sourceMappingURL=pie-charts.css.map */
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AASA,KAAK;EACH,WAAW,EAAE,UAAU;;AAGzB,aAAa;EACX,aAAa,EAAE,IAAI;EACnB,QAAQ,EAAE,QAAQ;;AAGpB,IAAK;EACH,MAAM,EAnBE,KAAK;EAoBb,KAAK,EApBG,KAAK;EAqBb,gBAAgB,EApBV,OAAO;EAqBb,GAAG,EAhBS,GAAG;EAiBf,IAAI,EAjBQ,GAAG;EAkBf,YAAU;IACR,MAAM,EAAE,kBAAwC;IAChD,QAAQ,EAAE,QAAQ;IAClB,MAAM,EAAE,IAAI;IACZ,KAAK,EAAC,IAAI;;AAId,OAAQ;EACN,MAAM,EAAE,KAA+B;EACvC,KAAK,EAAG,KAA+B;EACvC,gBAAgB,EA9BN,OAAO;;AAiCnB,WAAY;EACV,QAAQ,EAAC,KAAK;EACd,MAAM,EAAC,GAAG;EACV,KAAK,EAAC,GAAG;EACT,aAAa,EAAC,GAAG;EACjB,OAAO,EAAC,IAAI;EACZ,gBAAgB,EAAC,SAAS;EAExB,uGAAwC;IACtC,KAAK,EAAC,QAAQ",
|
||||
"sources": ["_pie-charts.scss"],
|
||||
"names": [],
|
||||
"file": "pie-charts.css"
|
||||
}
|
Loading…
Reference in new issue