From 3f89fff3644f97be537e3d33b36e43408ba328b2 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 17 Oct 2012 11:21:19 -0400 Subject: [PATCH] add stylesheet for active admin integration --- .gitignore | 1 + .../stylesheets/cocoon/active_admin.css.scss | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 app/assets/stylesheets/cocoon/active_admin.css.scss diff --git a/.gitignore b/.gitignore index fa4ca05..25d51bd 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ spec/dummy/tmp/ .idea coverage/ Gemfile.lock +.sass-cache/ diff --git a/app/assets/stylesheets/cocoon/active_admin.css.scss b/app/assets/stylesheets/cocoon/active_admin.css.scss new file mode 100644 index 0000000..7fb1e61 --- /dev/null +++ b/app/assets/stylesheets/cocoon/active_admin.css.scss @@ -0,0 +1,22 @@ +li.cocoon { + & > label { + display: block; + width: 100%; + float: none; + } + + ol { + padding: 0; + width: auto; + float: none; + } + + fieldset { + padding: 1em; + } + + .links a { + @extend .button; + } +} +