application.css.scss.erb 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. /*
  2. * This is a manifest file that'll be compiled into application.css, which will include all the files
  3. * listed below.
  4. *
  5. * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
  6. * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
  7. *
  8. * You're free to add application-wide styles to this file and they'll appear at the top of the
  9. * compiled file, but it's generally better to create a new file per style scope.
  10. *
  11. *= require select2
  12. *= require select2-bootstrap
  13. *= require jquery.json-editor
  14. *= require rickshaw
  15. *= require_tree .
  16. *= require_self
  17. */
  18. @import "bootstrap";
  19. body { padding-top: 60px; }
  20. #main {
  21. margin-bottom: 100px;
  22. }
  23. /* Rails scaffold style compatibility */
  24. #error_explanation {
  25. @extend .alert;
  26. @extend .alert-error;
  27. @extend .alert-block;
  28. }
  29. .field_with_errors {
  30. @extend .control-group.error;
  31. }
  32. table.events {
  33. .payload {
  34. color: #999;
  35. font-size: 12px;
  36. //text-align: center;
  37. font-family: monospace;
  38. }
  39. }
  40. .select2 {
  41. float: none !important;
  42. margin-left: 0 !important;
  43. }
  44. img.odin {
  45. position: relative;
  46. top: -32px;
  47. }
  48. .link-region .cannot-receive-events,
  49. .schedule-region .cannot-be-scheduled {
  50. display: none;
  51. }
  52. img.spinner {
  53. display: none;
  54. vertical-align: bottom;
  55. }
  56. .hidden {
  57. display: none;
  58. }
  59. #show-tabs {
  60. margin-top: 10px;
  61. height: 400px;
  62. }
  63. .digraph {
  64. margin-top: 20px;
  65. }
  66. .show-view {
  67. overflow: hidden;
  68. }
  69. span.not-applicable:after {
  70. color: #bbbbbb;
  71. content: "n/a";
  72. }
  73. // Navbar
  74. #job-indicator, #event-indicator {
  75. display: none;
  76. }
  77. .navbar-search > .spinner {
  78. position: absolute;
  79. top: -1px;
  80. right: 1px;
  81. }
  82. // Flash
  83. .flash {
  84. position: fixed;
  85. width: 210px;
  86. z-index: 99999;
  87. right: 20px;
  88. .alert {
  89. }
  90. }
  91. // Logs
  92. #logs .action-icon {
  93. height: 16px;
  94. display: inline-block;
  95. vertical-align: inherit;
  96. &.refresh {
  97. margin: 0 10px;
  98. }
  99. }
  100. #show-tabs li a.recent-errors {
  101. font-weight: bold;
  102. }
  103. // Credentials
  104. #ace-credential-value {
  105. position: relative;
  106. width: 940px;
  107. height: 400px;
  108. }
  109. // Disabled
  110. .agent-disabled {
  111. opacity: 0.5;
  112. }
  113. // Fix JSON Editor
  114. .json-editor blockquote {
  115. font-size: 14px;
  116. }
  117. // Bootstrappy colour styles
  118. .color-danger {
  119. color: #d9534f;
  120. }
  121. .color-warning {
  122. color: #f0ad4e;
  123. }
  124. .color-success {
  125. color: #5cb85c;
  126. }