/* Banner: plain .flash box, colours come from an inline style. */
div.flash.vacation-message {
  position: relative;
  padding-left: 10px;
  padding-right: 32px;
  background-image: none;
}

#vacation-messages div.flash.vacation-message:last-child {
  margin-bottom: 12px;
}

div.flash.vacation-message a {
  color: inherit;
  text-decoration: underline;
}

button.vacation-dismiss {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
  opacity: 0.6;
}

button.vacation-dismiss:hover,
button.vacation-dismiss:focus { opacity: 1; }

/* Badge next to user links */
.vacation-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 8px;
  background: #ffebc1;
  color: #6b4e00;
  font-size: 0.8em;
  line-height: 1.5;
  vertical-align: baseline;
  cursor: help;
}

/* Assignee hint inside the issue form / details */
div.flash.vacation-assignee-hint {
  margin: 6px 0;
}

/* Lists */
table.vacation-messages td.period,
table.vacation-overview td.period { white-space: nowrap; }
table.vacation-messages td.text,
table.vacation-overview td.text,
table.vacation-overview td.user   { text-align: left; }
table.vacation-messages tr.vacation-active td,
table.vacation-overview tr.vacation-active td { font-weight: bold; }
.vacation-lead { color: #777; font-size: 0.9em; }

.vacation-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid;
  border-radius: 2px;
}

.vacation-profile li.vacation-active { font-weight: bold; }

form.vacation-owner-filter { margin-bottom: 1em; }

/* Form */
#vacation-message-form input.vacation-color {
  width: 48px;
  height: 24px;
  padding: 0 2px;
  vertical-align: middle;
}

#vacation-message-form select[multiple] { min-width: 250px; }

#vacation-message-form .vacation-preview {
  display: block;
  margin: 0;
}

.vacation-presets { margin-left: 8px; }

button.vacation-preset {
  width: 22px;
  height: 22px;
  margin: 0 2px;
  padding: 0;
  vertical-align: middle;
  border: 1px solid #999;
  border-radius: 3px;
  cursor: pointer;
}

/* Person picker (My page block, home page setting) */
.vacation-user-picker { display: inline-block; }
.vacation-user-chips { display: inline; }
.vacation-user-chip {
  display: inline-block;
  margin: 0 4px 4px 0;
  padding: 1px 2px 1px 8px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f4f4f4;
  white-space: nowrap;
}
button.vacation-user-chip-remove {
  margin-left: 2px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.vacation-block-scope { font-weight: normal; color: #777; font-size: 0.9em; }
div.box.vacation-welcome table.list { margin-bottom: 6px; }
