diff --git a/README.md b/README.md index 1ac81ca..f913215 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,20 @@ Modern and responsive theme for Active Admin used by Formaweb. ## Installation -1. Please make sure that you are using Active Admin from their Github repo: +Please make sure that you are using Active Admin from their Github repo: + ``` gem 'activeadmin', github: 'activeadmin/activeadmin' ``` -2. Add this gem in your `Gemfile`: +Add this gem in your `Gemfile`: + ``` gem 'formadmin' ``` -3. So, bundle... +So, bundle... + ``` $ bundle install ``` @@ -35,3 +38,7 @@ Instead loading defaults... ``` @import 'formadmin/formadmin'; ``` + +## Screenshots + ++![Formadmin](formadmin.gif) diff --git a/app/assets/stylesheets/formadmin/atoms/_input.scss b/app/assets/stylesheets/formadmin/atoms/_input.scss index 5af097f..cfd6059 100644 --- a/app/assets/stylesheets/formadmin/atoms/_input.scss +++ b/app/assets/stylesheets/formadmin/atoms/_input.scss @@ -1,5 +1,6 @@ %input { appearance: none; + -webkit-appearance: none; background-color: $white; border: 1px solid rgba($silver, 0.75); border-radius: $radius; diff --git a/app/assets/stylesheets/formadmin/components/_form.scss b/app/assets/stylesheets/formadmin/components/_form.scss index e2609d2..237d4a1 100644 --- a/app/assets/stylesheets/formadmin/components/_form.scss +++ b/app/assets/stylesheets/formadmin/components/_form.scss @@ -128,6 +128,7 @@ form { input[type='checkbox'] { appearance: none; + -webkit-appearance: none; background-color: shade($white, 5%); border: 1px solid $silver; border-radius: $radius; diff --git a/app/assets/stylesheets/formadmin/components/_panel.scss b/app/assets/stylesheets/formadmin/components/_panel.scss index b9dca5d..464f3ac 100644 --- a/app/assets/stylesheets/formadmin/components/_panel.scss +++ b/app/assets/stylesheets/formadmin/components/_panel.scss @@ -1,5 +1,4 @@ .panel, -.section, .sidebar_section { @extend %box; margin-bottom: 20px; diff --git a/app/assets/stylesheets/formadmin/components/_table.scss b/app/assets/stylesheets/formadmin/components/_table.scss index f3d8589..2be07a4 100644 --- a/app/assets/stylesheets/formadmin/components/_table.scss +++ b/app/assets/stylesheets/formadmin/components/_table.scss @@ -1,8 +1,11 @@ +table { + border-collapse: separate; + width: 100%; +} + table.index_table { @extend %box; background-color: $white; - border-collapse: separate; - width: 100%; .centralized { text-align: center; @@ -168,7 +171,8 @@ table.index_table { } // Resource Attributes Table -.attributes_table { +.attributes_table, +.panel_contents { overflow: hidden; table { diff --git a/app/assets/stylesheets/formadmin/layouts/_footer.scss b/app/assets/stylesheets/formadmin/layouts/_footer.scss index aaa351b..08ebd5c 100644 --- a/app/assets/stylesheets/formadmin/layouts/_footer.scss +++ b/app/assets/stylesheets/formadmin/layouts/_footer.scss @@ -1,4 +1,4 @@ -.footer { +#footer.footer { background-color: $white; border-top: 1px solid $silver; box-shadow: 0 0 10px rgba($black, 0.1); diff --git a/formadmin.gif b/formadmin.gif new file mode 100644 index 0000000..3583d3f Binary files /dev/null and b/formadmin.gif differ diff --git a/lib/formadmin/version.rb b/lib/formadmin/version.rb index 772a0d5..edd5fd7 100644 --- a/lib/formadmin/version.rb +++ b/lib/formadmin/version.rb @@ -1,3 +1,3 @@ module Formadmin - VERSION = '0.1.4' + VERSION = '0.1.5' end