route53web 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +58 -0
- data/LICENSE.txt +20 -0
- data/README.md +40 -0
- data/README.rdoc +19 -0
- data/Rakefile +39 -0
- data/VERSION +1 -0
- data/lib/config/aws.yml +3 -0
- data/lib/config/aws.yml.sample +3 -0
- data/lib/public/.DS_Store +0 -0
- data/lib/public/css/lib/bootstrap.less +23 -0
- data/lib/public/css/lib/forms.less +369 -0
- data/lib/public/css/lib/patterns.less +751 -0
- data/lib/public/css/lib/preboot.less +271 -0
- data/lib/public/css/lib/reset.less +146 -0
- data/lib/public/css/lib/scaffolding.less +204 -0
- data/lib/public/css/lib/tables.less +148 -0
- data/lib/public/css/lib/type.less +188 -0
- data/lib/public/css/route53web.less +81 -0
- data/lib/public/js/jquery.js +8981 -0
- data/lib/public/js/less.js +16 -0
- data/lib/public/js/route53web.js +72 -0
- data/lib/route53web.rb +93 -0
- data/lib/views/_editor.haml +2 -0
- data/lib/views/_tabs.haml +4 -0
- data/lib/views/_zone.haml +5 -0
- data/lib/views/_zone_select.haml +9 -0
- data/lib/views/index.haml +42 -0
- data/lib/views/records/_a.haml +14 -0
- data/lib/views/records/_cname.haml +14 -0
- data/lib/views/records/_mx.haml +18 -0
- data/lib/views/records/_ns.haml +13 -0
- data/lib/views/records/_soa.haml +1 -0
- data/lib/views/records/_txt.haml +16 -0
- data/spec/config_spec.rb +12 -0
- data/spec/spec_helper.rb +12 -0
- metadata +177 -0
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
backports (2.3.0)
|
5
|
+
builder (3.0.0)
|
6
|
+
diff-lcs (1.1.3)
|
7
|
+
git (1.2.5)
|
8
|
+
haml (3.1.3)
|
9
|
+
hpricot (0.8.4)
|
10
|
+
jeweler (1.6.4)
|
11
|
+
bundler (~> 1.0)
|
12
|
+
git (>= 1.2.5)
|
13
|
+
rake
|
14
|
+
monkey-lib (0.5.4)
|
15
|
+
backports
|
16
|
+
rack (1.3.2)
|
17
|
+
rake (0.9.2)
|
18
|
+
rcov (0.9.10)
|
19
|
+
route53 (0.2.1)
|
20
|
+
builder
|
21
|
+
hpricot
|
22
|
+
ruby-hmac
|
23
|
+
rspec (2.3.0)
|
24
|
+
rspec-core (~> 2.3.0)
|
25
|
+
rspec-expectations (~> 2.3.0)
|
26
|
+
rspec-mocks (~> 2.3.0)
|
27
|
+
rspec-core (2.3.1)
|
28
|
+
rspec-expectations (2.3.0)
|
29
|
+
diff-lcs (~> 1.1.2)
|
30
|
+
rspec-mocks (2.3.0)
|
31
|
+
ruby-hmac (0.4.0)
|
32
|
+
sinatra (1.2.6)
|
33
|
+
rack (~> 1.1)
|
34
|
+
tilt (< 2.0, >= 1.2.2)
|
35
|
+
sinatra-advanced-routes (0.5.1)
|
36
|
+
monkey-lib (~> 0.5.0)
|
37
|
+
sinatra (~> 1.0)
|
38
|
+
sinatra-sugar (~> 0.5.0)
|
39
|
+
sinatra-reloader (0.5.0)
|
40
|
+
sinatra (~> 1.0)
|
41
|
+
sinatra-advanced-routes (~> 0.5.0)
|
42
|
+
sinatra-sugar (0.5.1)
|
43
|
+
monkey-lib (~> 0.5.0)
|
44
|
+
sinatra (~> 1.0)
|
45
|
+
tilt (1.3.3)
|
46
|
+
|
47
|
+
PLATFORMS
|
48
|
+
ruby
|
49
|
+
|
50
|
+
DEPENDENCIES
|
51
|
+
bundler (~> 1.0.0)
|
52
|
+
haml
|
53
|
+
jeweler (~> 1.6.4)
|
54
|
+
rcov
|
55
|
+
route53
|
56
|
+
rspec (~> 2.3.0)
|
57
|
+
sinatra
|
58
|
+
sinatra-reloader
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011 Ryan Funduk
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Route53::Web
|
2
|
+
|
3
|
+
`Route53::Web` is a (`Resque::Server`-inspired) micro-app wrapping
|
4
|
+
[ruby_route_53](https://github.com/pcorliss/ruby_route_53)
|
5
|
+
provides a UI for viewing how your Route53 is configured (later,
|
6
|
+
the idea is to also be able to edit/add stuff). Exciting, no?
|
7
|
+
|
8
|
+
Simple enough to get going. In your `Gemfile`:
|
9
|
+
|
10
|
+
gem 'route53web'
|
11
|
+
|
12
|
+
Shocking. Needs some AWS configuration:
|
13
|
+
|
14
|
+
Route53::Web.config = { :access => '123', :secret => 'abc' }
|
15
|
+
|
16
|
+
Now just mount it somewhere -- `routes.rb`, maybe?:
|
17
|
+
|
18
|
+
mount Route53::Web, :at => '/route53'
|
19
|
+
|
20
|
+
...or use a `config.ru`, whatever really:
|
21
|
+
|
22
|
+
require 'route53web'
|
23
|
+
run Route53::Web.new
|
24
|
+
|
25
|
+
|
26
|
+
## Contributing to route53web
|
27
|
+
|
28
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
29
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
30
|
+
* Fork the project
|
31
|
+
* Start a feature/bugfix branch
|
32
|
+
* Commit and push until you are happy with your contribution
|
33
|
+
* Make sure to add tests for it.
|
34
|
+
* Please try not to mess with the Rakefile, version, or history.
|
35
|
+
|
36
|
+
## Copyright
|
37
|
+
|
38
|
+
Copyright (c) 2011 Ryan Funduk. See LICENSE.txt for
|
39
|
+
further details.
|
40
|
+
|
data/README.rdoc
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
= route53web
|
2
|
+
|
3
|
+
Description goes here.
|
4
|
+
|
5
|
+
== Contributing to route53web
|
6
|
+
|
7
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
8
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
9
|
+
* Fork the project
|
10
|
+
* Start a feature/bugfix branch
|
11
|
+
* Commit and push until you are happy with your contribution
|
12
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
+
|
15
|
+
== Copyright
|
16
|
+
|
17
|
+
Copyright (c) 2011 Ryan Funduk. See LICENSE.txt for
|
18
|
+
further details.
|
19
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
+
gem.name = "route53web"
|
18
|
+
gem.homepage = "http://github.com/rfunduk/route53web"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{A web interface for viewing Amazon Route53 DNS records.}
|
21
|
+
gem.description = %Q{A rack mountable web interface for viewing Amazon Route53 DNS records.}
|
22
|
+
gem.email = "ryan.funduk@gmail.com"
|
23
|
+
gem.authors = ["Ryan Funduk"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rspec/core'
|
29
|
+
require 'rspec/core/rake_task'
|
30
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
32
|
+
end
|
33
|
+
|
34
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
35
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
36
|
+
spec.rcov = true
|
37
|
+
end
|
38
|
+
|
39
|
+
task :default => :spec
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
data/lib/config/aws.yml
ADDED
Binary file
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v1.1.1
|
3
|
+
*
|
4
|
+
* Copyright 2011 Twitter, Inc
|
5
|
+
* Licensed under the Apache License v2.0
|
6
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
*
|
8
|
+
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
9
|
+
* Date: @DATE
|
10
|
+
*/
|
11
|
+
|
12
|
+
// CSS Reset
|
13
|
+
@import "reset.less";
|
14
|
+
|
15
|
+
// Core
|
16
|
+
@import "preboot.less";
|
17
|
+
@import "scaffolding.less";
|
18
|
+
|
19
|
+
// Styled patterns and elements
|
20
|
+
@import "type.less";
|
21
|
+
@import "forms.less";
|
22
|
+
@import "tables.less";
|
23
|
+
@import "patterns.less";
|
@@ -0,0 +1,369 @@
|
|
1
|
+
/* Forms.less
|
2
|
+
* Base styles for various input types, form layouts, and states
|
3
|
+
* ------------------------------------------------------------- */
|
4
|
+
|
5
|
+
|
6
|
+
// FORM STYLES
|
7
|
+
// -----------
|
8
|
+
|
9
|
+
form {
|
10
|
+
margin-bottom: @baseline;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Groups of fields with labels on top (legends)
|
14
|
+
fieldset {
|
15
|
+
margin-bottom: @baseline;
|
16
|
+
padding-top: @baseline;
|
17
|
+
legend {
|
18
|
+
display: block;
|
19
|
+
margin-left: 150px;
|
20
|
+
font-size: 20px;
|
21
|
+
line-height: 1;
|
22
|
+
*margin: 0 0 5px 145px; /* IE6-7 */
|
23
|
+
*line-height: 1.5; /* IE6-7 */
|
24
|
+
color: @grayDark;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// Parent element that clears floats and wraps labels and fields together
|
29
|
+
.clearfix {
|
30
|
+
margin-bottom: @baseline;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Set font for forms
|
34
|
+
label,
|
35
|
+
input,
|
36
|
+
select,
|
37
|
+
textarea {
|
38
|
+
#font > .sans-serif(normal,13px,normal);
|
39
|
+
}
|
40
|
+
|
41
|
+
// Float labels left
|
42
|
+
label {
|
43
|
+
padding-top: 6px;
|
44
|
+
font-size: 13px;
|
45
|
+
line-height: 18px;
|
46
|
+
float: left;
|
47
|
+
width: 130px;
|
48
|
+
text-align: right;
|
49
|
+
color: @grayDark;
|
50
|
+
}
|
51
|
+
|
52
|
+
// Shift over the inside div to align all label's relevant content
|
53
|
+
div.input {
|
54
|
+
margin-left: 150px;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Checkboxs and radio buttons
|
58
|
+
input[type=checkbox],
|
59
|
+
input[type=radio] {
|
60
|
+
cursor: pointer;
|
61
|
+
}
|
62
|
+
|
63
|
+
// Inputs, Textareas, Selects
|
64
|
+
input[type=text],
|
65
|
+
input[type=password],
|
66
|
+
textarea,
|
67
|
+
select,
|
68
|
+
.uneditable-input {
|
69
|
+
display: inline-block;
|
70
|
+
width: 210px;
|
71
|
+
padding: 4px;
|
72
|
+
font-size: 13px;
|
73
|
+
line-height: @baseline;
|
74
|
+
height: @baseline;
|
75
|
+
color: @gray;
|
76
|
+
border: 1px solid #ccc;
|
77
|
+
.border-radius(3px);
|
78
|
+
}
|
79
|
+
select,
|
80
|
+
input[type=file] {
|
81
|
+
height: @baseline * 1.5;
|
82
|
+
line-height: @baseline * 1.5;
|
83
|
+
}
|
84
|
+
textarea {
|
85
|
+
height: auto;
|
86
|
+
}
|
87
|
+
.uneditable-input {
|
88
|
+
background-color: #eee;
|
89
|
+
display: block;
|
90
|
+
border-color: #ccc;
|
91
|
+
.box-shadow(inset 0 1px 2px rgba(0,0,0,.075));
|
92
|
+
}
|
93
|
+
|
94
|
+
// Placeholder text gets special styles; can't be bundled together though for some reason
|
95
|
+
:-moz-placeholder {
|
96
|
+
color: @grayLight;
|
97
|
+
}
|
98
|
+
::-webkit-input-placeholder {
|
99
|
+
color: @grayLight;
|
100
|
+
}
|
101
|
+
|
102
|
+
// Focus states
|
103
|
+
input[type=text],
|
104
|
+
input[type=password],
|
105
|
+
select, textarea {
|
106
|
+
@transition: border linear .2s, box-shadow linear .2s;
|
107
|
+
.transition(@transition);
|
108
|
+
.box-shadow(inset 0 1px 3px rgba(0,0,0,.1));
|
109
|
+
}
|
110
|
+
input[type=text]:focus,
|
111
|
+
input[type=password]:focus,
|
112
|
+
textarea:focus {
|
113
|
+
outline: none;
|
114
|
+
border-color: rgba(82,168,236,.8);
|
115
|
+
@shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
116
|
+
.box-shadow(@shadow);
|
117
|
+
}
|
118
|
+
|
119
|
+
// Error styles
|
120
|
+
form div.error {
|
121
|
+
background: lighten(@red, 57%);
|
122
|
+
padding: 10px 0;
|
123
|
+
margin: -10px 0 10px;
|
124
|
+
.border-radius(4px);
|
125
|
+
@error-text: desaturate(lighten(@red, 25%), 25%);
|
126
|
+
> label,
|
127
|
+
span.help-inline,
|
128
|
+
span.help-block {
|
129
|
+
color: @red;
|
130
|
+
}
|
131
|
+
input[type=text],
|
132
|
+
input[type=password],
|
133
|
+
textarea {
|
134
|
+
border-color: @error-text;
|
135
|
+
.box-shadow(0 0 3px rgba(171,41,32,.25));
|
136
|
+
&:focus {
|
137
|
+
border-color: darken(@error-text, 10%);
|
138
|
+
.box-shadow(0 0 6px rgba(171,41,32,.5));
|
139
|
+
}
|
140
|
+
}
|
141
|
+
.input-prepend,
|
142
|
+
.input-append {
|
143
|
+
span.add-on {
|
144
|
+
background: lighten(@red, 50%);
|
145
|
+
border-color: @error-text;
|
146
|
+
color: darken(@error-text, 10%);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
// Form element sizes
|
152
|
+
.input-mini, input.mini, textarea.mini, select.mini {
|
153
|
+
width: 60px;
|
154
|
+
}
|
155
|
+
.input-small, input.small, textarea.small, select.small {
|
156
|
+
width: 90px;
|
157
|
+
}
|
158
|
+
.input-medium, input.medium, textarea.medium, select.medium {
|
159
|
+
width: 150px;
|
160
|
+
}
|
161
|
+
.input-large, input.large, textarea.large, select.large {
|
162
|
+
width: 210px;
|
163
|
+
}
|
164
|
+
.input-xlarge, input.xlarge, textarea.xlarge, select.xlarge {
|
165
|
+
width: 270px;
|
166
|
+
}
|
167
|
+
.input-xxlarge, input.xxlarge, textarea.xxlarge, select.xxlarge {
|
168
|
+
width: 530px;
|
169
|
+
}
|
170
|
+
textarea.xxlarge {
|
171
|
+
overflow-y: scroll;
|
172
|
+
}
|
173
|
+
|
174
|
+
// Turn off focus for disabled (read-only) form elements
|
175
|
+
input[readonly]:focus,
|
176
|
+
textarea[readonly]:focus,
|
177
|
+
input.disabled {
|
178
|
+
background: #f5f5f5;
|
179
|
+
border-color: #ddd;
|
180
|
+
.box-shadow(none);
|
181
|
+
}
|
182
|
+
|
183
|
+
// Actions (the buttons)
|
184
|
+
.actions {
|
185
|
+
background: #f5f5f5;
|
186
|
+
margin-top: @baseline;
|
187
|
+
margin-bottom: @baseline;
|
188
|
+
padding: (@baseline - 1) 20px @baseline 150px;
|
189
|
+
border-top: 1px solid #ddd;
|
190
|
+
.border-radius(0 0 3px 3px);
|
191
|
+
.secondary-action {
|
192
|
+
float: right;
|
193
|
+
a {
|
194
|
+
line-height: 30px;
|
195
|
+
&:hover {
|
196
|
+
text-decoration: underline;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
// Help Text
|
203
|
+
.help-inline,
|
204
|
+
.help-block {
|
205
|
+
font-size: 12px;
|
206
|
+
line-height: @baseline;
|
207
|
+
color: @grayLight;
|
208
|
+
}
|
209
|
+
.help-inline {
|
210
|
+
padding-left: 5px;
|
211
|
+
*position: relative; /* IE6-7 */
|
212
|
+
*top: -5px; /* IE6-7 */
|
213
|
+
}
|
214
|
+
|
215
|
+
// Big blocks of help text
|
216
|
+
.help-block {
|
217
|
+
display: block;
|
218
|
+
max-width: 600px;
|
219
|
+
}
|
220
|
+
|
221
|
+
// Inline Fields (input fields that appear as inline objects
|
222
|
+
.inline-inputs {
|
223
|
+
color: @gray;
|
224
|
+
span, input[type=text] {
|
225
|
+
display: inline-block;
|
226
|
+
}
|
227
|
+
input.mini {
|
228
|
+
width: 60px;
|
229
|
+
}
|
230
|
+
input.small {
|
231
|
+
width: 90px;
|
232
|
+
}
|
233
|
+
span {
|
234
|
+
padding: 0 2px 0 1px;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
|
238
|
+
// Allow us to put symbols and text within the input field for a cleaner look
|
239
|
+
.input-prepend,
|
240
|
+
.input-append {
|
241
|
+
input[type=text],
|
242
|
+
input[type=password] {
|
243
|
+
.border-radius(0 3px 3px 0);
|
244
|
+
}
|
245
|
+
.add-on {
|
246
|
+
background: #f5f5f5;
|
247
|
+
float: left;
|
248
|
+
display: block;
|
249
|
+
width: auto;
|
250
|
+
min-width: 16px;
|
251
|
+
padding: 4px 4px 4px 5px;
|
252
|
+
color: @grayLight;
|
253
|
+
font-weight: normal;
|
254
|
+
line-height: 18px;
|
255
|
+
height: 18px;
|
256
|
+
text-align: center;
|
257
|
+
text-shadow: 0 1px 0 #fff;
|
258
|
+
border: 1px solid #ccc;
|
259
|
+
border-right-width: 0;
|
260
|
+
.border-radius(3px 0 0 3px);
|
261
|
+
}
|
262
|
+
.active {
|
263
|
+
background: lighten(@green, 30);
|
264
|
+
border-color: @green;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
.input-prepend {
|
268
|
+
.add-on {
|
269
|
+
*margin-top: 1px; /* IE6-7 */
|
270
|
+
}
|
271
|
+
}
|
272
|
+
.input-append {
|
273
|
+
input[type=text],
|
274
|
+
input[type=password] {
|
275
|
+
float: left;
|
276
|
+
.border-radius(3px 0 0 3px);
|
277
|
+
}
|
278
|
+
.add-on {
|
279
|
+
.border-radius(0 3px 3px 0);
|
280
|
+
border-right-width: 1px;
|
281
|
+
border-left-width: 0;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
// Stacked options for forms (radio buttons or checkboxes)
|
286
|
+
.inputs-list {
|
287
|
+
margin: 0 0 5px;
|
288
|
+
width: 100%;
|
289
|
+
li {
|
290
|
+
display: block;
|
291
|
+
padding: 0;
|
292
|
+
width: 100%;
|
293
|
+
label {
|
294
|
+
display: block;
|
295
|
+
float: none;
|
296
|
+
width: auto;
|
297
|
+
padding: 0;
|
298
|
+
line-height: @baseline;
|
299
|
+
text-align: left;
|
300
|
+
white-space: normal;
|
301
|
+
strong {
|
302
|
+
color: @gray;
|
303
|
+
}
|
304
|
+
small {
|
305
|
+
font-size: 12px;
|
306
|
+
font-weight: normal;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
ul.inputs-list {
|
310
|
+
margin-left: 25px;
|
311
|
+
margin-bottom: 10px;
|
312
|
+
padding-top: 0;
|
313
|
+
}
|
314
|
+
&:first-child {
|
315
|
+
padding-top: 5px;
|
316
|
+
}
|
317
|
+
}
|
318
|
+
input[type=radio],
|
319
|
+
input[type=checkbox] {
|
320
|
+
margin-bottom: 0;
|
321
|
+
}
|
322
|
+
}
|
323
|
+
|
324
|
+
// Stacked forms
|
325
|
+
.form-stacked {
|
326
|
+
padding-left: 20px;
|
327
|
+
fieldset {
|
328
|
+
padding-top: @baseline / 2;
|
329
|
+
}
|
330
|
+
legend {
|
331
|
+
margin-left: 0;
|
332
|
+
}
|
333
|
+
label {
|
334
|
+
display: block;
|
335
|
+
float: none;
|
336
|
+
width: auto;
|
337
|
+
font-weight: bold;
|
338
|
+
text-align: left;
|
339
|
+
line-height: 20px;
|
340
|
+
padding-top: 0;
|
341
|
+
}
|
342
|
+
.clearfix {
|
343
|
+
margin-bottom: @baseline / 2;
|
344
|
+
div.input {
|
345
|
+
margin-left: 0;
|
346
|
+
}
|
347
|
+
}
|
348
|
+
.inputs-list {
|
349
|
+
margin-bottom: 0;
|
350
|
+
li {
|
351
|
+
padding-top: 0;
|
352
|
+
label {
|
353
|
+
font-weight: normal;
|
354
|
+
padding-top: 0;
|
355
|
+
}
|
356
|
+
}
|
357
|
+
}
|
358
|
+
div.error {
|
359
|
+
padding-top: 10px;
|
360
|
+
padding-bottom: 10px;
|
361
|
+
padding-left: 10px;
|
362
|
+
margin-top: 0;
|
363
|
+
margin-left: -10px;
|
364
|
+
}
|
365
|
+
.actions {
|
366
|
+
margin-left: -20px;
|
367
|
+
padding-left: 20px;
|
368
|
+
}
|
369
|
+
}
|