aladdin 0.0.8 → 0.1.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.md +8 -31
- data/lib/aladdin.rb +22 -23
- data/lib/aladdin/app.rb +10 -21
- data/lib/aladdin/commands/new.rb +2 -2
- data/lib/aladdin/config.rb +18 -32
- data/lib/aladdin/constants.rb +0 -18
- data/lib/aladdin/submission.rb +5 -4
- data/lib/aladdin/support.rb +0 -1
- data/lib/aladdin/support/weak_comparator.rb +2 -0
- data/lib/aladdin/version.rb +1 -2
- data/skeleton/manifest.yml +9 -0
- metadata +15 -111
- data/lib/aladdin/render.rb +0 -9
- data/lib/aladdin/render/error.rb +0 -17
- data/lib/aladdin/render/html.rb +0 -136
- data/lib/aladdin/render/sanitize.rb +0 -90
- data/lib/aladdin/render/templates.rb +0 -2
- data/lib/aladdin/render/templates/header.rb +0 -52
- data/lib/aladdin/render/templates/image.rb +0 -54
- data/lib/aladdin/render/templates/multi.rb +0 -40
- data/lib/aladdin/render/templates/navigation.rb +0 -34
- data/lib/aladdin/render/templates/problem.rb +0 -114
- data/lib/aladdin/render/templates/short.rb +0 -30
- data/lib/aladdin/render/templates/table.rb +0 -109
- data/lib/aladdin/render/templates/template.rb +0 -34
- data/lib/aladdin/support/logger.rb +0 -29
- data/skeleton/manifest.json +0 -10
- data/views/haml/exe.haml +0 -5
- data/views/haml/header.haml +0 -5
- data/views/haml/img.haml +0 -6
- data/views/haml/multi.haml +0 -16
- data/views/haml/nav.haml +0 -5
- data/views/haml/short.haml +0 -12
- data/views/haml/table.haml +0 -28
- data/views/scss/_forms.scss +0 -9
- data/views/scss/_github.scss +0 -65
- data/views/scss/_mathjax.scss +0 -5
- data/views/scss/_pygment.scss +0 -15
- data/views/scss/_settings.scss +0 -271
- data/views/scss/app.scss +0 -75
- data/views/scss/general_foundicons.scss +0 -71
- data/views/scss/general_foundicons_ie7.scss +0 -56
data/views/scss/app.scss
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
@import "settings";
|
2
|
-
@import "foundation";
|
3
|
-
|
4
|
-
/* settings */
|
5
|
-
$borderWidth: 2px;
|
6
|
-
|
7
|
-
.highlight {
|
8
|
-
@import "pygment";
|
9
|
-
@import "github";
|
10
|
-
}
|
11
|
-
|
12
|
-
@import "mathjax";
|
13
|
-
@import "forms";
|
14
|
-
|
15
|
-
body {
|
16
|
-
padding: 0 $columnGutter/2;
|
17
|
-
}
|
18
|
-
|
19
|
-
/* Meta panel */
|
20
|
-
div.meta.panel {
|
21
|
-
border-top: $borderWidth solid $darkEdge;
|
22
|
-
}
|
23
|
-
|
24
|
-
/* Lesson graphic */
|
25
|
-
a.hero img {
|
26
|
-
width: 100%;
|
27
|
-
}
|
28
|
-
|
29
|
-
/* Floating navigation bar */
|
30
|
-
#sections {
|
31
|
-
background: darken($white, 5%);
|
32
|
-
padding-top: 10px;
|
33
|
-
width: $rowWidth + 18;
|
34
|
-
border-bottom: $borderWidth solid $darkEdge;
|
35
|
-
z-index: 3;
|
36
|
-
}
|
37
|
-
|
38
|
-
/* Progress bar */
|
39
|
-
#footer .meter {
|
40
|
-
color: $white;
|
41
|
-
font-weight: 800;
|
42
|
-
text-align: right;
|
43
|
-
padding: 2px 2px 0 0;
|
44
|
-
}
|
45
|
-
|
46
|
-
/* Styling within lesson */
|
47
|
-
section[role='lesson'] {
|
48
|
-
|
49
|
-
.block-image {
|
50
|
-
text-align: center;
|
51
|
-
}
|
52
|
-
|
53
|
-
ul {
|
54
|
-
margin-left: 17px;
|
55
|
-
}
|
56
|
-
|
57
|
-
#{nest(headings(), 'a.anchor')} {
|
58
|
-
position: absolute;
|
59
|
-
padding-left: 60px;
|
60
|
-
margin-left: -60px;
|
61
|
-
display: block;
|
62
|
-
}
|
63
|
-
|
64
|
-
#{nest(headings(), 'a.anchor i')} {
|
65
|
-
display: none;
|
66
|
-
width: 16px;
|
67
|
-
font-size: 16px;
|
68
|
-
}
|
69
|
-
|
70
|
-
#{nest(append-selector(headings(), ':hover'), 'a.anchor i')} {
|
71
|
-
display: inline-block;
|
72
|
-
margin-left: -1.5em;
|
73
|
-
}
|
74
|
-
|
75
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
@import "settings";
|
2
|
-
|
3
|
-
/* font-face */
|
4
|
-
@include face;
|
5
|
-
|
6
|
-
/* global foundicon styles */
|
7
|
-
[class*="#{$classPrefix}"] {
|
8
|
-
display: inline;
|
9
|
-
width: auto;
|
10
|
-
height: auto;
|
11
|
-
line-height: inherit;
|
12
|
-
vertical-align: baseline;
|
13
|
-
background-image: none;
|
14
|
-
background-position: 0 0;
|
15
|
-
background-repeat: repeat;
|
16
|
-
}
|
17
|
-
[class*="#{$classPrefix}"]:before {
|
18
|
-
font-family: $fontName;
|
19
|
-
font-weight: normal;
|
20
|
-
font-style: normal;
|
21
|
-
text-decoration: inherit;
|
22
|
-
}
|
23
|
-
|
24
|
-
/* icons */
|
25
|
-
@include i-class(settings,"000");
|
26
|
-
@include i-class(heart,"001");
|
27
|
-
@include i-class(star,"002");
|
28
|
-
@include i-class(plus,"003");
|
29
|
-
@include i-class(minus,"004");
|
30
|
-
@include i-class(checkmark,"005");
|
31
|
-
@include i-class(remove,"006");
|
32
|
-
@include i-class(mail,"007");
|
33
|
-
@include i-class(calendar,"008");
|
34
|
-
@include i-class(page,"009");
|
35
|
-
@include i-class(tools,"00a");
|
36
|
-
@include i-class(globe,"00b");
|
37
|
-
@include i-class(home,"00c");
|
38
|
-
@include i-class(quote,"00d");
|
39
|
-
@include i-class(people,"00e");
|
40
|
-
@include i-class(monitor,"00f");
|
41
|
-
@include i-class(laptop,"010");
|
42
|
-
@include i-class(phone,"011");
|
43
|
-
@include i-class(cloud,"012");
|
44
|
-
@include i-class(error,"013");
|
45
|
-
@include i-class(right-arrow,"014");
|
46
|
-
@include i-class(left-arrow,"015");
|
47
|
-
@include i-class(up-arrow,"016");
|
48
|
-
@include i-class(down-arrow,"017");
|
49
|
-
@include i-class(trash,"018");
|
50
|
-
@include i-class(add-doc,"019");
|
51
|
-
@include i-class(edit,"01a");
|
52
|
-
@include i-class(lock,"01b");
|
53
|
-
@include i-class(unlock,"01c");
|
54
|
-
@include i-class(refresh,"01d");
|
55
|
-
@include i-class(paper-clip,"01e");
|
56
|
-
@include i-class(video,"01f");
|
57
|
-
@include i-class(photo,"020");
|
58
|
-
@include i-class(graph,"021");
|
59
|
-
@include i-class(idea,"022");
|
60
|
-
@include i-class(mic,"023");
|
61
|
-
@include i-class(cart,"024");
|
62
|
-
@include i-class(address-book,"025");
|
63
|
-
@include i-class(compass,"026");
|
64
|
-
@include i-class(flag,"027");
|
65
|
-
@include i-class(location,"028");
|
66
|
-
@include i-class(clock,"029");
|
67
|
-
@include i-class(folder,"02a");
|
68
|
-
@include i-class(inbox,"02b");
|
69
|
-
@include i-class(website,"02c");
|
70
|
-
@include i-class(smiley,"02d");
|
71
|
-
@include i-class(search,"02e");
|
@@ -1,56 +0,0 @@
|
|
1
|
-
@import "settings";
|
2
|
-
|
3
|
-
/* general icons for IE7 */
|
4
|
-
[class*="#{$classPrefix}"] {
|
5
|
-
font-family: $fontName;
|
6
|
-
font-weight: normal;
|
7
|
-
font-style: normal;
|
8
|
-
}
|
9
|
-
|
10
|
-
@include ie-class(settings,"000");
|
11
|
-
@include ie-class(heart,"001");
|
12
|
-
@include ie-class(star,"002");
|
13
|
-
@include ie-class(plus,"003");
|
14
|
-
@include ie-class(minus,"004");
|
15
|
-
@include ie-class(checkmark,"005");
|
16
|
-
@include ie-class(remove,"006");
|
17
|
-
@include ie-class(mail,"007");
|
18
|
-
@include ie-class(calendar,"008");
|
19
|
-
@include ie-class(page,"009");
|
20
|
-
@include ie-class(tools,"00a");
|
21
|
-
@include ie-class(globe,"00b");
|
22
|
-
@include ie-class(home,"00c");
|
23
|
-
@include ie-class(quote,"00d");
|
24
|
-
@include ie-class(people,"00e");
|
25
|
-
@include ie-class(monitor,"00f");
|
26
|
-
@include ie-class(laptop,"010");
|
27
|
-
@include ie-class(phone,"011");
|
28
|
-
@include ie-class(cloud,"012");
|
29
|
-
@include ie-class(error,"013");
|
30
|
-
@include ie-class(right-arrow,"014");
|
31
|
-
@include ie-class(left-arrow,"015");
|
32
|
-
@include ie-class(up-arrow,"016");
|
33
|
-
@include ie-class(down-arrow,"017");
|
34
|
-
@include ie-class(trash,"018");
|
35
|
-
@include ie-class(add-doc,"019");
|
36
|
-
@include ie-class(edit,"01a");
|
37
|
-
@include ie-class(lock,"01b");
|
38
|
-
@include ie-class(unlock,"01c");
|
39
|
-
@include ie-class(refresh,"01d");
|
40
|
-
@include ie-class(paper-clip,"01e");
|
41
|
-
@include ie-class(video,"01f");
|
42
|
-
@include ie-class(photo,"020");
|
43
|
-
@include ie-class(graph,"021");
|
44
|
-
@include ie-class(idea,"022");
|
45
|
-
@include ie-class(mic,"023");
|
46
|
-
@include ie-class(cart,"024");
|
47
|
-
@include ie-class(address-book,"025");
|
48
|
-
@include ie-class(compass,"026");
|
49
|
-
@include ie-class(flag,"027");
|
50
|
-
@include ie-class(location,"028");
|
51
|
-
@include ie-class(clock,"029");
|
52
|
-
@include ie-class(folder,"02a");
|
53
|
-
@include ie-class(inbox,"02b");
|
54
|
-
@include ie-class(website,"02c");
|
55
|
-
@include ie-class(smiley,"02d");
|
56
|
-
@include ie-class(search,"02e");
|