stack_versions.less 14 KB

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