/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *
 *= require select2
 *= require jquery.json-editor
 *= require rickshaw
 *= require_tree .
 *= require_self
 */

$glyphicons-halflings-url: "<%= image_path "glyphicons-halflings.png" %>";
$glyphicons-halflings-white-url: "<%= image_path "glyphicons-halflings-white.png" %>";

@import "bootstrap";

body { padding-top: 60px; }

#main {
  margin-bottom: 100px;
}

/* Rails scaffold style compatibility */
#error_explanation {
  @extend .alert;
  @extend .alert-error;
  @extend .alert-block;
}

.field_with_errors {
  @extend .control-group.error;
}

table.events {
  .payload {
    color: #999;
    font-size: 12px;
    //text-align: center;
    font-family: monospace;
  }
}

.select2 {
  float: none !important;
  margin-left: 0 !important;
}

img.odin {
  position: relative;
  top: -32px;
}

.link-region .cannot-receive-events,
.schedule-region .cannot-be-scheduled {
  display: none;
}

img.spinner {
  display: none;
}

.hidden {
  display: none;
}

#show-tabs {
  margin-top: 10px;
  height: 400px;
}

.digraph {
  margin-top: 20px;
}

.show-view {
  overflow: hidden;
}

span.not-applicable:after {
  color: #bbbbbb;
  content: "n/a";
}

// Navbar

#job-indicator, #event-indicator {
  display: none;
}

.navbar-search > .spinner {
  position: absolute;
  top: -1px;
  right: 1px;
}

// Flash

.flash {
  position: fixed;
  width: 210px;
  z-index: 99999;
  right: 20px;

  .alert {
  }
}

// Logs

#logs .action-icon {
  height: 16px;
  display: inline-block;
  vertical-align: inherit;

  &.refresh {
    margin: 0 10px;
  }
}

#show-tabs li a.recent-errors {
  font-weight: bold;
}

// Credentials

#ace-credential-value {
  position: relative;
  width: 940px;
  height: 400px;
}