diff --git a/cms/static/sass/_base.scss b/cms/static/sass/_base.scss index c1875edb06..bfa305c582 100644 --- a/cms/static/sass/_base.scss +++ b/cms/static/sass/_base.scss @@ -337,4 +337,32 @@ body.show-wip { content: ''; @extend .spinner-icon; } +} + +.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: 400; + 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..1675e6b07f 100644 --- a/cms/templates/base.html +++ b/cms/templates/base.html @@ -9,6 +9,9 @@ <%static:css group='base-style'/> + + + <%block name="title"></%block> @@ -26,6 +29,9 @@ + + + <%static:js group='main'/> <%static:js group='module-js'/> @@ -33,6 +39,7 @@ + - - - - -