IDK Compilation

@medeek regarding Medeek Floor - #50 by medeek I think having tooltips placed right next to tools is a good idea. It’s kind of like putting the help where it’s needed.

Example html
<button class="accordion main-accordion">
    Select Folder
    <span class="tooltip-container">
      <img src="../icons/info.svg" alt="Info" class="info-icon">
      <span class="custom-tooltip">Select the <b>Tag</b> or <b>Folder</b> checkbox to create a tag or folder. 
        <br><br>Select a folder in the folder hierarchy to <b>Highlight</b> it and add a tag or folder.
        <br><br>Use the <b>Update</b> button to update the folder hierarchy with tags and folders in the SketchUp Tags Panel.
      </span>
    </span>
  </button>
Example css
.tooltip-container {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.custom-tooltip {
  visibility: hidden;
  width: 220px;
  background-color: rgb(230, 232, 235);
  color: #333;
  font-size: 12px;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 2;
  top: -95px;
  left: 0%;
  transform: translateX(-100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .custom-tooltip {
  visibility: visible;
  opacity: 1;
}

.info-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  cursor: pointer;
  float: right;
}

Modus info icon: Info (Modus Outlined) · Modus Icons (trimble.com)

Looks like this:

I could imagine an enhanced version that’s formatted a like the Instructor panel.

1 Like