lion 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. data/.DS_Store +0 -0
  2. data/bin/.DS_Store +0 -0
  3. data/bin/{lion-new.rb → lion-new} +15 -14
  4. data/bin/{lion-server.rb → lion-server} +5 -5
  5. data/lib/.DS_Store +0 -0
  6. data/lib/lion.rb +13 -11
  7. data/lib/lion/.DS_Store +0 -0
  8. data/lib/lion/installer.rb +33 -10
  9. data/lib/lion/version.rb +1 -1
  10. data/lib/src/.DS_Store +0 -0
  11. data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_core.sassc +0 -0
  12. data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_elements.sassc +0 -0
  13. data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_mixins.sassc +0 -0
  14. data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_reset.sassc +0 -0
  15. data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_settings.sassc +0 -0
  16. data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_typography.sassc +0 -0
  17. data/lib/src/.sass-cache/8e2d42a7994fef08dc4bb4dcc558988ca283abc8/style.sassc +0 -0
  18. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_alerts.sassc +0 -0
  19. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_buttons.sassc +0 -0
  20. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_classes.sassc +0 -0
  21. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_forms.sassc +0 -0
  22. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_grid.sassc +0 -0
  23. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_media_queries.sassc +0 -0
  24. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_pagination.sassc +0 -0
  25. data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_tables.sassc +0 -0
  26. data/lib/src/gemfile +6 -0
  27. data/lib/src/lion.rb +4 -1
  28. data/lib/src/public/.DS_Store +0 -0
  29. data/lib/src/public/coffeescripts/spec/application.spec.coffee +4 -0
  30. data/lib/src/public/images/baseline_20.png +0 -0
  31. data/lib/src/public/javascripts/application.js +5 -0
  32. data/lib/src/public/stylesheets/.DS_Store +0 -0
  33. data/lib/src/public/stylesheets/css/.DS_Store +0 -0
  34. data/lib/src/public/stylesheets/css/style.css +696 -1
  35. data/lib/src/public/stylesheets/scss/lib/.DS_Store +0 -0
  36. data/lib/src/public/stylesheets/scss/lib/core.scss +32 -0
  37. data/lib/src/public/stylesheets/scss/lib/css3/.DS_Store +0 -0
  38. data/lib/src/public/stylesheets/scss/lib/css3/background-clip.scss +4 -0
  39. data/lib/src/public/stylesheets/scss/lib/css3/border-radius.scss +4 -0
  40. data/lib/src/public/stylesheets/scss/lib/css3/box-shadow.scss +4 -0
  41. data/lib/src/public/{coffeescripts/spec/application.spec.js.coffee → stylesheets/scss/lib/css3/box-sizing.scss} +0 -0
  42. data/lib/src/public/stylesheets/scss/lib/css3/columns.scss +7 -0
  43. data/lib/src/public/stylesheets/scss/lib/css3/font-face.scss +7 -0
  44. data/lib/src/public/stylesheets/scss/lib/css3/gradient.scss +51 -0
  45. data/lib/src/public/stylesheets/scss/lib/css3/opacity.scss +5 -0
  46. data/lib/src/public/stylesheets/scss/lib/css3/rotate.scss +9 -0
  47. data/lib/src/public/stylesheets/scss/lib/css3/scale.scss +0 -0
  48. data/lib/src/public/stylesheets/scss/lib/css3/text-shadow.scss +2 -0
  49. data/lib/src/public/stylesheets/scss/lib/css3/transform.scss +0 -0
  50. data/lib/src/public/stylesheets/scss/lib/css3/transition.scss +9 -0
  51. data/lib/src/public/stylesheets/scss/lib/helpers/.DS_Store +0 -0
  52. data/lib/src/public/stylesheets/scss/lib/helpers/buttons.scss +24 -0
  53. data/lib/src/public/stylesheets/scss/lib/helpers/classes.scss +18 -0
  54. data/lib/src/public/stylesheets/scss/lib/helpers/forms.scss +192 -0
  55. data/lib/src/public/stylesheets/scss/lib/helpers/media_queries.scss +17 -0
  56. data/lib/src/public/stylesheets/scss/lib/helpers/tables.scss +23 -0
  57. data/lib/src/public/stylesheets/scss/lib/layout/.DS_Store +0 -0
  58. data/lib/src/public/stylesheets/scss/lib/layout/grid.scss +30 -0
  59. data/lib/src/public/stylesheets/scss/lib/mixins.scss +17 -0
  60. data/lib/src/public/stylesheets/scss/lib/reset.scss +69 -0
  61. data/lib/src/public/stylesheets/scss/lib/settings.scss +31 -0
  62. data/lib/src/public/stylesheets/scss/lib/typography/.DS_Store +0 -0
  63. data/lib/src/public/stylesheets/scss/lib/typography/elements.scss +130 -0
  64. data/lib/src/public/stylesheets/scss/lib/typography/headings.scss +30 -0
  65. data/lib/src/public/stylesheets/scss/style.scss +12 -0
  66. data/lib/src/rakefile +19 -0
  67. data/lib/src/views/.DS_Store +0 -0
  68. data/lib/src/views/index.slim +2 -3
  69. data/lib/src/views/layout.slim +20 -7
  70. data/readme.md +29 -0
  71. data/todo.txt +0 -0
  72. metadata +71 -25
  73. data/lib/src/public/coffeescripts/application.js.coffee +0 -6
  74. data/lib/src/public/javascripts/main.js +0 -5
  75. data/lib/src/public/stylesheets/sass/lib/_core.sass +0 -7
  76. data/lib/src/public/stylesheets/sass/lib/_elements.sass +0 -100
  77. data/lib/src/public/stylesheets/sass/lib/_grid.sass +0 -30
  78. data/lib/src/public/stylesheets/sass/lib/_reset.sass +0 -84
  79. data/lib/src/public/stylesheets/sass/lib/_settings.sass +0 -42
  80. data/lib/src/public/stylesheets/sass/lib/_typography.sass +0 -45
  81. data/lib/src/public/stylesheets/sass/lib/helpers/_buttons.sass +0 -15
  82. data/lib/src/public/stylesheets/sass/lib/helpers/_classes.sass +0 -24
  83. data/lib/src/public/stylesheets/sass/lib/helpers/_forms.sass +0 -184
  84. data/lib/src/public/stylesheets/sass/lib/helpers/_media_queries.sass +0 -113
  85. data/lib/src/public/stylesheets/sass/lib/helpers/_mixins.sass +0 -76
  86. data/lib/src/public/stylesheets/sass/lib/helpers/_tables.sass +0 -29
  87. data/lib/src/public/stylesheets/sass/style.sass +0 -40
