From 37e0d98fec68f13eb83201df9c217ed364274948 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 20 Dec 2012 09:32:15 -0500 Subject: [PATCH] course listings - new html and css for ordering - wip --- lms/static/sass/shared/_course_object.scss | 17 + .../static_templates/_courses-newlisting.html | 301 ++++++++++++++++++ 2 files changed, 318 insertions(+) create mode 100644 lms/templates/static_templates/_courses-newlisting.html diff --git a/lms/static/sass/shared/_course_object.scss b/lms/static/sass/shared/_course_object.scss index 374caf4898..3adcc11534 100644 --- a/lms/static/sass/shared/_course_object.scss +++ b/lms/static/sass/shared/_course_object.scss @@ -13,6 +13,23 @@ } } + .courses-listing { + @include clearfix(); + margin: 0; + padding: 0; + list-style: none; + + .courses-listing-item { + width: flex-grid(4); + margin-right: flex-gutter(); + float: left; + + &:nth-child(3n+3) { + margin-right: 0; + } + } + } + .course { background: rgb(250,250,250); border: 1px solid rgb(180,180,180); diff --git a/lms/templates/static_templates/_courses-newlisting.html b/lms/templates/static_templates/_courses-newlisting.html new file mode 100644 index 0000000000..4d67304fd6 --- /dev/null +++ b/lms/templates/static_templates/_courses-newlisting.html @@ -0,0 +1,301 @@ + \ No newline at end of file