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