@mixin infobar() {
  infobar {
    border: none;
  }

  .info {
    color: $info_fg_color;
    background-image: none;
    background-color: $info_bg_color;

    button {
      color: $info_fg_color;
      background-image: none;
      background-color: gtkshade($info_bg_color, 1.08);

      &:hover {
        background-color: gtkshade($info_bg_color, 1.10);
      }

      &:active {
        background-color: gtkshade($info_bg_color, 0.95);

        &:hover {
        }
      }
      &.close {
        color: $info_fg_color;

        &:hover {
          background-color: gtkalpha($light_shadow, 0.2);
        }

        &:active {
          color: $info_fg_color;
          background-color: gtkalpha($dark_shadow, 0.1);
        }
      }
    }
  }

  .warning {
    color: $warning_fg_color;
    background-image: none;
    background-color: $warning_bg_color;

    button {
      color: $warning_fg_color;
      background-image: none;
      background-color: gtkshade($warning_bg_color, 1.08);

      &:hover {
        background-color: gtkshade($warning_bg_color, 1.10);
      }

      &:active {
        background-color: gtkshade($warning_bg_color, 0.95);

        &:hover {
        }
      }

      &.close {
        color: $warning_fg_color;

        &:hover {
          background-color: gtkalpha($light_shadow, 0.2);
        }

        &:active {
          color: $warning_fg_color;
          background-color: gtkalpha($dark_shadow, 0.1);
        }
      }
    }
  }

  .question {
    color: $question_fg_color;
    background-image: none;
    background-color: $question_bg_color;

    button {
      color: $question_fg_color;
      background-image: none;
      background-color: gtkshade($question_bg_color, 1.08);

      &:hover {
        background-color: gtkshade($question_bg_color, 1.10);
      }

      &:active {
        background-color: gtkshade($question_bg_color, 0.95);

        &:hover {
        }
      }

      &.close {
        color: $question_fg_color;

        &:hover {
          background-color: gtkalpha($light_shadow, 0.2);
        }

        &:active {
          color: $question_fg_color;
          background-color: gtkalpha($dark_shadow, 0.1);
        }
      }
    }
  }

  .error {
    background-color: $error_bg_color;
    background-image: none;
    color: $error_fg_color;

    button {
      color: $error_fg_color;
      background-image: none;
      background-color: gtkshade($error_bg_color, 1.08);

      &:hover {
        background-color: gtkshade($error_bg_color, 1.10);
      }

      &:active {
        background-color: gtkshade($error_bg_color, 0.95);

        &:hover {
        }
      }

      &.close {
        color: $error_fg_color;

        &:hover {
          background-color: gtkalpha($light_shadow, 0.2);
        }

        &:active {
          color: $error_fg_color;
          background-color: gtkalpha($dark_shadow, 0.1);
        }
      }
    }
  }
}
