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. cursor: pointer;
  431. border: none;
  432. width: 99%;
  433. .method-icon {
  434. font-size: 40px;
  435. }
  436. .method-name {
  437. font-size: 16px;
  438. font-weight: bold;
  439. text-align: center;
  440. margin-top: 2px;
  441. }
  442. .method-description {
  443. margin-top: 5px;
  444. text-align: center;
  445. }
  446. }
  447. .ROLLING, .NON_ROLLING {
  448. background-color: #e4e4e4;
  449. .method-name,.method-icon,.method-description {
  450. color: #333333;
  451. }
  452. }
  453. .ROLLING {
  454. .method-icon {
  455. margin-left: 88px;
  456. }
  457. }
  458. .NON_ROLLING {
  459. .method-icon {
  460. margin-left: 94px;
  461. }
  462. }
  463. .selected.ROLLING, .selected.NON_ROLLING {
  464. background-color: #d3e7ca;
  465. box-shadow: 0 8px 6px -6px #b3b3b3;
  466. }
  467. .ROLLING:hover, .NON_ROLLING:hover {
  468. background-color: #cbe3c2;
  469. }
  470. .thumbnail.not-allowed:hover {
  471. background-color: #e4e4e4;
  472. }
  473. .thumbnail.not-allowed {
  474. cursor: not-allowed;
  475. }
  476. }
  477. .method-options.disabled {
  478. .thumbnail {
  479. cursor: not-allowed;
  480. .method-name,.method-icon,.method-description {
  481. color: #a9a9a9;
  482. }
  483. }
  484. .ROLLING,.NON_ROLLING,
  485. .ROLLING:hover,.NON_ROLLING:hover {
  486. background-color: #f3f3f3;
  487. }
  488. .selected.ROLLING,.selected.NON_ROLLING,
  489. .selected.ROLLING:hover,.selected.NON_ROLLING:hover {
  490. border: solid 2px #a9a9a9;
  491. box-shadow: 0 8px 6px -6px #a9a9a9;
  492. }
  493. }
  494. .method-precheck-message {
  495. a {
  496. cursor: pointer;
  497. }
  498. text-align: center;
  499. padding-top: 10px;
  500. font-size: 13px;
  501. &.checking {
  502. padding-top: 5px;
  503. line-height: @spinner-small-height;
  504. .spinner {
  505. display: inline-block;
  506. width: auto;
  507. height: @spinner-small-height;
  508. padding-left: @spinner-small-width + 4px;
  509. i {
  510. font-size: 1em;
  511. }
  512. background-repeat: no-repeat;
  513. background-size: contain;
  514. }
  515. }
  516. }
  517. .method-precheck-message.GREEN {
  518. .icon-ok {
  519. color: @health-status-green;
  520. font-size: 16px;
  521. }
  522. }
  523. .method-precheck-message.RED {
  524. .icon-remove {
  525. color: #cf2a27;
  526. font-size: 16px;
  527. }
  528. }
  529. .method-precheck-message.ORANGE {
  530. .icon-warning-sign {
  531. color: @health-status-orange;
  532. font-size: 16px;
  533. }
  534. }
  535. .tolerance-text .tolerance-option {
  536. margin: 5px 15px;
  537. .ember-checkbox {
  538. margin-top: 0;
  539. }
  540. }
  541. .text {
  542. margin-left: 10px;
  543. }
  544. .icon-question-sign {
  545. color: @blue;
  546. }
  547. }
  548. .admin-cluster {
  549. .repositories-table {
  550. margin-bottom: 10px;
  551. border: 1px solid #dddddd;
  552. overflow: auto;
  553. div {
  554. float: left;
  555. min-height: 1px;
  556. }
  557. .thead {
  558. width: 100%;
  559. .th {
  560. font-weight: bold;
  561. padding: 8px;
  562. }
  563. .os-th {
  564. width: 10%;
  565. }
  566. .name-th {
  567. width: 16%;
  568. }
  569. .url-th {
  570. width: 66%;
  571. }
  572. }
  573. .tbody {
  574. width: 100%;
  575. .trow {
  576. width: 100%;
  577. border-top: 1px solid #dddddd;
  578. padding-top: 8px;
  579. .os-td {
  580. padding-top: 4px;
  581. padding-left: 8px;
  582. width: 9%;
  583. }
  584. .sub-trow {
  585. width: 100%;
  586. min-height: 39px;
  587. .name-td {
  588. width: 16%;
  589. padding-top: 4px;
  590. }
  591. .url-td {
  592. width: 60%;
  593. .ember-text-field {
  594. width: 100%;
  595. margin: -1px -1px -1px -2px;
  596. }
  597. }
  598. .url-text-td {
  599. width: 70%;
  600. padding-top: 4px;
  601. padding-left: 3px;
  602. overflow: auto;
  603. }
  604. .edit-td {
  605. width: 8%;
  606. padding-top: 4px;
  607. padding-left: 5px;
  608. a {
  609. cursor: pointer;
  610. }
  611. }
  612. .edit-buttons-td {
  613. // save or cancel
  614. width: 9%;
  615. }
  616. .clear-td {
  617. width: 3%;
  618. padding-top: 5px;
  619. padding-left: 12px;
  620. a {
  621. cursor: pointer;
  622. text-decoration: none;
  623. }
  624. .icon-remove-sign {
  625. color: #808080;
  626. }
  627. }
  628. }
  629. }
  630. }
  631. .textfield-error input {
  632. border-color: #b94a48;
  633. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  634. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  635. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  636. }
  637. .disabled-textfield input {
  638. color: #808080;
  639. disabled: disabled;
  640. pointer-events: none;
  641. cursor: default;
  642. background: #E4E4E4;
  643. }
  644. .disabled-label {
  645. color: #808080;
  646. }
  647. }
  648. #skip-validation {
  649. margin-top: 10px;
  650. .checkbox {
  651. margin-left: 3px;
  652. margin-right: 8px;
  653. margin-top: 0;
  654. }
  655. .icon-question-sign {
  656. color: @blue;
  657. }
  658. }
  659. }
  660. #upgrade-failed-hosts {
  661. .host-list-container {
  662. overflow-y: auto;
  663. max-height: 320px;
  664. margin-right: -15px;
  665. .accordion {
  666. margin-bottom: 0;
  667. .accordion-group {
  668. border: none;
  669. .accordion-toggle {
  670. line-height: 20px;
  671. padding: 5px 0;
  672. .label {
  673. margin-right: 10px;
  674. }
  675. }
  676. }
  677. }
  678. }
  679. .sub-header {
  680. padding: 0 15px;
  681. width: 530px;
  682. margin-left: -15px;
  683. border-bottom: 1px solid #eee;
  684. }
  685. }