From a3579e31834a1091dc26600066abdacf1f491ccd Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Mon, 10 Dec 2012 13:02:55 -0500 Subject: [PATCH 1/2] added in basic styles and plug-in reference for tool tip UI across Studio + Courseware Overview tool tip text --- cms/static/sass/_base.scss | 28 ++++++++++++++++++++++++++++ cms/templates/base.html | 1 + cms/templates/overview.html | 22 +++++++++++----------- 3 files changed, 40 insertions(+), 11 deletions(-) diff --git a/cms/static/sass/_base.scss b/cms/static/sass/_base.scss index 7f5dcacf8b..22a5a7e128 100644 --- a/cms/static/sass/_base.scss +++ b/cms/static/sass/_base.scss @@ -367,4 +367,32 @@ body.show-wip { .delete-icon { margin-right: 4px; } +} + +.tooltip { + position: absolute; + top: 0; + left: 0; + z-index: 99999; + padding: 0 10px; + border-radius: 3px; + background: rgba(0, 0, 0, 0.85); + font-size: 11px; + font-weight: normal; + line-height: 26px; + color: #fff; + pointer-events: none; + opacity: 0; + @include transition(opacity 0.1s ease-out); + + &:after { + content: '▾'; + display: block; + position: absolute; + bottom: -14px; + left: 50%; + margin-left: -7px; + font-size: 20px; + color: rgba(0, 0, 0, 0.85); + } } \ No newline at end of file diff --git a/cms/templates/base.html b/cms/templates/base.html index 9861f2a3de..90212fe7b8 100644 --- a/cms/templates/base.html +++ b/cms/templates/base.html @@ -33,6 +33,7 @@ +