Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit e503a51

Browse files
committed
stylesheets mostly done; figuring out content and components.
1 parent a065921 commit e503a51

18 files changed

Lines changed: 141 additions & 66 deletions

File tree

app/app.coffee

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
`import Ember from 'ember'`
2+
`import Resolver from 'ember/resolver'`
3+
`import loadInitializers from 'ember/load-initializers'`
4+
`import config from './config/environment'`
5+
6+
Ember.MODEL_FACTORY_INJECTIONS = true
7+
8+
App = Ember.Application.extend
9+
modulePrefix: config.modulePrefix,
10+
podModulePrefix: config.podModulePrefix,
11+
Resolver: Resolver
12+
13+
loadInitializers(App, config.modulePrefix)
14+
15+
`export default App`

app/app.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

app/components/prompt.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import Ember from "ember";
2+
3+
export default Ember.TextField.extend({
4+
5+
});

app/router.coffee

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
`import Ember from 'ember'`
2+
`import config from './config/environment'`
3+
4+
Router = Ember.Router.extend
5+
location: config.locationType
6+
7+
Router.map ->
8+
@route 'about'
9+
10+
`export default Router`

app/router.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/routes/about.coffee

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
`import Ember from 'ember'`
2+
3+
AboutRoute = Ember.Route.extend()
4+
5+
`export default AboutRoute`

app/styles/app.styl

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,63 @@
11
@import url(http://fonts.googleapis.com/css?family=Droid\+Sans\+Mono)
2+
@import 'bower_components/nib'
3+
4+
$foreground = white
5+
$background = black
26

37
body
8+
background linear-gradient(top,
9+
transparent 0px,
10+
transparent 1px,
11+
alpha($foreground, 0.25) 1px,
12+
alpha($foreground, 0.25) 2px)
13+
-webkit-background-size 100% 2px
14+
-moz-background-size 100% 2px
415
font-family 'Droid Sans Mono', Monaco, "Lucida Console", monospace
516
font-size 10pt
6-
text-shadow 0px 0px 10px #fff
17+
text-shadow 0px 0px 10px $foreground
718
padding 2px
8-
background-color #000
9-
color #fff
19+
background-color $background
20+
color $foreground
1021

11-
#terminal
12-
background: -webkit-repeating-linear-gradient(
13-
top,
14-
transparent 0px,
15-
transparent 1px,
16-
rgba(0,0,0,0.25) 1px,
17-
rgba(0,0,0,0.25) 2px
18-
);
19-
-webkit-background-size: 100% 2px;
20-
21-
background: -moz-repeating-linear-gradient(
22-
top,
23-
transparent 0px,
24-
transparent 1px,
25-
rgba(0,0,0,0.25) 1px,
26-
rgba(0,0,0,0.25) 2px
27-
);
28-
-moz-background-size: 100% 2px;
29-
3022
pre
3123
margin-top 0 !important
3224

3325
a
34-
color #FFF
26+
color $foreground
3527
&:visited
36-
color #CCC
28+
color lightness($foreground, 80%)
3729

3830
span
3931
&.symlink
40-
color #F00
32+
color lightness($foreground, 20%)
4133

4234
.prompt, #prompt
43-
background-color #ccc
44-
color #000
35+
background-color lightness($foreground, 80%)
36+
background linear-gradient(top,
37+
transparent 0px,
38+
transparent 1px,
39+
alpha($foreground, 0.5) 1px,
40+
alpha($foreground, 0.5) 2px)
41+
color $background
42+
text-shadow none
4543

4644
.command
4745
margin-left .5em
4846

4947
#cursor
5048
font-weight normal
51-
background-color #000
49+
background-color $background
50+
-webkit-animation 1s blink step-end infinite
51+
-moz-animation 1s blink step-end infinite
52+
-ms-animation 1s blink step-end infinite
53+
-o-animation 1s blink step-end infinite
54+
animation 1s blink step-end infinite
55+
56+
@keyframes blink {
57+
from,to {
58+
color transparent
59+
}
60+
50% {
61+
color $foreground
62+
}
63+
}

app/templates/about.emblem

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.prompt#1
2+
span kaneda.net %
3+
span.command#2 cat about.md
4+
#3

app/templates/application.emblem

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#terminal
2+
== outlet

app/templates/application.hbs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)