stack_versions.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  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: auto;
  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. i[disabled='disabled'] {
  194. color: inherit;
  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: 14px;
  317. text-align: center;
  318. span.label {
  319. padding: 5px 15px;
  320. background-color: #a3a3a3;
  321. z-index: 100;
  322. position: relative;
  323. }
  324. }
  325. .line-separator, .line-separator-bottom{
  326. height: 2px;
  327. background: #e4e4e4;
  328. position: relative;
  329. margin: 0px 0px 0px -15px;
  330. }
  331. .line-separator {
  332. top: -7px;
  333. }
  334. .line-separator-bottom {
  335. top: -5px;
  336. }
  337. }
  338. }
  339. div.current-version-box.version-column {
  340. .services-section{
  341. .service-version-info {
  342. span.label {
  343. background-color: #468847;
  344. }
  345. }
  346. }
  347. }
  348. }
  349. #stack-upgrade-dialog {
  350. .details-box {
  351. padding: 5px;
  352. margin-left: 15px;
  353. margin-right: 95px;
  354. .button-row {
  355. text-align: right;
  356. padding: 5px;
  357. }
  358. input[type="checkbox"] {
  359. margin: 0;
  360. }
  361. .message {
  362. line-height: 30px;
  363. }
  364. }
  365. .task-details {
  366. .manage-controls a {
  367. cursor: pointer;
  368. margin-right: 12px;
  369. }
  370. textarea {
  371. width: 100%;
  372. min-height: 100px;
  373. box-sizing: border-box;
  374. }
  375. }
  376. .task-list {
  377. overflow-x: hidden;
  378. .progress {
  379. margin-bottom: 0;
  380. }
  381. padding-left: 20px;
  382. i {
  383. margin-right: 5px;
  384. }
  385. }
  386. .task-list-main-warp i {
  387. font-size: 16px;
  388. }
  389. ul.failed-info-list {
  390. max-height: 500px;
  391. margin-top: 5px;
  392. }
  393. .upgrade-options-link {
  394. position: absolute;
  395. cursor: pointer;
  396. right: 10%;
  397. top: 13px;
  398. width: 100px;
  399. a {
  400. font-size: 13px;
  401. }
  402. .icon-cogs {
  403. color: #0088cc;
  404. margin-right: 3px;
  405. }
  406. }
  407. .upgrade-options-link.disabled {
  408. cursor: not-allowed;
  409. a, .icon-cogs {
  410. color: #808080;
  411. }
  412. a:hover {
  413. text-decoration: none;
  414. }
  415. }
  416. }
  417. .repository-list {
  418. .os-block {
  419. border-top: 1px solid #dddddd;
  420. padding-top: 10px;
  421. }
  422. input[type="text"] {
  423. width: 80%;
  424. }
  425. }
  426. .upgrade-options-popup .modal .modal-body {
  427. min-height: 295px;
  428. }
  429. #upgrade-options-popup-content {
  430. .method-options {
  431. margin: 10px;
  432. .method-option {
  433. width: 43.5%;
  434. }
  435. .thumbnail {
  436. cursor: pointer;
  437. border: none;
  438. width: 99%;
  439. .method-icon {
  440. font-size: 40px;
  441. }
  442. .method-name {
  443. font-size: 16px;
  444. font-weight: bold;
  445. text-align: center;
  446. margin-top: 2px;
  447. }
  448. .method-description {
  449. margin-top: 5px;
  450. text-align: center;
  451. }
  452. }
  453. .ROLLING, .NON_ROLLING {
  454. background-color: #e4e4e4;
  455. .method-name,.method-icon,.method-description {
  456. color: #333333;
  457. }
  458. }
  459. .ROLLING {
  460. .method-icon {
  461. margin-left: 88px;
  462. }
  463. }
  464. .NON_ROLLING {
  465. .method-icon {
  466. margin-left: 94px;
  467. }
  468. }
  469. .selected.ROLLING, .selected.NON_ROLLING {
  470. background-color: #d3e7ca;
  471. box-shadow: 0 8px 6px -6px #b3b3b3;
  472. }
  473. .ROLLING:hover, .NON_ROLLING:hover {
  474. background-color: #cbe3c2;
  475. }
  476. .thumbnail.not-allowed:hover {
  477. background-color: #e4e4e4;
  478. }
  479. .thumbnail.not-allowed {
  480. cursor: not-allowed;
  481. }
  482. }
  483. .method-options.disabled {
  484. .thumbnail {
  485. cursor: not-allowed;
  486. .method-name,.method-icon,.method-description {
  487. color: #a9a9a9;
  488. }
  489. }
  490. .ROLLING,.NON_ROLLING,
  491. .ROLLING:hover,.NON_ROLLING:hover {
  492. background-color: #f3f3f3;
  493. }
  494. .selected.ROLLING,.selected.NON_ROLLING,
  495. .selected.ROLLING:hover,.selected.NON_ROLLING:hover {
  496. border: solid 2px #a9a9a9;
  497. box-shadow: 0 8px 6px -6px #a9a9a9;
  498. }
  499. }
  500. .method-precheck-message {
  501. a {
  502. cursor: pointer;
  503. }
  504. text-align: center;
  505. padding-top: 10px;
  506. font-size: 13px;
  507. &.checking {
  508. padding-top: 5px;
  509. line-height: @spinner-small-height;
  510. .spinner {
  511. display: inline-block;
  512. width: auto;
  513. height: @spinner-small-height;
  514. padding-left: @spinner-small-width + 4px;
  515. i {
  516. font-size: 1em;
  517. }
  518. background-repeat: no-repeat;
  519. background-size: contain;
  520. }
  521. }
  522. }
  523. .method-precheck-message.GREEN {
  524. .icon-ok {
  525. color: @health-status-green;
  526. font-size: 16px;
  527. }
  528. }
  529. .method-precheck-message.RED {
  530. .icon-remove {
  531. color: #cf2a27;
  532. font-size: 16px;
  533. }
  534. }
  535. .method-precheck-message.ORANGE {
  536. .icon-warning-sign {
  537. color: @health-status-orange;
  538. font-size: 16px;
  539. }
  540. }
  541. .tolerance-text .tolerance-option {
  542. margin: 5px 15px;
  543. .ember-checkbox {
  544. margin-top: 0;
  545. }
  546. }
  547. .text {
  548. margin-left: 10px;
  549. }
  550. .icon-question-sign {
  551. color: @blue;
  552. }
  553. }
  554. .admin-cluster {
  555. .repositories-table {
  556. margin-bottom: 10px;
  557. border: 1px solid #dddddd;
  558. overflow: auto;
  559. div {
  560. float: left;
  561. min-height: 1px;
  562. }
  563. .thead {
  564. width: 100%;
  565. .th {
  566. font-weight: bold;
  567. padding: 8px;
  568. }
  569. .os-th {
  570. width: 10%;
  571. }
  572. .name-th {
  573. width: 16%;
  574. }
  575. .url-th {
  576. width: 66%;
  577. }
  578. }
  579. .tbody {
  580. width: 100%;
  581. .trow {
  582. width: 100%;
  583. border-top: 1px solid #dddddd;
  584. padding-top: 8px;
  585. .os-td {
  586. padding-top: 4px;
  587. padding-left: 8px;
  588. width: 9%;
  589. }
  590. .sub-trow {
  591. width: 100%;
  592. min-height: 39px;
  593. .name-td {
  594. width: 16%;
  595. padding-top: 4px;
  596. }
  597. .url-td {
  598. width: 60%;
  599. .ember-text-field {
  600. width: 100%;
  601. margin: -1px -1px -1px -2px;
  602. }
  603. }
  604. .url-text-td {
  605. width: 70%;
  606. padding-top: 4px;
  607. padding-left: 3px;
  608. overflow: auto;
  609. }
  610. .edit-td {
  611. width: 8%;
  612. padding-top: 4px;
  613. padding-left: 5px;
  614. a {
  615. cursor: pointer;
  616. }
  617. }
  618. .edit-buttons-td {
  619. // save or cancel
  620. width: 9%;
  621. }
  622. .clear-td {
  623. width: 3%;
  624. padding-top: 5px;
  625. padding-left: 12px;
  626. a {
  627. cursor: pointer;
  628. text-decoration: none;
  629. }
  630. .icon-remove-sign {
  631. color: #808080;
  632. }
  633. }
  634. }
  635. }
  636. }
  637. .textfield-error input {
  638. border-color: #b94a48;
  639. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  640. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  641. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  642. }
  643. .disabled-textfield input {
  644. color: #808080;
  645. disabled: disabled;
  646. pointer-events: none;
  647. cursor: default;
  648. background: #E4E4E4;
  649. }
  650. .disabled-label {
  651. color: #808080;
  652. }
  653. }
  654. #skip-validation {
  655. margin-top: 10px;
  656. .checkbox {
  657. margin-left: 3px;
  658. margin-right: 8px;
  659. margin-top: 0;
  660. }
  661. }
  662. }
  663. #skip-validation,
  664. #use-redhat {
  665. .icon-question-sign {
  666. color: @blue;
  667. }
  668. }
  669. #upgrade-failed-hosts {
  670. .host-list-container {
  671. overflow-y: auto;
  672. max-height: 320px;
  673. margin-right: -15px;
  674. .accordion {
  675. margin-bottom: 0;
  676. .accordion-group {
  677. border: none;
  678. .accordion-toggle {
  679. line-height: 20px;
  680. padding: 5px 0;
  681. .label {
  682. margin-right: 10px;
  683. }
  684. }
  685. }
  686. }
  687. }
  688. .sub-header {
  689. padding: 0 15px;
  690. width: 530px;
  691. margin-left: -15px;
  692. border-bottom: 1px solid #eee;
  693. }
  694. }