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/asset_index.html b/cms/templates/asset_index.html index 900ef3b697..173b751305 100644 --- a/cms/templates/asset_index.html +++ b/cms/templates/asset_index.html @@ -21,7 +21,7 @@