diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-23 13:07:25 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-23 13:07:25 -0400 |
commit | 1ea3366c70ad87f2c0d3fa3ae3a56f27b691f696 (patch) | |
tree | 5446ee7a134b0aab31d4a232008f96acd88a291a /app/assets/stylesheets | |
parent | 395a12042bbe9c4eeca60e41c75004c3bdad4e87 (diff) |
clean up the javascript everywhere
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/custom.css.scss | 12 | ||||
-rw-r--r-- | app/assets/stylesheets/search.css.scss | 11 |
2 files changed, 11 insertions, 12 deletions
diff --git a/app/assets/stylesheets/custom.css.scss b/app/assets/stylesheets/custom.css.scss index d7f1698..2fecd13 100644 --- a/app/assets/stylesheets/custom.css.scss +++ b/app/assets/stylesheets/custom.css.scss @@ -74,4 +74,14 @@ p.errors { font-size: 12px; list-style: square; } -}
\ No newline at end of file +} + +// Limitation: Only one box can be expanded at a time +.collapsible { + .collapsed { display: block; } + .expanded { display: none; } + &:target { + .collapsed { display: none; } + .expanded { display: block; } + } +} diff --git a/app/assets/stylesheets/search.css.scss b/app/assets/stylesheets/search.css.scss index 69cd1ad..22fd394 100644 --- a/app/assets/stylesheets/search.css.scss +++ b/app/assets/stylesheets/search.css.scss @@ -1,14 +1,3 @@ // Place all the styles related to the search controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ - -#search-down { - text-align: center; - cursor: pointer; - text-decoration: underline; -} - - -#advanced-search { - display: none; -}
\ No newline at end of file |