Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…the test runner and build is not operational yet.
  • Loading branch information
Shamasis Bhattacharya committed Sep 19, 2013
1 parent 70e87f4 commit 4e1b0b9
Show file tree
Hide file tree
Showing 57 changed files with 36,159 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "eve"]
path = source/eve
url = git://github.com/adobe-webplatform/eve.git
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
RedRaphael <sup>beta</sup>
==========================
redraphael
==========

Red Raphael
140 changes: 140 additions & 0 deletions docs/css/dr.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
#content section.code {
display: block;
font-weight: 400;
background: #181818;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#content section.code pre code {
font-size: 14px;
}
code {
font-family: source-code-pro, Menlo, "Arial Unicode MS", sans-serif;
}
a.dr-hash,
a.dr-sourceline {
-webkit-transition: opacity 0.2s linear;
color: #333;
font-family: Menlo, "Arial Unicode MS", sans-serif;
margin: 0 0 0 .3em;
opacity: 0;
text-decoration: none;
}
h2:hover a.dr-hash,
h3:hover a.dr-hash,
h4:hover a.dr-hash,
h5:hover a.dr-hash,
h2:hover a.dr-sourceline,
h3:hover a.dr-sourceline,
h4:hover a.dr-sourceline,
h5:hover a.dr-sourceline {
opacity: 1;
}
.dr-param {
float: left;
min-width: 8em;
}
.dr-type {
float: left;
}
.dr-type em,
.dr-returns em,
.dr-property em {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background: #ccc;
border-radius: 5px;
float: left;
font-size: .75em;
font-style: normal;
font-weight: 700;
margin: 0 8px 0 0;
min-width: 80px;
padding: 2px 5px;
text-align: center;
}
.dr-type em.amp,
.dr-returns em.amp,
.dr-property em.amp {
float: none;
background: none;
font-size: 1em;
font-weight: 400;
font-style: italic;
margin: 0;
padding: 0;
min-width: 0;
}
.dr-property em.dr-type {
margin: 4px 16px 0 0;
}
em.dr-type-string {
background: #e1edb1;
color: #3d4c00;
}
em.dr-type-object {
background: #edb1b1;
color: #4c0000;
}
em.dr-type-function {
background: #cfb1ed;
color: #26004c;
}
em.dr-type-number {
background: #b1c9ed;
color: #001e4c;
}
em.dr-type-boolean {
background: #b1edc9;
color: #004c1e;
}
em.dr-type-array {
background: #edd5b1;
color: #4c2d00;
}
.dr-optional {
display: none;
}
ol.dr-json {
background: #ddd;
list-style: none;
margin: 0 -30px;
padding: 16px 30px;
line-height: 1.5;
}
ol.dr-json .dr-json-key {
float: left;
min-width: 50px;
margin-right: 16px;
}
ol.dr-json .dr-json-description {
display: table;
}
ol.dr-json ol.dr-json {
margin: 0;
padding: 0 0 0 50px;
}
#pageNav li.dr-lvl1 a {
padding-left: 1em;
}
#pageNav li.dr-lvl2 a {
padding-left: 2em;
}
#pageNav li.dr-lvl3 a {
padding-left: 3em;
}
#pageNav li.dr-lvl4 a {
padding-left: 4em;
}
#pageNav li.dr-lvl5 a {
padding-left: 5em;
}
#pageNav li.dr-lvl6 a {
padding-left: 6em;
}
#pageNav ol {
list-style: none;
margin: 0;
padding: 0;
}
508 changes: 508 additions & 0 deletions docs/css/main.css

Large diffs are not rendered by default.

