1
0

application.css.scss.erb 4.0 KB

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