@@ -1,6 +0,0 @@
1
- #Adds namespace functionality to CoffeeScript.
2
- namespace = (target, name, block) ->
3
- [target, name, block] = [(if typeof exports isnt 'undefined' then exports else window), arguments...] if arguments.length < 3
4
- top = target
5
- target = target[item] or= {} for item in name.split '.'
6
- block target, top
@@ -1,5 +0,0 @@
1
- /*
2
-
3
- All your javascript files will get compiled into this file
4
-
5
- */
@@ -1,7 +0,0 @@
1
- @import _reset
2
- @import helpers/_mixins
3
- @import helpers/_tables
4
- @import _typography
5
- @import helpers/_classes
6
- @import _grid
7
- @import helpers/_forms
@@ -1,100 +0,0 @@
1
- /* --------------------------------------------------------------
2
- *
3
- *PAGE ELEMENTS
4
- *
5
- *--------------------------------------------------------------
6
-
7
- p
8
- margin-bottom: $baseline
9
-
10
- ul, ol
11
- margin-bottom: $baseline
12
-
13
- ul
14
- list-style: none
15
-
16
- ol
17
- list-style-type: decimal
18
-
19
- li
20
- margin-bottom: $baseline / 2
21
-
22
- ul li ul
23
- margin-left: $baseline
24
- margin-top: $baseline / 2
25
- margin-bottom: $baseline / 2
26
-
27
- dl
28
- margin-bottom: $baseline
29
-
30
- dl dt
31
- font-weight: bold
32
- margin-bottom: $baseline / 2
33
-
34
- dl dd
35
- margin-bottom: $baseline / 2
36
-
37
- abbr, acronym
38
- border-bottom: 1px dotted #000
39
-
40
- address
41
- font-style: italic
42
-
43
- del
44
- color: #000
45
-
46
- a
47
- color: $links
48
- text-decoration: none
49
- +transition
50
- /* Force a hand pointer for all links
51
- cursor: pointer
52
-
53
- a:hover
54
- text-decoration: none
55
-
56
- blockquote
57
- display: block
58
-
59
- strong
60
- font-weight: bold
61
-
62
- em, dfn
63
- font-style: italic
64
-
65
- dfn
66
- font-weight: bold
67
-
68
- pre, code
69
- margin: 10px 0
70
- white-space: pre
71
-
72
- pre, code, tt
73
- font: 1em monospace
74
- line-height: 1.5
75
-
76
- tt
77
- display: block
78
-
79
- q
80
- font-style: italic
81
- font-weight: bold
82
- font-family: $serif
83
-
84
- cite
85
- display: block
86
- font-weight: bold
87
-
88
- /* --------------------------------------------------------------
89
- *
90
- *IMAGES
91
- *
92
- *--------------------------------------------------------------
93
-
94
- img
95
- margin-bottom: 10px
96
-
97
- figcaption
98
- display: block
99
- font-weight: bold
100
- font-style: italic
@@ -1,30 +0,0 @@
1
- /* --------------------------------------------------------------
2
- *
3
- *CSS GRID. www.owainlewis.com
4
- *
5
- *--------------------------------------------------------------
6
-
7
- $col_width: ($width - $gutters * ($columns - 1)) / $columns
8
- $col_total_width: $col_width + $gutters
9
-
10
- =col($n: 1)
11
- float: left
12
- +buildColumn($n)
13
-
14
- =last
15
- margin-right: 0
16
-
17
- =buildColumn($n: 1)
18
- width: $n * $col_width + ($n - 1) * $gutters
19
- @if $n == 1
20
- +last
21
- @if $n == columns
22
- +last
23
- @else
24
- margin-right: $gutters
25
-
26
- @for $i from 1 through $columns
27
- .col-#{$i}
28
- +col($i)
29
- &:last-child
30
- +last
@@ -1,84 +0,0 @@
1
- html,body,div,span,object,iframe,
2
- h1,h2,h3,h4,h5,h6,p,blockquote,pre,
3
- abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,
4
- small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,
5
- fieldset,form,label,legend,
6
- table,caption,tbody,tfoot,thead,tr,th,td,
7
- article,aside,canvas,details,figcaption,figure,
8
- footer,header,hgroup,menu,nav,section,summary,
9
- time,mark,audio,video
10
- margin: 0
11
- padding: 0
12
- border: 0
13
- font-size: 100%
14
- font: inherit
15
- vertical-align: baseline
16
-
17
- article,aside,details,figcaption,figure,
18
- footer,header,hgroup,menu,nav,section
19
- display: block
20
-
21
- blockquote,q
22
- quotes: none
23
-
24
- blockquote:before,blockquote:after,
25
- q:before,q:after
26
- content: ""
27
- content: none
28
-
29
- ins
30
- background-color: #ff9
31
- color: #000
32
- text-decoration: none
33
-
34
- mark
35
- background-color: #ff9
36
- color: #000
37
- font-style: italic
38
- font-weight: bold
39
-
40
- del
41
- text-decoration: line-through
42
-
43
- abbr[title],dfn[title]
44
- border-bottom: 1px dotted
45
- cursor: help
46
-
47
- table
48
- border-collapse: collapse
49
- border-spacing: 0
50
-
51
- hr
52
- display: block
53
- height: 1px
54
- border: 0
55
- border-top: 1px solid #ccc
56
- margin: 1em 0
57
- padding: 0
58
-
59
- input,select
60
- vertical-align: middle
61
-
62
- textarea
63
- overflow: auto
64
-
65
- .ie6 legend,.ie7 legend
66
- margin-left: -7px
67
-
68
- input[wtype="radio"]
69
- vertical-align: text-bottom
70
-
71
- input[type="checkbox"]
72
- vertical-align: bottom
73
-
74
- .ie7 input[type="checkbox"]
75
- vertical-align: baseline
76
-
77
- .ie6 input
78
- vertical-align: text-bottom
79
-
80
- label,input[type="button"],input[type="submit"],input[type="image"],button
81
- cursor: pointer
82
-
83
- button,input,select,textarea
84
- margin: 0
@@ -1,42 +0,0 @@
1
- /* --------------------------------------------------------------
2
- *
3
- *Running on Lion
4
- *Version 0.1
5
- *Developed by: Owain Lewis
6
- *www.owainlewis.com
7
- *License: MIT
8
- *http://www.opensource.org/licenses/mit-license.php
9
- *
10
- *--------------------------------------------------------------
11
-
12
- /*
13
- *
14
- *Grid Layout
15
-
16
- $width: 940px
17
- $gutters: 20px
18
- $columns: 12
19
- $baseline: 20px
20
-
21
- /*
22
- *
23
- *Fonts
24
-
25
- $sans: "Helvetica Neue", Helvetica, Arial, sans-serif
26
- $serif: Georgia, Times, serif
27
- $mono: "Lucida Console", "Andale Mono", monospace
28
- $font-size: 14px
29
-
30
- /*
31
- *
32
- *Colors
33
-
34
- $background: white
35
- $text: #333333
36
- $links: #1c7fc4
37
- $borders: #dddddd
38
- $headings: #333333
39
-
40
- $white: white
41
- $grey: #666666
42
- $black: black
@@ -1,45 +0,0 @@
1
- /* --------------------------------------------------------------
2
- *
3
- *TYPOGRAPHY
4
- *
5
- *--------------------------------------------------------------
6
-
7
- /* Default fonts and colors.
8
- body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea
9
- line-height: $baseline
10
- font-family: $sans
11
- color: $text
12
- font-size: $font-size
13
-
14
- /* --------------------------------------------------------------
15
- *
16
- *HEADINGS
17
- *
18
- *--------------------------------------------------------------
19
-
20
- h1,h2,h3,h4,h5
21
- margin-bottom: $baseline
22
- color: $headings
23
- font-weight: 900
24
-
25
- h1
26
- font-size: $baseline * 2
27
- line-height: $baseline * 2
28
-
29
- h2
30
- font-size: $baseline
31
- line-height: $baseline
32
-
33
- h3
34
- font-size: $baseline
35
- line-height: $baseline
36
-
37
- h4
38
- font-size: $baseline
39
- line-height: $baseline
40
-
41
- h5
42
- font-size: $baseline
43
- line-height: $baseline
44
-
45
- @import _elements
@@ -1,15 +0,0 @@
1
- =button($color, $text_color, $width)
2
- +rounded(10px)
3
- +gradient(lighten($color, 30%), $color)
4
- cursor: pointer
5
- font-weight: bold
6
- color: $text_color
7
- display: block
8
- border: 1px solid darken($color, 10%)
9
- text-align: center
10
- padding: 10px 20px
11
- margin: 0 0 20px 0
12
- @if $width
13
- width: $width
14
- &:hover
15
- +gradient(lighten($color, 40%), lighten($color, 10%))
@@ -1,24 +0,0 @@
1
- /* --------------------------------------------------------------
2
- *
3
- *GENERAL CLASSES
4
- *
5
- *--------------------------------------------------------------
6
-
7
- .wrap
8
- width: $width
9
- margin: 0 auto
10
-
11
- .clear
12
- clear: both
13
-
14
- .center
15
- text-align: center
16
-
17
- .uppercase
18
- text-transform: uppercase
19
-
20
- .titlecase
21
- text-transform: capitalize
22
-
23
- .invisible
24
- visibility: hidden
@@ -1,184 +0,0 @@
1
- /* --------------------------------------------------------------
2
- *
3
- *Form Settings.
4
- *Most of this is inspired by the awesome work of Nathan Smith and formalize css!
5
- *
6
- *--------------------------------------------------------------
7
-
8
- $formPadding: 5px
9
-
10
- \::-moz-focus-inner
11
- border: 0
12
- padding: 0
13
-
14
- input[type="search"]::-webkit-search-decoration
15
- display: none
16
-
17
- form
18
- margin-bottom: $baseline
19
-
20
- fieldset
21
- margin-bottom: $baseline
22
-
23
- input[type="text"]:focus,
24
- input[type="password"]:focus,
25
- input[type="email"]:focus,
26
- input[type="tel"]:focus,
27
- textarea:focus
28
- border: 1px solid #aaa
29
- color: #444
30
-
31
- textarea
32
- min-height: 100px
33
- resize: none
34
- overflow: auto
35
- width: 100%
36
-
37
- label,
38
- legend
39
- display: block
40
- font-weight: bold
41
- font-size: 13px
42
-
43
- select
44
- width: 100%
45
-
46
- input[type="checkbox"]
47
- display: inline
48
-
49
- label span,
50
- legend span
51
- font-weight: normal
52
- font-size: 13px
53
- color: #444
54
-
55
- input,
56
- button,
57
- select,
58
- textarea
59
- vertical-align: middle
60
-
61
- input[type="radio"],
62
- input[type="checkbox"]
63
- position: relative
64
- vertical-align: top
65
- top: 3px
66
- /* IE8, IE9, IE10
67
- top: 0\0
68
- /* IE7
69
- *top: -3px
70
- margin-right: 5px
71
-
72
- /* iPad
73
- @media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px)
74
- input[type="radio"],
75
- input[type="checkbox"]
76
- vertical-align: baseline
77
- top: 2px
78
-
79
- /* iPhone 3
80
- @media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px)
81
- input[type="radio"],
82
- input[type="checkbox"]
83
- vertical-align: baseline
84
- top: 0
85
-
86
- /* iPhone 4
87
- @media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px)
88
- input[type="radio"],
89
- input[type="checkbox"]
90
- vertical-align: baseline
91
- top: 0
92
-
93
- textarea,
94
- select,
95
- input[type="date"],
96
- input[type="datetime"],
97
- input[type="datetime-local"],
98
- input[type="email"],
99
- input[type="month"],
100
- input[type="number"],
101
- input[type="password"],
102
- input[type="search"],
103
- input[type="tel"],
104
- input[type="text"],
105
- input[type="time"],
106
- input[type="url"],
107
- input[type="week"]
108
- -webkit-appearance: none
109
- -moz-border-radius: 0
110
- -webkit-border-radius: 0
111
- border-radius: 0
112
- -webkit-box-sizing: border-box
113
- -moz-box-sizing: border-box
114
- box-sizing: border-box
115
- -moz-background-clip: padding
116
- -webkit-background-clip: padding
117
- background-clip: padding-box
118
- border: 1px solid $borders
119
- border-color: $borders $borders $borders
120
- color: $black
121
- padding: $formPadding
122
- outline: none
123
- +rounded(2px)
124
- font: 12px $sans
125
- margin: 0 0 20px 0
126
- width: 100%
127
- display: block
128
- +gradient(#fafafa, white)
129
- /* IE7
130
- *padding-top: 2px
131
- *padding-bottom: 1px
132
- *height: auto
133
-
134
- /*
135
- *Separate rule for Firefox.
136
- *Separate rule for IE, too.
137
- *Cannot stack with WebKit's.
138
- \::-webkit-input-placeholder
139
- color: $black
140
-
141
- input:-moz-placeholder,
142
- textarea:-moz-placeholder
143
- color: $black
144
-
145
- \:invalid
146
- /*
147
- *Suppress red glow that Firefox
148
- *adds to form fields by default,
149
- *even when user is still typing.
150
- -moz-box-shadow: none
151
- -webkit-box-shadow: none
152
- box-shadow: none
153
-
154
- /* Tweaks for Safari + Chrome.
155
- @media (-webkit-min-device-pixel-ratio: 0)
156
- select[size],
157
- select[multiple]
158
- background-image: none
159
- padding: 0
160
- \::-webkit-validation-bubble-message
161
- box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px
162
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, black))
163
- border: $borders
164
- color: #fff
165
- font: $sans
166
- padding: 15px 15px 17px
167
- text-shadow: #000 0 0 1px
168
- \::-webkit-validation-bubble-top-outer-arrow,
169
- ::-webkit-validation-bubble-top-inner-arrow
170
- display: none
171
-
172
- optgroup
173
- color: #000
174
- font-style: normal
175
- font-weight: normal
176
-
177
- button[type=submit], input[type='submit']
178
- padding: 7px 12px
179
- text-align: center
180
- font-weight: bold
181
- +rounded(5px)
182
- +gradient
183
- border: 0
184
- color: #FFF