stack_versions.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  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: 0px;
  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 0px;
  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 0px 5px;
  194. margin-bottom: 0px;
  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: 0px 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. }
  253. }
  254. .task-list {
  255. overflow-x: hidden;
  256. .progress {
  257. margin-bottom: 0;
  258. }
  259. padding-left: 20px;
  260. i {
  261. margin-right: 5px;
  262. }
  263. }
  264. .task-list-main-warp i {
  265. font-size: 16px;
  266. }
  267. ul.failed-info-list {
  268. max-height: 500px;
  269. margin-top: 5px;
  270. }
  271. .upgrade-options-link {
  272. position: absolute;
  273. cursor: pointer;
  274. right: 10%;
  275. top: 13px;
  276. width: 100px;
  277. a {
  278. font-size: 13px;
  279. }
  280. .icon-cogs {
  281. color: #0088cc;
  282. margin-right: 3px;
  283. }
  284. }
  285. .upgrade-options-link.disabled {
  286. cursor: not-allowed;
  287. a, .icon-cogs {
  288. color: #808080;
  289. }
  290. a:hover {
  291. text-decoration: none;
  292. }
  293. }
  294. }
  295. .repository-list {
  296. .os-block {
  297. border-top: 1px solid #dddddd;
  298. padding-top: 10px;
  299. }
  300. input[type="text"] {
  301. width: 80%;
  302. }
  303. }
  304. .upgrade-options-popup .modal .modal-body {
  305. min-height: 295px;
  306. }
  307. #upgrade-options-popup-content {
  308. .method-options {
  309. margin: 10px;
  310. .method-option {
  311. width: 43.5%;
  312. }
  313. .thumbnail {
  314. height: 165px;
  315. cursor: pointer;
  316. border: none;
  317. width: 99%;
  318. .method-icon {
  319. font-size: 40px;
  320. }
  321. .method-name {
  322. font-size: 16px;
  323. font-weight: bold;
  324. text-align: center;
  325. margin-top: 2px;
  326. }
  327. .method-description {
  328. margin-top: 5px;
  329. text-align: center;
  330. }
  331. }
  332. .ROLLING, .NON_ROLLING {
  333. background-color: #e4e4e4;
  334. .method-name,.method-icon,.method-description {
  335. color: #333333;
  336. }
  337. }
  338. .ROLLING {
  339. .method-icon {
  340. margin-left: 88px;
  341. }
  342. }
  343. .NON_ROLLING {
  344. .method-icon {
  345. margin-left: 94px;
  346. }
  347. }
  348. .selected.ROLLING, .selected.NON_ROLLING {
  349. background-color: #d3e7ca;
  350. box-shadow: 0 8px 6px -6px #b3b3b3;
  351. }
  352. .ROLLING:hover, .NON_ROLLING:hover {
  353. background-color: #cbe3c2;
  354. }
  355. .thumbnail.not-allowed:hover {
  356. background-color: #e4e4e4;
  357. }
  358. .thumbnail.not-allowed {
  359. cursor: not-allowed;
  360. }
  361. }
  362. .method-options.disabled {
  363. .thumbnail {
  364. cursor: not-allowed;
  365. .method-name,.method-icon,.method-description {
  366. color: #a9a9a9;
  367. }
  368. }
  369. .ROLLING,.NON_ROLLING,
  370. .ROLLING:hover,.NON_ROLLING:hover {
  371. background-color: #f3f3f3;
  372. }
  373. .selected.ROLLING,.selected.NON_ROLLING,
  374. .selected.ROLLING:hover,.selected.NON_ROLLING:hover {
  375. border: solid 2px #a9a9a9;
  376. box-shadow: 0 8px 6px -6px #a9a9a9;
  377. }
  378. }
  379. .method-precheck-message {
  380. a {
  381. cursor: pointer;
  382. }
  383. text-align: center;
  384. padding-top: 10px;
  385. font-size: 13px;
  386. }
  387. .method-precheck-message.GREEN {
  388. .icon-ok {
  389. color: @health-status-green;
  390. font-size: 16px;
  391. }
  392. }
  393. .method-precheck-message.RED {
  394. .icon-remove {
  395. color: #cf2a27;
  396. font-size: 16px;
  397. }
  398. }
  399. .method-precheck-message.ORANGE {
  400. .icon-warning-sign {
  401. color: @health-status-orange;
  402. font-size: 16px;
  403. }
  404. }
  405. .tolerance-text .tolerance-option {
  406. margin: 5px 15px;
  407. .ember-checkbox {
  408. margin-top: 0px;
  409. }
  410. }
  411. .text {
  412. margin-left: 10px;
  413. }
  414. .icon-question-sign {
  415. color: @blue;
  416. }
  417. }
  418. .admin-cluster {
  419. .repositories-table {
  420. margin-bottom: 10px;
  421. border: 1px solid #dddddd;
  422. overflow: auto;
  423. div {
  424. float: left;
  425. min-height: 1px;
  426. }
  427. .thead {
  428. width: 100%;
  429. .th {
  430. font-weight: bold;
  431. padding: 8px;
  432. }
  433. .os-th {
  434. width: 10%;
  435. }
  436. .name-th {
  437. width: 16%;
  438. }
  439. .url-th {
  440. width: 66%;
  441. }
  442. }
  443. .tbody {
  444. width: 100%;
  445. .trow {
  446. width: 100%;
  447. border-top: 1px solid #dddddd;
  448. padding-top: 8px;
  449. .os-td {
  450. padding-top: 4px;
  451. padding-left: 8px;
  452. width: 9%;
  453. }
  454. .sub-trow {
  455. width: 100%;
  456. min-height: 39px;
  457. .name-td {
  458. width: 16%;
  459. padding-top: 4px;
  460. }
  461. .url-td {
  462. width: 60%;
  463. .ember-text-field {
  464. width: 100%;
  465. margin: -1px -1px -1px -2px;
  466. }
  467. }
  468. .url-text-td {
  469. width: 70%;
  470. padding-top: 4px;
  471. padding-left: 3px;
  472. overflow: auto;
  473. }
  474. .edit-td {
  475. width: 8%;
  476. padding-top: 4px;
  477. padding-left: 5px;
  478. a {
  479. cursor: pointer;
  480. }
  481. }
  482. .edit-buttons-td {
  483. // save or cancel
  484. width: 9%;
  485. }
  486. .clear-td {
  487. width: 3%;
  488. padding-top: 5px;
  489. padding-left: 12px;
  490. a {
  491. cursor: pointer;
  492. text-decoration: none;
  493. }
  494. .icon-remove-sign {
  495. color: #808080;
  496. }
  497. }
  498. }
  499. }
  500. }
  501. .textfield-error input {
  502. border-color: #b94a48;
  503. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  504. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  505. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  506. }
  507. .disabled-textfield input {
  508. color: #808080;
  509. disabled: disabled;
  510. pointer-events: none;
  511. cursor: default;
  512. background: #E4E4E4;
  513. }
  514. .disabled-label {
  515. color: #808080;
  516. }
  517. }
  518. #skip-validation {
  519. margin-top: 10px;
  520. .checkbox {
  521. margin-left: 3px;
  522. margin-right: 8px;
  523. margin-top: 0px;
  524. }
  525. .icon-question-sign {
  526. color: @blue;
  527. }
  528. }
  529. }