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
data/.DS_Store
ADDED
Binary file
|
data/bin/.DS_Store
ADDED
Binary file
|
@@ -1,14 +1,15 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
|
4
|
-
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
5
|
-
require 'lion'
|
6
|
-
|
7
|
-
#
|
8
|
-
|
9
|
-
|
10
|
-
if args.length > 0
|
11
|
-
Lion::Installer.
|
12
|
-
|
13
|
-
|
14
|
-
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
|
4
|
+
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
5
|
+
require 'lion'
|
6
|
+
|
7
|
+
#Get command line args. New project created >> gravity-init NAME --options
|
8
|
+
args = ARGV.dup.unshift()
|
9
|
+
|
10
|
+
if args.length > 0
|
11
|
+
installer = Lion::Installer.new(args, libdir)
|
12
|
+
installer.create()
|
13
|
+
else
|
14
|
+
STDERR.puts "No project name specified. Try lion-new project_name"
|
15
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
|
3
|
-
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
4
|
-
require 'lion'
|
5
|
-
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
|
3
|
+
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
4
|
+
require 'lion'
|
5
|
+
|
6
6
|
Lion.start_server()
|
data/lib/.DS_Store
ADDED
Binary file
|
data/lib/lion.rb
CHANGED
@@ -6,18 +6,20 @@ module Lion
|
|
6
6
|
autoload :Base, "lion/base"
|
7
7
|
autoload :Installer, "lion/installer"
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
class << self
|
10
|
+
def current_directory?
|
11
|
+
Dir.pwd
|
12
|
+
end
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
14
|
+
def start_server(options={})
|
15
|
+
if File.exist?("config.ru")
|
16
|
+
$stdout.puts "*** Lion is watching your project ***"
|
17
|
+
system "rackup"
|
18
|
+
else
|
19
|
+
$stdout.puts "Could not find config.ru. Are you in the right directory?"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
21
23
|
|
22
24
|
end
|
23
25
|
|
data/lib/lion/.DS_Store
ADDED
Binary file
|
data/lib/lion/installer.rb
CHANGED
@@ -1,17 +1,40 @@
|
|
1
1
|
require 'Fileutils'
|
2
2
|
|
3
3
|
module Lion
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
4
|
+
class Installer
|
5
|
+
#Class for installing creating a new project in the current directory
|
6
|
+
|
7
|
+
def initialize(args, libdir)
|
8
|
+
@project_name = args[0]
|
9
|
+
@current = Dir.pwd
|
10
|
+
@lib = libdir
|
11
|
+
args.index("--scss") ? @scss = true : @scss = false
|
12
|
+
end
|
13
|
+
|
14
|
+
def error(string)
|
15
|
+
STDERR.puts string
|
16
|
+
end
|
17
|
+
|
18
|
+
def message(string)
|
19
|
+
STDOUT.puts string
|
20
|
+
end
|
21
|
+
|
22
|
+
def makeDir(name)
|
23
|
+
Dir.mkdir(@current + '/' + name)
|
24
|
+
end
|
25
|
+
|
26
|
+
def copyFiles
|
27
|
+
FileUtils.cp_r "#{@lib}/src/.", "#{@current}/#{@project_name}/"
|
28
|
+
message("New Lion project #{@project_name} successfully created in #{@current}/#{@project_name}/")
|
29
|
+
end
|
30
|
+
|
31
|
+
def create()
|
32
|
+
STDOUT.puts "You selected SCSS option" if @scss
|
33
|
+
unless File.directory?(@project_name)
|
34
|
+
makeDir(@project_name)
|
35
|
+
copyFiles()
|
13
36
|
else
|
14
|
-
|
37
|
+
message("That project already exists. Please try another name")
|
15
38
|
end
|
16
39
|
end
|
17
40
|
end
|
data/lib/lion/version.rb
CHANGED
data/lib/src/.DS_Store
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/src/gemfile
ADDED
data/lib/src/lion.rb
CHANGED
@@ -6,12 +6,15 @@ class Lion < Sinatra::Base
|
|
6
6
|
set :views, "./views"
|
7
7
|
set :public, "./public"
|
8
8
|
set :slim, :pretty => true
|
9
|
-
set :port,
|
9
|
+
set :port, 4000
|
10
10
|
set :run, true
|
11
11
|
set :static, true
|
12
12
|
set :server, %w[thin mongrel webrick]
|
13
13
|
end
|
14
14
|
|
15
|
+
helpers do
|
16
|
+
end
|
17
|
+
|
15
18
|
@pages = []
|
16
19
|
@template = slim
|
17
20
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +1,696 @@
|
|
1
|
-
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
* Gravity CSS
|
3
|
+
* Version 0.1
|
4
|
+
* Developed by: Owain Lewis
|
5
|
+
* www.owainlewis.com
|
6
|
+
* License: MIT
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
*-------------------------------------------------------------- */
|
9
|
+
html, body, div, span, object, iframe,
|
10
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
11
|
+
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
12
|
+
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
|
13
|
+
fieldset, form, label, legend,
|
14
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
15
|
+
article, aside, canvas, details, figcaption, figure,
|
16
|
+
footer, header, hgroup, menu, nav, section, summary,
|
17
|
+
time, mark, audio, video {
|
18
|
+
margin: 0;
|
19
|
+
padding: 0;
|
20
|
+
border: 0;
|
21
|
+
font-size: 100%;
|
22
|
+
font: inherit;
|
23
|
+
vertical-align: baseline; }
|
24
|
+
|
25
|
+
article, aside, details, figcaption, figure,
|
26
|
+
footer, header, hgroup, menu, nav, section {
|
27
|
+
display: block;
|
28
|
+
width: 100%; }
|
29
|
+
|
30
|
+
blockquote, q {
|
31
|
+
quotes: none; }
|
32
|
+
|
33
|
+
blockquote:before, blockquote:after,
|
34
|
+
q:before, q:after {
|
35
|
+
content: "";
|
36
|
+
content: none; }
|
37
|
+
|
38
|
+
table {
|
39
|
+
border-collapse: collapse;
|
40
|
+
border-spacing: 0; }
|
41
|
+
|
42
|
+
hr {
|
43
|
+
display: block;
|
44
|
+
height: 1px;
|
45
|
+
border: 0;
|
46
|
+
border-top: 1px solid #cccccc;
|
47
|
+
margin: 20px 0 19px 0;
|
48
|
+
padding: 0; }
|
49
|
+
|
50
|
+
input, select {
|
51
|
+
vertical-align: middle; }
|
52
|
+
|
53
|
+
textarea {
|
54
|
+
overflow: auto; }
|
55
|
+
|
56
|
+
.ie6 legend, .ie7 legend {
|
57
|
+
margin-left: -7px; }
|
58
|
+
|
59
|
+
input[wtype="radio"] {
|
60
|
+
vertical-align: text-bottom; }
|
61
|
+
|
62
|
+
input[type="checkbox"] {
|
63
|
+
vertical-align: bottom; }
|
64
|
+
|
65
|
+
.ie7 input[type="checkbox"] {
|
66
|
+
vertical-align: baseline; }
|
67
|
+
|
68
|
+
.ie6 input {
|
69
|
+
vertical-align: text-bottom; }
|
70
|
+
|
71
|
+
label, input[type="button"], input[type="submit"], input[type="image"], button {
|
72
|
+
cursor: pointer; }
|
73
|
+
|
74
|
+
button, input, select, textarea {
|
75
|
+
margin: 0; }
|
76
|
+
|
77
|
+
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
|
78
|
+
line-height: 20px;
|
79
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
80
|
+
color: gray;
|
81
|
+
font-size: 13px; }
|
82
|
+
|
83
|
+
p {
|
84
|
+
margin-bottom: 20px; }
|
85
|
+
|
86
|
+
ol {
|
87
|
+
margin-bottom: 20px;
|
88
|
+
margin-left: 20px; }
|
89
|
+
ol ol {
|
90
|
+
margin-bottom: 0; }
|
91
|
+
|
92
|
+
ul {
|
93
|
+
margin-bottom: 20px; }
|
94
|
+
ul li {
|
95
|
+
margin-bottom: 5px;
|
96
|
+
margin-left: 14px; }
|
97
|
+
ul li ul {
|
98
|
+
margin-left: 20px;
|
99
|
+
margin-top: 10px;
|
100
|
+
margin-bottom: 10px; }
|
101
|
+
|
102
|
+
ul.unstyled {
|
103
|
+
list-style: none; }
|
104
|
+
ul.unstyled li {
|
105
|
+
margin-left: 0; }
|
106
|
+
|
107
|
+
dl {
|
108
|
+
margin-bottom: 20px; }
|
109
|
+
dl dt {
|
110
|
+
font-weight: bold;
|
111
|
+
margin-bottom: 10px; }
|
112
|
+
dl dd {
|
113
|
+
margin-bottom: 10px; }
|
114
|
+
|
115
|
+
abbr, acronym {
|
116
|
+
border-bottom: 1px dotted black; }
|
117
|
+
|
118
|
+
address {
|
119
|
+
font-style: italic; }
|
120
|
+
|
121
|
+
del {
|
122
|
+
color: black; }
|
123
|
+
|
124
|
+
a {
|
125
|
+
color: #0069d6;
|
126
|
+
text-decoration: none;
|
127
|
+
-moz-transition: all 0.5s ease-in-out;
|
128
|
+
/* FF3.7+ */
|
129
|
+
-o-transition: all 0.5s ease-in-out;
|
130
|
+
/* Opera 10.5 */
|
131
|
+
-webkit-transition: all 0.5s ease-in-out;
|
132
|
+
/* Saf3.2+, Chrome */
|
133
|
+
transition: all 0.5s ease-in-out;
|
134
|
+
cursor: pointer; }
|
135
|
+
|
136
|
+
a:hover {
|
137
|
+
text-decoration: none; }
|
138
|
+
|
139
|
+
blockquote {
|
140
|
+
display: block;
|
141
|
+
font-weight: bold;
|
142
|
+
border-left: 4px solid #eeeeee;
|
143
|
+
padding: 40px 20px;
|
144
|
+
font-weight: bold;
|
145
|
+
font-size: 30px;
|
146
|
+
font-family: serif;
|
147
|
+
font-style: italic;
|
148
|
+
color: #404040;
|
149
|
+
line-height: 30px;
|
150
|
+
margin: 20px 0; }
|
151
|
+
|
152
|
+
pre, code {
|
153
|
+
margin: 10px 0;
|
154
|
+
white-space: pre; }
|
155
|
+
|
156
|
+
pre, code, tt {
|
157
|
+
font: "Monaco", Courier New, monospace;
|
158
|
+
line-height: 1.5;
|
159
|
+
padding: 0 3px 2px;
|
160
|
+
background: #fee9cc; }
|
161
|
+
|
162
|
+
q {
|
163
|
+
font-style: italic;
|
164
|
+
font-weight: bold;
|
165
|
+
font-family: "Georgia", Times New Roman, Times, sans-serif; }
|
166
|
+
|
167
|
+
cite {
|
168
|
+
display: block;
|
169
|
+
font-weight: bold; }
|
170
|
+
|
171
|
+
img {
|
172
|
+
margin-bottom: 10px; }
|
173
|
+
|
174
|
+
figcaption {
|
175
|
+
display: block;
|
176
|
+
font-weight: bold;
|
177
|
+
font-style: italic; }
|
178
|
+
|
179
|
+
small {
|
180
|
+
font-size: 10px; }
|
181
|
+
|
182
|
+
strong {
|
183
|
+
font-weight: bold; }
|
184
|
+
|
185
|
+
h1, h2, h3, h4, h5, h6 {
|
186
|
+
margin-bottom: 20px;
|
187
|
+
color: #404040;
|
188
|
+
font-weight: normal; }
|
189
|
+
|
190
|
+
h1 {
|
191
|
+
font-size: 30px;
|
192
|
+
line-height: 40px; }
|
193
|
+
|
194
|
+
h2 {
|
195
|
+
font-size: 25px;
|
196
|
+
line-height: 20px; }
|
197
|
+
|
198
|
+
h3 {
|
199
|
+
font-size: 20px;
|
200
|
+
line-height: 20px; }
|
201
|
+
|
202
|
+
h4 {
|
203
|
+
font-size: 15px;
|
204
|
+
line-height: 20px; }
|
205
|
+
|
206
|
+
h5 {
|
207
|
+
font-size: 15px;
|
208
|
+
font-weight: bold;
|
209
|
+
line-height: 20px; }
|
210
|
+
|
211
|
+
h6 {
|
212
|
+
font-size: 15px;
|
213
|
+
font-weight: bold;
|
214
|
+
line-height: 20px; }
|
215
|
+
|
216
|
+
.span-1 {
|
217
|
+
float: left;
|
218
|
+
width: 60px;
|
219
|
+
margin-right: 0;
|
220
|
+
margin-right: 20px; }
|
221
|
+
.span-1:last-child {
|
222
|
+
margin-right: 0; }
|
223
|
+
|
224
|
+
.span-2 {
|
225
|
+
float: left;
|
226
|
+
width: 140px;
|
227
|
+
margin-right: 20px; }
|
228
|
+
.span-2:last-child {
|
229
|
+
margin-right: 0; }
|
230
|
+
|
231
|
+
.span-3 {
|
232
|
+
float: left;
|
233
|
+
width: 220px;
|
234
|
+
margin-right: 20px; }
|
235
|
+
.span-3:last-child {
|
236
|
+
margin-right: 0; }
|
237
|
+
|
238
|
+
.span-4 {
|
239
|
+
float: left;
|
240
|
+
width: 300px;
|
241
|
+
margin-right: 20px; }
|
242
|
+
.span-4:last-child {
|
243
|
+
margin-right: 0; }
|
244
|
+
|
245
|
+
.span-5 {
|
246
|
+
float: left;
|
247
|
+
width: 380px;
|
248
|
+
margin-right: 20px; }
|
249
|
+
.span-5:last-child {
|
250
|
+
margin-right: 0; }
|
251
|
+
|
252
|
+
.span-6 {
|
253
|
+
float: left;
|
254
|
+
width: 460px;
|
255
|
+
margin-right: 20px; }
|
256
|
+
.span-6:last-child {
|
257
|
+
margin-right: 0; }
|
258
|
+
|
259
|
+
.span-7 {
|
260
|
+
float: left;
|
261
|
+
width: 540px;
|
262
|
+
margin-right: 20px; }
|
263
|
+
.span-7:last-child {
|
264
|
+
margin-right: 0; }
|
265
|
+
|
266
|
+
.span-8 {
|
267
|
+
float: left;
|
268
|
+
width: 620px;
|
269
|
+
margin-right: 20px; }
|
270
|
+
.span-8:last-child {
|
271
|
+
margin-right: 0; }
|
272
|
+
|
273
|
+
.span-9 {
|
274
|
+
float: left;
|
275
|
+
width: 700px;
|
276
|
+
margin-right: 20px; }
|
277
|
+
.span-9:last-child {
|
278
|
+
margin-right: 0; }
|
279
|
+
|
280
|
+
.span-10 {
|
281
|
+
float: left;
|
282
|
+
width: 780px;
|
283
|
+
margin-right: 20px; }
|
284
|
+
.span-10:last-child {
|
285
|
+
margin-right: 0; }
|
286
|
+
|
287
|
+
.span-11 {
|
288
|
+
float: left;
|
289
|
+
width: 860px;
|
290
|
+
margin-right: 20px; }
|
291
|
+
.span-11:last-child {
|
292
|
+
margin-right: 0; }
|
293
|
+
|
294
|
+
.span-12 {
|
295
|
+
float: left;
|
296
|
+
width: 940px;
|
297
|
+
margin-right: 20px; }
|
298
|
+
.span-12:last-child {
|
299
|
+
margin-right: 0; }
|
300
|
+
|
301
|
+
.last {
|
302
|
+
margin-right: 0 !important; }
|
303
|
+
|
304
|
+
::-moz-focus-inner {
|
305
|
+
border: 0;
|
306
|
+
padding: 0; }
|
307
|
+
|
308
|
+
input[type="search"]::-webkit-search-decoration {
|
309
|
+
display: none; }
|
310
|
+
|
311
|
+
form {
|
312
|
+
margin-bottom: 20px; }
|
313
|
+
|
314
|
+
fieldset {
|
315
|
+
margin-bottom: 20px; }
|
316
|
+
|
317
|
+
input[type="text"]:focus,
|
318
|
+
input[type="password"]:focus,
|
319
|
+
input[type="email"]:focus,
|
320
|
+
input[type="tel"]:focus,
|
321
|
+
textarea:focus {
|
322
|
+
border: 1px solid #049cdb;
|
323
|
+
color: #444444; }
|
324
|
+
|
325
|
+
textarea {
|
326
|
+
min-height: 100px;
|
327
|
+
resize: none;
|
328
|
+
overflow: auto;
|
329
|
+
width: 100%; }
|
330
|
+
|
331
|
+
label,
|
332
|
+
legend {
|
333
|
+
display: block;
|
334
|
+
font-weight: bold;
|
335
|
+
font-size: 13px; }
|
336
|
+
|
337
|
+
select {
|
338
|
+
width: 100%; }
|
339
|
+
|
340
|
+
input[type="checkbox"] {
|
341
|
+
display: inline; }
|
342
|
+
|
343
|
+
label span,
|
344
|
+
legend span {
|
345
|
+
font-weight: normal;
|
346
|
+
font-size: 13px;
|
347
|
+
color: #444444; }
|
348
|
+
|
349
|
+
input,
|
350
|
+
button,
|
351
|
+
select,
|
352
|
+
textarea {
|
353
|
+
vertical-align: middle;
|
354
|
+
margin-bottom: 20px; }
|
355
|
+
|
356
|
+
input[type="radio"],
|
357
|
+
input[type="checkbox"] {
|
358
|
+
position: relative;
|
359
|
+
vertical-align: top;
|
360
|
+
top: 3px;
|
361
|
+
/* IE8, IE9, IE10 */
|
362
|
+
top: 0 \0;
|
363
|
+
/* IE7 */
|
364
|
+
*top: -3px;
|
365
|
+
margin-right: 5px; }
|
366
|
+
|
367
|
+
/* iPad */
|
368
|
+
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px) {
|
369
|
+
input[type="radio"],
|
370
|
+
input[type="checkbox"] {
|
371
|
+
vertical-align: baseline;
|
372
|
+
top: 2px; } }
|
373
|
+
/* iPhone 3 */
|
374
|
+
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px) {
|
375
|
+
input[type="radio"],
|
376
|
+
input[type="checkbox"] {
|
377
|
+
vertical-align: baseline;
|
378
|
+
top: 0; } }
|
379
|
+
/* iPhone 4 */
|
380
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px) {
|
381
|
+
input[type="radio"],
|
382
|
+
input[type="checkbox"] {
|
383
|
+
vertical-align: baseline;
|
384
|
+
top: 0; } }
|
385
|
+
textarea,
|
386
|
+
select,
|
387
|
+
input[type="date"],
|
388
|
+
input[type="datetime"],
|
389
|
+
input[type="datetime-local"],
|
390
|
+
input[type="email"],
|
391
|
+
input[type="month"],
|
392
|
+
input[type="number"],
|
393
|
+
input[type="password"],
|
394
|
+
input[type="search"],
|
395
|
+
input[type="tel"],
|
396
|
+
input[type="text"],
|
397
|
+
input[type="time"],
|
398
|
+
input[type="url"],
|
399
|
+
input[type="week"] {
|
400
|
+
-webkit-appearance: none;
|
401
|
+
-moz-border-radius: 0;
|
402
|
+
-webkit-border-radius: 0;
|
403
|
+
border-radius: 0;
|
404
|
+
-webkit-box-sizing: border-box;
|
405
|
+
-moz-box-sizing: border-box;
|
406
|
+
box-sizing: border-box;
|
407
|
+
-moz-background-clip: padding;
|
408
|
+
-webkit-background-clip: padding;
|
409
|
+
background-clip: padding-box;
|
410
|
+
border: 1px solid #cccccc;
|
411
|
+
border-color: #cccccc #cccccc #cccccc;
|
412
|
+
color: black;
|
413
|
+
padding: 5px;
|
414
|
+
outline: none;
|
415
|
+
-webkit-border-radius: 2px;
|
416
|
+
-moz-border-radius: 2px;
|
417
|
+
border-radius: 2px;
|
418
|
+
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
|
419
|
+
margin: 0 0 18px 0;
|
420
|
+
width: 100%;
|
421
|
+
display: block;
|
422
|
+
/* IE7 */
|
423
|
+
*padding-top: 2px;
|
424
|
+
*padding-bottom: 1px;
|
425
|
+
*height: auto; }
|
426
|
+
|
427
|
+
::-webkit-input-placeholder {
|
428
|
+
color: gray; }
|
429
|
+
|
430
|
+
input:-moz-placeholder,
|
431
|
+
textarea:-moz-placeholder {
|
432
|
+
color: gray;
|
433
|
+
font-size: 12px; }
|
434
|
+
|
435
|
+
:invalid {
|
436
|
+
-moz-box-shadow: none;
|
437
|
+
-webkit-box-shadow: none;
|
438
|
+
box-shadow: none; }
|
439
|
+
|
440
|
+
/* Tweaks for Safari + Chrome. */
|
441
|
+
@media (-webkit-min-device-pixel-ratio: 0) {
|
442
|
+
select[size],
|
443
|
+
select[multiple] {
|
444
|
+
background-image: none;
|
445
|
+
padding: 0; }
|
446
|
+
|
447
|
+
::-webkit-validation-bubble-message {
|
448
|
+
box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
|
449
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, black));
|
450
|
+
border: #cccccc;
|
451
|
+
color: white;
|
452
|
+
font: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
453
|
+
padding: 15px 15px 17px;
|
454
|
+
text-shadow: black 0 0 1px; }
|
455
|
+
|
456
|
+
::-webkit-validation-bubble-top-outer-arrow,
|
457
|
+
::-webkit-validation-bubble-top-inner-arrow {
|
458
|
+
display: none; } }
|
459
|
+
optgroup {
|
460
|
+
color: black;
|
461
|
+
font-style: normal;
|
462
|
+
font-weight: normal; }
|
463
|
+
|
464
|
+
button[type=submit], input[type='submit'] {
|
465
|
+
padding: 7px 12px;
|
466
|
+
text-align: center;
|
467
|
+
font-weight: bold;
|
468
|
+
-webkit-border-radius: 5px;
|
469
|
+
-moz-border-radius: 5px;
|
470
|
+
border-radius: 5px;
|
471
|
+
background: #111111;
|
472
|
+
/* for non-css3 browsers */
|
473
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
474
|
+
/* for IE */
|
475
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#111111), to(#333333));
|
476
|
+
/* for webkit browsers */
|
477
|
+
background: -moz-linear-gradient(top, #111111, #333333);
|
478
|
+
/* for firefox 3.6+ */
|
479
|
+
border: 0;
|
480
|
+
color: white; }
|
481
|
+
|
482
|
+
.input-list {
|
483
|
+
list-style: none;
|
484
|
+
margin: 0 0 20px 0; }
|
485
|
+
.input-list li {
|
486
|
+
padding-top: 0;
|
487
|
+
list-style: none;
|
488
|
+
margin: 0 0 5px 0; }
|
489
|
+
.input-list li input {
|
490
|
+
margin-bottom: 0; }
|
491
|
+
.input-list li label {
|
492
|
+
font-weight: normal;
|
493
|
+
padding-top: 0; }
|
494
|
+
|
495
|
+
table {
|
496
|
+
margin-bottom: 20px;
|
497
|
+
width: 100%; }
|
498
|
+
|
499
|
+
th {
|
500
|
+
font-weight: bold;
|
501
|
+
text-align: left;
|
502
|
+
border-bottom: 4px solid gray; }
|
503
|
+
|
504
|
+
td {
|
505
|
+
padding: 10px;
|
506
|
+
border-bottom: 1px solid #ddd; }
|
507
|
+
|
508
|
+
th {
|
509
|
+
padding: 10px 10px 6px 10px; }
|
510
|
+
|
511
|
+
tr:nth-child(even) {
|
512
|
+
background-color: #F9F9F9; }
|
513
|
+
|
514
|
+
tfoot {
|
515
|
+
font-style: italic; }
|
516
|
+
|
517
|
+
caption {
|
518
|
+
background: #ffffcc; }
|
519
|
+
|
520
|
+
.button, input.button {
|
521
|
+
-webkit-border-radius: 4px;
|
522
|
+
-moz-border-radius: 4px;
|
523
|
+
border-radius: 4px;
|
524
|
+
background: #e6e6e6;
|
525
|
+
/* for non-css3 browsers */
|
526
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
527
|
+
/* for IE */
|
528
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#e6e6e6), to(#cccccc));
|
529
|
+
/* for webkit browsers */
|
530
|
+
background: -moz-linear-gradient(top, #e6e6e6, #cccccc);
|
531
|
+
/* for firefox 3.6+ */
|
532
|
+
cursor: pointer;
|
533
|
+
font-weight: bold;
|
534
|
+
color: #333333;
|
535
|
+
display: inline-block;
|
536
|
+
border: 1px solid #bfbfbf;
|
537
|
+
text-align: center;
|
538
|
+
padding: 4px 12px;
|
539
|
+
margin: 0 10px 20px 0;
|
540
|
+
min-width: 80px; }
|
541
|
+
.button:hover, input.button:hover {
|
542
|
+
background: #d9d9d9;
|
543
|
+
/* for non-css3 browsers */
|
544
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
545
|
+
/* for IE */
|
546
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#d9d9d9), to(#e6e6e6));
|
547
|
+
/* for webkit browsers */
|
548
|
+
background: -moz-linear-gradient(top, #d9d9d9, #e6e6e6);
|
549
|
+
/* for firefox 3.6+ */ }
|
550
|
+
|
551
|
+
.button.main {
|
552
|
+
-webkit-border-radius: 4px;
|
553
|
+
-moz-border-radius: 4px;
|
554
|
+
border-radius: 4px;
|
555
|
+
background: #17b8fb;
|
556
|
+
/* for non-css3 browsers */
|
557
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
558
|
+
/* for IE */
|
559
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#17b8fb), to(#049cdb));
|
560
|
+
/* for webkit browsers */
|
561
|
+
background: -moz-linear-gradient(top, #17b8fb, #049cdb);
|
562
|
+
/* for firefox 3.6+ */
|
563
|
+
cursor: pointer;
|
564
|
+
font-weight: bold;
|
565
|
+
color: white;
|
566
|
+
display: inline-block;
|
567
|
+
border: 1px solid #048ac2;
|
568
|
+
text-align: center;
|
569
|
+
padding: 4px 12px;
|
570
|
+
margin: 0 10px 20px 0;
|
571
|
+
min-width: 80px; }
|
572
|
+
.button.main:hover {
|
573
|
+
background: #04aef4;
|
574
|
+
/* for non-css3 browsers */
|
575
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
576
|
+
/* for IE */
|
577
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#04aef4), to(#17b8fb));
|
578
|
+
/* for webkit browsers */
|
579
|
+
background: -moz-linear-gradient(top, #04aef4, #17b8fb);
|
580
|
+
/* for firefox 3.6+ */ }
|
581
|
+
|
582
|
+
.button.delete {
|
583
|
+
-webkit-border-radius: 4px;
|
584
|
+
-moz-border-radius: 4px;
|
585
|
+
border-radius: 4px;
|
586
|
+
background: #c83025;
|
587
|
+
/* for non-css3 browsers */
|
588
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
589
|
+
/* for IE */
|
590
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#c83025), to(#9d261d));
|
591
|
+
/* for webkit browsers */
|
592
|
+
background: -moz-linear-gradient(top, #c83025, #9d261d);
|
593
|
+
/* for firefox 3.6+ */
|
594
|
+
cursor: pointer;
|
595
|
+
font-weight: bold;
|
596
|
+
color: white;
|
597
|
+
display: inline-block;
|
598
|
+
border: 1px solid #872119;
|
599
|
+
text-align: center;
|
600
|
+
padding: 4px 12px;
|
601
|
+
margin: 0 10px 20px 0;
|
602
|
+
min-width: 80px; }
|
603
|
+
.button.delete:hover {
|
604
|
+
background: #b32b21;
|
605
|
+
/* for non-css3 browsers */
|
606
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');
|
607
|
+
/* for IE */
|
608
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#b32b21), to(#c83025));
|
609
|
+
/* for webkit browsers */
|
610
|
+
background: -moz-linear-gradient(top, #b32b21, #c83025);
|
611
|
+
/* for firefox 3.6+ */ }
|
612
|
+
|
613
|
+
.wrap {
|
614
|
+
width: 940px;
|
615
|
+
margin: 0 auto; }
|
616
|
+
|
617
|
+
.clear {
|
618
|
+
clear: both; }
|
619
|
+
|
620
|
+
.center {
|
621
|
+
text-align: center; }
|
622
|
+
|
623
|
+
.uppercase {
|
624
|
+
text-transform: uppercase; }
|
625
|
+
|
626
|
+
.titlecase {
|
627
|
+
text-transform: capitalize; }
|
628
|
+
|
629
|
+
.invisible {
|
630
|
+
visibility: hidden; }
|
631
|
+
|
632
|
+
.container {
|
633
|
+
width: 940px;
|
634
|
+
margin: 0 auto;
|
635
|
+
padding: 20px 0;
|
636
|
+
overflow: hidden; }
|
637
|
+
|
638
|
+
section {
|
639
|
+
clear: both;
|
640
|
+
margin: 20px 0;
|
641
|
+
overflow: hidden; }
|
642
|
+
|
643
|
+
/* 768px */
|
644
|
+
/* 320px. iPhone */
|
645
|
+
@media only screen and (max-width: 767px) {
|
646
|
+
.container {
|
647
|
+
width: 300px; }
|
648
|
+
|
649
|
+
.span-1 {
|
650
|
+
width: 280px;
|
651
|
+
margin: 0 10px; }
|
652
|
+
|
653
|
+
.span-2 {
|
654
|
+
width: 280px;
|
655
|
+
margin: 0 10px; }
|
656
|
+
|
657
|
+
.span-3 {
|
658
|
+
width: 280px;
|
659
|
+
margin: 0 10px; }
|
660
|
+
|
661
|
+
.span-4 {
|
662
|
+
width: 280px;
|
663
|
+
margin: 0 10px; }
|
664
|
+
|
665
|
+
.span-5 {
|
666
|
+
width: 280px;
|
667
|
+
margin: 0 10px; }
|
668
|
+
|
669
|
+
.span-6 {
|
670
|
+
width: 280px;
|
671
|
+
margin: 0 10px; }
|
672
|
+
|
673
|
+
.span-7 {
|
674
|
+
width: 280px;
|
675
|
+
margin: 0 10px; }
|
676
|
+
|
677
|
+
.span-8 {
|
678
|
+
width: 280px;
|
679
|
+
margin: 0 10px; }
|
680
|
+
|
681
|
+
.span-9 {
|
682
|
+
width: 280px;
|
683
|
+
margin: 0 10px; }
|
684
|
+
|
685
|
+
.span-10 {
|
686
|
+
width: 280px;
|
687
|
+
margin: 0 10px; }
|
688
|
+
|
689
|
+
.span-11 {
|
690
|
+
width: 280px;
|
691
|
+
margin: 0 10px; }
|
692
|
+
|
693
|
+
.span-12 {
|
694
|
+
width: 280px;
|
695
|
+
margin: 0 10px; } }
|
696
|
+
/* 480px */
|