Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
80 changed files
with
18,568 additions
and
131 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
--color | ||
|
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,4 +1,6 @@ | ||
language: ruby | ||
addons: | ||
postgresql: "9.4" | ||
rvm: | ||
- "2.2.2" | ||
cache: bundler | ||
|
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
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
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Helper for generate C3.js graphs | ||
#---------------------------------------------------------------------- | ||
|
||
buildGraph = (el) -> | ||
url = $(el).data 'graph' | ||
conf = bindto: el, data: {x: 'x', url: url, mimeType: 'json'}, axis: { x: {type: 'timeseries',tick: { format: '%Y-%m-%d' } }} | ||
graph = c3.generate conf | ||
|
||
App.Stats = | ||
initialize: -> | ||
buildGraph(g) for g in $("[data-graph]") |
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 |
---|---|---|
@@ -0,0 +1,153 @@ | ||
// Table of Contents | ||
// | ||
// 01. Global styles | ||
// 02. Sidebar | ||
// 03. List elements | ||
// | ||
|
||
// 01. Global styles | ||
// - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
||
body.admin { | ||
background: white; | ||
|
||
h2 { | ||
font-size: rem-calc(24); | ||
font-weight: bold; | ||
} | ||
|
||
form { | ||
.button { | ||
margin-top: 0; | ||
} | ||
} | ||
|
||
.button.secondary { | ||
margin-right: rem-calc(12); | ||
} | ||
|
||
.button.create { | ||
background: #EFD90C; | ||
color: $text; | ||
|
||
&:hover { | ||
background: #BDAB09; | ||
} | ||
} | ||
|
||
.admin-content { | ||
margin-top: rem-calc(24); | ||
} | ||
|
||
.is-featured { | ||
margin-top: rem-calc(36); | ||
} | ||
} | ||
|
||
// 02. Sidebar | ||
// - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
||
.admin-sidebar { | ||
margin-left: rem-calc(-15); | ||
margin-top: rem-calc(-48); | ||
|
||
ul { | ||
list-style-type: none; | ||
margin-left: 0; | ||
padding: 0; | ||
|
||
[class^="icon-"] { | ||
display: inline-block; | ||
font-size: rem-calc(24); | ||
padding-right: rem-calc(24); | ||
padding-top: rem-calc(4); | ||
} | ||
|
||
li { | ||
background: #2E343F; | ||
border-bottom: 1px solid #292f39; | ||
border-top: 1px solid #353c49; | ||
margin: 0; | ||
outline: 0; | ||
|
||
&:first-child { | ||
background: #2B3139; | ||
color: rgba(255,255,255,0.3); | ||
padding: rem-calc(24) rem-calc(12); | ||
text-transform: uppercase; | ||
} | ||
|
||
&.active{ | ||
background: #373D47; | ||
|
||
a:not(.button) { | ||
color: white; | ||
} | ||
} | ||
} | ||
|
||
li a:not(.button) { | ||
color: rgba(255,255,255,0.3); | ||
line-height: rem-calc(48); | ||
padding-left: rem-calc(12); | ||
vertical-align: top; | ||
|
||
&:hover { | ||
color: white; | ||
} | ||
} | ||
} | ||
} | ||
|
||
// 03. List elements | ||
// - - - - - - - - - - - - - - - - - - - - - - - - - | ||
|
||
.admin-list { | ||
list-style-type: none; | ||
margin: 0; | ||
|
||
form { | ||
clear: both; | ||
|
||
.checkbox { | ||
font-size: rem-calc(12); | ||
} | ||
} | ||
|
||
li { | ||
border-bottom: 1px solid #E7E9EC; | ||
font-size: rem-calc(14); | ||
min-height: rem-calc(72); | ||
padding: rem-calc(12); | ||
|
||
&:first-child { | ||
border-top: 1px solid #E7E9EC; | ||
} | ||
|
||
&:nth-child(odd) { | ||
background: #F0F2F6; | ||
} | ||
} | ||
|
||
.tag { | ||
float: left; | ||
font-size: rem-calc(18); | ||
padding: 0; | ||
} | ||
|
||
.button { | ||
margin: 0; | ||
} | ||
} | ||
|
||
.delete { | ||
border-bottom: 1px dotted #CF2A0E; | ||
color: #F04124; | ||
font-size: rem-calc(11); | ||
margin-right: rem-calc(12); | ||
|
||
&:hover, &:active, &:focus { | ||
border: 0; | ||
color: #cf2a0e; | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -79,3 +79,6 @@ | |
.icon-star:before { | ||
content: "n"; | ||
} | ||
.icon-eye:before { | ||
content: "p"; | ||
} |
Oops, something went wrong.