168 changes: 168 additions & 0 deletions docs/css/prism.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
/**
* prism.js Twilight theme
* Based (more or less) on the Twilight theme originally of Textmate fame.
* @author Remy Bach
*/
code[class*="language-"],
pre[class*="language-"] {
color: white;
direction: ltr;
font-family: source-code-pro, Consolas, Monaco, 'Andale Mono', monospace;
text-align: left;
text-shadow: 0 -.1em .2em black;
white-space: pre;
word-spacing: normal;

-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;

-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

pre[class*="language-"],
:not(pre) > code[class*="language-"] {
background:#181818;
}

/* Code blocks */
pre[class*="language-"] {
margin: .5em 0;
overflow: auto;
}
pre[class*="language-"]::selection { /* Safari */
background:hsl(200, 4%, 16%); /* #282A2B */
}
pre[class*="language-"]::selection { /* Firefox */
background:hsl(200, 4%, 16%); /* #282A2B */
}

/* Inline code */
:not(pre) > code[class*="language-"] {
border-radius: .3em;
border: .13em solid hsl(0,0%,33%); /* #545454 */
box-shadow: 1px 1px .3em -.1em black inset;
padding: .15em .2em .05em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: hsl(0, 0%, 47%); /* #777777 */
}

.token.punctuation {
opacity: .7;
}

.namespace {
opacity: .7;
}

.token.tag,
.token.boolean,
.token.number {
color: hsl(14, 58%, 55%); /* #CF6A4C */
}

.token.keyword,
.token.property,
.token.selector {
color:hsl(53, 89%, 79%); /* #F9EE98 */
}
.token.attr-name,
.token.attr-value,
.token.string,
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color:hsl(76, 21%, 52%); /* #8F9D6A */
}

.token.atrule {
color:hsl(218, 22%, 55%); /* #7587A6 */
}

.token.regex,
.token.important {
color: hsl(42, 75%, 65%); /* #E9C062 */
}

.token.important {
font-weight: bold;
}

.token.entity {
cursor: help;
}
pre[data-line] {
padding: 1em 0 1em 3em;
position: relative;
}

/* Markup */
.language-markup .token.tag,
.language-markup .token.attr-name,
.language-markup .token.punctuation {
color: hsl(33, 33%, 52%); /* #AC885B */
}

/* Text Selection colour */
::selection {
background: hsla(0,0%,93%,0.15); /* #EDEDED */
}
::-moz-selection {
background: hsla(0,0%,93%,0.15); /* #EDEDED */
}

/* Make the tokens sit above the line highlight so the colours don't look faded. */
.token {
position:relative;
z-index:1;
}
.line-highlight {
background: -moz-linear-gradient(left, hsla(0, 0%, 33%,.1) 70%, hsla(0, 0%, 33%,0)); /* #545454 */
background: -o-linear-gradient(left, hsla(0, 0%, 33%,.1) 70%, hsla(0, 0%, 33%,0)); /* #545454 */
background: -webkit-linear-gradient(left, hsla(0, 0%, 33%,.1) 70%, hsla(0, 0%, 33%,0)); /* #545454 */
background: hsla(0, 0%, 33%, 0.25); /* #545454 */
background: linear-gradient(left, hsla(0, 0%, 33%,.1) 70%, hsla(0, 0%, 33%,0)); /* #545454 */
border-bottom:1px dashed hsl(0, 0%, 33%); /* #545454 */
border-top:1px dashed hsl(0, 0%, 33%); /* #545454 */
left: 0;
line-height: inherit;
margin-top: 0.75em; /* Same as .prism’s padding-top */
padding: inherit 0;
pointer-events: none;
position: absolute;
right: 0;
white-space: pre;
z-index:0;
}
.line-highlight:before,
.line-highlight[data-end]:after {
background-color: hsl(215, 15%, 59%); /* #8794A6 */
border-radius: 999px;
box-shadow: 0 1px white;
color: hsl(24, 20%, 95%); /* #F5F2F0 */
content: attr(data-start);
font: bold 65%/1.5 sans-serif;
left: .6em;
min-width: 1em;
padding: 0 .5em;
position: absolute;
text-align: center;
text-shadow: none;
top: .4em;
vertical-align: .3em;
}
.line-highlight[data-end]:after {
bottom: .4em;
content: attr(data-end);
top: auto;
}
Loading

0 comments on commit 4e1b0b9

Please sign in to comment.