config_history_flow.less 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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. #config_history_flow {
  20. .version-slider {
  21. .flow-element {
  22. .version-box .box {
  23. font-size: 13px;
  24. .label-current {
  25. padding-top: 2px;
  26. }
  27. }
  28. .arrow-box {
  29. margin-left: 5px;
  30. }
  31. }
  32. }
  33. .version-info-bar {
  34. width: 960px;
  35. .label-current.icon-ok {
  36. padding: 6px 5px !important;
  37. }
  38. }
  39. }
  40. .dependencies-info-bar-wrapper {
  41. z-index: 2;
  42. margin: 0;
  43. width: 757px;
  44. }
  45. @media (min-width: 1200px) {
  46. .dependencies-info-bar-wrapper {
  47. width: 970px;
  48. }
  49. }
  50. #config_history_flow {
  51. margin-top: -5px;
  52. .version-slider {
  53. width: 100%;
  54. height: 69px;
  55. margin: 5px 0;
  56. .flow-element {
  57. height: 69px;
  58. width: 15.2%;
  59. max-width: 146px;
  60. .version-box {
  61. position: relative;
  62. height: 90%;
  63. }
  64. .version-box .box {
  65. cursor: pointer;
  66. width: 92%;
  67. height: 100%;
  68. background-color: #ffffff;
  69. -webkit-border-radius: 4px;
  70. -moz-border-radius: 4px;
  71. border-radius: 4px;
  72. border: 1px solid #d2d9dd;
  73. font-size: 11px;
  74. .top-label {
  75. min-width: 20px;
  76. padding: 0 2px;
  77. }
  78. .author,
  79. .content {
  80. padding: 0 2px;
  81. text-align: center;
  82. color: #555555;
  83. display: block;
  84. overflow: hidden;
  85. text-overflow: ellipsis;
  86. white-space: nowrap;
  87. }
  88. .content {
  89. max-width: 97% !important;
  90. }
  91. .author {
  92. max-width: 75% !important;
  93. }
  94. .current-label {
  95. text-align: center;
  96. padding: 2px 5px;
  97. }
  98. .stack-label {
  99. margin-right: 6px;
  100. text-align: right;
  101. line-height: 11px;
  102. }
  103. }
  104. .version-box .version-popover {
  105. display: none;
  106. position: absolute;
  107. bottom: 50px;
  108. left: -45px;
  109. z-index: 1000;
  110. float: left;
  111. width: 300px;
  112. padding: 8px;
  113. list-style: none;
  114. background-color: #ffffff;
  115. border: 1px solid #c3c3c3;
  116. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  117. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  118. box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  119. -webkit-background-clip: padding-box;
  120. -moz-background-clip: padding;
  121. background-clip: padding-box;
  122. font-size: 13px;
  123. .content {
  124. padding: 1px 5px 15px 5px;
  125. text-align: left;
  126. .notes{
  127. overflow-wrap: break-word;
  128. word-wrap: break-word;
  129. white-space: pre-wrap;
  130. }
  131. .date{
  132. color: #808080;
  133. font-size: 11px;
  134. white-space: nowrap;
  135. }
  136. }
  137. .version-operations-buttons .btn {
  138. font-size: 13px;
  139. }
  140. }
  141. .version-box:hover{
  142. .box {
  143. background-color: #e6f1f6;
  144. }
  145. }
  146. .version-box .box.displayed {
  147. background-color: #e6f1f6;
  148. .content {
  149. color: #444444;
  150. }
  151. }
  152. .version-box .box.grayedOut {
  153. background-color: #f4f4f4;
  154. border: 1px solid #f4f4f4;
  155. .author,
  156. .content,
  157. .stack-label {
  158. color: #a6a6a6;
  159. }
  160. .current-label .label,
  161. .top-label .label {
  162. opacity: .5;
  163. }
  164. }
  165. }
  166. .first {
  167. width: 14%;
  168. margin-left: 0;
  169. .arrow-box {
  170. display: none;
  171. }
  172. .version-box .box {
  173. width: 100%;
  174. }
  175. }
  176. .icon-chevron-box {
  177. margin-top: 15px;
  178. width: 4%;
  179. cursor: pointer;
  180. .icon-chevron-right,
  181. .icon-chevron-left{
  182. color: #d2d9dd;
  183. }
  184. .icon-chevron-left:hover,
  185. .icon-chevron-right:hover{
  186. color: #808080;
  187. }
  188. &.disabled {
  189. cursor: not-allowed;
  190. }
  191. }
  192. }
  193. .version-info-bar-wrapper {
  194. margin: 0;
  195. z-index: 3;
  196. width: 747px;
  197. }
  198. @media (min-width: 1200px) {
  199. .version-info-bar-wrapper {
  200. width: 960px;
  201. }
  202. }
  203. .version-info-bar {
  204. background-image: -moz-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
  205. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@top-nav-bg-color-from), to(@top-nav-bg-color-to));
  206. background-image: -webkit-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
  207. background-image: -o-linear-gradient(top, @top-nav-bg-color-from, @top-nav-bg-color-to);
  208. background-image: linear-gradient(to bottom, @top-nav-bg-color-from, @top-nav-bg-color-to);
  209. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr= @top-nav-bg-color-from, endColorstr=@top-nav-bg-color-to); //for IE9-
  210. -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
  211. -moz-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
  212. box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
  213. -webkit-border-radius: 4px;
  214. -moz-border-radius: 4px;
  215. border-radius: 4px;
  216. margin: 5px 0;
  217. padding: 5px;
  218. width: 100%;
  219. .icon-remove-circle {
  220. color: #ffffff;
  221. margin-left: 10px;
  222. margin-top: 0px;
  223. display: inline-block;
  224. cursor: pointer;
  225. }
  226. .label-wrapper {
  227. line-height: 30px;
  228. margin-left: 10px;
  229. color: #d3d3d3;
  230. .label {
  231. font-size: 14px;
  232. padding: 5px;
  233. }
  234. }
  235. .dropdown-menu {
  236. min-width: 400px;
  237. margin-top: 4px !important;
  238. font-size: 13px;
  239. li {
  240. line-height: 30px;
  241. .icon-caret-right {
  242. font-size: 18px;
  243. margin-right: 20px;
  244. }
  245. }
  246. li:hover {
  247. background-color: #666666;
  248. background-image: linear-gradient(to bottom, #666666, #555555);
  249. color: #ffffff;
  250. }
  251. li.not-allowed {
  252. // the version which is displayed
  253. cursor: not-allowed;
  254. color: #808080;
  255. .icon-caret-right,
  256. .dropdown-menu {
  257. display: none;
  258. }
  259. }
  260. li.not-allowed:hover {
  261. background-color: #ffffff;
  262. background-image: none;
  263. color: #808080;
  264. }
  265. div.row-fluid, a {
  266. padding-left: 10px;
  267. }
  268. }
  269. .dropdown-submenu .dropdown-menu {
  270. min-width: 200px;
  271. max-width: 300px;
  272. line-height: 20px;
  273. font-size: 13px;
  274. margin: 0px;
  275. padding: 8px;
  276. color: #333333;
  277. cursor: default;
  278. .content {
  279. padding: 1px 5px 15px 5px;
  280. .group {
  281. text-align: right;
  282. margin-top: -20px;
  283. }
  284. .date{
  285. color: #808080;
  286. font-size: 11px;
  287. white-space: nowrap;
  288. }
  289. .notes{
  290. word-wrap: break-word;
  291. overflow-wrap: break-word;
  292. white-space: pre-wrap;
  293. }
  294. }
  295. .version-operations-buttons .btn {
  296. font-size: 13px;
  297. }
  298. }
  299. }
  300. .stack {
  301. padding: 1px 10px;
  302. font-size: 11px;
  303. }
  304. }
  305. #config_history {
  306. .table {
  307. thead {
  308. background: none repeat scroll 0 0 #F8F8F8;
  309. }
  310. // service name column
  311. th:first-child,
  312. td:first-child {
  313. width: 15%;
  314. select.filter-input-width{
  315. width: 75%;
  316. }
  317. }
  318. // config group, create time columns
  319. th:first-child + th,
  320. td:first-child + td,
  321. th:first-child + th + th,
  322. td:first-child + td + td {
  323. width: 20%;
  324. word-wrap: break-word;
  325. select.filter-input-width{
  326. width: 75%;
  327. }
  328. }
  329. // author column
  330. th:first-child + th + th + th,
  331. td:first-child + td + td + td {
  332. width: 180px;
  333. input.filter-input-width {
  334. width: 55%;
  335. }
  336. }
  337. // notes column
  338. th:first-child + th + th + th + th,
  339. td:first-child + td + td + td + td {
  340. word-wrap: break-word;
  341. input.filter-input-width {
  342. width: 75%;
  343. }
  344. }
  345. td.notes .show-more-button {
  346. font-size: @default-font-size - 1;
  347. }
  348. }
  349. div.page-bar div.filtered-info {
  350. margin-left: 17px;
  351. }
  352. a {
  353. cursor: pointer;
  354. }
  355. }