stack_versions.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  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. @import 'common.less';
  19. #advancedRepoAccordion{
  20. .accordion-heading {
  21. background-color: #f0f0f0;
  22. a:hover {
  23. text-decoration: none;
  24. }
  25. }
  26. .accordion-body {
  27. .repositories-table {
  28. overflow: auto;
  29. margin-bottom: 10px;
  30. div {
  31. float: left;
  32. min-height: 1px;
  33. }
  34. .thead {
  35. width: 100%;
  36. .th {
  37. font-weight: bold;
  38. }
  39. .first-th {
  40. width: 4%;
  41. }
  42. .os-th {
  43. width: 13%;
  44. }
  45. .name-th {
  46. width: 17%;
  47. }
  48. .url-th {
  49. width: 66%;
  50. }
  51. }
  52. .tbody {
  53. width: 100%;
  54. .trow {
  55. width: 100%;
  56. border-top: 1px solid #dddddd;
  57. padding-top: 10px;
  58. .os-td {
  59. width: 17%;
  60. }
  61. .sub-trow {
  62. width: 100%;
  63. .name-td {
  64. width: 16%;
  65. }
  66. .validation-td {
  67. width: 4%;
  68. }
  69. .url-td {
  70. width: 63%;
  71. .ember-text-field {
  72. width: 100%;
  73. }
  74. }
  75. .clear-td {
  76. width: 4%;
  77. padding-top: 5px;
  78. padding-left: 12px;
  79. a {
  80. cursor: pointer;
  81. text-decoration: none;
  82. &.disabled-clear-button {
  83. cursor: default;
  84. .icon-remove-sign {
  85. cursor: default;
  86. }
  87. }
  88. }
  89. .icon-remove-sign {
  90. color: #808080;
  91. }
  92. }
  93. .actions-td {
  94. width: 10%;
  95. padding-top: 5px;
  96. a {
  97. cursor: pointer;
  98. }
  99. .icon-undo {
  100. color: rgb(243, 178, 11);
  101. margin-right: 2px;
  102. }
  103. }
  104. }
  105. }
  106. }
  107. .textfield-error input {
  108. border-color: #b94a48;
  109. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  110. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  111. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  112. }
  113. .disabled-label {
  114. color: #808080;
  115. }
  116. }
  117. #skip-validation {
  118. .checkbox {
  119. margin-left: 3px;
  120. margin-right: 8px;
  121. margin-top: 0;
  122. }
  123. .icon-question-sign {
  124. color: @blue;
  125. }
  126. }
  127. }
  128. }
  129. .version-box-popup {
  130. .modal{
  131. max-height: 563px;
  132. max-width: 340px;
  133. margin: -250px 0 0 -180px;
  134. }
  135. .version-box-in-popup.version-box {
  136. max-width: 300px;
  137. .hosts-section {
  138. padding-bottom: 16px;
  139. }
  140. }
  141. }
  142. #stack-upgrade-page,
  143. .version-box-popup {
  144. .versions-slides {
  145. overflow-x: scroll;
  146. padding-bottom: 25px;
  147. margin-left: 0px;
  148. margin-top: 5px;
  149. background-color: #f5f5f5;
  150. border: 2px solid #f5f5f5;
  151. border-left: none;
  152. .versions-slides-bar {
  153. min-width: 1000px;
  154. max-width: 20000px;
  155. }
  156. }
  157. .left-menu-table {
  158. padding: 10px 1px;
  159. margin-top: 87px;
  160. td.service-display-name {
  161. border: 2px solid #e4e4e4;
  162. border-left: none;
  163. }
  164. }
  165. div.current-version-box {
  166. background: none repeat scroll 0 0 #e6f1f6;
  167. box-shadow: 0 8px 6px -6px black;
  168. }
  169. .version-box {
  170. position: relative;
  171. background: none repeat scroll 0 0 #fff;
  172. border: 1px solid #d2d9dd;
  173. height: 190px;
  174. margin: 15px 15px 0 0;
  175. padding: 5px 0;
  176. a.not-active:hover {
  177. text-decoration: none;
  178. }
  179. .out-of-sync-badge {
  180. background-color: transparent;
  181. font-size: 30px;
  182. top: -8px;
  183. position: absolute;
  184. left: -8px;
  185. color: orange;
  186. }
  187. .state {
  188. margin: 15px 0;
  189. line-height: 30px;
  190. padding-top: 5px;
  191. height: 30px;
  192. i {
  193. color: #0088cc;
  194. font-size: 16px;
  195. }
  196. .label {
  197. padding: 5px 20px;
  198. font-size: 14px;
  199. }
  200. .btn-group {
  201. display: inline-block;
  202. }
  203. .dropdown-menu {
  204. cursor: pointer;
  205. }
  206. }
  207. .installing {
  208. margin-top: 10px;
  209. padding-top: 0;
  210. padding-bottom: 10px;
  211. .progress {
  212. height: 15px;
  213. width: 60%;
  214. margin: 0 20%;
  215. }
  216. }
  217. .host-link a {
  218. color: #0088cc;
  219. font-size: 14px;
  220. font-weight: normal;
  221. }
  222. .version {
  223. color: #000;
  224. text-align: center;
  225. font-weight: 500;
  226. font-size: 20px;
  227. line-height: 20px;
  228. padding: 5px 5px 0 5px;
  229. margin-bottom: 0;
  230. span {
  231. margin-left: 20px;
  232. }
  233. .pull-right .not-active {
  234. font-size: 15px;
  235. color: #0088cc;
  236. line-height: 20px;
  237. }
  238. }
  239. .repository-name {
  240. text-align: center;
  241. color: #888;
  242. font-size: 12px;
  243. margin: 0 0px -18px 1px;
  244. padding: 1px;
  245. }
  246. .patch-icon {
  247. text-align: center;
  248. color: #ff4500;
  249. height: 20px;
  250. font-size: 14px;
  251. margin: 18px 0px -18px 1px;
  252. padding: 1px;
  253. }
  254. .hosts-section {
  255. margin-top: 16px;
  256. width: 100%;
  257. text-align: center;
  258. background: #f8f8f8;
  259. border-top: 1px solid #e4e4e4;
  260. padding-bottom: 4px;
  261. }
  262. .hosts-section .hosts-bar {
  263. font-size: 14px;
  264. font-weight: 500;
  265. }
  266. .hosts-section .host-link {
  267. font-size: 12px;
  268. }
  269. }
  270. .version-column {
  271. min-height: 500px;
  272. width: 115px;
  273. margin: 15px 7px 0px 7px;
  274. .version-column-display-name {
  275. color: #000;
  276. text-align: center;
  277. font-weight: 500;
  278. font-size: 16px;
  279. line-height: 18px;
  280. padding: 5px 5px;
  281. margin-bottom: 0px;
  282. }
  283. .version-column-show-details {
  284. text-align: center;
  285. font-size: 13px;
  286. padding: 5px 5px;
  287. border-bottom: 1px solid #e4e4e4;
  288. margin-bottom: 0px;
  289. a {
  290. cursor: pointer;
  291. }
  292. }
  293. .state {
  294. margin: 5px 0px 15px 0px;
  295. line-height: 20px;
  296. .label-success {
  297. line-height: 30px;
  298. }
  299. .btn.btn-primary:not(.dropdown-toggle) {
  300. padding: 4px 5px;
  301. min-width: 70px;
  302. }
  303. .open .dropdown-menu {
  304. min-width: 90px;
  305. }
  306. }
  307. .state.installing {
  308. padding-bottom: 5px;
  309. margin: 10px 0px;
  310. }
  311. .services-section {
  312. width: 100%;
  313. text-align: center;
  314. padding-bottom: 4px;
  315. .service-version-info {
  316. margin-bottom: 16px;
  317. span.label {
  318. padding: 5px 15px;
  319. background-color: #a3a3a3;
  320. z-index: 100;
  321. position: relative;
  322. }
  323. }
  324. .line-separator{
  325. height: 2px;
  326. background: #e4e4e4;
  327. position: relative;
  328. top: -25px;
  329. margin: 0px -15px 0px -15px;
  330. }
  331. }
  332. }
  333. div.current-version-box.version-column {
  334. .services-section{
  335. .service-version-info {
  336. span.label {
  337. background-color: #468847;
  338. }
  339. }
  340. }
  341. }
  342. }
  343. #stack-upgrade-dialog {
  344. .details-box {
  345. padding: 5px;
  346. margin-left: 15px;
  347. margin-right: 95px;
  348. .button-row {
  349. text-align: right;
  350. padding: 5px;
  351. }
  352. input[type="checkbox"] {
  353. margin: 0;
  354. }
  355. .message {
  356. line-height: 30px;
  357. }
  358. }
  359. .task-details {
  360. .manage-controls a {
  361. cursor: pointer;
  362. margin-right: 12px;
  363. }
  364. textarea {
  365. width: 100%;
  366. min-height: 100px;
  367. box-sizing: border-box;
  368. }
  369. }
  370. .task-list {
  371. overflow-x: hidden;
  372. .progress {
  373. margin-bottom: 0;
  374. }
  375. padding-left: 20px;
  376. i {
  377. margin-right: 5px;
  378. }
  379. }
  380. .task-list-main-warp i {
  381. font-size: 16px;
  382. }
  383. ul.failed-info-list {
  384. max-height: 500px;
  385. margin-top: 5px;
  386. }
  387. .upgrade-options-link {
  388. position: absolute;
  389. cursor: pointer;
  390. right: 10%;
  391. top: 13px;
  392. width: 100px;
  393. a {
  394. font-size: 13px;
  395. }
  396. .icon-cogs {
  397. color: #0088cc;
  398. margin-right: 3px;
  399. }
  400. }
  401. .upgrade-options-link.disabled {
  402. cursor: not-allowed;
  403. a, .icon-cogs {
  404. color: #808080;
  405. }
  406. a:hover {
  407. text-decoration: none;
  408. }
  409. }
  410. }
  411. .repository-list {
  412. .os-block {
  413. border-top: 1px solid #dddddd;
  414. padding-top: 10px;
  415. }
  416. input[type="text"] {
  417. width: 80%;
  418. }
  419. }
  420. .upgrade-options-popup .modal .modal-body {
  421. min-height: 295px;
  422. }
  423. #upgrade-options-popup-content {
  424. .method-options {
  425. margin: 10px;
  426. .method-option {
  427. width: 43.5%;
  428. }
  429. .thumbnail {
  430. height: 165px;
  431. cursor: pointer;
  432. border: none;
  433. width: 99%;
  434. .method-icon {
  435. font-size: 40px;
  436. }
  437. .method-name {
  438. font-size: 16px;
  439. font-weight: bold;
  440. text-align: center;
  441. margin-top: 2px;
  442. }
  443. .method-description {
  444. margin-top: 5px;
  445. text-align: center;
  446. }
  447. }
  448. .ROLLING, .NON_ROLLING {
  449. background-color: #e4e4e4;
  450. .method-name,.method-icon,.method-description {
  451. color: #333333;
  452. }
  453. }
  454. .ROLLING {
  455. .method-icon {
  456. margin-left: 88px;
  457. }
  458. }
  459. .NON_ROLLING {
  460. .method-icon {
  461. margin-left: 94px;
  462. }
  463. }
  464. .selected.ROLLING, .selected.NON_ROLLING {
  465. background-color: #d3e7ca;
  466. box-shadow: 0 8px 6px -6px #b3b3b3;
  467. }
  468. .ROLLING:hover, .NON_ROLLING:hover {
  469. background-color: #cbe3c2;
  470. }
  471. .thumbnail.not-allowed:hover {
  472. background-color: #e4e4e4;
  473. }
  474. .thumbnail.not-allowed {
  475. cursor: not-allowed;
  476. }
  477. }
  478. .method-options.disabled {
  479. .thumbnail {
  480. cursor: not-allowed;
  481. .method-name,.method-icon,.method-description {
  482. color: #a9a9a9;
  483. }
  484. }
  485. .ROLLING,.NON_ROLLING,
  486. .ROLLING:hover,.NON_ROLLING:hover {
  487. background-color: #f3f3f3;
  488. }
  489. .selected.ROLLING,.selected.NON_ROLLING,
  490. .selected.ROLLING:hover,.selected.NON_ROLLING:hover {
  491. border: solid 2px #a9a9a9;
  492. box-shadow: 0 8px 6px -6px #a9a9a9;
  493. }
  494. }
  495. .method-precheck-message {
  496. a {
  497. cursor: pointer;
  498. }
  499. text-align: center;
  500. padding-top: 10px;
  501. font-size: 13px;
  502. &.checking {
  503. padding-top: 5px;
  504. line-height: @spinner-small-height;
  505. .spinner {
  506. display: inline-block;
  507. width: auto;
  508. height: @spinner-small-height;
  509. padding-left: @spinner-small-width + 4px;
  510. i {
  511. font-size: 1em;
  512. }
  513. background-repeat: no-repeat;
  514. background-size: contain;
  515. }
  516. }
  517. }
  518. .method-precheck-message.GREEN {
  519. .icon-ok {
  520. color: @health-status-green;
  521. font-size: 16px;
  522. }
  523. }
  524. .method-precheck-message.RED {
  525. .icon-remove {
  526. color: #cf2a27;
  527. font-size: 16px;
  528. }
  529. }
  530. .method-precheck-message.ORANGE {
  531. .icon-warning-sign {
  532. color: @health-status-orange;
  533. font-size: 16px;
  534. }
  535. }
  536. .tolerance-text .tolerance-option {
  537. margin: 5px 15px;
  538. .ember-checkbox {
  539. margin-top: 0;
  540. }
  541. }
  542. .text {
  543. margin-left: 10px;
  544. }
  545. .icon-question-sign {
  546. color: @blue;
  547. }
  548. }
  549. .admin-cluster {
  550. .repositories-table {
  551. margin-bottom: 10px;
  552. border: 1px solid #dddddd;
  553. overflow: auto;
  554. div {
  555. float: left;
  556. min-height: 1px;
  557. }
  558. .thead {
  559. width: 100%;
  560. .th {
  561. font-weight: bold;
  562. padding: 8px;
  563. }
  564. .os-th {
  565. width: 10%;
  566. }
  567. .name-th {
  568. width: 16%;
  569. }
  570. .url-th {
  571. width: 66%;
  572. }
  573. }
  574. .tbody {
  575. width: 100%;
  576. .trow {
  577. width: 100%;
  578. border-top: 1px solid #dddddd;
  579. padding-top: 8px;
  580. .os-td {
  581. padding-top: 4px;
  582. padding-left: 8px;
  583. width: 9%;
  584. }
  585. .sub-trow {
  586. width: 100%;
  587. min-height: 39px;
  588. .name-td {
  589. width: 16%;
  590. padding-top: 4px;
  591. }
  592. .url-td {
  593. width: 60%;
  594. .ember-text-field {
  595. width: 100%;
  596. margin: -1px -1px -1px -2px;
  597. }
  598. }
  599. .url-text-td {
  600. width: 70%;
  601. padding-top: 4px;
  602. padding-left: 3px;
  603. overflow: auto;
  604. }
  605. .edit-td {
  606. width: 8%;
  607. padding-top: 4px;
  608. padding-left: 5px;
  609. a {
  610. cursor: pointer;
  611. }
  612. }
  613. .edit-buttons-td {
  614. // save or cancel
  615. width: 9%;
  616. }
  617. .clear-td {
  618. width: 3%;
  619. padding-top: 5px;
  620. padding-left: 12px;
  621. a {
  622. cursor: pointer;
  623. text-decoration: none;
  624. }
  625. .icon-remove-sign {
  626. color: #808080;
  627. }
  628. }
  629. }
  630. }
  631. }
  632. .textfield-error input {
  633. border-color: #b94a48;
  634. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  635. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  636. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  637. }
  638. .disabled-textfield input {
  639. color: #808080;
  640. disabled: disabled;
  641. pointer-events: none;
  642. cursor: default;
  643. background: #E4E4E4;
  644. }
  645. .disabled-label {
  646. color: #808080;
  647. }
  648. }
  649. #skip-validation {
  650. margin-top: 10px;
  651. .checkbox {
  652. margin-left: 3px;
  653. margin-right: 8px;
  654. margin-top: 0;
  655. }
  656. .icon-question-sign {
  657. color: @blue;
  658. }
  659. }
  660. }
  661. #upgrade-failed-hosts {
  662. .host-list-container {
  663. overflow-y: auto;
  664. max-height: 320px;
  665. margin-right: -15px;
  666. .accordion {
  667. margin-bottom: 0;
  668. .accordion-group {
  669. border: none;
  670. .accordion-toggle {
  671. line-height: 20px;
  672. padding: 5px 0;
  673. .label {
  674. margin-right: 10px;
  675. }
  676. }
  677. }
  678. }
  679. }
  680. .sub-header {
  681. padding: 0 15px;
  682. width: 530px;
  683. margin-left: -15px;
  684. border-bottom: 1px solid #eee;
  685. }
  686. }