application.less 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564
  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. .gradient(@color: #FAFAFA, @start: #FFFFFF, @stop: #F2F2F2) {
  19. background: @color;
  20. background: -webkit-gradient(linear, left top, left bottom, color-stop(0, @start), color-stop(1, @stop));
  21. background: -ms-linear-gradient(top, @start, @stop);
  22. background: -moz-linear-gradient(center top, @start 0%, @stop 100%);
  23. }
  24. html, body {
  25. height: 100%;
  26. }
  27. #wrapper {
  28. min-height: 100%;
  29. }
  30. @footer-height: 100px;
  31. #main {
  32. overflow: auto;
  33. padding-bottom: @footer-height;
  34. }
  35. footer {
  36. position: relative;
  37. border-top: 1px solid #e5e5e5;
  38. padding: 30px 0;
  39. background-color: #fff;
  40. color: #666666;
  41. margin-top: -1 * @footer-height;
  42. height: @footer-height - 60px;
  43. }
  44. #content {
  45. padding: 20px 0;
  46. }
  47. #top-nav {
  48. .navbar {
  49. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  50. }
  51. .navbar .brand {
  52. color: #666666;
  53. display: block;
  54. font-size: 16px;
  55. font-weight: normal;
  56. line-height: 1;
  57. margin-left: 0;
  58. margin-right: 40px;
  59. margin-top: 3px;
  60. padding: 14px 10px;
  61. }
  62. /*
  63. .navbar-inner {
  64. background: linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent;
  65. background: -moz-linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent;
  66. background: -webkit-linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent;
  67. border-radius: 0;
  68. border: 1px solid #bbb;
  69. border-width: 0 0 1px 0;
  70. }
  71. */
  72. .navbar .nav {
  73. float: none;
  74. overflow: hidden;
  75. }
  76. .navbar .nav .active > a, .navbar .nav .active > a:hover {
  77. /*background-color: #999999;*/
  78. color: #FFFFFF;
  79. text-decoration: none;
  80. }
  81. .navbar .nav > li > a {
  82. border-radius: 8px;
  83. -webkit-border-radius: 8px;
  84. -moz-border-radius: 8px;
  85. font-size: 13px;
  86. font-weight: bold;
  87. line-height: 19px;
  88. margin: 6px 10px 6px 0;
  89. padding: 8px 14px;
  90. text-decoration: none;
  91. text-shadow: none;
  92. }
  93. .navbar .nav > li > a:hover {
  94. background-color: transparent;
  95. color: #999999;
  96. text-decoration: none;
  97. }
  98. .navbar .brand {
  99. margin-right: 40px;
  100. }
  101. .navbar #logo {
  102. float: left;
  103. padding-top: 7px;
  104. height: 36px;
  105. }
  106. .navbar .nav > li.right {
  107. float: right;
  108. }
  109. }
  110. #main-nav {
  111. .brand {
  112. font-size: 17px;
  113. border-right: 1px solid rgba(0, 0, 0, 0.08);
  114. }
  115. .operations-count {
  116. background-color: #006DCC;
  117. }
  118. li {
  119. font-size: 15px;
  120. border-left: 1px solid #fefefe;
  121. border-right: 1px solid #f0f0f0;
  122. text-align: center;
  123. }
  124. li.span2 {
  125. padding: 0;
  126. margin: 0;
  127. width: 140px;
  128. }
  129. margin-bottom: 20px;
  130. }
  131. .pre-scrollable {
  132. overflow-y: auto;
  133. }
  134. @green: #69BE28;
  135. @blue: #0572ff;
  136. h1 {
  137. color: @green;
  138. }
  139. .login.well.span4 {
  140. margin: 20px auto;
  141. padding: 25px;
  142. float: none;
  143. }
  144. .login {
  145. h2 {
  146. margin-top: 0;
  147. margin-bottom: 20px;
  148. }
  149. .btn {
  150. margin-top: 15px;
  151. }
  152. }
  153. .hide {
  154. visibility: hidden;
  155. }
  156. .show {
  157. visibility: visible;
  158. }
  159. /***************
  160. * Ambari wide icon colors
  161. ***************/
  162. .icon-ok {
  163. color: #5AB400;
  164. }
  165. .icon-remove {
  166. color: #FF4B4B;
  167. }
  168. #installer, #add-host {
  169. h2 {
  170. margin-top: 0;
  171. }
  172. .btn.btn-success {
  173. /* float: right; */
  174. }
  175. .btn-area {
  176. margin-top: 20px;
  177. }
  178. #installer-content, #add-host-content {
  179. padding: 25px;
  180. background-color: #fff;
  181. }
  182. .nav-header {
  183. font-size: 13px;
  184. padding-left: 0;
  185. }
  186. #installOptions {
  187. #targetHosts {
  188. }
  189. #hostConnectivity {
  190. margin-top: 20px;
  191. .control-group {
  192. margin-bottom: 0;
  193. }
  194. }
  195. #localRepo {
  196. margin-top: 20px;
  197. margin-bottom: 30px;
  198. }
  199. }
  200. #confirm-hosts {
  201. #host-filter {
  202. h5 {
  203. margin-right: 8px;
  204. line-height: 10px;
  205. }
  206. }
  207. }
  208. #step4, #step6 {
  209. a.selected {
  210. color: #333;
  211. }
  212. a.deselected {
  213. }
  214. i.icon-asterisks {
  215. color: #FF4B4B;
  216. }
  217. }
  218. #step6 .pre-scrollable {
  219. max-height: 440px;
  220. }
  221. #serviceConfig {
  222. .accordion-heading {
  223. background-color: #f0f0f0;
  224. }
  225. .accordion-group {
  226. margin-bottom: 20px;
  227. .control-group {
  228. margin: 10px 0;
  229. }
  230. form {
  231. margin-bottom: 0;
  232. }
  233. }
  234. .badge {
  235. margin-left: 4px;
  236. }
  237. .slave-component-group-menu {
  238. float: left;
  239. .nav {
  240. margin-bottom: 10px;
  241. }
  242. .nav li {
  243. position: relative;
  244. a {
  245. padding-right: 24px;
  246. }
  247. .icon-remove {
  248. border: 1px solid white;
  249. position: absolute;
  250. right: 7px;
  251. top: 10px;
  252. z-index: 2;
  253. cursor: default;
  254. color: #555555;
  255. }
  256. .icon-remove:hover {
  257. border: 1px solid grey;
  258. }
  259. }
  260. }
  261. .remove-group-error {
  262. display: none;
  263. }
  264. .add-slave-component-group {
  265. margin-bottom: 10px;
  266. }
  267. .master-host, .master-hosts, .slave-hosts {
  268. padding-top: 5px;
  269. line-height: 20px;
  270. }
  271. #attention {
  272. margin: 20px 0;
  273. }
  274. .retyped-password {
  275. margin-left: 14px;
  276. }
  277. #slave-hosts-popup {
  278. ul {
  279. list-style-type: none;
  280. }
  281. }
  282. }
  283. #deploy {
  284. #overallProgress {
  285. }
  286. #deploy-status-by-host {
  287. th.host {
  288. width: 30%;
  289. }
  290. th.status {
  291. width: 40%;
  292. }
  293. th.messgage {
  294. width: 30%;
  295. }
  296. .progress-bar {
  297. width: 80%;
  298. .progress {
  299. margin-bottom: 0;
  300. }
  301. }
  302. .progress-percentage {
  303. margin-left: 10px;
  304. width: 20% - 10px;
  305. }
  306. }
  307. }
  308. }
  309. a:focus {
  310. outline: none;
  311. }
  312. @status-live-marker: url("/img/health-status-live.png");
  313. @status-dead-marker: url("/img/health-status-dead.png");
  314. @status-dead-orange-marker: url("/img/health-status-dead-orange.png");
  315. @status-dead-yellow-marker: url("/img/health-status-dead-yellow.png");
  316. @status-ok-marker: url("/img/status-ok.jpg");
  317. @status-corrupt-marker: url("/img/status-corrupt.jpg");
  318. @arrow-right: url("/img/arrow-right.png");
  319. /*Rack images*/
  320. @rack-status-live: url("/img/rack-status-live.png");
  321. @rack-status-critical: url("/img/rack-status-critical.png");
  322. @rack-status-dead: url("/img/rack-status-dead.png");
  323. @rack-state-toggler: url("/img/rack-state-toggler.png");
  324. @rack-state-plus: url("/img/rack-state-plus.png");
  325. @rack-state-minus: url("/img/rack-state-minus.png");
  326. /*****start styles for boxes*****/
  327. .box {
  328. border: 1px solid #D4D4D4;
  329. border-radius: 4px;
  330. margin-bottom: 20px;
  331. .box-header {
  332. border-bottom: 1px solid #D4D4D4;
  333. border-radius: 4px 4px 0 0;
  334. }
  335. .box-header,
  336. .box-footer {
  337. padding: 4px 4px 4px 10px;
  338. /*background: #dedede;*/
  339. .gradient(#dedede, #ffffff, #dedede)
  340. }
  341. .box-header:after,
  342. .box-footer:after {
  343. content: "";
  344. display: table;
  345. clear: both;
  346. }
  347. .box-header {
  348. .btn-group {
  349. float: right;
  350. }
  351. h4 {
  352. float: left;
  353. margin: 5px;
  354. font-size: 15px;
  355. color: #777;
  356. }
  357. }
  358. .box-footer {
  359. hr {
  360. margin: 0px;
  361. }
  362. }
  363. }
  364. /*****end styles for boxes*****/
  365. /*****start styles for dashboard page*****/
  366. /*start services summary*/
  367. .services {
  368. margin-left: 0;
  369. margin-top: 0;
  370. position: relative;
  371. .tab-marker-position {
  372. background-position: 6px 5px;
  373. background-repeat: no-repeat;
  374. list-style: none;
  375. min-height: 20px;
  376. min-width: 20px;
  377. margin-left: 0;
  378. }
  379. .health-status-LIVE {
  380. .tab-marker-position;
  381. background-image: @status-live-marker;
  382. }
  383. .health-status-DEAD {
  384. .tab-marker-position;
  385. background-image: @status-dead-marker;
  386. }
  387. .health-status-DEAD-ORANGE {
  388. .tab-marker-position;
  389. background-image: @status-dead-orange-marker;
  390. }
  391. .health-status-DEAD-YELLOW {
  392. .tab-marker-position;
  393. background-image: @status-dead-yellow-marker;
  394. }
  395. dt {
  396. text-align: left;
  397. width: 120px;
  398. }
  399. dd {
  400. margin-left: 145px;
  401. }
  402. .service {
  403. position: relative;
  404. margin-top: 10px;
  405. border-bottom: 1px solid #b8b8b8;
  406. padding-left: 10px;
  407. margin-right: 20px;
  408. .name {
  409. line-height: 21px;
  410. margin-left: 0;
  411. width: 130px;
  412. a {
  413. margin-left: 5px
  414. }
  415. }
  416. .summary {
  417. line-height: 21px;
  418. }
  419. table.table {
  420. margin-top: 14px;
  421. color: #7b7b7b;
  422. font-size: 13px;
  423. width: 80%;
  424. tr > td:first-child {
  425. padding-right: 10px;
  426. text-align: right !important;
  427. }
  428. th, td {
  429. padding: 4px;
  430. }
  431. }
  432. .chart {
  433. right: 0;
  434. top: 27px;
  435. position: absolute;
  436. overflow: visible; // for quick links
  437. text-align: center;
  438. .chartLabel {
  439. font-size: 11px;
  440. color: #7b7b7b;
  441. }
  442. }
  443. }
  444. }
  445. #summary-info {
  446. border-top: none;
  447. border-collapse: collapse;
  448. td.summary-label {
  449. text-align: right;
  450. }
  451. tr td:first-child {
  452. text-align: right;
  453. }
  454. a {
  455. text-decoration: underline;
  456. &:hover {
  457. text-decoration: none;
  458. }
  459. }
  460. }
  461. .more-stats {
  462. display: block;
  463. width: 100%;
  464. padding: 7px 0;
  465. text-align: center;
  466. color: #333333;
  467. &:hover {
  468. background-color: #eee;
  469. color: #333;
  470. text-decoration: none;
  471. }
  472. }
  473. /*end services summary*/
  474. /*start alerts summary*/
  475. .alerts {
  476. border: 1px solid #ddd;
  477. margin: 0px;
  478. max-height: 500px;
  479. overflow-y: auto;
  480. li {
  481. border-bottom: 1px solid #eee;
  482. list-style: none;
  483. padding: 5px 5px 5px 5px;
  484. background-position: 14px 9px;
  485. background-repeat: no-repeat;
  486. .date-time {
  487. float: right;
  488. }
  489. p {
  490. margin-bottom: 2px;
  491. }
  492. .container-fluid {
  493. padding-left: 10px;
  494. padding-right: 10px;
  495. }
  496. .title {
  497. font-weight: normal;
  498. font-size: 14px;
  499. }
  500. .row-fluid [class*="span"] {
  501. min-height: 0px;
  502. }
  503. .status-icon {
  504. padding-top: 7px;
  505. }
  506. .date-time {
  507. color: #777;
  508. }
  509. .message {
  510. font-size: 13px;
  511. color: #777;
  512. }
  513. .serviceLink {
  514. padding-left: 7px;
  515. }
  516. }
  517. }
  518. .go-to {
  519. float: right;
  520. background-position: right center;
  521. background-repeat: no-repeat;
  522. background-image: @arrow-right;
  523. padding-right: 40px;
  524. margin-top: 4px;
  525. }
  526. /*end alerts summary*/
  527. /*start chart/style graphs*/
  528. .chart-container {
  529. position: relative;
  530. margin: 20px 15px 0px 15px;
  531. .chart {
  532. padding-bottom: 0px !important;
  533. position: relative;
  534. height: 160px;
  535. z-index: 1;
  536. }
  537. .chart-y-axis {
  538. position: absolute;
  539. top: 0;
  540. bottom: 0px;
  541. width: 100px;
  542. z-index: 2;
  543. margin-top: 15px;
  544. }
  545. .chart-x-axis {
  546. position: absolute;
  547. top: 180px;
  548. left: 35%;
  549. width: 30%;
  550. z-index: 2;
  551. }
  552. .rickshaw_legend {
  553. background-color: #999999 !important;
  554. }
  555. .chart-overlay {
  556. position: absolute;
  557. top: 0;
  558. bottom: 0;
  559. width: 100%;
  560. z-index: 5;
  561. }
  562. .chart-title {
  563. text-align: center;
  564. font-size: small;
  565. }
  566. }
  567. /*end chart/graph styles*/
  568. /*****end styles for dashboard page*****/
  569. /*Services*/
  570. #services-menu {
  571. .nav-list {
  572. .tab-marker-position {
  573. background-position: 6px 5px;
  574. background-repeat: no-repeat;
  575. list-style: none;
  576. height: 20px;
  577. width: 20px;
  578. margin-left: 0; // padding-left: 30px;
  579. // padding-right: 30px;
  580. // background-position: 12px 9px;
  581. // background-repeat: no-repeat;
  582. }
  583. .health-status-LIVE {
  584. .tab-marker-position;
  585. background-image: @status-live-marker;
  586. }
  587. .health-status-DEAD {
  588. .tab-marker-position;
  589. background-image: @status-dead-marker;
  590. }
  591. li {
  592. line-height: 24px;
  593. }
  594. }
  595. .add-service-button {
  596. margin: 20px 20px 10px;
  597. }
  598. }
  599. .nav-pills.move {
  600. float: right;
  601. margin-top: -48px;
  602. }
  603. .service-content {
  604. #summary-info {
  605. margin-bottom: 0;
  606. }
  607. }
  608. .service-block {
  609. margin-top: 20px;
  610. }
  611. .service-configuration {
  612. padding: 10px;
  613. }
  614. .service-summary {
  615. background: #F6FAFD;
  616. .service-block.span8 {
  617. margin-left: 0;
  618. border-right: 1px solid #5fa3c3;
  619. }
  620. .service-block.span3 {
  621. padding-left: 0;
  622. }
  623. .service-content {
  624. padding: 5px 0 0 10px;
  625. .service-links {
  626. padding: 5px 0;
  627. }
  628. }
  629. h5 {
  630. color: #0088CC;
  631. font-size: 14px;
  632. }
  633. .service-links {
  634. padding: 5px 0 10px 0;
  635. }
  636. .service-configuration .dl-horizontal {
  637. dt {
  638. width: 90px;
  639. line-height: 19px;
  640. }
  641. dd {
  642. margin-left: 100px;
  643. line-height: 19px;
  644. }
  645. }
  646. }
  647. .service-button {
  648. text-align: right;
  649. margin-bottom: 5px;
  650. margin-top: -55px;
  651. ul.dropdown-menu {
  652. li {
  653. text-align: left;
  654. }
  655. }
  656. }
  657. .summary-metric-graphs {
  658. [class*="span"] {
  659. float: left;
  660. margin-left: 10px;
  661. }
  662. .chart-container {
  663. .chart-x-axis {
  664. left: 0%;
  665. width: 100%;
  666. }
  667. }
  668. }
  669. /*End Services*/
  670. /*Hosts*/
  671. #hosts {
  672. .health-status-LIVE {
  673. background-image: @status-live-marker;
  674. }
  675. .health-status-DEAD {
  676. background-image: @status-dead-marker;
  677. }
  678. .health-status-DEAD-ORANGE {
  679. background-image: @status-dead-orange-marker;
  680. }
  681. .health-status-DEAD-YELLOW {
  682. background-image: @status-dead-yellow-marker;
  683. }
  684. .box-header {
  685. .btn-group {
  686. float: left;
  687. }
  688. .btn.decommission {
  689. margin-left: 5px;
  690. }
  691. .btn.add-host-button {
  692. float: right;
  693. }
  694. }
  695. .table {
  696. margin-bottom: 0;
  697. thead {
  698. background: #EDF5FC;
  699. }
  700. th, td {
  701. width: 130px;
  702. }
  703. th.first, td.first {
  704. width: 30px;
  705. }
  706. td.first label {
  707. padding-top: 3px;
  708. }
  709. td.name span {
  710. display: block;
  711. float: left;
  712. height: 13px;
  713. margin: 4px 5px 0 0;
  714. width: 13px;
  715. }
  716. ul#filter-dropdown li {
  717. display: block;
  718. padding: 3px 0 3px 5px;
  719. line-height: 20px;
  720. }
  721. ul#filter-dropdown li input[type="checkbox"] {
  722. margin-top: 0;
  723. margin-right: 2px;
  724. margin-bottom: 2px;
  725. margin: 0 2px 2px;
  726. }
  727. }
  728. .open-group > .dropdown-menu {
  729. display: block;
  730. }
  731. .nav-pills li.disabled {
  732. display: block;
  733. margin: 2px 0;
  734. padding: 8px 12px;
  735. line-height: 14px;
  736. }
  737. .box-footer .footer-pagination {
  738. float: right;
  739. .nav {
  740. margin-bottom: 0;
  741. }
  742. .dropdown {
  743. margin-top: 3px;
  744. }
  745. .dropdown {
  746. margin-top: 3px;
  747. }
  748. .dropdown select {
  749. width: 60px;
  750. }
  751. .page-listing a {
  752. line-height: 0;
  753. border: none;
  754. margin: 0;
  755. margin-right: 10px;
  756. cursor: pointer;
  757. color: #0088CC;
  758. padding: 8px 0;
  759. float: left;
  760. text-decoration: underline;
  761. }
  762. .page-listing a:hover {
  763. text-decoration: none;
  764. }
  765. .page-listing {
  766. width: 100px;
  767. .table {
  768. th.name {
  769. width: 300px;
  770. a.filter-label {
  771. width: 57px;
  772. display: block;
  773. float: left;
  774. }
  775. }
  776. }
  777. }
  778. }
  779. }
  780. #host-details {
  781. .health-status-LIVE {
  782. background-image: @status-live-marker;
  783. background-repeat: no-repeat;
  784. background-position: 0px 4px;
  785. }
  786. .health-status-DEAD {
  787. background-image: @status-dead-marker;
  788. background-repeat: no-repeat;
  789. background-position: 0px 4px;
  790. }
  791. .health-status-DEAD-ORANGE {
  792. background-image: @status-dead-orange-marker;
  793. background-repeat: no-repeat;
  794. background-position: 0px 4px;
  795. }
  796. .health-status-DEAD-YELLOW {
  797. background-image: @status-dead-yellow-marker;
  798. background-repeat: no-repeat;
  799. background-position: 0px 4px;
  800. }
  801. .back {
  802. display: block;
  803. width: 105px;
  804. margin-bottom: 5px;
  805. }
  806. .box-header .host-title {
  807. margin: 0;
  808. padding-left: 17px;
  809. }
  810. .box-header .button-section {
  811. margin-bottom: 5px;
  812. }
  813. hr {
  814. margin-bottom: 0;
  815. clear: both;
  816. }
  817. .content {
  818. padding: 10px;
  819. }
  820. .host-configuration .dl-horizontal dt {
  821. width: 90px;
  822. line-height: 20px;
  823. }
  824. .host-configuration .dl-horizontal dd {
  825. margin-left: 100px;
  826. line-height: 20px;
  827. }
  828. .host-components {
  829. padding: 10px;
  830. padding-bottom: 0;
  831. border: 1px solid #DEDEDE;
  832. border-radius: 4px;
  833. background: #F5F5F5;
  834. }
  835. .host-components .btn-group {
  836. margin: 0 5px 10px 0;
  837. }
  838. }
  839. .background-operations {
  840. .open-details {
  841. clear: left;
  842. display: block;
  843. float: left;
  844. text-decoration: none;
  845. width: 16px;
  846. }
  847. .operation-details {
  848. padding-left: 16px;
  849. padding-top: 5px;
  850. display: none;
  851. }
  852. margin-bottom: 10px;
  853. }
  854. .background-operations.is-open {
  855. .operation-details {
  856. display: block;
  857. }
  858. }
  859. /*End Hosts*/
  860. /*assign masters*/
  861. .assign-masters {
  862. .select-hosts {
  863. width: 50%;
  864. float: left;
  865. white-space: nowrap;
  866. }
  867. .round-corners {
  868. border-radius: 8px;
  869. -webkit-border-radius: 8px;
  870. -moz-border-radius: 8px;
  871. }
  872. .host-assignments {
  873. float: right;
  874. width: 45%;
  875. }
  876. .remaining-hosts {
  877. padding: 25px;
  878. border-top: solid 1px #cccccc;
  879. border-left: solid 1px #cccccc;
  880. border-right: groove 5px #cccccc;
  881. border-bottom: groove 5px #cccccc;
  882. margin-top: 20px;
  883. background-color: #FCF8E3;
  884. color: #C09853;
  885. }
  886. .host-assignments .mapping-box {
  887. border: solid 1px #cccccc;
  888. padding: 8px;
  889. margin-bottom: 10px;
  890. background-color: #fafafa;
  891. }
  892. .host-assignments .assignedService {
  893. padding: 2px 8px;
  894. border: solid 1px #cccccc;
  895. margin: 2px;
  896. background-color: @green;
  897. color: white;
  898. white-space: nowrap;
  899. font-size: 0.9em;
  900. display: inline-block;
  901. }
  902. .form-horizontal .controls {
  903. margin-left: 110px;
  904. }
  905. .form-horizontal .control-label {
  906. width: 100px;
  907. }
  908. .form-horizontal .control-group select {
  909. width: 75%;
  910. min-width: 100px;
  911. max-width: 250px;
  912. }
  913. .hostString {
  914. margin-bottom: 5px;
  915. }
  916. .controls .badge {
  917. background-color: @green;
  918. color: #ffffff;
  919. cursor: pointer;
  920. font-weight: bold;
  921. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  922. }
  923. .assign-master .controls .badge:hover {
  924. background-color: @green;
  925. }
  926. .alertFlag {
  927. font-size: 1.3em;
  928. color: #B94A48;
  929. font-weight: bold;
  930. vertical-align: middle;
  931. }
  932. }
  933. /*end assign masters*/
  934. .assign-clients {
  935. .round-corners {
  936. border-radius: 8px;
  937. -webkit-border-radius: 8px;
  938. -moz-border-radius: 8px;
  939. }
  940. .assignedService {
  941. padding: 2px 8px;
  942. border: solid 1px #cccccc;
  943. margin: 2px;
  944. background-color: @blue;
  945. color: white;
  946. white-space: nowrap;
  947. font-size: 0.9em;
  948. display: inline-block;
  949. }
  950. }
  951. /*Dashboard*/
  952. .alerts-count {
  953. margin-left: 5px;
  954. }
  955. ul.filter {
  956. background: #ffffff;
  957. list-style: none;
  958. position: absolute;
  959. padding: 10px;
  960. }
  961. #main-admin-menu {
  962. padding: 8px 0;
  963. ul {
  964. margin-bottom: 0;
  965. li {
  966. line-height: 24px;
  967. }
  968. }
  969. }
  970. #user-auth-method select {
  971. width: 320px;
  972. }
  973. /*start charts rack*/
  974. .rack {
  975. width: 224px;
  976. display: inline-block;
  977. vertical-align: top;
  978. border: 1px solid #D4D4D4;
  979. border-radius: 5px;
  980. margin-right: 4px;
  981. margin-bottom: 10px;
  982. .rackHeader {
  983. background-color: #F7F7F7;
  984. border-top-right-radius: 5px;
  985. border-top-left-radius: 5px;
  986. padding: 5px 5px 5px 10px;
  987. border-bottom: 1px solid #D4D4D4;
  988. .statusName {
  989. font-size: 15px;
  990. color: #006F9F;
  991. text-shadow: #ffffff 0px 0px 1px;
  992. font-weight: bold;
  993. vertical-align: top;
  994. }
  995. .toggler {
  996. background-repeat: no-repeat;
  997. background-image: @rack-state-toggler;
  998. display: block;
  999. height: 22px;
  1000. position: relative;
  1001. width: 32px;
  1002. float: right;
  1003. span {
  1004. background-repeat: no-repeat;
  1005. background-image: @rack-state-plus;
  1006. display: block;
  1007. height: 17px;
  1008. left: 7px;
  1009. position: absolute;
  1010. top: 3px;
  1011. width: 18px;
  1012. }
  1013. span.isActive {
  1014. background-image: @rack-state-minus !important;
  1015. top: 10px;
  1016. }
  1017. }
  1018. }
  1019. .hostsSummary {
  1020. border-left: 1px solid #CDCDCD;
  1021. border-right: 1px solid #CDCDCD;
  1022. border-bottom: 1px solid #9f9f9f;
  1023. background-color: #f7f8fa;
  1024. font-size: 12px;
  1025. padding: 4px 0 4px 9px;
  1026. .textBlock {
  1027. color: #000000;
  1028. padding-right: 10px;
  1029. div {
  1030. height: 12px;
  1031. margin: 0 3px 0 0;
  1032. width: 12px;
  1033. display: inline-block;
  1034. }
  1035. }
  1036. }
  1037. .indicatorR {
  1038. background-color: #E2001A;
  1039. }
  1040. .indicatorY {
  1041. background-color: #F29400;
  1042. }
  1043. .indicatorG {
  1044. background-color: #88BF67;
  1045. }
  1046. .statusIndicator {
  1047. display: inline-block;
  1048. width: 20px;
  1049. height: 19px;
  1050. margin-right: 10px;
  1051. margin-top: 4px;
  1052. float: left;
  1053. background-repeat: no-repeat;
  1054. }
  1055. .rackName {
  1056. margin-top: 4px;
  1057. float: left;
  1058. }
  1059. .statusIndicator.LIVE {
  1060. background-image: @rack-status-live;
  1061. }
  1062. .statusIndicator.CRITICAL {
  1063. background-image: @rack-status-critical;
  1064. }
  1065. .statusIndicator.DEAD {
  1066. background-image: @rack-status-dead;
  1067. }
  1068. .hosts {
  1069. padding: 4px;
  1070. overflow: hidden;
  1071. display: none;
  1072. .ember-view {
  1073. float: left;
  1074. width: 43px;
  1075. height: 43px;
  1076. .hostBlock {
  1077. margin: 4px;
  1078. width: 35px;
  1079. height: 35px;
  1080. position: relative;
  1081. }
  1082. }
  1083. .hostBlock {
  1084. border-radius: 4px;
  1085. }
  1086. .hostBlock.LIVE {
  1087. background-color: #87BE73;
  1088. }
  1089. .hostBlock.DEAD {
  1090. background-color: #E40024;
  1091. }
  1092. .hostBlock.CRITICAL {
  1093. background: #F39236;
  1094. }
  1095. .ember-view:hover {
  1096. }
  1097. }
  1098. .hosts.isActive {
  1099. display: block;
  1100. }
  1101. }
  1102. .heatmap_host_details {
  1103. font-size: 10px;
  1104. line-height: 1.6em;
  1105. border: 1px solid #006F9F;
  1106. background: #fff;
  1107. width: 73px;
  1108. height: 79px;
  1109. padding: 10px 10px;
  1110. position: absolute;
  1111. z-index: 1000;
  1112. }
  1113. /*Start Heatmap*/
  1114. .heatmap {
  1115. .rack.rack-5-2 {
  1116. .hosts {
  1117. height: 86px;
  1118. }
  1119. }
  1120. .rack.rack-5-4 {
  1121. .hosts {
  1122. height: 172px;
  1123. }
  1124. }
  1125. .rack.rack-5-6 {
  1126. .hosts {
  1127. height: 258px;
  1128. }
  1129. }
  1130. .rack.rack-5-8 {
  1131. .hosts {
  1132. height: 344px;
  1133. }
  1134. }
  1135. .rack.rack-5-10 {
  1136. .hosts {
  1137. height: 430px;
  1138. }
  1139. }
  1140. .heatmap_host_details {
  1141. font-size: 12px;
  1142. line-height: 1.6em;
  1143. border: 1px solid #D9D9D9;
  1144. background: #f9f9f9;
  1145. width: 100px;
  1146. height: 100px;
  1147. padding: 10px 10px;
  1148. position: absolute;
  1149. z-index: 1000;
  1150. }
  1151. }
  1152. /*End Heatmap*/
  1153. .noDisplay {
  1154. display: none !important;
  1155. }
  1156. .display {
  1157. display: block !important;
  1158. }
  1159. .display-inline-block {
  1160. display: inline-block !important;
  1161. }
  1162. /* CHARTS */
  1163. .chart {
  1164. overflow: hidden;
  1165. padding-bottom: 25px;
  1166. .attributes {
  1167. width: 75px;
  1168. float: left;
  1169. margin: 45px 0 0 0;
  1170. p {
  1171. margin-bottom: 9px;
  1172. }
  1173. }
  1174. .hostName {
  1175. font-weight: bold;
  1176. }
  1177. .horizon {
  1178. border-bottom: 1px solid #000000;
  1179. overflow: hidden;
  1180. position: relative;
  1181. }
  1182. .horizon {
  1183. border-bottom: 1px solid #000000;
  1184. border-top: 1px solid #000000;
  1185. }
  1186. .horizon + .horizon {
  1187. border-top: medium none;
  1188. }
  1189. .horizon canvas {
  1190. display: block;
  1191. }
  1192. .horizon .title, .horizon .value {
  1193. bottom: 0;
  1194. line-height: 30px;
  1195. margin: 0 6px;
  1196. position: absolute;
  1197. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  1198. white-space: nowrap;
  1199. }
  1200. .horizon .title {
  1201. left: 0;
  1202. }
  1203. .horizon .value {
  1204. right: 0;
  1205. }
  1206. .rule {
  1207. display: none;
  1208. width: 30px;
  1209. height: 124px;
  1210. padding-top: 27px;
  1211. position: absolute;
  1212. border-left: 1px dashed #a52a2a;
  1213. .stateValue {
  1214. margin: 15px 0 0 3px;
  1215. line-height: 15px;
  1216. }
  1217. }
  1218. .axis {
  1219. font: 10px sans-serif;
  1220. path {
  1221. display: none;
  1222. }
  1223. line {
  1224. shape-rendering: crispedges;
  1225. stroke: #000000;
  1226. }
  1227. }
  1228. .line {
  1229. background: none repeat scroll 0 0 #000000;
  1230. /* opacity: 0.2; */
  1231. z-index: 2;
  1232. }
  1233. ul.dropdown-menu {
  1234. li {
  1235. text-align: left;
  1236. }
  1237. }
  1238. }
  1239. .linear {
  1240. path {
  1241. stroke: steelblue;
  1242. stroke-width: 2;
  1243. fill: none;
  1244. }
  1245. line {
  1246. stroke: black;
  1247. }
  1248. text {
  1249. font-family: Arial;
  1250. font-size: 9pt;
  1251. }
  1252. }
  1253. /* CHARTS END */
  1254. /* UNIVERSAL STYLES */
  1255. .left {
  1256. float: left;
  1257. }
  1258. .no-borders {
  1259. border: none !important;
  1260. }
  1261. ul.noStyle {
  1262. list-style: none;
  1263. }
  1264. ul.inline li {
  1265. display: inline;
  1266. }
  1267. .table.no-borders th, .table.no-borders td {
  1268. border-top: none;
  1269. }
  1270. /* UNIVERSAL STYLES END */
  1271. /* METRIC FILTERING WIDGET */
  1272. .metric-filtering-widget {
  1273. .title {
  1274. padding-top: 4px;
  1275. }
  1276. .accordion {
  1277. background: none repeat scroll 0 0 #FFFFFF;
  1278. /*border: 1px solid;*/
  1279. font-size: 12px;
  1280. /*padding: 5px 0;*/
  1281. position: absolute;
  1282. z-index: 1000;
  1283. .accordion-group {
  1284. .accordion-heading {
  1285. i {
  1286. text-decoration: none;
  1287. }
  1288. }
  1289. .accordion-body {
  1290. .accordion-inner {
  1291. /*border: none;
  1292. padding: 0 8px;
  1293. width: 160px;*/
  1294. ul.items {
  1295. list-style: none;
  1296. li {
  1297. a:hover {
  1298. cursor: pointer;
  1299. }
  1300. }
  1301. li.disabled {
  1302. a {
  1303. color: #999999;
  1304. }
  1305. }
  1306. }
  1307. }
  1308. }
  1309. }
  1310. }
  1311. }
  1312. /* METRIC FILTERING WIDGET END */
  1313. /* TIME RANGE WIDGET */
  1314. /* start css for timepicker */
  1315. .ui-timepicker-div .ui-widget-header {
  1316. margin-bottom: 8px;
  1317. }
  1318. .ui-timepicker-div dl {
  1319. text-align: left;
  1320. }
  1321. .ui-timepicker-div dl dt {
  1322. height: 25px;
  1323. margin-bottom: -25px;
  1324. }
  1325. .ui-timepicker-div dl dd {
  1326. margin: 0 10px 10px 65px;
  1327. }
  1328. .ui-timepicker-div td {
  1329. font-size: 90%;
  1330. }
  1331. .ui-tpicker-grid-label {
  1332. background: none;
  1333. border: none;
  1334. margin: 0;
  1335. padding: 0;
  1336. }
  1337. .ui-timepicker-rtl {
  1338. direction: rtl;
  1339. }
  1340. .ui-timepicker-rtl dl {
  1341. text-align: right;
  1342. }
  1343. .ui-timepicker-rtl dl dd {
  1344. margin: 0 65px 10px 10px;
  1345. }
  1346. /* end css for timepicker */
  1347. #slider {
  1348. margin: 10px 0 40px;
  1349. width: 330px;
  1350. .now-marker {
  1351. position: absolute;
  1352. right: -15px;
  1353. bottom: -23px;
  1354. }
  1355. .period-marker {
  1356. position: absolute;
  1357. left: -15px;
  1358. bottom: -23px;
  1359. }
  1360. }
  1361. /* TIME RANGE WIDGET END */
  1362. #host-details .host-components .btn-group > .btn {
  1363. min-width: 130px;
  1364. }
  1365. #host-details > .host-maintenance {
  1366. text-align: right;
  1367. margin-top: -20px;
  1368. }
  1369. #host-details > .host-maintenance > div {
  1370. text-align: left;
  1371. }
  1372. #host-details > .host-title {
  1373. background-position: 0px center;
  1374. padding-left: 17px;
  1375. }
  1376. /* fieldset begin */
  1377. .fieldset {
  1378. border: 2px solid black;
  1379. padding: 10px;
  1380. }
  1381. .fieldset legend {
  1382. border-bottom: none;
  1383. width: auto;
  1384. font-size: 14px;
  1385. }
  1386. /* fieldset end */
  1387. /* Start Carousel */
  1388. .carousel-inner {
  1389. height: 80px;
  1390. }
  1391. /* End Carousel*/
  1392. #add-host .back,
  1393. #add-service .back {
  1394. display: block;
  1395. width: 105px;
  1396. margin-bottom: 10px;
  1397. }
  1398. #step8-content {
  1399. max-height: 570px;
  1400. }