search.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  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. .container {
  17. margin-left: 20px !important;
  18. }
  19. .dropdown-menu li {
  20. font-size: 14px;
  21. }
  22. .dropdown a.dropdown-toggle {
  23. padding-left: 10px;
  24. padding-right: 10px;
  25. }
  26. .search-bar {
  27. background-color: #F5F5F5;
  28. border-bottom: 1px solid #e3e3e3;
  29. -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  30. -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  31. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  32. margin: 0;
  33. padding: 10px;
  34. padding-left: 20px;
  35. padding-right: 20px;
  36. text-align: left;
  37. width: 100%;
  38. position: fixed;
  39. top: 28px;
  40. z-index: 1000;
  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. .dashboard .container-fluid {
  150. padding: 6px;
  151. }
  152. .row-container {
  153. width: 100%;
  154. min-height: 70px;
  155. }
  156. .row-container.is-editing {
  157. border: 1px solid #e5e5e5;
  158. }
  159. .ui-sortable {
  160. background-color: #F3F3F3;
  161. min-height: 100px;
  162. }
  163. .ui-sortable h2 {
  164. padding-left: 10px !important;
  165. }
  166. .ui-sortable h2 ul {
  167. float: left;
  168. margin-right: 10px;
  169. font-size: 14px;
  170. }
  171. .ui-sortable-disabled {
  172. background-color: #FFF;
  173. }
  174. .card-column {
  175. border: none;
  176. min-height: 400px !important;
  177. }
  178. .card-widget {
  179. padding-top: 0;
  180. border: 0;
  181. min-height: 100px;
  182. }
  183. .card-widget .card-heading {
  184. font-size: 12px !important;
  185. font-weight: bold !important;
  186. line-height: 24px !important;
  187. }
  188. .card-widget .card-body {
  189. margin-top: 0;
  190. min-height: 40px;
  191. }
  192. .card-toolbar {
  193. margin: 0;
  194. padding: 4px;
  195. padding-top: 0;
  196. top: 70px;
  197. position: fixed;
  198. width: 100%;
  199. z-index: 1000;
  200. }
  201. .row-header {
  202. background-color: #F6F6F6;
  203. display: inline;
  204. padding: 3px;
  205. border: 1px solid #e5e5e5;
  206. border-bottom: none;
  207. }
  208. .row-highlight {
  209. background-color: #DDD;
  210. min-height: 100px;
  211. }
  212. #emptyDashboard {
  213. position: absolute;
  214. right: 204px;
  215. top: 80px;
  216. color: #666;
  217. font-size: 20px;
  218. z-index: 1000;
  219. }
  220. #emptyDashboardEditing {
  221. position: absolute;
  222. left: 120px;
  223. top: 160px;
  224. color: #666;
  225. font-size: 20px;
  226. }
  227. .emptyRow {
  228. margin-top: 10px;
  229. margin-left: 140px;
  230. color: #666;
  231. font-size: 18px;
  232. }
  233. .preview-row {
  234. background-color: #f9f9f9;
  235. min-height: 400px !important;
  236. margin-top: 30px;
  237. }
  238. .toolbar-label {
  239. float: left;
  240. font-weight: bold;
  241. color: #999;
  242. padding-left: 8px;
  243. padding-top: 24px;
  244. }
  245. .draggable-widget {
  246. width: 60px;
  247. text-align: center;
  248. float: left;
  249. border: 1px solid #CCC;
  250. margin-top: 10px;
  251. margin-left: 10px;
  252. cursor: move;
  253. }
  254. .draggable-widget.disabled {
  255. cursor: default;
  256. }
  257. .draggable-widget a {
  258. font-size: 28px;
  259. line-height: 46px;
  260. }
  261. .draggable-widget.disabled a {
  262. cursor: default;
  263. color: #CCC;
  264. }
  265. .layout-container {
  266. width: 100px;
  267. float: left;
  268. margin-top: 10px;
  269. margin-left: 10px;
  270. }
  271. .layout-box {
  272. float: left;
  273. height: 48px;
  274. background-color: #DDD;
  275. text-align: center;
  276. }
  277. .layout-box i {
  278. color: #333;
  279. font-size: 28px;
  280. line-height: 48px;
  281. }
  282. .layout-container:hover .layout-box {
  283. background-color: #CCC;
  284. }
  285. .with-top-margin {
  286. margin-top: 60px;
  287. }
  288. .ui-sortable .card-heading {
  289. -webkit-touch-callout: none;
  290. -webkit-user-select: none;
  291. -khtml-user-select: none;
  292. -moz-user-select: none;
  293. -ms-user-select: none;
  294. user-select: none;
  295. }
  296. .search-bar {
  297. padding-top: 6px;
  298. padding-bottom: 6px;
  299. }
  300. .widget-settings-section {
  301. display: none;
  302. }
  303. em {
  304. font-weight: bold;
  305. background-color: yellow;
  306. }
  307. .nvd3 .nv-brush .extent {
  308. fill-opacity: .225 !important;
  309. }
  310. .nvd3 .nv-legend .disabled rect {
  311. fill-opacity: 0;
  312. }
  313. .fields-chooser li {
  314. cursor: pointer;
  315. margin-bottom: 10px;
  316. }
  317. .fields-chooser li .badge {
  318. font-weight: normal;
  319. font-size: 12px;
  320. }
  321. .widget-spinner {
  322. padding: 10px;
  323. font-size: 80px;
  324. color: #CCC;
  325. text-align: center;
  326. }
  327. .card {
  328. margin: 0;
  329. }
  330. .badge-left {
  331. border-radius: 9px 0px 0px 9px;
  332. padding-right: 5px;
  333. }
  334. .badge-right {
  335. border-radius: 0px 9px 9px 0px;
  336. padding-left: 5px;
  337. }
  338. .trash-filter {
  339. cursor: pointer;
  340. }
  341. .move-widget {
  342. cursor: move;
  343. }
  344. body.modal-open {
  345. overflow: auto !important;
  346. }
  347. .editable-click {
  348. cursor: pointer;
  349. }
  350. .CodeMirror {
  351. border: 1px dotted #DDDDDD;
  352. }
  353. [contenteditable=true] {
  354. border: 1px dotted #DDDDDD;
  355. outline: 0;
  356. margin-top: 20px;
  357. margin-bottom: 20px;
  358. min-height: 150px;
  359. }
  360. [contenteditable=true] [class*="span"], .tmpl [class*="span"] {
  361. background-color: #eee;
  362. -webkit-border-radius: 3px;
  363. -moz-border-radius: 3px;
  364. border-radius: 3px;
  365. min-height: 40px;
  366. line-height: 40px;
  367. background-color: #F3F3F3;
  368. border: 2px dashed #DDD;
  369. }
  370. .tmpl {
  371. margin: 10px;
  372. height: 60px;
  373. }
  374. .tmpl [class*="span"] {
  375. color: #999;
  376. font-size: 12px;
  377. text-align: center;
  378. font-weight: bold;
  379. }
  380. .editor-title {
  381. font-weight: bold;
  382. color: #262626;
  383. border-bottom: 1px solid #338bb8;
  384. }
  385. .add-row {
  386. background-color: #F6F6F6;
  387. min-height: 36px;
  388. border: 2px dashed #DDD;
  389. text-align: center;
  390. padding: 4px;
  391. cursor: pointer;
  392. }
  393. .add-row:before {
  394. color: #DDD;
  395. display: inline-block;
  396. font-family: FontAwesome;
  397. font-style: normal;
  398. font-weight: normal;
  399. font-size: 24px;
  400. line-height: 1;
  401. -webkit-font-smoothing: antialiased;
  402. -moz-osx-font-smoothing: grayscale;
  403. content: "\f055";
  404. }
  405. .add-row-highlight {
  406. min-height: 10px;
  407. background-color: #CCC;
  408. }
  409. .document-details {
  410. background-color: #F6F6F6;
  411. padding: 10px;
  412. border: 1px solid #e5e5e5;
  413. }
  414. .result-row:nth-child(even) {
  415. background-color: #F6F6F6;
  416. }
  417. .result-row td {
  418. white-space: nowrap;
  419. padding: 3px;
  420. }
  421. #result-container thead tr {
  422. border-bottom: 1px solid #e5e5e5;
  423. }
  424. .demi-modal {
  425. min-height: 80px;
  426. }
  427. .filter-box {
  428. float: left;
  429. margin-right: 10px;
  430. margin-bottom: 10px;
  431. background-color: #F6F6F6;
  432. padding: 5px;
  433. border: 1px solid #d8d8d8;
  434. -webkit-border-radius: 3px;
  435. -moz-border-radius: 3px;
  436. border-radius: 3px;
  437. }
  438. .spinedit-pagination div.spinedit .fa-chevron-up {
  439. top: -7px;
  440. }
  441. .spinedit-pagination div.spinedit .fa-chevron-down {
  442. top: 7px;
  443. left: -4px;
  444. }
  445. .clearable {
  446. background: url(/search/static/art/clearField.png) no-repeat right -10px center;
  447. border: 1px solid #999;
  448. padding: 3px 18px 3px 4px;
  449. border-radius: 3px;
  450. transition: background 0.4s !important;
  451. }
  452. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  453. .clearable {
  454. background: url(/search/static/art/clearField@2x.png) no-repeat right -10px center;
  455. background-size: 10px 10px;
  456. }
  457. }
  458. .clearable.x {
  459. background-position: right 5px center;
  460. }
  461. .clearable.onX {
  462. cursor: pointer !important;
  463. }