mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 03:41:41 +00:00
Add Spectrum as input[type=color] polyfill.
This commit is contained in:
parent
454f43fddc
commit
977b9c0c3f
4 changed files with 21 additions and 1 deletions
3
Gemfile
3
Gemfile
|
@ -56,6 +56,8 @@ gem 'uglifier', '>= 1.3.0'
|
|||
gem 'select2-rails', '~> 3.5.4'
|
||||
gem 'jquery-rails', '~> 3.1.0'
|
||||
gem 'ace-rails-ap', '~> 2.0.1'
|
||||
gem 'spectrum-rails'
|
||||
|
||||
|
||||
# geokit-rails doesn't work with geokit 1.8.X but it specifies ~> 1.5
|
||||
# in its own Gemfile.
|
||||
|
@ -123,4 +125,3 @@ else
|
|||
gem 'unicorn', platform: :ruby_18
|
||||
gem 'rails_12factor', platform: :ruby_18
|
||||
end
|
||||
|
||||
|
|
|
@ -290,6 +290,8 @@ GEM
|
|||
simplecov-html (0.8.0)
|
||||
slack-notifier (0.5.0)
|
||||
slop (3.5.0)
|
||||
spectrum-rails (1.3.4)
|
||||
railties (>= 3.1)
|
||||
sprockets (2.11.0)
|
||||
hike (~> 1.2)
|
||||
multi_json (~> 1.0)
|
||||
|
@ -415,6 +417,7 @@ DEPENDENCIES
|
|||
select2-rails (~> 3.5.4)
|
||||
shoulda-matchers
|
||||
slack-notifier (~> 0.5.0)
|
||||
spectrum-rails
|
||||
therubyracer (~> 0.12.1)
|
||||
twilio-ruby (~> 3.11.5)
|
||||
twitter (~> 5.8.0)
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#= require json2
|
||||
#= require jquery.json-editor
|
||||
#= require latlon_and_geo
|
||||
#= require spectrum
|
||||
#= require ./worker-checker
|
||||
#= require_self
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
*= require select2-bootstrap
|
||||
*= require jquery.json-editor
|
||||
*= require rickshaw
|
||||
*= require spectrum
|
||||
*= require_tree .
|
||||
*= require_self
|
||||
*/
|
||||
|
@ -186,3 +187,17 @@ h2 .scenario, a span.label.scenario {
|
|||
.color-success {
|
||||
color: #5cb85c;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
.sp-replacer {
|
||||
@extend .form-control;
|
||||
}
|
||||
|
||||
.sp-preview {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sp-dd {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue