This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basically what we have in the spreadsheet.
- Loading branch information
1 parent
d0a17a3
commit 7d8c85d
Showing
3 changed files
with
126 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,93 @@ | ||
.chart-wrapper { | ||
|
||
$small-mono: normal 7pt/7pt "Lucida Mono", Monaco, monospace; | ||
|
||
h2 { | ||
padding-top: 12pt; | ||
} | ||
.chart { | ||
height: 100px; | ||
} | ||
.week { | ||
height: 100%; | ||
float: left; | ||
position: relative; | ||
cursor: pointer; | ||
} | ||
.shaded { | ||
position: absolute; | ||
background: #396; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
.week span, .x-axis { | ||
font: normal 7pt/7pt "Lucida Mono", Monaco, monospace; | ||
} | ||
.week span.x-tick { | ||
position: absolute; | ||
bottom: -12pt; | ||
right: 0; | ||
padding: 5pt 0.5pt 0 0; | ||
border: 1pt solid #630; | ||
border-style: none solid none none; | ||
display: none; | ||
color: #630; | ||
background: white; | ||
} | ||
.week span.y-label { // This is the flag. | ||
display: none; | ||
position: absolute; | ||
top: -17pt; | ||
right: 0; | ||
z-index: 1; // Wants to be over the bars. | ||
text-align: center; | ||
background: white; | ||
color: #630; | ||
border: 2pt solid #630; | ||
border-radius: 3pt 0 0 3pt; | ||
padding: 2pt 3pt; | ||
} | ||
.week.max span.y-label { | ||
display: block; | ||
} | ||
.week.flagged span.y-label, | ||
.week.flagged span.x-tick, | ||
.week.hover span.y-label, | ||
.week.hover span.x-tick { | ||
display: block; | ||
} | ||
.week.hover span.y-label, | ||
.week.hover span.x-tick { | ||
z-index: 2 | ||
} | ||
.x-axis { | ||
text-align: center; | ||
padding-top: 14pt; | ||
font: $small-mono; | ||
} | ||
.note { | ||
font-style: italic; | ||
font-size: 8pt; | ||
line-height: 10pt; | ||
padding-bottom: 12pt; | ||
} | ||
|
||
&.bar { | ||
|
||
.chart { | ||
height: 100px; | ||
} | ||
.week { | ||
height: 100%; | ||
float: left; | ||
position: relative; | ||
cursor: pointer; | ||
} | ||
.shaded { | ||
position: absolute; | ||
background: #396; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
.week span { | ||
font: $small-mono; | ||
} | ||
.week span.x-tick { | ||
position: absolute; | ||
bottom: -12pt; | ||
right: 0; | ||
padding: 5pt 0.5pt 0 0; | ||
border: 1pt solid #630; | ||
border-style: none solid none none; | ||
display: none; | ||
color: #630; | ||
background: white; | ||
} | ||
.week span.y-label { // This is the flag. | ||
display: none; | ||
position: absolute; | ||
top: -17pt; | ||
right: 0; | ||
z-index: 1; // Wants to be over the bars. | ||
text-align: center; | ||
background: white; | ||
color: #630; | ||
border: 2pt solid #630; | ||
border-radius: 3pt 0 0 3pt; | ||
padding: 2pt 3pt; | ||
} | ||
.week.max span.y-label { | ||
display: block; | ||
} | ||
.week.flagged span.y-label, | ||
.week.flagged span.x-tick, | ||
.week.hover span.y-label, | ||
.week.hover span.x-tick { | ||
display: block; | ||
} | ||
.week.hover span.y-label, | ||
.week.hover span.x-tick { | ||
z-index: 2 | ||
} | ||
} | ||
|
||
&.retention { | ||
table { | ||
width: 100%; | ||
margin: 0; | ||
padding: 0; | ||
border-spacing: 0; | ||
border-collapse: collapse; | ||
} | ||
td { | ||
height: 4px; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters