inline_forms 3.0.4 → 3.0.5

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2MzNGJhOGUyNzAzZTc2OGMzZDk1YWIyNmJlMDFkNzAxYmY3MjRmMw==
4
+ Y2MwNDlhZDIyOGE1NTZmZmFmYWExMzBjMzdlODNlY2EzODM5MTBlYw==
5
5
  data.tar.gz: !binary |-
6
- NjY3Nzk2NjE0ZDdmYWE5Zjg0NmJmZGE3Njc0YmIxZWMxN2RkOTA2ZQ==
6
+ MTRhNDgzNmUzM2EwOWViYjgyNjJkNDg4ZDEwZjhmZDQ5MWJkZTU1ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjYzZjFlN2RmNDRmZWMyNDdlMzQyNDY2MDJlYzlkMTI1MzI0NTNmYzQ2ZjVi
10
- OWJkYmVjNTViMzNhODlmYTZiNDBiNWRhMzI2MzVkYWZmNDc2MTM5MDVlZTk5
11
- ZmY0YjMwZjRhMzdiOTJmOTUyNWU4NWEyNjg1OGQxM2QzM2RhZTQ=
9
+ MjYzZDE0ODlkZDYwY2Y5NDYyMmJmYzk1YjM3NGU5MTZlYzk3NjhmMzJmNDg3
10
+ OGJkY2E3ZTAzMzM2MzAxNjNmMzBlMThhNDlhYTgyZmQwMmI5NmMxMjE5YjNi
11
+ MGE2OTQ2NjdmZGVlYmIzN2M3M2QxYTdlY2NkYjI5NTA0YjM4MmI=
12
12
  data.tar.gz: !binary |-
13
- ZTc1NWVlYzYyYmU0ZmRlMDc3NWUzNjhjZDkyYmRjMTMzMzkzNTM5M2VjYjlm
14
- MjM3MDM3ZjY0ZDJlOWFmY2M1M2MwNGIyOGFjYzAyY2VlZTMwOTkxNzU3YjQ0
15
- NWIxMTI2MjdhN2Q5NDc5MjkyMTVmOGYxMDYxODU4NzE5NWVhZjY=
13
+ NzRiOGFkNDVhYjRlMmIyMjUyNmNmNGZkOTAwZjdlNGYzZTU0ODg1MmNmY2U1
14
+ NmMwMDFhYWJkNjM0Y2FkZDljYmYwMmZjN2YyOTczZDE4OGFlM2I5NzBlZGNj
15
+ ZGJjOTE2ZmU4Yjg2ZmViMGIyM2EyZGJkZWMwNDQwZTgyOWVjZjI=
@@ -290,20 +290,20 @@ run "bundle exec rake db:migrate" if ENV['using_sqlite'] == 'true'
290
290
  say "- Seeding the database (only when using sqlite)"
291
291
  run "bundle exec rake db:seed" if ENV['using_sqlite'] == 'true'
292
292
 
293
- say "- Creating header in app/views/inline_forms/_header.html.erb..."
294
- create_file "app/views/inline_forms/_header.html.erb", <<-END_HEADER.strip_heredoc
295
- <div id='Header'>
296
- <div id='title'>
297
- #{app_name} v<%= inline_forms_version -%>
298
- </div>
299
- <% if current_user -%>
300
- <div id='logout'>
301
- <%= link_to \"Afmelden: \#{current_user.name}\", destroy_user_session_path, :method => :delete %>
302
- </div>
303
- <% end -%>
304
- <div style='clear: both;'></div>
305
- </div>
306
- END_HEADER
293
+ # say "- Creating header in app/views/inline_forms/_header.html.erb..."
294
+ # create_file "app/views/inline_forms/_header.html.erb", <<-END_HEADER.strip_heredoc
295
+ # <div id='Header'>
296
+ # <div id='title'>
297
+ # #{app_name} v<%= inline_forms_version -%>
298
+ # </div>
299
+ # <% if current_user -%>
300
+ # <div id='logout'>
301
+ # <%= link_to \"Afmelden: \#{current_user.name}\", destroy_user_session_path, :method => :delete %>
302
+ # </div>
303
+ # <% end -%>
304
+ # <div style='clear: both;'></div>
305
+ # </div>
306
+ # END_HEADER
307
307
 
308
308
  say "- Recreating ApplicationHelper to set application_name and application_title..."
