app.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. /**
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. body, html, body > .ember-view {
  19. height: 100%;
  20. overflow: visible;
  21. color: @text-color;
  22. background: #f6f6f8;
  23. font-family: "Open Sans","Helvetica Neue", sans-serif!important;
  24. }
  25. body, html {
  26. min-width: 1024px;
  27. }
  28. /*
  29. Over all style
  30. */
  31. text {
  32. font-size: 14px;
  33. }
  34. text.small {
  35. font-size: 8px;
  36. }
  37. html, body
  38. {
  39. margin: 0px;
  40. padding: 0px;
  41. height: 100%;
  42. width: 100%;
  43. }
  44. /*
  45. queue's style (left banner of queues)
  46. */
  47. text.queue {
  48. font-family : sans-serif;
  49. font-size : 15px;
  50. fill : gray;
  51. }
  52. text.heatmap-cell {
  53. font: 14px sans-serif;
  54. font-weight: bold;
  55. text-anchor: middle;
  56. fill: Azure;
  57. text-align: center;
  58. }
  59. .hyperlink {
  60. cursor: pointer;
  61. -webkit-user-select: none;
  62. -moz-user-select: none;
  63. -ms-user-select: none;
  64. user-select: none;
  65. }
  66. .heatmap-clear {
  67. fill: #337ab7;
  68. }
  69. text.heatmap-cell-notselected {
  70. font: 14px sans-serif;
  71. font-weight: bold;
  72. text-anchor: middle;
  73. fill: Silver;
  74. text-align: center;
  75. }
  76. text.heatmap-rack {
  77. font: 20px sans-serif;
  78. fill: DimGray;
  79. }
  80. path.queue {
  81. stroke: "red";
  82. fill: none;
  83. }
  84. /*
  85. background style
  86. */
  87. line.grid {
  88. stroke: WhiteSmoke;
  89. }
  90. line.chart {
  91. stroke: Gray;
  92. }
  93. /*
  94. charts styles
  95. */
  96. text.chart-title {
  97. font-size: 30px;
  98. font-family: sans-serif;
  99. text-anchor: middle;
  100. fill: Gray;
  101. }
  102. text.donut-highlight-text, text.donut-highlight-sub {
  103. font-size: 15px;
  104. font-family: sans-serif;
  105. text-anchor: middle;
  106. fill: Gray;
  107. vertical-align: middle;
  108. }
  109. text.donut-highlight-sub {
  110. font-size: 23px;
  111. margin-top: 10px;
  112. }
  113. rect.chart-frame {
  114. fill: none;
  115. }
  116. text.bar-chart-text {
  117. font-size: 8px;
  118. font-family: sans-serif;
  119. vertical-align: middle;
  120. fill: Gray;;
  121. }
  122. div.tooltip {
  123. position: absolute;
  124. text-align: center;
  125. padding: 2px;
  126. font: 24px sans-serif;
  127. background: lightsteelblue;
  128. border: 0px;
  129. border-radius: 8px;
  130. pointer-events: none;
  131. }
  132. /*
  133. * Loading icon styles
  134. */
  135. .loading-mask > img {
  136. display: block;
  137. margin: 0 auto;
  138. }
  139. /*
  140. * Data table
  141. */
  142. table.dataTable thead .sorting {
  143. background-image: url("/assets/images/datatables/sort_both.png");
  144. }
  145. table.dataTable thead .sorting_asc {
  146. background-image: url("/assets/images/datatables/sort_asc.png");
  147. }
  148. table.dataTable thead .sorting_desc {
  149. background-image: url("/assets/images/datatables/sort_desc.png");
  150. }
  151. table.dataTable thead .sorting_asc_disabled {
  152. background-image: url("/assets/images/datatables/sort_asc_disabled.png");
  153. }
  154. table.dataTable thead .sorting_desc_disabled {
  155. background-image: url("/assets/images/datatables/sort_desc_disabled.png");
  156. }
  157. .add-ellipsis {
  158. overflow: hidden;
  159. text-overflow: ellipsis;
  160. }
  161. .breadcrumb {
  162. padding-bottom: 3px;
  163. background-color: #f6f6f8;
  164. }
  165. .navbar-default .navbar-nav > li > a {
  166. color: #337ab7;
  167. }
  168. /*
  169. * Queue selector
  170. */
  171. .node {
  172. cursor: pointer;
  173. }
  174. .node circle {
  175. fill: #fff;
  176. stroke: steelblue;
  177. stroke-width: 3px;
  178. }
  179. .node text {
  180. font: 12px sans-serif;
  181. }
  182. .link {
  183. fill: none;
  184. stroke: #ccc;
  185. stroke-width: 2px;
  186. }
  187. .lr-margin {
  188. margin: 0px 30px;
  189. }
  190. .footer {
  191. background-color: @white;
  192. color: @text-color;
  193. padding: 10px 0px;
  194. margin: 0px;
  195. border-top: 1px lightgrey solid;
  196. font-size: .9em;
  197. }
  198. .table {
  199. margin-bottom: 0px;
  200. border: none;
  201. overflow: hidden;
  202. }
  203. .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
  204. border: none !important;
  205. }
  206. .dataTables_wrapper .table {
  207. border: 1px solid lightgrey;
  208. border-bottom: 1px solid lightgrey !important;
  209. border-radious: 5px;
  210. }
  211. .dataTables_wrapper .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
  212. border: 1px solid lightgrey;
  213. }
  214. td {
  215. padding: 8px 15px 8px 15px !important;
  216. }
  217. .footer-frame {
  218. height: 60px;
  219. }
  220. .footer {
  221. height: 40px;
  222. }
  223. .footer-pusher {
  224. min-height: 100%;
  225. height: auto !important;
  226. height: 100%;
  227. margin: 0 auto -40px; // Must be same as footer & footer-frame
  228. }
  229. .panel {
  230. background-color: #fff;
  231. border: 1px solid #ddd;
  232. border-radius: 15px;
  233. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  234. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  235. overflow: hidden;
  236. }
  237. .panel-default .container-fluid {
  238. margin-top: -45px !important;
  239. margin-bottom: -10px !important;
  240. }
  241. .panel-default > .panel-heading {
  242. background-image: none;
  243. background-color: #f5f5f5 !important;
  244. border-radius: 15px 15px 0px 0px;
  245. }
  246. .panel-heading {
  247. background-color: rgba(0, 0, 0, 0) !important;
  248. font-weight: bold;
  249. }
  250. .hadoop-brand-image {
  251. margin-top: -10px;
  252. width: auto;
  253. height: 45px;
  254. }
  255. li a.navigation-link.ember-view {
  256. color: #2196f3;
  257. font-weight: bold;
  258. }
  259. .breadcrumb-bar .refresh {
  260. position: absolute;
  261. right: 20px;
  262. top: 3px;
  263. }
  264. .x-scroll {
  265. overflow-x: scroll;
  266. }
  267. .donut-chart {
  268. padding: 0px !important;
  269. }
  270. .donut-chart svg {
  271. width: 100%;
  272. }
  273. div.attempt-info-panel table {
  274. table-layout: fixed;
  275. }
  276. div.attempt-info-panel table > tbody > tr > td:last-of-type {
  277. overflow: hidden;
  278. text-overflow: ellipsis;
  279. }
  280. #main {
  281. float: left;
  282. width: 750px;
  283. }
  284. #sidebar {
  285. float: right;
  286. width: 100px;
  287. }
  288. #sequence {
  289. width: 600px;
  290. height: 70px;
  291. }
  292. #legend {
  293. padding: 10px 0 0 3px;
  294. }
  295. #sequence text, #legend text {
  296. font-weight: 600;
  297. fill: #fff;
  298. }
  299. #chart {
  300. position: relative;
  301. }
  302. #chart path {
  303. stroke: #fff;
  304. }
  305. #explanation {
  306. position: absolute;
  307. top: 360px;
  308. left: 385px;
  309. width: 230px;
  310. text-align: center;
  311. color: #666;
  312. z-index: -1;
  313. }
  314. .simple-bar-chart .axis text {
  315. font: 10px sans-serif;
  316. }
  317. .simple-bar-chart .axis path, .simple-bar-chart .axis line {
  318. fill: none;
  319. stroke: #000;
  320. stroke-width: 1px;
  321. }
  322. .simple-bar-chart rect {
  323. fill: steelblue;
  324. }
  325. .simple-bar-chart rect:hover {
  326. fill: brown;
  327. cursor: pointer;
  328. }
  329. .yarn-flow-runs .chart-panel, .yarn-flow-runinfo .chart-panel {
  330. overflow: auto;
  331. }
  332. .yarn-flow-runs .glyphicon-remove, .yarn-flow-runinfo .glyphicon-remove {
  333. cursor: pointer;
  334. }
  335. .yarn-flow-runs .glyphicon-remove:hover, .yarn-flow-runinfo .glyphicon-remove:hover {
  336. color: #c9302c;
  337. }
  338. .yarn-flow-runs .dropdown-menu .item-text, .yarn-flow-runinfo .dropdown-menu .item-text {
  339. width: auto;
  340. display: inline-block;
  341. }
  342. .yarn-flow-runs .dropdown-menu .item-icon, .yarn-flow-runinfo .dropdown-menu .item-icon {
  343. width: 14px;
  344. display: inline-block;
  345. }