# HG changeset patch # User Nathan Phillip Brink # Date 2011-10-24 17:38:13 # Node ID 1bf6c5c1eb85c7d28d8b2ef054cd765ab228a87f # Parent 2fed344e05dc4b1136ec366836a02efc77a3f965 Generalize setting a CSS class based on the type of section on the input page, move cedarville-specific CSS to schools.d/cedarville.inc and add ILB to CSS. Fixes bug #121. diff --git a/school.d/cedarville.inc b/school.d/cedarville.inc --- a/school.d/cedarville.inc +++ b/school.d/cedarville.inc @@ -73,14 +73,34 @@ function cedarville_default_courses() function cedarville_page_css($school) { return <<' + '' + diff --git a/styles/general.css b/styles/general.css --- a/styles/general.css +++ b/styles/general.css @@ -138,18 +138,12 @@ a:hover { #container .section:nth-child(odd) td { background: #CCC; } -#container .section.lab td { - background: #96acc4; -} #container .none { background: none!important; } #container .emptyCell, .removeCell { background: none!important; } -#container .lab .deleteSection:before { - content: "LAB"; -} /* Input Formatting */