// IBus Candidate Popup

$popover_arrow_height: 6px;

.candidate-popup-boxpointer {
  -arrow-border-radius: $radius + 2px;
  -arrow-background-color: $bg_color;
  -arrow-border-width: 1px;
  -arrow-border-color: $borders_color;
  -arrow-base: $popover_arrow_height * 2;
  -arrow-rise: $popover_arrow_height;
  -arrow-box-shadow: 0 1px 3px rgba(0,0,0,0.5); // dreaming bugzilla #689995
}

.candidate-popup-content {
  padding: 0.5em;
  spacing: 0.3em;
}

.candidate-index {
  padding: 0 0.5em 0 0;
  color: darken($fg_color,10%);
}

.candidate-box {
  padding: 0.3em 0.5em 0.3em 0.5em;
  border-radius: $radius;
  color: $fg_color;
  &:selected,&:hover { background-color: $bg_color4; }
}

.candidate-page-button-box {
  height: 2em;
  .vertical & { padding-top: 0.5em; }
  .horizontal & { padding-left: 0.5em; }
}

.candidate-page-button {
  padding: 4px;
}

.candidate-page-button-previous { border-radius: $radius 0px 0px $radius; border-right-width: 0; }
.candidate-page-button-next { border-radius: 0px $radius $radius 0px;  }
.candidate-page-button-icon { icon-size: 1em; }