lion 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/bin/.DS_Store +0 -0
- data/bin/{lion-new.rb → lion-new} +15 -14
- data/bin/{lion-server.rb → lion-server} +5 -5
- data/lib/.DS_Store +0 -0
- data/lib/lion.rb +13 -11
- data/lib/lion/.DS_Store +0 -0
- data/lib/lion/installer.rb +33 -10
- data/lib/lion/version.rb +1 -1
- data/lib/src/.DS_Store +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_core.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_elements.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_mixins.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_reset.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_settings.sassc +0 -0
- data/lib/src/.sass-cache/5ccf7d1369eea03df15eaad4a636d5758dad569f/_typography.sassc +0 -0
- data/lib/src/.sass-cache/8e2d42a7994fef08dc4bb4dcc558988ca283abc8/style.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_alerts.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_buttons.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_classes.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_forms.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_grid.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_media_queries.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_pagination.sassc +0 -0
- data/lib/src/.sass-cache/a9fef1ceab496160ac487b91339966e9d98134b5/_tables.sassc +0 -0
- data/lib/src/gemfile +6 -0
- data/lib/src/lion.rb +4 -1
- data/lib/src/public/.DS_Store +0 -0
- data/lib/src/public/coffeescripts/spec/application.spec.coffee +4 -0
- data/lib/src/public/images/baseline_20.png +0 -0
- data/lib/src/public/javascripts/application.js +5 -0
- data/lib/src/public/stylesheets/.DS_Store +0 -0
- data/lib/src/public/stylesheets/css/.DS_Store +0 -0
- data/lib/src/public/stylesheets/css/style.css +696 -1
- data/lib/src/public/stylesheets/scss/lib/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/core.scss +32 -0
- data/lib/src/public/stylesheets/scss/lib/css3/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/background-clip.scss +4 -0
- data/lib/src/public/stylesheets/scss/lib/css3/border-radius.scss +4 -0
- data/lib/src/public/stylesheets/scss/lib/css3/box-shadow.scss +4 -0
- data/lib/src/public/{coffeescripts/spec/application.spec.js.coffee → stylesheets/scss/lib/css3/box-sizing.scss} +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/columns.scss +7 -0
- data/lib/src/public/stylesheets/scss/lib/css3/font-face.scss +7 -0
- data/lib/src/public/stylesheets/scss/lib/css3/gradient.scss +51 -0
- data/lib/src/public/stylesheets/scss/lib/css3/opacity.scss +5 -0
- data/lib/src/public/stylesheets/scss/lib/css3/rotate.scss +9 -0
- data/lib/src/public/stylesheets/scss/lib/css3/scale.scss +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/text-shadow.scss +2 -0
- data/lib/src/public/stylesheets/scss/lib/css3/transform.scss +0 -0
- data/lib/src/public/stylesheets/scss/lib/css3/transition.scss +9 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/buttons.scss +24 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/classes.scss +18 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/forms.scss +192 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/media_queries.scss +17 -0
- data/lib/src/public/stylesheets/scss/lib/helpers/tables.scss +23 -0
- data/lib/src/public/stylesheets/scss/lib/layout/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/layout/grid.scss +30 -0
- data/lib/src/public/stylesheets/scss/lib/mixins.scss +17 -0
- data/lib/src/public/stylesheets/scss/lib/reset.scss +69 -0
- data/lib/src/public/stylesheets/scss/lib/settings.scss +31 -0
- data/lib/src/public/stylesheets/scss/lib/typography/.DS_Store +0 -0
- data/lib/src/public/stylesheets/scss/lib/typography/elements.scss +130 -0
- data/lib/src/public/stylesheets/scss/lib/typography/headings.scss +30 -0
- data/lib/src/public/stylesheets/scss/style.scss +12 -0
- data/lib/src/rakefile +19 -0
- data/lib/src/views/.DS_Store +0 -0
- data/lib/src/views/index.slim +2 -3
- data/lib/src/views/layout.slim +20 -7
- data/readme.md +29 -0
- data/todo.txt +0 -0
- metadata +71 -25
- data/lib/src/public/coffeescripts/application.js.coffee +0 -6
- data/lib/src/public/javascripts/main.js +0 -5
- data/lib/src/public/stylesheets/sass/lib/_core.sass +0 -7
- data/lib/src/public/stylesheets/sass/lib/_elements.sass +0 -100
- data/lib/src/public/stylesheets/sass/lib/_grid.sass +0 -30
- data/lib/src/public/stylesheets/sass/lib/_reset.sass +0 -84
- data/lib/src/public/stylesheets/sass/lib/_settings.sass +0 -42
- data/lib/src/public/stylesheets/sass/lib/_typography.sass +0 -45
- data/lib/src/public/stylesheets/sass/lib/helpers/_buttons.sass +0 -15
- data/lib/src/public/stylesheets/sass/lib/helpers/_classes.sass +0 -24
- data/lib/src/public/stylesheets/sass/lib/helpers/_forms.sass +0 -184
- data/lib/src/public/stylesheets/sass/lib/helpers/_media_queries.sass +0 -113
- data/lib/src/public/stylesheets/sass/lib/helpers/_mixins.sass +0 -76
- data/lib/src/public/stylesheets/sass/lib/helpers/_tables.sass +0 -29
- data/lib/src/public/stylesheets/sass/style.sass +0 -40
@@ -1,113 +0,0 @@
|
|
1
|
-
/* --------------------------------------------------------------
|
2
|
-
*
|
3
|
-
*MEDIA QUERIES
|
4
|
-
*
|
5
|
-
*--------------------------------------------------------------
|
6
|
-
|
7
|
-
/* #Tablet (Portrait)
|
8
|
-
*==================================================
|
9
|
-
|
10
|
-
/* 768px
|
11
|
-
|
12
|
-
@media only screen and (min-width: 768px) and (max-width: 959px)
|
13
|
-
#container
|
14
|
-
width: 748px
|
15
|
-
.col-1
|
16
|
-
float: left
|
17
|
-
width: 44px
|
18
|
-
margin-right: 0
|
19
|
-
margin-right: 20px
|
20
|
-
.col-1:last-child
|
21
|
-
margin-right: 0
|
22
|
-
.col-2
|
23
|
-
float: left
|
24
|
-
width: 108px
|
25
|
-
margin-right: 20px
|
26
|
-
.col-2:last-child
|
27
|
-
margin-right: 0
|
28
|
-
.col-3
|
29
|
-
float: left
|
30
|
-
width: 172px
|
31
|
-
margin-right: 20px
|
32
|
-
.col-3:last-child
|
33
|
-
margin-right: 0
|
34
|
-
.col-4
|
35
|
-
float: left
|
36
|
-
width: 236px
|
37
|
-
margin-right: 20px
|
38
|
-
.col-4:last-child
|
39
|
-
margin-right: 0
|
40
|
-
.col-5
|
41
|
-
float: left
|
42
|
-
width: 300px
|
43
|
-
margin-right: 20px
|
44
|
-
.col-5:last-child
|
45
|
-
margin-right: 0
|
46
|
-
.col-6
|
47
|
-
float: left
|
48
|
-
width: 364px
|
49
|
-
margin-right: 20px
|
50
|
-
.col-6:last-child
|
51
|
-
margin-right: 0
|
52
|
-
.col-7
|
53
|
-
float: left
|
54
|
-
width: 428px
|
55
|
-
margin-right: 20px
|
56
|
-
.col-7:last-child
|
57
|
-
margin-right: 0
|
58
|
-
.col-8
|
59
|
-
float: left
|
60
|
-
width: 492px
|
61
|
-
margin-right: 20px
|
62
|
-
.col-8:last-child
|
63
|
-
margin-right: 0
|
64
|
-
.col-9
|
65
|
-
float: left
|
66
|
-
width: 556px
|
67
|
-
margin-right: 20px
|
68
|
-
.col-9:last-child
|
69
|
-
margin-right: 0
|
70
|
-
.col-10
|
71
|
-
float: left
|
72
|
-
width: 620px
|
73
|
-
margin-right: 20px
|
74
|
-
.col-10:last-child
|
75
|
-
margin-right: 0
|
76
|
-
.col-11
|
77
|
-
float: left
|
78
|
-
width: 684px
|
79
|
-
margin-right: 20px
|
80
|
-
.col-11:last-child
|
81
|
-
margin-right: 0
|
82
|
-
.col-12
|
83
|
-
float: left
|
84
|
-
width: 748px
|
85
|
-
margin-right: 20px
|
86
|
-
.col-12:last-child
|
87
|
-
margin-right: 0
|
88
|
-
|
89
|
-
/* #Mobile (Portrait)
|
90
|
-
*==================================================
|
91
|
-
|
92
|
-
/* 320px. iPhone
|
93
|
-
|
94
|
-
@media only screen and (max-width: 767px)
|
95
|
-
#container
|
96
|
-
width: 300px
|
97
|
-
@for $i from 1 through $columns
|
98
|
-
.col-#{$i}
|
99
|
-
width: 280px
|
100
|
-
margin: 0 10px
|
101
|
-
|
102
|
-
/* #Mobile (Landscape)
|
103
|
-
*==================================================
|
104
|
-
|
105
|
-
/* 480px
|
106
|
-
|
107
|
-
@media only screen and (min-width: 480px) and (max-width: 767px)
|
108
|
-
#container
|
109
|
-
width: 480px
|
110
|
-
@for $i from 1 through $columns
|
111
|
-
.col-#{$i}
|
112
|
-
width: 460px
|
113
|
-
margin: 0 10px
|
@@ -1,76 +0,0 @@
|
|
1
|
-
/* Custom Mixins. You can delare your own mixins here.
|
2
|
-
|
3
|
-
/* Add rounded corners to all sides
|
4
|
-
=rounded($radius: 10px)
|
5
|
-
border-radius: $radius
|
6
|
-
-moz-border-radius: $radius
|
7
|
-
-webkit-border-radius: $radius
|
8
|
-
|
9
|
-
/* Add rounded corners to certain sides
|
10
|
-
=roundedSides($topLeft, $topRight, $bottomRight, $bottomLeft)
|
11
|
-
-moz-border-radius-topleft: $topLeft
|
12
|
-
-moz-border-radius-topright: $topRight
|
13
|
-
-moz-border-radius-bottomright: $bottomRight
|
14
|
-
-moz-border-radius-bottomleft: $bottomLeft
|
15
|
-
border-top-left-radius: $topLeft
|
16
|
-
border-top-right-radius: $topRight
|
17
|
-
border-bottom-right-radius: $bottomRight
|
18
|
-
border-bottom-left-radius: $bottomLeft
|
19
|
-
|
20
|
-
=textShadow($x-axis: 1px, $y-axis: 1px, $casting: 1px, $color: white)
|
21
|
-
text-shadow: $x-axis $y-axis $casting $color
|
22
|
-
|
23
|
-
=shadow($off-y: 1px, $off-x: 1px, $blur: 2px, $color: #444444)
|
24
|
-
-moz-box-shadow: $off-y $off-x $blur $color
|
25
|
-
-webkit-box-shadow: $off-y $off-x $blur $color
|
26
|
-
box-shadow: $off-y $off-x $blur $color
|
27
|
-
|
28
|
-
=gradient($from: #111111, $to: #333333)
|
29
|
-
background: $from
|
30
|
-
/* for non-css3 browsers
|
31
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to')
|
32
|
-
/* for IE
|
33
|
-
background: -webkit-gradient(linear, left top, left bottom, from($from), to($to))
|
34
|
-
/* for webkit browsers
|
35
|
-
background: -moz-linear-gradient(top, $from, $to)
|
36
|
-
/* for firefox 3.6+
|
37
|
-
|
38
|
-
/* This is a particularly useful mixin if you want to add slick CSS3 animations to elements
|
39
|
-
=transition($property: all, $duration: 0.5s, $function: ease-in-out)
|
40
|
-
-moz-transition: $property $duration $function
|
41
|
-
/* FF3.7+
|
42
|
-
-o-transition: $property $duration $function
|
43
|
-
/* Opera 10.5
|
44
|
-
-webkit-transition: $property $duration $function
|
45
|
-
/* Saf3.2+, Chrome
|
46
|
-
transition: $property $duration $function
|
47
|
-
|
48
|
-
=scale($scale: 1)
|
49
|
-
-moz-transform: scale($scale)
|
50
|
-
-webkit-transform: scale($scale)
|
51
|
-
-o-transform: scale($scale)
|
52
|
-
-ms-transform: scale($scale)
|
53
|
-
transform: scale($scale)
|
54
|
-
|
55
|
-
=rotate($angle)
|
56
|
-
-moz-transform: rotate($angle)
|
57
|
-
-webkit-transform: rotate($angle)
|
58
|
-
-o-transform: rotate($angle)
|
59
|
-
-ms-transform: rotate($angle)
|
60
|
-
transform: rotate($angle)
|
61
|
-
filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($angle)}, M12=-#{sin($angle)}, M21=#{sin($angle)}, M22=#{cos($angle)})
|
62
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($angle)}, M12=-#{sin($angle)}, M21=#{sin($angle)}, M22=#{cos($angle)})"
|
63
|
-
zoom: 1
|
64
|
-
|
65
|
-
/* Cross browser opacity mixin
|
66
|
-
=opacity($value: 0.8)
|
67
|
-
opacity: $value
|
68
|
-
filter: alpha(opacity = $value * 100)
|
69
|
-
|
70
|
-
=fontFace($name, $src: fonts)
|
71
|
-
@font-face
|
72
|
-
font-family: 'FontName'
|
73
|
-
src: url("$src/$name.eot")
|
74
|
-
src: url("$src/$name.eot?iefix") format("eot"), url("$src/$name.woff") format("woff"), url("$src/$name.ttf") format("truetype"), url("$src/$name.svg#webfontZam02nTh") format("svg")
|
75
|
-
font-weight: normal
|
76
|
-
font-style: normal
|
@@ -1,29 +0,0 @@
|
|
1
|
-
/* --------------------------------------------------------------
|
2
|
-
*
|
3
|
-
*TABLES
|
4
|
-
*
|
5
|
-
*--------------------------------------------------------------
|
6
|
-
|
7
|
-
table
|
8
|
-
margin-bottom: 10px
|
9
|
-
width: 100%
|
10
|
-
|
11
|
-
th
|
12
|
-
font-weight: bold
|
13
|
-
text-align: left
|
14
|
-
background: #ccc
|
15
|
-
|
16
|
-
th,td
|
17
|
-
padding: 10px
|
18
|
-
|
19
|
-
tr:nth-child(odd)
|
20
|
-
background-color: #f5f5f5
|
21
|
-
|
22
|
-
tr:nth-child(even)
|
23
|
-
background-color: #eee
|
24
|
-
|
25
|
-
tfoot
|
26
|
-
font-style: italic
|
27
|
-
|
28
|
-
caption
|
29
|
-
background: #ffc
|
@@ -1,40 +0,0 @@
|
|
1
|
-
@import lib/_settings
|
2
|
-
@import lib/_core
|
3
|
-
|
4
|
-
#container
|
5
|
-
width: $width
|
6
|
-
margin: 0 auto
|
7
|
-
padding: 20px 0
|
8
|
-
overflow: hidden
|
9
|
-
|
10
|
-
/* --------------------------------------------------------------
|
11
|
-
*
|
12
|
-
*Main CSS. For demo purposes only. You can delete this.
|
13
|
-
*
|
14
|
-
*--------------------------------------------------------------
|
15
|
-
|
16
|
-
body
|
17
|
-
background: #eee
|
18
|
-
/* Uncomment to view baseline
|
19
|
-
*background: url(../images/12_col.gif) repeat-y center -1px;
|
20
|
-
|
21
|
-
section
|
22
|
-
margin-bottom: $baseline
|
23
|
-
overflow: hidden
|
24
|
-
|
25
|
-
h1, h2, h3, h4, h5, h6, p, li a
|
26
|
-
+textShadow
|
27
|
-
|
28
|
-
h1, h2, h3, h4, h5, h6
|
29
|
-
text-transform: uppercase
|
30
|
-
|
31
|
-
footer p
|
32
|
-
text-align: center
|
33
|
-
|
34
|
-
/* --------------------------------------------------------------
|
35
|
-
*
|
36
|
-
*Media Queries for a responsive grid. Delete if not required.
|
37
|
-
*
|
38
|
-
*--------------------------------------------------------------
|
39
|
-
|
40
|
-
@import lib/helpers/_media_queries
|