got rid of nprogress
This commit is contained in:
parent
38e5550241
commit
3574993746
1
Gemfile
1
Gemfile
|
@ -28,7 +28,6 @@ gem 'devise'
|
||||||
gem 'devise-async'
|
gem 'devise-async'
|
||||||
gem 'bootstrap_form'
|
gem 'bootstrap_form'
|
||||||
gem 'font-kit-rails'
|
gem 'font-kit-rails'
|
||||||
gem 'nprogress-rails'
|
|
||||||
gem 'font-awesome-rails', '~> 4.2.0.0'
|
gem 'font-awesome-rails', '~> 4.2.0.0'
|
||||||
gem 'rails-assets-growl'
|
gem 'rails-assets-growl'
|
||||||
gem "paperclip", "~> 4.2"
|
gem "paperclip", "~> 4.2"
|
||||||
|
|
|
@ -163,7 +163,6 @@ GEM
|
||||||
mini_portile (~> 0.6.0)
|
mini_portile (~> 0.6.0)
|
||||||
nokogumbo (1.2.0)
|
nokogumbo (1.2.0)
|
||||||
nokogiri
|
nokogiri
|
||||||
nprogress-rails (0.1.6.3)
|
|
||||||
oauth (0.4.7)
|
oauth (0.4.7)
|
||||||
omniauth (1.2.2)
|
omniauth (1.2.2)
|
||||||
hashie (>= 1.2, < 4)
|
hashie (>= 1.2, < 4)
|
||||||
|
@ -368,7 +367,6 @@ DEPENDENCIES
|
||||||
jquery-rails
|
jquery-rails
|
||||||
jquery-turbolinks
|
jquery-turbolinks
|
||||||
mysql2
|
mysql2
|
||||||
nprogress-rails
|
|
||||||
omniauth
|
omniauth
|
||||||
omniauth-twitter
|
omniauth-twitter
|
||||||
paperclip (~> 4.2)
|
paperclip (~> 4.2)
|
||||||
|
|
|
@ -3,16 +3,13 @@
|
||||||
#= require jquery.turbolinks
|
#= require jquery.turbolinks
|
||||||
#= require turbolinks
|
#= require turbolinks
|
||||||
#= require bootstrap
|
#= require bootstrap
|
||||||
#= require nprogress
|
|
||||||
#= require nprogress-turbolinks
|
|
||||||
#= require growl
|
#= require growl
|
||||||
#= require cheet
|
#= require cheet
|
||||||
#= require jquery.guillotine
|
#= require jquery.guillotine
|
||||||
#= require sweet-alert
|
#= require sweet-alert
|
||||||
#= require_tree .
|
#= require_tree .
|
||||||
|
|
||||||
NProgress.configure
|
Turbolinks.enableProgressBar()
|
||||||
showSpinner: false
|
|
||||||
|
|
||||||
window.showNotification = (text, success=true) ->
|
window.showNotification = (text, success=true) ->
|
||||||
args =
|
args =
|
||||||
|
|
|
@ -34,6 +34,8 @@ body { padding-top: $navbar-height; }
|
||||||
|
|
||||||
@import "font-awesome";
|
@import "font-awesome";
|
||||||
|
|
||||||
$nprogress-color: darken($navbar-inverse-bg, 15%);
|
html.turbolinks-progress-bar::before {
|
||||||
@import 'nprogress';
|
background-color: darken($navbar-inverse-bg, 15%) !important;
|
||||||
@import 'nprogress-bootstrap';
|
box-shadow: 0px 0px 10px darken($navbar-inverse-bg, 15%), 0px 0px 5px darken($navbar-inverse-bg, 15%);
|
||||||
|
height: 2px !important;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue