/**
 * @file
 * Dropbutton styles.
 *
 * @see /admin/structure/webform
 * @see /admin/structure/webform/manage/{webform}/results/submissions
 * @see /admin/structure/webform/manage/{webform}
 * @see /admin/structure/webform/manage/{webform}/handlers
 * @see /admin/structure/webform/manage/{webform}/variants
 */

/**
 * Fix webform submission views dropdown display.
 */
.js .webform-submission-views-dropbutton .dropbutton-wrapper {
  position: relative;
  display: block;
  min-height: 2em;
}

.js .webform-submission-views-dropbutton .dropbutton-widget {
  position: absolute;
}

/**
 * Hide dropbutton to prevent FOUC (flash of unstyled content).
 */
.webform-dropbutton .dropbutton-wrapper {
  visibility: hidden;
  min-width: 100px;
}

.webform-dropbutton .dropbutton-wrapper .dropbutton-widget {
  background-color: transparent;
}
