/*
  CSS from: https://github.com/mdo/github-buttons
  Copyright 2014-2020 Mark Otto. Released under Apache 2.0.
*/

body,
html {
  background-color: transparent;
}

body {
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}
.slack-button {
  height: 20px;
  overflow: hidden;
  display: inline-block;
}
.slack-btn,
.slack-count,
.slack-ico {
  float: left;
}
.slack-btn,
.slack-count {
  padding: 2px 5px 2px 4px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color .2s ease-in;
}
.slack-btn {
  background-color: #eee;
  /* stylelint-disable-next-line function-no-unknown */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fcfcfc), to(#eee));
  background-image: linear-gradient(to bottom, #fcfcfc 0, #eee 100%);
  background-repeat: no-repeat;
  border: 1px solid #d5d5d5;
}
.slack-btn:hover,
.slack-btn:focus {
  text-decoration: none;
  background-color: #ddd;
  /* stylelint-disable-next-line function-no-unknown */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eee), to(#ddd));
  background-image: linear-gradient(to bottom, #eee 0, #ddd 100%);
  border-color: #ccc;
}
.slack-btn:active {
  background-color: #dcdcdc;
  background-image: none;
  border-color: #b5b5b5;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15);
}
.slack-ico {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.slack-count {
  position: relative;
  display: block;
  margin-left: 4px;
  background-color: #fafafa;
  border: 1px solid #d4d4d4;
}
.slack-count:hover,
.slack-count:focus {
  color: #0366d6;
}
.slack-count::before,
.slack-count::after {
  position: absolute;
  display: inline-block;
  width: 0;
  height: 0;
  content: "";
  border-color: transparent;
  border-style: solid;
  transition: border-color .2s ease-in;
}
.slack-count::before {
  top: 50%;
  left: -3px;
  margin-top: -4px;
  border-width: 4px 4px 4px 0;
  border-right-color: #fafafa;
}
.slack-count::after {
  top: 50%;
  left: -4px;
  z-index: -1;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #d4d4d4;
}

.slack-count.anim {
  background-color: #ff0;
}
.slack-count.anim::before {
  border-right-color: #ff0;
}

.slack-btn-large {
  height: 30px;
}
.slack-btn-large .slack-btn,
.slack-btn-large .slack-count {
  padding: 3px 10px 3px 8px;
  font-size: 16px;
  line-height: 22px;
  border-radius: 4px;
}
.slack-btn-large .slack-ico {
  width: 20px;
  height: 20px;
}
.slack-btn-large .slack-count {
  margin-left: 6px;
}
.slack-btn-large .slack-count::before {
  left: -5px;
  margin-top: -6px;
  border-width: 6px 6px 6px 0;
}
.slack-btn-large .slack-count::after {
  left: -6px;
  margin-top: -7px;
  border-width: 7px 7px 7px 0;
}
