application.css.scss.erb 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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 spectrum
  16. *= require_tree .
  17. *= require_self
  18. */
  19. @import "bootstrap";
  20. body { padding-top: 60px; }
  21. #main {
  22. margin-bottom: 100px;
  23. }
  24. /* Rails scaffold style compatibility */
  25. #error_explanation {
  26. @extend .alert;
  27. @extend .alert-error;
  28. @extend .alert-block;
  29. }
  30. .field_with_errors {
  31. @extend .control-group.error;
  32. }
  33. table.events {
  34. .payload {
  35. color: #999;
  36. font-size: 12px;
  37. //text-align: center;
  38. font-family: monospace;
  39. }
  40. }
  41. .select2 {
  42. float: none !important;
  43. margin-left: 0 !important;
  44. }
  45. img.odin {
  46. position: relative;
  47. top: -32px;
  48. }
  49. .link-region .cannot-receive-events,
  50. .schedule-region .cannot-be-scheduled {
  51. display: none;
  52. }
  53. img.spinner {
  54. display: none;
  55. vertical-align: bottom;
  56. }
  57. .hidden {
  58. display: none;
  59. }
  60. #show-tabs {
  61. margin-top: 10px;
  62. height: 400px;
  63. }
  64. .digraph {
  65. margin-top: 20px;
  66. }
  67. .show-view {
  68. overflow: hidden;
  69. }
  70. span.not-applicable:after {
  71. color: #bbbbbb;
  72. content: "n/a";
  73. }
  74. // Navbar
  75. #job-indicator, #event-indicator {
  76. display: none;
  77. }
  78. .navbar-search > .spinner {
  79. position: absolute;
  80. top: -1px;
  81. right: 1px;
  82. }
  83. .navbar {
  84. .dropdown.dropdown-hover:hover .dropdown-menu {
  85. display: block;
  86. }
  87. }
  88. // Flash
  89. .flash {
  90. position: fixed;
  91. width: 210px;
  92. z-index: 99999;
  93. right: 20px;
  94. .alert {
  95. }
  96. }
  97. // Heroku
  98. .heroku-instructions {
  99. color: rgba(255, 255, 255, 0.9);
  100. background-color: rgba(132, 132, 196, 0.8);
  101. border: 3px solid rgba(132, 132, 196, 0.5);
  102. -webkit-border-radius: 4px;
  103. -moz-border-radius: 4px;
  104. border-radius: 4px;
  105. padding: 12px;
  106. margin-bottom: 10px;
  107. a {
  108. text-decoration: underline;
  109. }
  110. a:link {
  111. color: inherit;
  112. }
  113. a:hover, a:visited, a:active {
  114. color: #fff;
  115. }
  116. pre {
  117. background-color: #ffffff;
  118. color: #3F3F44;
  119. margin: 4px;
  120. }
  121. }
  122. // Logs
  123. #logs .action-icon {
  124. height: 16px;
  125. display: inline-block;
  126. vertical-align: inherit;
  127. &.refresh {
  128. margin: 0 10px;
  129. }
  130. }
  131. #show-tabs li a.recent-errors {
  132. font-weight: bold;
  133. }
  134. // Credentials
  135. #ace-credential-value {
  136. position: relative;
  137. width: 940px;
  138. height: 400px;
  139. }
  140. // Disabled
  141. .agent-disabled {
  142. opacity: 0.5;
  143. }
  144. // JSON Editor
  145. .live-json-editor {
  146. font-family: "Courier New", Courier, monospace;
  147. }
  148. .json-editor blockquote {
  149. font-size: 14px;
  150. }
  151. // Position tweeks
  152. .hover-help {
  153. top: 2px;
  154. }
  155. .popover {
  156. dd {
  157. margin-left: 1em;
  158. }
  159. }
  160. h2 .scenario, a span.label.scenario {
  161. position: relative;
  162. top: -2px;
  163. }
  164. // Bootstrappy color styles
  165. .color-danger {
  166. color: #d9534f;
  167. }
  168. .color-warning {
  169. color: #f0ad4e;
  170. }
  171. .color-success {
  172. color: #5cb85c;
  173. }
  174. .form-group {
  175. .sp-replacer {
  176. @extend .form-control;
  177. }
  178. .sp-preview {
  179. width: 100%;
  180. }
  181. .sp-dd {
  182. display: none;
  183. }
  184. }