stack_versions.less 12 KB

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