.jstb_ext_submenu {
  position: absolute;
  width: 300px;
  background-color: #F7F7F7;
  border: 1px solid #ccc;
  box-shadow: 5px 5px 5px #ccc;
  z-index: 100;
}

/* The menu is appended to <body>, outside .jstElements, so it must carry the
   toolbar button look and hover feedback itself (mirrors Redmine core's
   .jstElements button rules). */
.jstb_ext_submenu button {
  width: 100%;
  text-align: left;
  padding: 4px;
  border: 1px solid #ddd;
  background-color: #f7f7f7;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.7;
}

.jstb_ext_submenu button:hover {
  border-color: #bbb;
  background-color: #e5e5e5;
  opacity: 1;
}
