Making user certs collapsible, adding a recompilation script
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Place all the behaviors and hooks related to the matching controller here.
|
||||
# All this logic will automatically be available in application.js.
|
||||
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
|
||||
jQuery ->
|
||||
$('.collapsible dt').click ->
|
||||
$(this).parent().toggleClass('expanded')
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
// Place all the styles related to the UserCertifications controller here.
|
||||
// They will automatically be included in application.css.
|
||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||
|
||||
.collapsible dt { cursor: pointer; }
|
||||
.collapsible dt:before { content: '\229e'; }
|
||||
.collapsible dd { display: none; }
|
||||
|
||||
.expanded dt:before { content: '\229f'; }
|
||||
.expanded dd { display: block; }
|
||||
|
||||
Reference in New Issue
Block a user