Line 24: | Line 24: | ||
− | $(". | + | $(".collapsible_accordion_access").click(function(){ |
$(this).toggleClass("displaying_content"); | $(this).toggleClass("displaying_content"); | ||
$(this).parent().next().toggleClass("hide_content"); | $(this).parent().next().toggleClass("hide_content"); | ||
Line 803: | Line 803: | ||
/*used to hide content when it is added to a class */ | /*used to hide content when it is added to a class */ | ||
.hide_content, | .hide_content, | ||
− | . | + | .collapsible_accordion_content.hide_content { |
display:none; | display:none; | ||
} | } | ||
Line 1,018: | Line 1,018: | ||
/*wrapper for each month*/ | /*wrapper for each month*/ | ||
− | . | + | .collapsible_accordion { |
border-bottom: 1px solid #ddd; | border-bottom: 1px solid #ddd; | ||
float: left; | float: left; | ||
Line 1,026: | Line 1,026: | ||
/*contains all the deadlines for the month*/ | /*contains all the deadlines for the month*/ | ||
− | . | + | .collapsible_accordion_content { |
display:block; | display:block; | ||
margin-top:30px; | margin-top:30px; | ||
Line 1,053: | Line 1,053: | ||
/* button controling the show/hide of the month's events*/ | /* button controling the show/hide of the month's events*/ | ||
− | . | + | .collapsible_accordion_access{ |
background-color: #90528f; | background-color: #90528f; | ||
border: 2px solid #90528f; | border: 2px solid #90528f; | ||
Line 1,066: | Line 1,066: | ||
/*when hovering on the show/hide month content button*/ | /*when hovering on the show/hide month content button*/ | ||
− | . | + | .collapsible_accordion_access:hover { |
background-color:#542160; | background-color:#542160; | ||
border: 2px solid #542160; | border: 2px solid #542160; |
Revision as of 15:12, 30 May 2018