From ac07aa5828e02333e6e363315f360de088e70c98 Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Mon, 6 Feb 2012 16:51:14 -0500 Subject: [PATCH] Added hints on enroll form --- create_account.html | 30 +++++++++++++----------------- sass/_leanmodal.scss | 40 +++++++++++++++++++++++++++++++++++++++- sass/_wiki.scss | 6 +++++- 3 files changed, 57 insertions(+), 19 deletions(-) diff --git a/create_account.html b/create_account.html index 58d13936a6..0b15a323e2 100644 --- a/create_account.html +++ b/create_account.html @@ -9,56 +9,52 @@
    -
  1. +
  2. -
  3. +
  4. -
  5. +
  6. - +
    Nickname you'd like to use on forums.
  7. - -
  8. - +
  9. + - +
    If you would like us to give you a certificate of completion at the end, we need your full legal name, as you would like it to appear on the certificate (e.g. "John Smith, Jr").
  10. -
  11. +
  12. - - +
    Preferred format is city, state, country (so for us, "Cambridge, Massachusetts, USA").
  13. -
  14. +
  15. - +
    Please let us know what language you'd most like to see the content in (even if not your native). We're working on translations and internationalization.
  16. - +
  17. + I agree to the Honor code.*
    • Not engage in any activities that would dishonestly improve my results, or improve or hurt those of others.
    • Never post answers to problems.
    • diff --git a/sass/_leanmodal.scss b/sass/_leanmodal.scss index 8c14db22d4..5e26491b33 100644 --- a/sass/_leanmodal.scss +++ b/sass/_leanmodal.scss @@ -28,12 +28,49 @@ div.leanModal_box { &#enroll { max-width: 600px; + + ol { + @extend .clearfix; + + li { + width: 239px; + float: left; + + &.email, &.username, &.location { + margin-right: 20px; + } + + &.terms, &.honor-code { + width: auto; + float: none; + } + + div.tip { + display: none; + } + + &:hover { + div.tip { + display: block; + line-height: lh(); + position: absolute; + background: #333; + color: #fff; + width: 239px; + margin: 0 0 0 -10px; + padding: 10px; + -webkit-font-smoothing: antialiased; + font-size: 16px; + } + } + } + } } form { text-align: left; - div#enroll_error, div#login_error { + div#enroll_error, div#login_error, div#pwd_error { -webkit-font-smoothing: antialiased; background-color: #F50200; color: #fff; @@ -50,6 +87,7 @@ div.leanModal_box { ol { list-style: none; + margin-bottom: lh(); li { margin-bottom: lh(.5); diff --git a/sass/_wiki.scss b/sass/_wiki.scss index a3c6c95e3c..86b90c43d6 100644 --- a/sass/_wiki.scss +++ b/sass/_wiki.scss @@ -78,6 +78,10 @@ div.wiki-wrapper { header { @extend .topbar; + &:empty { + display: none !important; + } + a { @extend .block-link; } @@ -110,7 +114,7 @@ div.wiki-wrapper { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; - padding: lh(.75); + padding: 14px; margin: 0; &:hover {