search.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. /*
  2. Licensed to Cloudera, Inc. under one
  3. or more contributor license agreements. See the NOTICE file
  4. distributed with this work for additional information
  5. regarding copyright ownership. Cloudera, Inc. 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. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. */
  16. .dropdown-menu li {
  17. font-size: 14px;
  18. }
  19. .dropdown a.dropdown-toggle {
  20. padding-left: 10px;
  21. padding-right: 10px;
  22. }
  23. .search-bar {
  24. background-color: #F5F5F5;
  25. border-bottom: 1px solid #e3e3e3;
  26. -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  27. -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  28. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  29. margin: 0;
  30. padding: 10px;
  31. padding-left: 20px;
  32. padding-right: 20px;
  33. text-align: left;
  34. width: 100%;
  35. position: fixed;
  36. top: 28px;
  37. z-index: 1010;
  38. }
  39. .search-bar form, .search-bar form select {
  40. margin-bottom: 0;
  41. }
  42. .search-bar input {
  43. margin-left: 10px;
  44. padding-right: 20px;
  45. }
  46. .search-bar input.deletable {
  47. background-image: url("../art/remove.png");
  48. background-repeat: no-repeat;
  49. background-position: 99% 50%;
  50. }
  51. .search-bar ul li {
  52. text-align: right;
  53. }
  54. .sort-by {
  55. font-size: 11px;
  56. height: 24px;
  57. width: 120px;
  58. margin-top: -2px;
  59. }
  60. .nav-header {
  61. padding-left: 0 !important;
  62. padding-top: 8px;
  63. }
  64. .facet-list {
  65. list-style: none outside none;
  66. padding: 0;
  67. margin: 0;
  68. }
  69. .facet-list li {
  70. padding-left: 8px;
  71. padding-right: 3px;
  72. }
  73. .facet-list li a {
  74. word-wrap: break-word;
  75. }
  76. .counter {
  77. color: #999999;
  78. font-size: 13px;
  79. }
  80. .pagination {
  81. border-radius: 4px 4px 4px 4px;
  82. list-style: none outside none;
  83. margin: 0 0 20px;
  84. padding: 8px 15px;
  85. }
  86. .results.container {
  87. width: 1180px;
  88. }
  89. .results.span2 {
  90. width: 180px;
  91. }
  92. .results.span10 {
  93. width: 980px;
  94. }
  95. .results.span12 {
  96. width: 1180px;
  97. }
  98. .errorlist {
  99. display: none;
  100. }
  101. .breadcrumb {
  102. background-color: #FFFFFF;
  103. padding-left: 0;
  104. margin-bottom: 0;
  105. }
  106. #result-container {
  107. margin-top: 20px;
  108. }
  109. .facetItem {
  110. display: none;
  111. }
  112. .selectMask {
  113. background-color: #F9F9F9;
  114. background-image: linear-gradient(to bottom, #FFFFFF, #F1F1F1);
  115. background-repeat: repeat-x;
  116. border: 1px solid #C0C0C0;
  117. border-right-color: rgba(0, 0, 0, 0.1);
  118. border-radius: 2px;
  119. border-bottom-right-radius: 0;
  120. border-top-right-radius: 0;
  121. box-shadow: none;
  122. color: #444444;
  123. display: inline-block;
  124. font-size: 13px;
  125. height: 29px;
  126. line-height: 29px;
  127. margin: 0;
  128. margin-left: 5px;
  129. min-height: 29px;
  130. min-width: 120px;
  131. padding: 0 8px;
  132. text-shadow: none;
  133. vertical-align: middle;
  134. overflow: hidden;
  135. text-overflow: ellipsis;
  136. }
  137. .search-query {
  138. border-bottom-left-radius: 0 !important;
  139. border-top-left-radius: 0 !important;
  140. margin-left: 0 !important;
  141. border-left: 0 !important;
  142. }
  143. .download-btn-group {
  144. min-width: auto;
  145. }
  146. .download-btn-group > ul > li {
  147. text-align: left;
  148. }
  149. em {
  150. font-weight: bold;
  151. background-color: yellow;
  152. }
  153. .fields-chooser li {
  154. cursor: pointer;
  155. margin-bottom: 10px;
  156. }
  157. .fields-chooser li .badge {
  158. font-weight: normal;
  159. font-size: 12px;
  160. }
  161. .badge-left {
  162. border-radius: 9px 0px 0px 9px;
  163. padding-right: 5px;
  164. }
  165. .badge-right {
  166. border-radius: 0px 9px 9px 0px;
  167. padding-left: 5px;
  168. }
  169. .trash-filter {
  170. cursor: pointer;
  171. }
  172. .editable-click {
  173. cursor: pointer;
  174. }
  175. .CodeMirror {
  176. border: 1px dotted #DDDDDD;
  177. }
  178. [contenteditable=true] {
  179. border: 1px dotted #DDDDDD;
  180. outline: 0;
  181. margin-top: 20px;
  182. margin-bottom: 20px;
  183. min-height: 150px;
  184. }
  185. [contenteditable=true] [class*="span"], .tmpl [class*="span"] {
  186. background-color: #eee;
  187. -webkit-border-radius: 3px;
  188. -moz-border-radius: 3px;
  189. border-radius: 3px;
  190. min-height: 40px;
  191. line-height: 40px;
  192. background-color: #F3F3F3;
  193. border: 2px dashed #DDD;
  194. }
  195. .tmpl {
  196. margin: 10px;
  197. height: 60px;
  198. }
  199. .tmpl [class*="span"] {
  200. color: #999;
  201. font-size: 12px;
  202. text-align: center;
  203. font-weight: bold;
  204. }
  205. .editor-title {
  206. font-weight: bold;
  207. color: #262626;
  208. border-bottom: 1px solid #338bb8;
  209. }
  210. .document-details {
  211. background-color: #F6F6F6;
  212. padding: 10px;
  213. border: 1px solid #e5e5e5;
  214. }
  215. .result-row:nth-child(even) {
  216. background-color: #F6F6F6;
  217. }
  218. .result-row td {
  219. white-space: nowrap;
  220. padding: 3px;
  221. }
  222. #result-container thead tr {
  223. border-bottom: 1px solid #e5e5e5;
  224. }
  225. .demi-modal {
  226. min-height: 80px;
  227. }
  228. .filter-box {
  229. float: left;
  230. margin-right: 10px;
  231. margin-bottom: 10px;
  232. }
  233. .filter-box .title {
  234. font-weight: bold;
  235. color: #333;
  236. padding: 5px;
  237. border: 1px solid #d8d8d8;
  238. background-color: #F6F6F6;
  239. border-bottom: none;
  240. -webkit-border-radius: 3px 3px 0 0;
  241. -moz-border-radius: 3px 3px 0 0;
  242. border-radius: 3px 3px 0 0;
  243. }
  244. .filter-box .title a {
  245. color: #333;
  246. }
  247. .filter-box .title.excluded {
  248. background-color: #d84a38;
  249. }
  250. .filter-box .content {
  251. padding: 8px;
  252. background-color: #FFFFFF;
  253. border: 1px solid #d8d8d8;
  254. border-top: none;
  255. -webkit-border-radius: 0 0 3px 3px;
  256. -moz-border-radius: 0 0 3px 3px;
  257. border-radius: 0 0 3px 3px;
  258. }
  259. .field-selector {
  260. display: inline-block;
  261. margin-left: 3px;
  262. min-height: 20px;
  263. line-height: 20px
  264. }
  265. .field-selector.hoverable {
  266. cursor: pointer;
  267. }
  268. .field-selector.hoverable:hover {
  269. background-color: #DDD;
  270. }
  271. .mega-popover {
  272. max-width: 1200px;
  273. }
  274. .mega-popover .popover-content {
  275. min-width: 440px;
  276. min-height: 360px;
  277. }
  278. .mega-popover .tab-pane {
  279. height: 300px;
  280. overflow-y: scroll;
  281. }
  282. .mega-popover input[type='text'] {
  283. margin: 0;
  284. width: 130px;
  285. border-radius: 20px;
  286. -webkit-border-radius: 20px;
  287. -moz-border-radius: 20px;
  288. min-height: 26px;
  289. padding-left: 12px;
  290. }
  291. .fa.analysis {
  292. margin-top: 3px;
  293. margin-right: 3px;
  294. }
  295. .fa.analysis:hover {
  296. color: #333;
  297. }
  298. .typeahead {
  299. z-index: 10000;
  300. }
  301. .trigger-exclude .exclude {
  302. display: none;
  303. margin-left: 10px;
  304. }
  305. .trigger-exclude:hover {
  306. text-decoration: none;
  307. }
  308. .trigger-exclude:hover .exclude {
  309. display: inline-block;
  310. }
  311. .fa-sign-out.red {
  312. color: #d84a38;
  313. }
  314. .hue-tree {
  315. width: 100%;
  316. overflow-y: scroll;
  317. min-height: 100px;
  318. }
  319. .hue-tree ul {
  320. list-style-type: none;
  321. padding: 0;
  322. }
  323. .tree {
  324. margin: 20px;
  325. }
  326. .table tbody tr:hover > td,
  327. .table tbody tr:hover > th,
  328. .table tbody tr:hover td, .table tbody tr:hover th {
  329. background-color: transparent!important;
  330. }
  331. .pivot-cell {
  332. cursor: pointer;
  333. }
  334. .pivot-cell.selected {
  335. border: 2px dashed #CCC;
  336. }
  337. .partitionChart {
  338. display: block;
  339. margin: auto;
  340. margin-top: 10px;
  341. font-size: 11px;
  342. }
  343. .partitionChart rect {
  344. fill-opacity: .8;
  345. }
  346. .partitionChart rect.mouseover {
  347. fill-opacity: 1!important;
  348. }
  349. .partitionChart rect.parent {
  350. cursor: pointer;
  351. }
  352. .partitionChart text {
  353. pointer-events: none;
  354. fill: white;
  355. }
  356. .d3-tip {
  357. line-height: 1;
  358. font-weight: bold;
  359. padding: 12px;
  360. background: rgba(0, 0, 0, 0.8);
  361. color: #fff;
  362. border-radius: 2px;
  363. pointer-events: none;
  364. margin-top: 5px;
  365. }
  366. /* Creates a small triangle extender for the tooltip */
  367. .d3-tip:after {
  368. box-sizing: border-box;
  369. display: inline;
  370. font-size: 10px;
  371. width: 100%;
  372. line-height: 1;
  373. color: rgba(0, 0, 0, 0.8);
  374. position: absolute;
  375. pointer-events: none;
  376. }
  377. /* Northward tooltips */
  378. .d3-tip.n:after {
  379. content: "\25BC";
  380. margin: -3px 0 0 0;
  381. top: 100%;
  382. left: 0;
  383. text-align: center;
  384. }
  385. /* Eastward tooltips */
  386. .d3-tip.e:after {
  387. content: "\25C0";
  388. margin: -4px 0 0 0;
  389. top: 50%;
  390. left: -8px;
  391. }
  392. /* Southward tooltips */
  393. .d3-tip.s:after {
  394. content: "\25B2";
  395. margin: 0 0 1px 0;
  396. top: -8px;
  397. left: 0;
  398. text-align: center;
  399. }
  400. /* Westward tooltips */
  401. .d3-tip.w:after {
  402. content: "\25B6";
  403. margin: -4px 0 0 -1px;
  404. top: 50%;
  405. left: 100%;
  406. }