application.less 30 KB

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