pointhi.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. html {
  2. position: relative;
  3. min-height: 100%;
  4. }
  5. body {
  6. /* Margin bottom by footer height */
  7. margin-bottom: 80px;
  8. }
  9. .footer {
  10. position: absolute;
  11. bottom: 0;
  12. width: 100%;
  13. /* Set the fixed height of the footer here */
  14. height: 60px;
  15. }
  16. input[type=checkbox]:checked + .label_hide_if_checked,
  17. input[type=checkbox]:checked + .label_hide_if_not_checked + .label_hide_if_checked {
  18. display: none;
  19. }
  20. input[type=checkbox]:not(:checked) + .label_hide_if_not_checked,
  21. input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not_checked {
  22. display: none;
  23. }
  24. .onoff-checkbox {
  25. width: 15%;
  26. }
  27. .onoffswitch {
  28. position: relative;
  29. width: 110px;
  30. -webkit-user-select: none;
  31. -moz-user-select: none;
  32. -ms-user-select: none;
  33. }
  34. .onoffswitch-checkbox {
  35. display: none;
  36. }
  37. .onoffswitch-label {
  38. display: block;
  39. overflow: hidden;
  40. cursor: pointer;
  41. border: 2px solid #FFFFFF !important;
  42. border-radius: 50px !important;
  43. }
  44. .onoffswitch-inner {
  45. display: block;
  46. transition: margin 0.3s ease-in 0s;
  47. }
  48. .onoffswitch-inner:before,
  49. .onoffswitch-inner:after {
  50. display: block;
  51. float: left;
  52. width: 50%;
  53. height: 30px;
  54. padding: 0;
  55. line-height: 40px;
  56. font-size: 20px;
  57. box-sizing: border-box;
  58. content: "";
  59. background-color: #EEEEEE;
  60. }
  61. .onoffswitch-switch {
  62. display: block;
  63. width: 37px;
  64. background-color: #00CC00;
  65. position: absolute;
  66. top: 0;
  67. bottom: 0;
  68. right: 0px;
  69. border: 2px solid #FFFFFF !important;
  70. border-radius: 50px !important;
  71. transition: all 0.3s ease-in 0s;
  72. }
  73. .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  74. margin-right: 0;
  75. }
  76. .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  77. right: 71px;
  78. background-color: #A1A1A1;
  79. }
  80. .result_header {
  81. margin-bottom: 5px;
  82. margin-top: 20px;
  83. }
  84. .result_header .favicon {
  85. margin-bottom: -3px;
  86. }
  87. .result_header a {
  88. vertical-align: bottom;
  89. }
  90. .result_header a .highlight {
  91. font-weight: bold;
  92. }
  93. .result-content {
  94. margin-top: 5px;
  95. word-wrap: break-word;
  96. }
  97. .result-content .highlight {
  98. font-weight: bold;
  99. }
  100. .result-default {
  101. clear: both;
  102. }
  103. .result-images {
  104. float: left !important;
  105. height: 138px;
  106. }
  107. .img-thumbnail {
  108. margin: 5px;
  109. max-height: 128px;
  110. }
  111. .result-videos {
  112. clear: both;
  113. }
  114. .result-torrents {
  115. clear: both;
  116. }
  117. .result-map {
  118. clear: both;
  119. }
  120. .result-code {
  121. clear: both;
  122. }
  123. .suggestion_item {
  124. margin: 2px 5px;
  125. max-width: 100%;
  126. }
  127. .suggestion_item .btn {
  128. max-width: 100%;
  129. white-space: normal;
  130. word-wrap: break-word;
  131. text-align: left;
  132. }
  133. .result_download {
  134. margin-right: 5px;
  135. }
  136. #pagination {
  137. margin-top: 30px;
  138. padding-bottom: 50px;
  139. }
  140. .label-default {
  141. color: #AAA;
  142. background: #FFF;
  143. }
  144. .result .text-muted small {
  145. word-wrap: break-word;
  146. }
  147. .modal-wrapper {
  148. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  149. }
  150. .modal-wrapper {
  151. background-clip: padding-box;
  152. background-color: #fff;
  153. border: 1px solid rgba(0, 0, 0, 0.2);
  154. border-radius: 6px;
  155. box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  156. outline: 0 none;
  157. position: relative;
  158. }
  159. .highlight {
  160. font-weight: 700;
  161. }
  162. .infobox img {
  163. max-height: 250px;
  164. }
  165. .infobox .infobox_part {
  166. margin-bottom: 20px;
  167. word-wrap: break-word;
  168. table-layout: fixed;
  169. }
  170. .infobox .infobox_part:last-child {
  171. margin-bottom: 0;
  172. }
  173. .infobox .header_url {
  174. white-space: nowrap;
  175. overflow: hidden;
  176. text-overflow: ellipsis;
  177. display: block;
  178. }
  179. .infobox .infobox_toggle {
  180. width: 100%;
  181. text-align: center;
  182. margin-bottom: 0px;
  183. }
  184. .infobox .infobox_checkbox ~ .infobox_body {
  185. max-height: 300px;
  186. overflow: hidden;
  187. }
  188. .infobox .infobox_checkbox:checked ~ .infobox_body {
  189. max-height: none;
  190. }
  191. .infobox .infobox_checkbox ~ .infobox_toggle .infobox_label_down {
  192. display: block;
  193. }
  194. .infobox .infobox_checkbox ~ .infobox_toggle .infobox_label_up {
  195. display: none;
  196. }
  197. .infobox .infobox_checkbox:checked ~ .infobox_toggle .infobox_label_up {
  198. display: block;
  199. }
  200. .infobox .infobox_checkbox:checked ~ .infobox_toggle .infobox_label_down {
  201. display: none;
  202. }
  203. .infobox .infobox_checkbox ~ .infobox_body img.infobox_part {
  204. display: none;
  205. }
  206. .infobox .infobox_checkbox:checked ~ .infobox_body img.infobox_part {
  207. display: block;
  208. }
  209. .search_categories,
  210. #categories {
  211. text-transform: capitalize;
  212. margin-bottom: 1.5rem;
  213. margin-top: 1.5rem;
  214. display: flex;
  215. flex-wrap: wrap;
  216. align-content: stretch;
  217. }
  218. .search_categories a,
  219. #categories a {
  220. flex-grow: 1;
  221. flex-basis: auto;
  222. border: #DDD 1px solid;
  223. border-right: none;
  224. color: #666;
  225. padding-bottom: 0.4rem;
  226. padding-top: 0.4rem;
  227. text-align: center;
  228. min-width: 50px;
  229. }
  230. .search_categories label,
  231. #categories label,
  232. .search_categories .input-group-addon,
  233. #categories .input-group-addon {
  234. flex-grow: 1;
  235. flex-basis: auto;
  236. font-size: 1.3rem;
  237. font-weight: normal;
  238. background-color: white;
  239. border: #DDD 1px solid;
  240. border-right: none;
  241. color: #333;
  242. padding-bottom: 0.8rem;
  243. padding-top: 0.8rem;
  244. text-align: center;
  245. width: 100%;
  246. height: 100%;
  247. }
  248. .search_categories a:last-child,
  249. #categories a:last-child,
  250. .search_categories .input-group-addon:last-child,
  251. #categories .input-group-addon:last-child {
  252. border-right: #DDD 1px solid;
  253. }
  254. .search_categories input[type="checkbox"]:checked + label,
  255. #categories input[type="checkbox"]:checked + label {
  256. color: black;
  257. font-weight: bold;
  258. background-color: #EEE;
  259. }
  260. .visually-hidden {
  261. position: absolute !important;
  262. height: 1px;
  263. width: 1px;
  264. overflow: hidden;
  265. clip: rect(1px 1px 1px 1px);
  266. /* IE6, IE7 */
  267. clip: rect(1px, 1px, 1px, 1px);
  268. white-space: nowrap;
  269. /* added line */
  270. }
  271. #advanced-search-container {
  272. display: none;
  273. text-align: center;
  274. margin-bottom: 1rem;
  275. clear: both;
  276. }
  277. #advanced-search-container label,
  278. #advanced-search-container .input-group-addon {
  279. font-size: 1.3rem;
  280. font-weight: normal;
  281. background-color: white;
  282. border: #DDD 1px solid;
  283. border-right: none;
  284. color: #333;
  285. padding-bottom: 0.8rem;
  286. padding-left: 1.2rem;
  287. padding-right: 1.2rem;
  288. }
  289. #advanced-search-container label:last-child,
  290. #advanced-search-container .input-group-addon:last-child {
  291. border-right: #DDD 1px solid;
  292. }
  293. #advanced-search-container input[type="radio"] {
  294. display: none;
  295. }
  296. #advanced-search-container input[type="radio"]:checked + label {
  297. color: black;
  298. font-weight: bold;
  299. background-color: #EEE;
  300. }
  301. #check-advanced {
  302. display: none;
  303. }
  304. #check-advanced:checked ~ #advanced-search-container {
  305. display: block;
  306. }
  307. .advanced {
  308. padding: 0;
  309. margin-top: 0.3rem;
  310. text-align: right;
  311. }
  312. .advanced label,
  313. .advanced select {
  314. cursor: pointer;
  315. }
  316. .cursor-text {
  317. cursor: text !important;
  318. }
  319. .cursor-pointer {
  320. cursor: pointer !important;
  321. }
  322. /*
  323. this file is generated automatically by searx_extra/update/update_pygments.py
  324. using pygments version 2.8.0
  325. */
  326. .code-highlight .linenos {
  327. -webkit-touch-callout: none;
  328. -webkit-user-select: none;
  329. -khtml-user-select: none;
  330. -moz-user-select: none;
  331. -ms-user-select: none;
  332. user-select: none;
  333. cursor: default;
  334. margin-right: 8px;
  335. text-align: right;
  336. }
  337. .code-highlight .linenos::selection {
  338. background: transparent;
  339. /* WebKit/Blink Browsers */
  340. }
  341. .code-highlight .linenos::-moz-selection {
  342. background: transparent;
  343. /* Gecko Browsers */
  344. }
  345. .code-highlight pre {
  346. line-height: 125%;
  347. }
  348. .code-highlight td.linenos .normal {
  349. color: inherit;
  350. background-color: transparent;
  351. padding-left: 5px;
  352. padding-right: 5px;
  353. }
  354. .code-highlight span.linenos {
  355. color: inherit;
  356. background-color: transparent;
  357. padding-left: 5px;
  358. padding-right: 5px;
  359. }
  360. .code-highlight td.linenos .special {
  361. color: #000000;
  362. background-color: #ffffc0;
  363. padding-left: 5px;
  364. padding-right: 5px;
  365. }
  366. .code-highlight span.linenos.special {
  367. color: #000000;
  368. background-color: #ffffc0;
  369. padding-left: 5px;
  370. padding-right: 5px;
  371. }
  372. .code-highlight .hll {
  373. background-color: #ffffcc;
  374. }
  375. .code-highlight {
  376. background: #f8f8f8;
  377. }
  378. .code-highlight .c {
  379. color: #408080;
  380. font-style: italic;
  381. }
  382. /* Comment */
  383. .code-highlight .err {
  384. border: 1px solid #FF0000;
  385. }
  386. /* Error */
  387. .code-highlight .k {
  388. color: #008000;
  389. font-weight: bold;
  390. }
  391. /* Keyword */
  392. .code-highlight .o {
  393. color: #666666;
  394. }
  395. /* Operator */
  396. .code-highlight .ch {
  397. color: #408080;
  398. font-style: italic;
  399. }
  400. /* Comment.Hashbang */
  401. .code-highlight .cm {
  402. color: #408080;
  403. font-style: italic;
  404. }
  405. /* Comment.Multiline */
  406. .code-highlight .cp {
  407. color: #BC7A00;
  408. }
  409. /* Comment.Preproc */
  410. .code-highlight .cpf {
  411. color: #408080;
  412. font-style: italic;
  413. }
  414. /* Comment.PreprocFile */
  415. .code-highlight .c1 {
  416. color: #408080;
  417. font-style: italic;
  418. }
  419. /* Comment.Single */
  420. .code-highlight .cs {
  421. color: #408080;
  422. font-style: italic;
  423. }
  424. /* Comment.Special */
  425. .code-highlight .gd {
  426. color: #A00000;
  427. }
  428. /* Generic.Deleted */
  429. .code-highlight .ge {
  430. font-style: italic;
  431. }
  432. /* Generic.Emph */
  433. .code-highlight .gr {
  434. color: #FF0000;
  435. }
  436. /* Generic.Error */
  437. .code-highlight .gh {
  438. color: #000080;
  439. font-weight: bold;
  440. }
  441. /* Generic.Heading */
  442. .code-highlight .gi {
  443. color: #00A000;
  444. }
  445. /* Generic.Inserted */
  446. .code-highlight .go {
  447. color: #888888;
  448. }
  449. /* Generic.Output */
  450. .code-highlight .gp {
  451. color: #000080;
  452. font-weight: bold;
  453. }
  454. /* Generic.Prompt */
  455. .code-highlight .gs {
  456. font-weight: bold;
  457. }
  458. /* Generic.Strong */
  459. .code-highlight .gu {
  460. color: #800080;
  461. font-weight: bold;
  462. }
  463. /* Generic.Subheading */
  464. .code-highlight .gt {
  465. color: #0044DD;
  466. }
  467. /* Generic.Traceback */
  468. .code-highlight .kc {
  469. color: #008000;
  470. font-weight: bold;
  471. }
  472. /* Keyword.Constant */
  473. .code-highlight .kd {
  474. color: #008000;
  475. font-weight: bold;
  476. }
  477. /* Keyword.Declaration */
  478. .code-highlight .kn {
  479. color: #008000;
  480. font-weight: bold;
  481. }
  482. /* Keyword.Namespace */
  483. .code-highlight .kp {
  484. color: #008000;
  485. }
  486. /* Keyword.Pseudo */
  487. .code-highlight .kr {
  488. color: #008000;
  489. font-weight: bold;
  490. }
  491. /* Keyword.Reserved */
  492. .code-highlight .kt {
  493. color: #B00040;
  494. }
  495. /* Keyword.Type */
  496. .code-highlight .m {
  497. color: #666666;
  498. }
  499. /* Literal.Number */
  500. .code-highlight .s {
  501. color: #BA2121;
  502. }
  503. /* Literal.String */
  504. .code-highlight .na {
  505. color: #7D9029;
  506. }
  507. /* Name.Attribute */
  508. .code-highlight .nb {
  509. color: #008000;
  510. }
  511. /* Name.Builtin */
  512. .code-highlight .nc {
  513. color: #0000FF;
  514. font-weight: bold;
  515. }
  516. /* Name.Class */
  517. .code-highlight .no {
  518. color: #880000;
  519. }
  520. /* Name.Constant */
  521. .code-highlight .nd {
  522. color: #AA22FF;
  523. }
  524. /* Name.Decorator */
  525. .code-highlight .ni {
  526. color: #999999;
  527. font-weight: bold;
  528. }
  529. /* Name.Entity */
  530. .code-highlight .ne {
  531. color: #D2413A;
  532. font-weight: bold;
  533. }
  534. /* Name.Exception */
  535. .code-highlight .nf {
  536. color: #0000FF;
  537. }
  538. /* Name.Function */
  539. .code-highlight .nl {
  540. color: #A0A000;
  541. }
  542. /* Name.Label */
  543. .code-highlight .nn {
  544. color: #0000FF;
  545. font-weight: bold;
  546. }
  547. /* Name.Namespace */
  548. .code-highlight .nt {
  549. color: #008000;
  550. font-weight: bold;
  551. }
  552. /* Name.Tag */
  553. .code-highlight .nv {
  554. color: #19177C;
  555. }
  556. /* Name.Variable */
  557. .code-highlight .ow {
  558. color: #AA22FF;
  559. font-weight: bold;
  560. }
  561. /* Operator.Word */
  562. .code-highlight .w {
  563. color: #bbbbbb;
  564. }
  565. /* Text.Whitespace */
  566. .code-highlight .mb {
  567. color: #666666;
  568. }
  569. /* Literal.Number.Bin */
  570. .code-highlight .mf {
  571. color: #666666;
  572. }
  573. /* Literal.Number.Float */
  574. .code-highlight .mh {
  575. color: #666666;
  576. }
  577. /* Literal.Number.Hex */
  578. .code-highlight .mi {
  579. color: #666666;
  580. }
  581. /* Literal.Number.Integer */
  582. .code-highlight .mo {
  583. color: #666666;
  584. }
  585. /* Literal.Number.Oct */
  586. .code-highlight .sa {
  587. color: #BA2121;
  588. }
  589. /* Literal.String.Affix */
  590. .code-highlight .sb {
  591. color: #BA2121;
  592. }
  593. /* Literal.String.Backtick */
  594. .code-highlight .sc {
  595. color: #BA2121;
  596. }
  597. /* Literal.String.Char */
  598. .code-highlight .dl {
  599. color: #BA2121;
  600. }
  601. /* Literal.String.Delimiter */
  602. .code-highlight .sd {
  603. color: #BA2121;
  604. font-style: italic;
  605. }
  606. /* Literal.String.Doc */
  607. .code-highlight .s2 {
  608. color: #BA2121;
  609. }
  610. /* Literal.String.Double */
  611. .code-highlight .se {
  612. color: #BB6622;
  613. font-weight: bold;
  614. }
  615. /* Literal.String.Escape */
  616. .code-highlight .sh {
  617. color: #BA2121;
  618. }
  619. /* Literal.String.Heredoc */
  620. .code-highlight .si {
  621. color: #BB6688;
  622. font-weight: bold;
  623. }
  624. /* Literal.String.Interpol */
  625. .code-highlight .sx {
  626. color: #008000;
  627. }
  628. /* Literal.String.Other */
  629. .code-highlight .sr {
  630. color: #BB6688;
  631. }
  632. /* Literal.String.Regex */
  633. .code-highlight .s1 {
  634. color: #BA2121;
  635. }
  636. /* Literal.String.Single */
  637. .code-highlight .ss {
  638. color: #19177C;
  639. }
  640. /* Literal.String.Symbol */
  641. .code-highlight .bp {
  642. color: #008000;
  643. }
  644. /* Name.Builtin.Pseudo */
  645. .code-highlight .fm {
  646. color: #0000FF;
  647. }
  648. /* Name.Function.Magic */
  649. .code-highlight .vc {
  650. color: #19177C;
  651. }
  652. /* Name.Variable.Class */
  653. .code-highlight .vg {
  654. color: #19177C;
  655. }
  656. /* Name.Variable.Global */
  657. .code-highlight .vi {
  658. color: #19177C;
  659. }
  660. /* Name.Variable.Instance */
  661. .code-highlight .vm {
  662. color: #19177C;
  663. }
  664. /* Name.Variable.Magic */
  665. .code-highlight .il {
  666. color: #666666;
  667. }
  668. /* Literal.Number.Integer.Long */
  669. .searx-navbar {
  670. background: #eee;
  671. color: #aaa;
  672. height: 2.3rem;
  673. font-size: 1.3rem;
  674. line-height: 1.3rem;
  675. padding: 0.5rem;
  676. font-weight: bold;
  677. margin-bottom: 1.3rem;
  678. }
  679. .searx-navbar a,
  680. .searx-navbar a:hover {
  681. margin-right: 2rem;
  682. text-decoration: none;
  683. }
  684. .searx-navbar .instance a {
  685. color: #444;
  686. margin-left: 2rem;
  687. }
  688. .table > tbody > tr > td,
  689. .table > tbody > tr > th {
  690. vertical-align: middle !important;
  691. }
  692. .engine-tooltip {
  693. display: none;
  694. position: absolute;
  695. padding: 0.5rem 1rem;
  696. margin: 0rem 0 0 2rem;
  697. border: 1px solid #ddd;
  698. background: white;
  699. font-size: 14px;
  700. font-weight: normal;
  701. z-index: 1000000;
  702. }
  703. th:hover .engine-tooltip,
  704. .engine-tooltip:hover {
  705. display: inline-block;
  706. }