search.css 8.8 KB

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