diff --git a/Gemfile b/Gemfile index b141677f..965db10d 100644 --- a/Gemfile +++ b/Gemfile @@ -12,16 +12,14 @@ gem 'slim-rails' # Awesome template language that replaces ERB gem 'uglifier', '>= 1.3.0' # Use Uglifier as compressor for JavaScript assets -gem 'coffee-rails', '~> 4.2' # Use CoffeeScript for .js.coffee assets and views +gem 'coffee-rails', '~> 4.2' # CoffeeScript adapter for the Rails asset pipeline -gem 'sass-rails', '~> 5.0' # Use Sass for stylesheets - -gem 'compass-rails' # Compass framework +gem 'sass-rails' # Use Sass for stylesheets # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby -gem 'bootstrap-sass' # Sleek, intuitive, and powerful front-end framework +gem 'bootstrap', '~> 4.0.0' # Bootstrap 4 Ruby Gem for Rails / Sprockets and Compass gem 'font-awesome-rails' # The iconic font and CSS toolkit diff --git a/Gemfile.lock b/Gemfile.lock index 85d4e22e..3e2525a0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,64 +7,64 @@ GIT GIT remote: git://github.com/teampoltergeist/poltergeist.git - revision: 733b084a32d5c424dd9b4f4a9c2225cf6e1b5d76 + revision: 13df4b67b05bcc878ee3def2eedcd1d54b352699 specs: - poltergeist (1.16.0) - capybara (~> 2.1) + poltergeist (1.17.0) + capybara (>= 2.1, < 4) cliver (~> 0.3.1) websocket-driver (>= 0.2.0) GEM remote: https://rubygems.org/ specs: - actioncable (5.1.4) - actionpack (= 5.1.4) + actioncable (5.1.5) + actionpack (= 5.1.5) nio4r (~> 2.0) websocket-driver (~> 0.6.1) - actionmailer (5.1.4) - actionpack (= 5.1.4) - actionview (= 5.1.4) - activejob (= 5.1.4) + actionmailer (5.1.5) + actionpack (= 5.1.5) + actionview (= 5.1.5) + activejob (= 5.1.5) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (5.1.4) - actionview (= 5.1.4) - activesupport (= 5.1.4) + actionpack (5.1.5) + actionview (= 5.1.5) + activesupport (= 5.1.5) rack (~> 2.0) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.1.4) - activesupport (= 5.1.4) + actionview (5.1.5) + activesupport (= 5.1.5) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) actionview-encoded_mail_to (1.0.9) rails - activejob (5.1.4) - activesupport (= 5.1.4) + activejob (5.1.5) + activesupport (= 5.1.5) globalid (>= 0.3.6) - activemodel (5.1.4) - activesupport (= 5.1.4) - activerecord (5.1.4) - activemodel (= 5.1.4) - activesupport (= 5.1.4) + activemodel (5.1.5) + activesupport (= 5.1.5) + activerecord (5.1.5) + activemodel (= 5.1.5) + activesupport (= 5.1.5) arel (~> 8.0) - activesupport (5.1.4) + activesupport (5.1.5) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (~> 0.7) minitest (~> 5.1) tzinfo (~> 1.1) acts_as_list (0.9.10) activerecord (>= 3.0) - acts_as_tree (2.7.0) + acts_as_tree (2.7.1) activerecord (>= 3.0.0) addressable (2.5.2) public_suffix (>= 2.0.2, < 4.0) arel (8.0.0) - ast (2.3.0) - autoprefixer-rails (7.2.2) + ast (2.4.0) + autoprefixer-rails (8.0.0) execjs awesome_print (1.8.0) bcrypt (3.1.11) @@ -73,23 +73,24 @@ GEM erubi (>= 1.0.0) rack (>= 0.9.0) bindex (0.5.0) - bootstrap-sass (3.3.7) - autoprefixer-rails (>= 5.2.1) - sass (>= 3.3.4) + bootstrap (4.0.0) + autoprefixer-rails (>= 6.0.3) + popper_js (>= 1.12.9, < 2) + sass (>= 3.5.2) builder (3.2.3) - byebug (9.1.0) - cancancan (2.1.2) - capybara (2.16.1) + byebug (10.0.0) + cancancan (2.1.3) + capybara (2.18.0) addressable mini_mime (>= 0.1.3) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) - xpath (~> 2.0) + xpath (>= 2.0, < 4.0) capybara-screenshot (1.0.18) capybara (>= 1.0, < 3) launchy - carrierwave (1.2.1) + carrierwave (1.2.2) activemodel (>= 4.0.0) activesupport (>= 4.0.0) mime-types (>= 1.16) @@ -98,7 +99,6 @@ GEM mime-types (~> 3.0) childprocess (0.8.0) ffi (~> 1.0, >= 1.0.11) - chunky_png (1.3.8) cliver (0.3.2) cocoon (1.2.11) codeclimate-test-reporter (1.0.8) @@ -111,39 +111,22 @@ GEM coffee-script-source execjs coffee-script-source (1.12.2) - compass (1.0.3) - chunky_png (~> 1.2) - compass-core (~> 1.0.2) - compass-import-once (~> 1.0.5) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9) - sass (>= 3.3.13, < 3.5) - compass-core (1.0.3) - multi_json (~> 1.0) - sass (>= 3.3.0, < 3.5) - compass-import-once (1.0.5) - sass (>= 3.2, < 3.5) - compass-rails (3.0.2) - compass (~> 1.0.0) - sass-rails (< 5.1) - sprockets (< 4.0) concurrent-ruby (1.0.5) crass (1.0.3) css_parser (1.6.0) addressable database_cleaner (1.6.2) - devise (4.3.0) + devise (4.4.1) bcrypt (~> 3.0) orm_adapter (~> 0.1) railties (>= 4.1.0, < 5.2) responders warden (~> 1.2.3) - devise-i18n (1.5.0) + devise-i18n (1.5.1) devise (>= 3.4) diff-lcs (1.3) docile (1.1.5) - easy_translate (0.5.0) - json + easy_translate (0.5.1) thread thread_safe em-websocket (0.5.1) @@ -153,7 +136,7 @@ GEM htmlentities (~> 4.3.3) launchy (~> 2.1) mail (~> 2.6) - enumerize (2.1.2) + enumerize (2.2.0) activesupport (>= 3.2) erubi (1.7.0) eventmachine (1.2.5) @@ -165,22 +148,22 @@ GEM railties (>= 3.0.0) fancybox2-rails (0.2.7) railties (>= 3.1.0) - ffaker (2.7.0) - ffi (1.9.18) - font-awesome-rails (4.7.0.2) + ffaker (2.8.1) + ffi (1.9.21) + font-awesome-rails (4.7.0.3) railties (>= 3.2, < 5.2) formatador (0.2.5) - fuubar (2.2.0) + fuubar (2.3.1) rspec-core (~> 3.0) ruby-progressbar (~> 1.4) gaffe (1.2.0) rails (>= 4.0.0) globalid (0.4.1) activesupport (>= 4.2.0) - guard (2.14.1) + guard (2.14.2) formatador (>= 0.2.4) listen (>= 2.7, < 4.0) - lumberjack (~> 1.0) + lumberjack (>= 1.0.12, < 2.0) nenv (~> 0.1) notiffany (~> 0.0) pry (>= 0.9.12) @@ -211,12 +194,12 @@ GEM htmlentities (4.3.4) http_parser.rb (0.6.0) humanizer (2.6.4) - i18n (0.9.1) + i18n (0.9.5) concurrent-ruby (~> 1.0) - i18n-tasks (0.9.19) + i18n-tasks (0.9.20) activesupport (>= 4.0.2) ast (>= 2.1.0) - easy_translate (>= 0.5.0) + easy_translate (>= 0.5.1) erubi highline (>= 1.7.3) i18n @@ -231,13 +214,13 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (1.8.6) + json (2.1.0) launchy (2.4.3) addressable (~> 2.3) listen (3.0.8) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - loofah (2.1.1) + loofah (2.2.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) lumberjack (1.0.12) @@ -253,15 +236,15 @@ GEM mini_magick (4.8.0) mini_mime (1.0.0) mini_portile2 (2.3.0) - minitest (5.10.3) - mobility (0.3.4) + minitest (5.11.3) + mobility (0.4.2) i18n (>= 0.6.10, < 0.10) request_store (~> 1.0) - multi_json (1.12.2) + multi_json (1.13.1) mysql2 (0.4.10) nenv (0.3.0) - nio4r (2.1.0) - nokogiri (1.8.1) + nio4r (2.2.0) + nokogiri (1.8.2) mini_portile2 (~> 2.3.0) notiffany (0.1.1) nenv (~> 0.1) @@ -269,14 +252,15 @@ GEM open4 (1.3.4) orm_adapter (0.5.0) pandoc-ruby (2.0.2) - paper_trail (8.1.1) + paper_trail (8.1.2) activerecord (>= 4.2, < 5.2) request_store (~> 1.1) - parallel (1.12.0) + parallel (1.12.1) parser (2.4.0.2) ast (~> 2.3) - polyamorous (1.3.1) + polyamorous (1.3.3) activerecord (>= 3.0) + popper_js (1.12.9) powerpack (0.1.1) premailer (1.11.1) addressable @@ -288,29 +272,29 @@ GEM pry (0.11.3) coderay (~> 1.1.0) method_source (~> 0.9.0) - pry-byebug (3.5.1) - byebug (~> 9.1) + pry-byebug (3.6.0) + byebug (~> 10.0) pry (~> 0.10) pry-rails (0.3.6) pry (>= 0.10.4) - public_suffix (3.0.1) - puma (3.11.0) - rack (2.0.3) + public_suffix (3.0.2) + puma (3.11.2) + rack (2.0.4) rack-livereload (0.3.16) rack rack-test (0.8.2) rack (>= 1.0, < 3) - rails (5.1.4) - actioncable (= 5.1.4) - actionmailer (= 5.1.4) - actionpack (= 5.1.4) - actionview (= 5.1.4) - activejob (= 5.1.4) - activemodel (= 5.1.4) - activerecord (= 5.1.4) - activesupport (= 5.1.4) + rails (5.1.5) + actioncable (= 5.1.5) + actionmailer (= 5.1.5) + actionpack (= 5.1.5) + actionview (= 5.1.5) + activejob (= 5.1.5) + activemodel (= 5.1.5) + activerecord (= 5.1.5) + activesupport (= 5.1.5) bundler (>= 1.3.0) - railties (= 5.1.4) + railties (= 5.1.5) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) @@ -319,30 +303,31 @@ GEM rails (>= 3.2) rails-html-sanitizer (1.0.3) loofah (~> 2.0) - rails-i18n (5.0.4) - i18n (~> 0.7) - railties (~> 5.0) - railties (5.1.4) - actionpack (= 5.1.4) - activesupport (= 5.1.4) + rails-i18n (5.1.0) + i18n (>= 0.7, < 2) + railties (>= 5.0, < 6) + railties (5.1.5) + actionpack (= 5.1.5) + activesupport (= 5.1.5) method_source rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rainbow (2.2.2) rake rake (12.3.0) - ransack (1.8.4) + ransack (1.8.7) actionpack (>= 3.0) activerecord (>= 3.0) activesupport (>= 3.0) i18n - polyamorous (~> 1.3) + polyamorous (~> 1.3.2) rb-fsevent (0.10.2) rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) - rdoc (4.3.0) - request_store (1.3.2) - rerun (0.11.0) + rdoc (6.0.1) + request_store (1.4.0) + rack (>= 1.4) + rerun (0.13.0) listen (~> 3.0) respec (0.9.1) rspec (>= 2.11) @@ -355,7 +340,7 @@ GEM rspec-mocks (~> 3.7.0) rspec-collection_matchers (1.1.3) rspec-expectations (>= 2.99.0.beta1) - rspec-core (3.7.0) + rspec-core (3.7.1) rspec-support (~> 3.7.0) rspec-expectations (3.7.0) diff-lcs (>= 1.2.0, < 2.0) @@ -371,29 +356,32 @@ GEM rspec-expectations (~> 3.7.0) rspec-mocks (~> 3.7.0) rspec-support (~> 3.7.0) - rspec-support (3.7.0) - rubocop (0.51.0) + rspec-support (3.7.1) + rubocop (0.52.1) parallel (~> 1.10) - parser (>= 2.3.3.1, < 3.0) + parser (>= 2.4.0.2, < 3.0) powerpack (~> 0.1) - rainbow (>= 2.2.2, < 3.0) + rainbow (>= 2.2.2, < 4.0) ruby-progressbar (~> 1.7) unicode-display_width (~> 1.0, >= 1.0.1) ruby-progressbar (1.9.0) rubyzip (1.2.1) - sass (3.4.25) + sass (3.5.5) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) sass-rails (5.0.7) railties (>= 4.0.0, < 6) sass (~> 3.1) sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) - sdoc (0.4.2) - json (~> 1.7, >= 1.7.7) - rdoc (~> 4.0) - selenium-webdriver (3.8.0) + sdoc (1.0.0) + rdoc (>= 5.0) + selenium-webdriver (3.9.0) childprocess (~> 0.5) - rubyzip (~> 1.0) + rubyzip (~> 1.2) shellany (0.0.1) shoulda-matchers (3.1.2) activesupport (>= 4.0.0) @@ -437,9 +425,9 @@ GEM thread_safe (0.3.6) tilt (2.0.8) timeliness (0.3.8) - tzinfo (1.2.4) + tzinfo (1.2.5) thread_safe (~> 0.1) - uglifier (4.0.2) + uglifier (4.1.6) execjs (>= 0.3.0, < 3) unicode-display_width (1.3.0) validate_url (1.0.2) @@ -460,8 +448,8 @@ GEM websocket-driver (0.6.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.3) - xpath (2.1.0) - nokogiri (~> 1.3) + xpath (3.0.0) + nokogiri (~> 1.8) xray-rails (0.3.1) rails (>= 3.1.0) @@ -474,7 +462,7 @@ DEPENDENCIES acts_as_tree awesome_print better_errors - bootstrap-sass + bootstrap (~> 4.0.0) cancancan capybara (>= 2.2.0.beta) capybara-screenshot @@ -483,7 +471,6 @@ DEPENDENCIES cocoon codeclimate-test-reporter (~> 1.0.0) coffee-rails (~> 4.2) - compass-rails database_cleaner devise devise-i18n @@ -532,7 +519,7 @@ DEPENDENCIES rspec-collection_matchers rspec-rails rubocop - sass-rails (~> 5.0) + sass-rails sdoc selenium-webdriver shoulda-matchers diff --git a/README.rdoc b/README.rdoc index 8c180bfc..5e8850d0 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,3 +1,80 @@ +bootstrap 4 accessibility: + +- accordions nun keine tabs mehr + +accordion und panel helpers: konsolidieren? umbenennen? cards? fieldset? + +unify template: + +- schlechte fokus styles +- tastatur bedienbarkeit der dropdown menüs unmöglich?! + +the project template: + +- Focus styles often nearly invisible, which makes keyboard-only interaction very hard. At least there are often nice hover styles for mouse interaction, so could they easily be bound to focus events? + +- The multi level dropdowns aren't keyboard operable: it's impossible to reach an item on the 3rd navigation level! Whenever I hit enter to open a sub-sub-menu (or hit an arrow key), the whole menu simply collapses. + +- A lot of interactive widgets like sliders or lightboxes are not usable using keyboard. + +icons: + +- https://getbootstrap.com/docs/4.0/extend/icons/ + +generell: + +- aria-current="page" +- .sr-only-focusable +- .dl-horizontal entfernt! +- renamed .img-rounded to .rounded + - .img-fluid für responsive bilder? +- .table-responsive => wie funktioniert das? ist es zugänglich? +- .table-condensed => wie funktioniert das? ist es zugänglich? +- .help-block renamed to .form-text +- Dropped .radio-inline and .checkbox-inline +- Replaced .has-error, .has-warning, and .has-success classes with :invalid and :valid pseudo-classes +- Renamed .btn-default to .btn-secondary +- Dropdowns can be built with
s or