309
309
  remove_file "app/helpers/application_helper.rb" # the one that 'rails new' created
@@ -335,7 +335,9 @@ create_file "app/controllers/application_controller.rb", <<-END_APPCONTROLLER.st
335
335
  sign_out :user if user_signed_in?
336
336
  redirect_to new_user_session_path, :alert => exception.message
337
337
  end
338
-
338
+
339
+ ActionView::CompiledTemplates::MODEL_TABS = %w()
340
+
339
341
  # Uncomment next line if you want I18n (based on subdomain)
340
342
  # before_filter :set_locale
341
343
 
@@ -449,10 +451,18 @@ remove_file 'spec/models/user_spec.rb'
449
451
 
450
452
  # environments/production.rb
451
453
  #create_file "#{app_name}/config/environments/production.rb", " #config.assets.precompile += %w( search.js )\nend\n" if dry_run?
452
- say "- Injecting precompile assets stuff in environments/production.rb..."
453
- insert_into_file "config/environments/production.rb",
454
- " config.assets.precompile += %w(inline_forms_application.js inline_forms_application.css devise.css)\n",
455
- :after => " # config.assets.precompile += %w( search.js )\n"
454
+ # say "- Injecting precompile assets stuff in environments/production.rb..."
455
+ # insert_into_file "config/environments/production.rb",
456
+ # " config.assets.precompile += %w(inline_forms_application.js inline_forms_application.css devise.css)\n",
457
+ # :after => " # config.assets.precompile += %w( search.js )\n"
458
+
459
+
460
+ # add stuff to application.css
461
+ say "- Injecting stylesheets into app/assets/stylesheets/application.css..."
462
+ insert_into_file "app/assets/stylesheets/application.css",
463
+ "*= require devise\n*= require inline_forms\n",
464
+ :before => "*= require_self\n"
465
+
456
466
 
457
467
  # devise mailer stuff
458
468
  say "- Injecting devise mailer stuff in environments/production.rb..."
@@ -5,7 +5,6 @@
5
5
  // the compiled file.
6
6
  //
7
7
  //= require jquery
8
- //= require jquery_ujs
9
8
  //= require jquery.ui.all
10
9
  //= require jquery.ui.datepicker-nl.js
11
10
  //= require foundation
@@ -0,0 +1,21 @@
1
+ //devise
2
+
3
+ #devise_outer_container a {
4
+ color: #A3381E;
5
+ }
6
+
7
+ #devise_top_bar {
8
+ background-color: #A3381E;
9
+ a {
10
+ color: #FFFFFF;
11
+ }
12
+ }
13
+
14
+ #devise_login {
15
+ .row {
16
+ margin-bottom: 30px;
17
+ }
18
+ }
19
+
20
+
21
+ #devise_flash {}
@@ -0,0 +1,314 @@
1
+ @import 'foundation_and_overrides';
2
+ @import 'foundation-icons';
3
+
4
+ $ffDefault: 'Open Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif !default;
5
+
6
+ @import 'themes/jquery.ui.sunny';
7
+ @import 'jquery.ui.all';
8
+
9
+
10
+ .contain-to-grid {
11
+ background-color: $body-bg !important;
12
+ }
13
+
14
+ input {
15
+ margin: 2px 0 !important;
16
+ }
17
+
18
+ select {
19
+ background-color: #fff8e0 !important;
20
+ border: 0 !important;
21
+ margin: 2px 0 !important;
22
+ font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif !important;
23
+ padding: 0;
24
+
25
+ }
26
+ select:hover, select:focus {
27
+ background-color: lighten(#fff8e0, 2%) !important;
28
+ border: 0 !important;
29
+ }
30
+
31
+ #inline_forms_application_top_bar {
32
+ background-color: #A3381E;
33
+ color: #FFFFFF;
34
+ .top-bar-section li a {
35
+ background-color: #A3381E;
36
+ }
37
+ }
38
+
39
+ #inline_forms_model_top_bar {
40
+ background-color: #E1C150;
41
+ padding-top: 45px;
42
+ height: 90px;
43
+ .top-bar-section {
44
+ .right, li, .has-form {
45
+ background-color: #E1C150;
46
+ }
47
+ .inline_forms_model_top_bar_buttons {
48
+ top: 4px !important;
49
+ padding: 7px 0 7px 0 !important;
50
+ margin: 0 !important;
51
+ }
52
+ .new_button {
53
+ background-color: #E1C150;
54
+ color: #B94C32;
55
+ font-size: 1.3rem;
56
+ padding: 0 2rem 0 1rem;
57
+ }
58
+ .new_button:hover, .new_button:focus {
59
+ color: white;
60
+ -webkit-transition-property: color;
61
+ transition-property: color;
62
+ }
63
+ input[type=text]:hover, input[type=text]:focus {
64
+ background-color: lighten(#fff8e0, 5%);
65
+ -webkit-transition-property: background-color;
66
+ transition-property: background-color;
67
+ }
68
+ }
69
+ }
70
+
71
+ #inline_forms_model_top_bar_container {
72
+ z-index: 9;
73
+ }
74
+
75
+ #outer_container {
76
+ width: 100%;
77
+ position: absolute;
78
+ top: 90px;
79
+ }
80
+
81
+ .top-level a {
82
+ font-weight: bold;
83
+ font-size: 110%;
84
+ }
85
+ .list_container {
86
+ .row {
87
+ font-size: 1.2rem;
88
+ font-weight: normal;
89
+ line-height: 2.2rem;
90
+ margin: 0 auto !important;
91
+ }
92
+ .odd {
93
+ background-color: #FBE38E;
94
+ }
95
+ .even {
96
+ background-color: #FBEEC1;
97
+ }
98
+ }
99
+
100
+ .inline_forms_list, .new_record {
101
+ .row.odd, .row.even {
102
+ font-size: 1rem !important;
103
+ font-weight: normal !important;
104
+ }
105
+ .row.form_element_header {
106
+ border-top: 1px solid #B94C32;
107
+ background-color: rgb(239, 202, 75);
108
+ font-weight: normal !important;
109
+ font-size: 1.3rem !important;
110
+ }
111
+ }
112
+
113
+ .new_record {
114
+ .button {
115
+ margin: 0;
116
+ padding: 0.5rem;
117
+ }
118
+ }
119
+
120
+ .object_presentation {
121
+ background-color: #B94C32;
122
+ color: white;
123
+ .close_button {
124
+ background-color: #B94C32;
125
+ font-size: 1.3rem;
126
+ padding: 0 1rem 0 1rem;
127
+ margin: 0;
128
+ }
129
+ .close_button:hover, .close_button:focus {
130
+ background-color: #B94C32;
131
+ color: #FBEEC1;
132
+ -webkit-transition-property: color;
133
+ transition-property: color;
134
+ }
135
+ }
136
+
137
+ .list_container {
138
+ .row.odd, .row.even {
139
+ font-size: 1rem !important;
140
+ font-weight: normal !important;
141
+ }
142
+ .row.form_element_header {
143
+ border-top: 1px solid #B94C32;
144
+ background-color: rgb(239, 202, 75);
145
+ font-weight: normal !important;
146
+ font-size: 1.3rem !important;
147
+ }
148
+ }
149
+
150
+
151
+
152
+ .associated_auto_header {
153
+ border-top: 1px solid #B94C32;
154
+ .new_button {
155
+ background-color: rgb(239, 202, 75);
156
+ font-size: 1.5rem;
157
+ color: #B94C32;
158
+ padding: 0 0.5rem 0 1rem;
159
+ margin: 0;
160
+ }
161
+ .new_button:hover, .new_button:focus {
162
+ background-color: rgb(239, 202, 75);
163
+ color: white;
164
+ -webkit-transition-property: color;
165
+ transition-property: color;
166
+ }
167
+ }
168
+
169
+ .pagination {
170
+ font-weight: normal;
171
+ font-size: 0.9em;
172
+ a:hover {
173
+ color: #B94C32;
174
+ -webkit-transition-property: color;
175
+ -webkit-transition-duration: 0.3s;
176
+ transition-property: color;
177
+ transition-duration: 0.3s;
178
+ }
179
+ em {
180
+ color: #B94C32;
181
+ font-weight: bold;
182
+ font-style: normal;
183
+ }
184
+ span.disabled {
185
+ color: #AAA;
186
+ }
187
+ }
188
+
189
+ .record_footer {
190
+ background-color: rgb(239, 202, 75);
191
+ height: 0.2em;
192
+ border-bottom: 1px solid #B94C32;
193
+ margin-bottom: 1.5em;
194
+ }
195
+
196
+ .flash {
197
+ margin-top: 1em;
198
+ padding: 0.5em;
199
+ color: #A3381E;
200
+ font-size: 130%;
201
+ font-weight: bold;
202
+ line-height: 120%;
203
+ background-color: white;
204
+ border-top: 0.5em solid #fade7a;
205
+ }
206
+
207
+ .custom-combobox {
208
+ position: relative;
209
+ display: inline-block;
210
+ }
211
+ .custom-combobox-toggle {
212
+ position: absolute;
213
+ top: 0;
214
+ bottom: 0;
215
+ margin-left: -1px;
216
+ padding: 0;
217
+ /* support: IE7 */
218
+ *height: 1.7em;
219
+ *top: 0.1em;
220
+ }
221
+ .custom-combobox-input {
222
+ margin: 0;
223
+ padding: 0.3em;
224
+ }
225
+
226
+
227
+ .column {
228
+ padding-right: 0 !important;
229
+ }
230
+
231
+ .top-bar input, .top-bar .button {
232
+ top: 4px !important;
233
+ }
234
+
235
+ .top-bar-section {
236
+ padding-left: rem-calc(12) !important;
237
+ padding-right: rem-calc(12) !important;
238
+ }
239
+
240
+ .first-bar {
241
+ margin-bottom: 0 !important;
242
+ }
243
+ .second-bar {
244
+ margin-top: 1px !important;
245
+ margin-bottom: 0 !important;
246
+ }
247
+
248
+ #switch_user_identifier {
249
+ font-size: smaller;
250
+ select {
251
+ width: 5em;
252
+ }
253
+ }
254
+
255
+
256
+ .error {
257
+ color: #ffffff;
258
+ font-weight: bold;
259
+ -moz-border-radius: 10px;
260
+ -webkit-border-radius: 10px;
261
+ -webkit-box-shadow: 0 1px 1px rgba(0,0,0, .1);
262
+ -moz-box-shadow: 0 1px 1px rgba(0,0,0, .1);
263
+ background-color: #a70f0f;
264
+ background-image: -moz-linear-gradient(100% 100% 90deg, #a70f0f, #c01313);
265
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c01313), to(#a70f0f));
266
+ padding: 0.7em;
267
+ }
268
+ .success {
269
+ color: #ffffff;
270
+ font-weight: bold;
271
+ -moz-border-radius: 5px;
272
+ -webkit-border-radius: 5px;
273
+ -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
274
+ -moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
275
+ border-bottom: 1px solid #cccccc;
276
+ background-color: #4f8d0d;
277
+ background-image: -moz-linear-gradient(100% 100% 90deg, #4f8d0d, #5ba210);
278
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5ba210), to(#4f8d0d));
279
+ padding: 0.7em;
280
+ margin-bottom: 0.5em;
281
+ }
282
+
283
+ .ckeditor_area {
284
+ position: relative;
285
+ }
286
+
287
+ .ckeditor_area .glass_plate {
288
+ position: absolute;
289
+ top: -1px;
290
+ width: 100%;
291
+ height: 232px;
292
+ border: 0;
293
+ }
294
+
295
+ .ckeditor_area .cke_top, .ckeditor_area .cke_bottom, .ckeditor_area .cke_border {
296
+ display: none;
297
+ }
298
+
299
+ /* jQuery ui Slider 8 */
300
+ .slider {
301
+ width: 300px;
302
+ float: left;
303
+ }
304
+ .slider_value {
305
+ float: left;
306
+ min-width: 60px;
307
+ text-align: right;
308
+ font-family: monospace;
309
+ }
310
+
311
+
312
+ /* LEFT */
313
+
314
+
@@ -0,0 +1,47 @@
1
+ <div class="contain-to-grid fixed">
2
+ <nav id='inline_forms_application_top_bar' class="top-bar" data-topbar>
3
+ <ul class="title-area">
4
+ <li class="name">
5
+ <h1><a href="/"><%= application_name %> v<%= inline_forms_version %></a></h1>
6
+ </li>
7
+ <li class="toggle-topbar menu-icon">
8
+ <a href="#"><span></span></a>
9
+ </li>
10
+ </ul>
11
+ <section class="top-bar-section">
12
+ <ul class="right">
13
+ <% if current_user.role?(:superadmin) && Rails.env.development? %>
14
+ <li class="has-dropdown">
15
+ <%= switch_user_select %>
16
+ </li>
17
+ <% end %>
18
+ <% if current_user.role?(:admin) || current_user.role?(:superadmin) %>
19
+ <li class="has-dropdown">
20
+ <a href="#">meer...</a>
21
+ <ul class="dropdown">
22
+ <% MODEL_TABS.each do |m| %>
23
+ <% model = m.singularize.camelcase.constantize rescue nil %>
24
+ <% unless model.nil? || model.not_accessible_through_html? %>
25
+ <% if can? :update, m.to_sym %>
26
+ <li>
27
+ <%= link_to model.model_name.human, '/' + m %>
28
+ </li>
29
+ <% end %>
30
+ <% end %>
31
+ <% end %>
32
+ </ul>
33
+ </li>
34
+ <% end %>
35
+ <li class="has-dropdown">
36
+ <a href="#"><%= current_user.name %></a>
37
+ <ul class="dropdown">
38
+ <li>
39
+ <%= link_to("Afmelden...", destroy_user_session_path, :method => :delete) if current_user %>
40
+ </li>
41
+ </ul>
42
+ </li>
43
+ </ul>
44
+ </section>
45
+
46
+ </nav>
47
+ </div>
@@ -31,9 +31,12 @@
31
31
  </section>
32
32
  </nav>
33
33
  </div>
34
- <% flash.each do |name, msg| %>
35
- <%= content_tag :div, msg, :id => "flash_#{name}", :class => "flash row" %>
36
- <% end %>
34
+
35
+ <div id="devise_flash">
36
+ <% flash.each do |name, msg| %>
37
+ <%= content_tag :div, msg, :id => "flash_#{name}", :class => "flash row" %>
38
+ <% end %>
39
+ </div>
37
40
  <%= yield %>
38
41
 
39
42
  </div>
@@ -203,12 +203,15 @@ module InlineForms
203
203
  end
204
204
  end
205
205
 
206
+ def add_second_top_bar
207
+ copy_file "_inline_forms_tabs.html.erb", "app/views/_inline_forms_tabs.html.erb" unless File.exists?('app/views/_inline_forms_tabs.html.erb')
208
+ end
209
+
206
210
  def add_tab
207
211
  unless @flag_not_accessible_through_html
208
- copy_file "_inline_forms_tabs.html.erb", "app/views/_inline_forms_tabs.html.erb" unless File.exists?('app/views/_inline_forms_tabs.html.erb')
209
- inject_into_file "app/views/_inline_forms_tabs.html.erb",
210
- " <%= tab.#{name.underscore} '#{name}', #{name.pluralize.underscore + '_path'} %>\n",
211
- :after => "<%= tabs_tag :open_tabs => { :id => \"tabs\" } do |tab| %>\n"
212
+ inject_into_file "app/controllers/application_controller.rb",
213
+ "#{name.pluralize.underscore} ",
214
+ :after => "ActionView::CompiledTemplates::MODEL_TABS = %w("
212
215
  end
213
216
  end
214
217
 
@@ -1,3 +1,41 @@
1
- <%= tabs_tag :open_tabs => { :id => "tabs" } do |tab| %>
2
- <% end %>
3
-
1
+ <div class="contain-to-grid fixed" id="inline_forms_model_top_bar_container">
2
+ <nav id="inline_forms_model_top_bar" class="top-bar" data-topbar>
3
+ <ul class="title-area">
4
+ <li class="name" id="inline_forms_menu">
5
+ <h1>
6
+ <a>
7
+ <%= t(controller_name) %>
8
+ </a>
9
+ </h1>
10
+ </li>
11
+ <li class="toggle-topbar menu-icon">
12
+ <a href="#"><span></span></a>
13
+ </li>
14
+ </ul>
15
+ <section class="top-bar-section">
16
+ <ul class="right">
17
+ <li class="has-form">
18
+ <%= form_tag request.path, :method => 'get' do %>
19
+ <div class="row collapse">
20
+ <div class="large-1 small-1 columns">
21
+ <%= link_to "<i class='fi-x'></i>".html_safe, request.path, :title => 'reset', :class => "button expand inline_forms_model_top_bar_buttons" %>
22
+ </div>
23
+ <div class="large-6 small-6 columns">
24
+ <%= text_field_tag :search, params[:search], :placeholder => 'zoek op naam...', :id => 'input_search' %>
25
+ </div>
26
+ <div class="large-3 small-3 columns">
27
+ <%= submit_tag 'zoek', :class => "button expand inline_forms_model_top_bar_buttons" %>
28
+ </div>
29
+ <div class="large-2 small-2 columns">
30
+ &nbsp;
31
+ </div>
32
+ </div>
33
+ <% end %>
34
+ </li>
35
+ <li>
36
+ <%= link_to_new_record(@Klass, "new_#{@Klass.to_s.singularize.underscore}_path", @Klass.to_s.pluralize.downcase + '_list') %>
37
+ </li>
38
+ </ul>
39
+ </section>
40
+ </nav>
41
+ </div>
@@ -1,5 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "3.0.4"
4
-
3
+ VERSION = "3.0.5"
5
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-04 00:00:00.000000000 Z
11
+ date: 2014-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rvm
@@ -179,8 +179,8 @@ files:
179
179
  - lib/app/assets/javascripts/ckeditor/config.js
180
180
  - lib/app/assets/javascripts/inline_forms.js
181
181
  - lib/app/assets/javascripts/inline_forms_application.js
182
- - lib/app/assets/stylesheets/inline_forms.css
183
- - lib/app/assets/stylesheets/inline_forms_application.css
182
+ - lib/app/assets/stylesheets/devise.scss
183
+ - lib/app/assets/stylesheets/inline_forms.scss
184
184
  - lib/app/controllers/geo_code_curacao_controller.rb
185
185
  - lib/app/controllers/inline_forms_application_controller.rb
186
186
  - lib/app/controllers/inline_forms_controller.rb
@@ -238,6 +238,7 @@ files:
238
238
  - lib/app/views/inline_forms/_close.html.erb
239
239
  - lib/app/views/inline_forms/_edit.html.erb
240
240
  - lib/app/views/inline_forms/_flash.html.erb
241
+ - lib/app/views/inline_forms/_header.html.erb
241
242
  - lib/app/views/inline_forms/_list.html.erb
242
243
  - lib/app/views/inline_forms/_new.html.erb
243
244
  - lib/app/views/inline_forms/_new_nested.html.erb
@@ -1,70 +0,0 @@
1
- /*
2
- Document : inline_forms
3
- Created on : Feb 13, 2011, 10:00:55 AM
4
- Author : Ace Suares
5
- Description: Stylessheet for inline_forms
6
- */
7
-
8
-
9
-
10
-
11
- .error {
12
- color: #ffffff;
13
- font-weight: bold;
14
- -moz-border-radius: 10px;
15
- -webkit-border-radius: 10px;
16
- -webkit-box-shadow: 0 1px 1px rgba(0,0,0, .1);
17
- -moz-box-shadow: 0 1px 1px rgba(0,0,0, .1);
18
- background-color: #a70f0f;
19
- background-image: -moz-linear-gradient(100% 100% 90deg, #a70f0f, #c01313);
20
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c01313), to(#a70f0f));
21
- padding: 0.7em;
22
- }
23
- .success {
24
- color: #ffffff;
25
- font-weight: bold;
26
- -moz-border-radius: 5px;
27
- -webkit-border-radius: 5px;
28
- -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
29
- -moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
30
- border-bottom: 1px solid #cccccc;
31
- background-color: #4f8d0d;
32
- background-image: -moz-linear-gradient(100% 100% 90deg, #4f8d0d, #5ba210);
33
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5ba210), to(#4f8d0d));
34
- padding: 0.7em;
35
- margin-bottom: 0.5em;
36
- }
37
-
38
- .ckeditor_area {
39
- position: relative;
40
- }
41
-
42
- .ckeditor_area .glass_plate {
43
- position: absolute;
44
- top: -1px;
45
- width: 100%;
46
- height: 232px;
47
- border: 0;
48
- }
49
-
50
- .ckeditor_area .cke_top, .ckeditor_area .cke_bottom, .ckeditor_area .cke_border {
51
- display: none;
52
- }
53
-
54
- /* jQuery ui Slider 8 */
55
- .slider {
56
- width: 300px;
57
- float: left;
58
- }
59
- .slider_value {
60
- float: left;
61
- min-width: 60px;
62
- text-align: right;
63
- font-family: monospace;
64
- }
65
-
66
-
67
- /* LEFT */
68
-
69
-
70
-
@@ -1,7 +0,0 @@
1
- /*
2
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
- * the top of the compiled file, but it's generally better to create a new file per style scope.
5
- *
6
- *= require inline_forms
7
- */