diff --git a/lms/static/sass/multicourse/_course_about.scss b/lms/static/sass/multicourse/_course_about.scss index ecd7426ba4..5e85f09387 100644 --- a/lms/static/sass/multicourse/_course_about.scss +++ b/lms/static/sass/multicourse/_course_about.scss @@ -500,21 +500,21 @@ } .share { - height: 44px; display: inline-block; - margin-right: 10px; + height: 35px; + width: 35px; + margin-right: ($baseline); + margin-top: ($baseline/4); + font-size: 1.75em; + text-decoration: none; + color: $black; opacity: 0.5; @include transition(all 0.15s linear 0s); - width: 44px; &:hover, &:focus { opacity: 1.0; } - img { - width: 100%; - } - &:last-child { margin-right: 0px; } @@ -532,21 +532,21 @@ .important-dates { list-style: none; margin: 0px; - padding: 0px 10px; + padding: 0 ($baseline/2); li { @include clearfix; border-bottom: 1px dotted $border-color-2; - margin-bottom: 20px; - padding-bottom: 10px; + margin-bottom: $baseline; + padding-bottom: ($baseline/2); &.prerequisites { border: 1px solid $border-color-2; - margin: 0 -10px 0; - padding: 10px; + margin: 0 -($baseline/2) 0; + padding: ($baseline/2); p { - margin-right: 10px; + margin-right: ($baseline/2); } } @@ -563,37 +563,10 @@ } .icon { - background-size: cover; - float: left; - height: 19px; - margin: 2px 10px 0 0; - opacity: 0.6; - @include transition(all 0.15s linear 0s); - width: 19px; - - &.start { - @include background-image(url('../images/portal-icons/calendar-icon.png')); - } - - &.end { - @include background-image(url('../images/portal-icons/calendar-icon.png')); - } - - &.length { - @include background-image(url('../images/portal-icons/chart-icon.png')); - } - - &.course-number { - @include background-image(url('../images/portal-icons/course-info-icon.png')); - } - - &.effort { - @include background-image(url('../images/portal-icons/pencil-icon.png')); - } - - &.prereq { - @include background-image(url('../images/portal-icons/prerec-icon.png')); - } + float: left; + padding: 1px; + margin: ($baseline/5) ($baseline/2) 0 0; + opacity: .6; } span { diff --git a/lms/templates/courseware/course_about.html b/lms/templates/courseware/course_about.html index 24d162cad1..620de57eb8 100644 --- a/lms/templates/courseware/course_about.html +++ b/lms/templates/courseware/course_about.html @@ -237,10 +237,10 @@ ## want here (and on this whole page, really). % if self.stanford_theme_enabled(): - Tweet that you've registered for this course + Tweet that you've registered for this course - Email someone to say you've registered for this course + Email someone to say you've registered for this course % else: <% @@ -276,13 +276,13 @@ ).replace(u" ", u"%20") %> - Tweet that you've registered for this course + Tweet that you've registered for this course - Post a Facebook message to say you've registered for this course + Post a Facebook message to say you've registered for this course - Email someone to say you've registered for this course + Email someone to say you've registered for this course % endif @@ -290,15 +290,15 @@
    -
  1. ${_("Course Number")}

    ${course.display_number_with_default | h}
  2. +
  3. ${_("Course Number")}

    ${course.display_number_with_default | h}
  4. % if not course.start_date_is_still_default: -
  5. ${_("Classes Start")}

    ${course.start_datetime_text()}
  6. +
  7. ${_("Classes Start")}

    ${course.start_datetime_text()}
  8. % endif ## We plan to ditch end_date (which is not stored in course metadata), ## but for backwards compatibility, show about/end_date blob if it exists. % if get_course_about_section(course, "end_date") or course.end:
  9. -
    +

    ${_("Classes End")}

    % if get_course_about_section(course, "end_date"): ${get_course_about_section(course, "end_date")} @@ -310,13 +310,13 @@ % endif % if get_course_about_section(course, "effort"): -
  10. ${_("Estimated Effort")}

    ${get_course_about_section(course, "effort")}
  11. +
  12. ${_("Estimated Effort")}

    ${get_course_about_section(course, "effort")}
  13. % endif - ##
  14. ${_('Course Length')}

    ${_('{number} weeks').format(number=15)}
  15. + ##
  16. ${_('Course Length')}

    ${_('{number} weeks').format(number=15)}
  17. % if get_course_about_section(course, "prerequisites"): -
  18. ${_("Prerequisites")}

    ${get_course_about_section(course, "prerequisites")}
  19. +
  20. ${_("Prerequisites")}

    ${get_course_about_section(course, "prerequisites")}
  21. % endif