diff --git a/webui/assets/main.js b/webui/assets/main.js index e18c562fb..887181338 100644 --- a/webui/assets/main.js +++ b/webui/assets/main.js @@ -20,7 +20,8 @@ class REPL { // keyword: length of substring that comes after cursor "SetBit()": 1, "ClearBit()": 1, - "SetBitmapAttrs()": 1, + "SetRowAttrs()": 1, + "SetColumnAttrs()": 1, "Bitmap()": 1, "Union()": 1, "Intersect()": 1, diff --git a/webui/assets/style.css b/webui/assets/style.css index 515335ef9..3a5bcaf39 100644 --- a/webui/assets/style.css +++ b/webui/assets/style.css @@ -295,4 +295,47 @@ td{ .expand { text-align: center; -} \ No newline at end of file +} + +.query h2 { + display: inline-block; +} + +.query-tooltip { + position: relative; + display: inline; + color: #000; + margin-left: 5px; +} + +.query-tooltip:hover { + color: #000; +} + +.query-tooltip-content { + background-color: rgb(250, 250, 250); + border: solid 1.5px #e4eff4; + color: #102445; + border-radius: 2px; + padding: 15px; + margin-bottom: 15px; + + position: absolute; + left: 80px; + top: -30px; + z-index: 1; +} + +.query-tooltip-container { + position: relative; + visibility: hidden; +} + +.query-tooltip:hover+.query-tooltip-container{ + visibility: visible; +} + +.code{ + font-family: monospace; +} + diff --git a/webui/index.html b/webui/index.html index 8422d4c45..09e39d17a 100644 --- a/webui/index.html +++ b/webui/index.html @@ -35,28 +35,60 @@