pdf.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047
  1. :root {
  2. --ph-highlight-color-blue: var(--color-blue-300);
  3. --ph-highlight-color-green: var(--color-green-300);
  4. --ph-highlight-color-red: var(--color-red-300);
  5. --ph-highlight-color-purple: var(--color-purple-300);
  6. --ph-highlight-color-yellow: var(--color-yellow-300);
  7. --ph-link-color: #106ba3;
  8. --ph-highlight-scroll-into-color: rgba(255, 75, 93, 0.67);
  9. --ph-view-container-width: 42vw;
  10. }
  11. /* Chrome, Safari, Edge, Opera */
  12. input::-webkit-outer-spin-button,
  13. input::-webkit-inner-spin-button {
  14. -webkit-appearance: none;
  15. margin: 0;
  16. }
  17. .extensions__pdf {
  18. &-container {
  19. display: flex;
  20. *[data-color=yellow] {
  21. background-color: var(--ph-highlight-color-yellow);
  22. border-color: var(--ph-highlight-color-yellow);
  23. }
  24. *[data-color=blue] {
  25. background-color: var(--ph-highlight-color-blue);
  26. border-color: var(--ph-highlight-color-blue);
  27. }
  28. *[data-color=green] {
  29. background-color: var(--ph-highlight-color-green);
  30. border-color: var(--ph-highlight-color-green);
  31. }
  32. *[data-color=red] {
  33. background-color: var(--ph-highlight-color-red);
  34. border-color: var(--ph-highlight-color-red);
  35. }
  36. *[data-color=purple] {
  37. background-color: var(--ph-highlight-color-purple);
  38. border-color: var(--ph-highlight-color-purple);
  39. }
  40. }
  41. &-loader {
  42. position: relative;
  43. }
  44. &-header {
  45. display: flex;
  46. justify-content: flex-end;
  47. position: absolute;
  48. top: 0;
  49. right: 10px; /* Allows clicking on the scrollbar */
  50. width: calc(100% - 10px);
  51. padding: 8px 20px;
  52. z-index: 5;
  53. -webkit-app-region: drag;
  54. }
  55. &-toolbar {
  56. -webkit-app-region: no-drag;
  57. > .inner {
  58. display: flex;
  59. align-items: center;
  60. justify-content: flex-end;
  61. > .r {
  62. a.button {
  63. user-select: none;
  64. display: flex;
  65. align-items: center;
  66. margin-left: 8px;
  67. margin-right: 8px;
  68. padding: 4px 2px;
  69. color: var(--ls-icon-color);
  70. background-color: transparent;
  71. transition: none;
  72. word-break: normal;
  73. &.is-active {
  74. opacity: 1;
  75. border-bottom: 2px solid #969494;
  76. border-radius: 0;
  77. }
  78. &:active {
  79. opacity: .6;
  80. }
  81. }
  82. }
  83. .pager {
  84. white-space: nowrap;
  85. > .nu {
  86. padding-right: 4px;
  87. input {
  88. user-select: inherit;
  89. width: 35px;
  90. text-align: right;
  91. padding-right: 4px;
  92. padding-left: 2px;
  93. height: 18px;
  94. border: none;
  95. background: transparent;
  96. font-size: 15px;
  97. &.is-long {
  98. font-size: 12px;
  99. }
  100. }
  101. }
  102. > .ct {
  103. .button {
  104. margin: 0;
  105. &:last-child {
  106. padding-right: 3px;
  107. }
  108. }
  109. }
  110. }
  111. }
  112. }
  113. &-outline {
  114. position: absolute;
  115. right: 15px;
  116. > section {
  117. white-space: pre-wrap;
  118. max-height: 80vh;
  119. padding-top: 15px;
  120. padding-bottom: 15px;
  121. padding-left: 12px;
  122. overflow: auto;
  123. color: #565656;
  124. > .extensions__pdf-outline-item > .inner > a {
  125. font-weight: bold;
  126. }
  127. }
  128. &-item {
  129. &.has-children {
  130. > .inner > a > i.arrow {
  131. opacity: 1;
  132. }
  133. }
  134. &.is-expand {
  135. > .inner > a > i.arrow svg {
  136. transform: rotate(90deg) translateX(2px);
  137. }
  138. }
  139. > .inner {
  140. > a {
  141. color: #565656;
  142. font-size: 11px;
  143. text-decoration: none;
  144. font-weight: normal;
  145. display: flex;
  146. align-items: center;
  147. padding: 6px 5px;
  148. user-select: none;
  149. border-radius: 4px;
  150. cursor: default;
  151. margin-right: 10px;
  152. transition: none;
  153. > i {
  154. opacity: 0;
  155. width: 16px;
  156. height: 16px;
  157. display: flex;
  158. align-items: center;
  159. svg {
  160. color: #565656;
  161. transform: scale(.8);
  162. transition: .3s transform;
  163. }
  164. }
  165. &:hover {
  166. color: var(--ph-link-color);
  167. }
  168. &:active, &:focus {
  169. background-color: var(--ph-link-color);
  170. color: white;
  171. > i {
  172. svg {
  173. color: #e3e3e3;
  174. }
  175. }
  176. }
  177. }
  178. }
  179. > .children {
  180. padding-left: 12px;
  181. }
  182. }
  183. &-tabs {
  184. @apply flex justify-center py-2.5 space-x-1;
  185. border-bottom: 1px solid #d9d9d9;
  186. > .inner {
  187. display: flex;
  188. border: 1px solid #d5d5d5;
  189. border-radius: 4px;
  190. }
  191. button {
  192. font-size: 12px;
  193. padding: 5px 6px;
  194. line-height: 1;
  195. border: none;
  196. min-width: 90px;
  197. border-radius: 3px;
  198. color: black;
  199. &:hover {
  200. border: none;
  201. opacity: .8;
  202. color: black;
  203. border-radius: 3px;
  204. }
  205. &:active {
  206. opacity: 1;
  207. background-color: #c5c5c5;
  208. }
  209. &.active {
  210. background-color: #c5c5c5;
  211. }
  212. }
  213. }
  214. &-panels {
  215. max-height: 80vh;
  216. overflow-y: auto;
  217. padding: 5px 0 5px 10px;
  218. }
  219. &-wrap.hls-popup-overlay {
  220. right: -6px;
  221. left: unset;
  222. bottom: unset;
  223. height: auto;
  224. width: auto;
  225. }
  226. }
  227. &-settings {
  228. &-inner.hls-popup-box {
  229. position: absolute;
  230. right: 375px;
  231. width: 235px;
  232. padding: 15px 10px;
  233. }
  234. &-item {
  235. display: flex;
  236. color: rgb(115, 115, 115);
  237. &.theme-picker {
  238. justify-content: center;
  239. align-items: center;
  240. > button {
  241. border-radius: 50%;
  242. background-color: white;
  243. width: 30px;
  244. height: 30px;
  245. overflow: hidden;
  246. margin: 0 8px;
  247. border: 1px solid #c7c7c7;
  248. font-size: 0;
  249. &:hover {
  250. opacity: .8;
  251. border-color: #a3a3a3;
  252. }
  253. &.warm {
  254. background-color: #f9efdb;
  255. }
  256. &.dark {
  257. background-color: #0a4251;
  258. svg {
  259. color: white;
  260. }
  261. }
  262. }
  263. }
  264. &.toggle-input {
  265. align-items: center;
  266. justify-content: space-between;
  267. font-size: 11px;
  268. padding: 0 9px;
  269. padding-top: 12px;
  270. margin-top: 13px;
  271. opacity: 0.8;
  272. border-top: 1px solid #ccc;
  273. &.is-between {
  274. padding-top: 0;
  275. border-top: none;
  276. }
  277. }
  278. }
  279. }
  280. &-finder {
  281. &-wrap.hls-popup-overlay {
  282. right: -6px;
  283. left: unset;
  284. bottom: unset;
  285. height: auto;
  286. width: auto;
  287. }
  288. &.hls-popup-box {
  289. min-width: 360px;
  290. width: auto;
  291. > .input-inner {
  292. @apply p-2 relative;
  293. .input-wrap {
  294. @apply mr-1.5 border border-gray-300;
  295. border-radius: 4px;
  296. &:active, &:focus-within {
  297. border-color: transparent;
  298. }
  299. }
  300. input {
  301. @apply flex-1 bg-gray-200;
  302. padding: 1px 5px;
  303. border-radius: 4px;
  304. color: black;
  305. outline: none;
  306. border: 2px solid transparent;
  307. &:focus {
  308. border: 2px solid rgba(16, 107, 163, 0.75);
  309. }
  310. }
  311. .ui__button {
  312. margin-top: unset;
  313. border-radius: 4px;
  314. color: black;
  315. padding: 4px;
  316. .ti {
  317. font-weight: bold;
  318. color: #989898;
  319. }
  320. &.active .ti, &:hover .ti {
  321. color: #1f1f1f !important;
  322. }
  323. &.icon-enter {
  324. @apply absolute opacity-80;
  325. right: -1px;
  326. top: 2px;
  327. }
  328. }
  329. > .ui__button {
  330. margin-left: 8px;
  331. }
  332. }
  333. > .result-inner {
  334. @apply text-gray-800;
  335. }
  336. }
  337. }
  338. &-viewer {
  339. position: absolute;
  340. overflow: auto;
  341. width: 100%;
  342. height: 100%;
  343. > .viewer-container {
  344. }
  345. > .pdfViewer {
  346. &.disabled-text-selection {
  347. user-select: none;
  348. pointer-events: none;
  349. }
  350. }
  351. }
  352. &-resizer {
  353. position: absolute;
  354. width: 3px;
  355. height: 88vh;
  356. background-color: rgba(0, 0, 0, 0);
  357. overflow: hidden;
  358. z-index: 4;
  359. top: 10vh;
  360. cursor: col-resize;
  361. right: 0;;
  362. }
  363. &-hls-text-region {
  364. opacity: 1;
  365. z-index: 2;
  366. }
  367. &-hls-area-region {
  368. cursor: pointer;
  369. position: absolute;
  370. opacity: .8;
  371. z-index: 2;
  372. background-color: #FCD713FF;
  373. mix-blend-mode: multiply;
  374. touch-action: none;
  375. border-style: dashed;
  376. }
  377. &-viewer.is-area-dashed {
  378. .extensions__pdf {
  379. &-hls-area-region {
  380. background-color: transparent;
  381. border-width: 3px;
  382. opacity: 1 !important;
  383. }
  384. }
  385. }
  386. &-hls-ctx-menu {
  387. position: absolute;
  388. z-index: 9;
  389. color: #343434;
  390. border-radius: 4px;
  391. font-size: 13px;
  392. padding: 8px 10px;
  393. background-color: #e3e7e8;
  394. box-shadow: 0 2px 4px 0 rgba(134, 134, 134, 0.59);
  395. list-style: none;
  396. margin: 0;
  397. &::after {
  398. content: "";
  399. position: absolute;
  400. top: -50%;
  401. right: -50%;
  402. bottom: -50%;
  403. left: -50%;
  404. border: solid 1px #b2b2b2;
  405. transform: scale(0.5);
  406. transform-origin: center center;
  407. pointer-events: none;
  408. border-radius: 10px;
  409. }
  410. > li {
  411. margin: 0;
  412. padding: 5px 8px;
  413. display: flex;
  414. align-items: center;
  415. user-select: none;
  416. cursor: default;
  417. &.item:hover {
  418. background-color: #cecece;
  419. border-radius: 4px;
  420. }
  421. &.item-colors {
  422. display: flex;
  423. justify-content: space-between;
  424. margin: 0 -5px;
  425. > a {
  426. width: 14px;
  427. height: 14px;
  428. border-radius: 20px;
  429. background-color: #b2b2b2;
  430. overflow: hidden;
  431. opacity: 1;
  432. margin: 0 5px;
  433. font-size: 0;
  434. border: 1px inset rgba(0, 0, 0, .2);
  435. cursor: default;
  436. &:hover {
  437. opacity: .8;
  438. transform: scale(1.1);
  439. }
  440. &[data-color=yellow] {
  441. background-color: var(--color-yellow-500);
  442. }
  443. &[data-color=blue] {
  444. background-color: var(--color-blue-500);
  445. }
  446. &[data-color=green] {
  447. background-color: var(--color-green-500);
  448. }
  449. &[data-color=red] {
  450. background-color: var(--color-red-500);
  451. }
  452. &[data-color=purple] {
  453. background-color: var(--color-purple-500);
  454. }
  455. }
  456. }
  457. }
  458. }
  459. &-area-selection {
  460. .shadow-rect {
  461. position: absolute;
  462. background: rgba(252, 232, 151, 1);
  463. mix-blend-mode: multiply;
  464. }
  465. }
  466. &-highlights-list-item {
  467. @apply active:opacity-100 mr-2;
  468. user-select: none;
  469. font-size: 12px;
  470. padding-top: 8px;
  471. padding-bottom: 2px;
  472. padding-left: 6px;
  473. border-radius: 4px;
  474. margin-bottom: 3px;
  475. &:first-child {
  476. margin-top: 5px;
  477. }
  478. > h6 {
  479. @apply flex items-center justify-between pr-2 relative;
  480. font-size: 10px;
  481. line-height: 1em;
  482. color: #696969;
  483. -webkit-font-smoothing: antialiased;
  484. small {
  485. width: 8px;
  486. height: 8px;
  487. border-radius: 100%;
  488. margin-right: 6px;
  489. border-color: #cccccc !important;
  490. }
  491. button {
  492. @apply absolute right-0 top-[-6px] hover:opacity-80 active:opacity-100 hidden;
  493. padding-right: 8px;
  494. padding-top: 4px;
  495. .ti {
  496. font-size: 14px;
  497. }
  498. }
  499. }
  500. > p {
  501. color: #646464;
  502. padding-top: 6px;
  503. padding-bottom: 2px;
  504. margin: 0;
  505. &.text-wrap {
  506. display: -webkit-box;
  507. -webkit-line-clamp: 3;
  508. -webkit-box-orient: vertical;
  509. overflow: hidden;
  510. line-height: 1.24em;
  511. }
  512. &.area-wrap {
  513. display: flex;
  514. align-items: center;
  515. padding-right: 6px;
  516. }
  517. &:hover {
  518. color: var(--ph-link-color);
  519. }
  520. }
  521. &.active {
  522. background-color: var(--ph-link-color);
  523. > h6, > p {
  524. color: white;
  525. button {
  526. @apply inline;
  527. }
  528. }
  529. }
  530. &:hover:not(.active) {
  531. opacity: .9;
  532. }
  533. }
  534. }
  535. .hls-text-region-item {
  536. cursor: pointer;
  537. position: absolute;
  538. z-index: 2;
  539. transition: background 0.3s;
  540. background-color: rgba(252, 219, 97, 0.7);
  541. &[data-color=yellow] {
  542. background-color: var(--ph-highlight-color-yellow);
  543. opacity: .5;
  544. }
  545. &[data-color=blue] {
  546. background-color: var(--ph-highlight-color-blue);
  547. }
  548. &[data-color=green] {
  549. background-color: var(--ph-highlight-color-green);
  550. }
  551. &[data-color=red] {
  552. background-color: var(--ph-highlight-color-red);
  553. }
  554. &[data-color=purple] {
  555. background-color: var(--ph-highlight-color-purple);
  556. }
  557. }
  558. .hls-popup {
  559. &-overlay {
  560. position: absolute;
  561. top: 40px;
  562. right: 0;
  563. left: 0;
  564. width: 100%;
  565. height: 92vh;
  566. background-color: rgba(0, 0, 0, 0);
  567. display: none;
  568. &.visible {
  569. display: block;
  570. }
  571. }
  572. &-box {
  573. z-index: 3;
  574. border-radius: 4px;
  575. width: 320px;
  576. overflow-y: auto;
  577. background-color: #e3e7e8;
  578. outline: none;
  579. box-shadow: 0 2px 4px 0 rgba(134, 134, 134, 0.59);
  580. &::after {
  581. content: "";
  582. position: absolute;
  583. top: -50%;
  584. right: -50%;
  585. bottom: -50%;
  586. left: -50%;
  587. border: solid 1px #b2b2b2;
  588. transform: scale(0.5);
  589. transform-origin: center center;
  590. pointer-events: none;
  591. border-radius: 10px;
  592. }
  593. }
  594. }
  595. .extensions__pdf-container {
  596. background-color: transparent;
  597. .extensions__pdf-toolbar .buttons {
  598. background-color: var(--ls-primary-background-color);
  599. }
  600. &[data-theme=light] {
  601. background-color: #FFFFFF;
  602. }
  603. &[data-theme=dark] {
  604. background-color: #042f3c;
  605. .pdfViewer {
  606. background: transparent;
  607. .page {
  608. -webkit-filter: invert(100%);
  609. filter: invert(100%);
  610. }
  611. }
  612. .textLayer {
  613. background-color: #023d4cf7;
  614. -webkit-filter: invert(100%);
  615. filter: invert(100%);
  616. }
  617. .extensions__pdf-toolbar {
  618. background: linear-gradient(0deg, rgba(255, 255, 255, 0) 10%, rgb(15 31 37) 100%)
  619. }
  620. .extensions__pdf-hls-area-region {
  621. mix-blend-mode: revert;
  622. opacity: .4;
  623. }
  624. }
  625. &[data-theme=warm] {
  626. background-color: #f6efdf;
  627. .textLayer {
  628. background-color: #f8eeda;
  629. }
  630. .extensions__pdf-toolbar {
  631. .buttons {
  632. background-color: #f6efdf;
  633. }
  634. }
  635. }
  636. }
  637. .asset-ref {
  638. &.is-pdf {
  639. &:before {
  640. content: "[[📚";
  641. opacity: .7;
  642. margin-right: 4px;
  643. }
  644. &:after {
  645. content: "]]";
  646. opacity: .7;
  647. }
  648. }
  649. }
  650. .block-ref {
  651. &-wrap {
  652. &[data-type=annotation] {
  653. }
  654. &[data-hl-type=area] {
  655. display: block;
  656. .block-ref {
  657. display: block;
  658. border: none;
  659. }
  660. .prefix-link > .hl-area {
  661. cursor: alias;
  662. }
  663. }
  664. }
  665. }
  666. .block-content {
  667. &[data-type=annotation] {
  668. .prefix-link {
  669. display: inline-flex;
  670. align-items: center;
  671. padding-right: 4px;
  672. cursor: alias;
  673. color: var(--ls-link-ref-text-color);
  674. &:before {
  675. content: "📌 ";
  676. }
  677. }
  678. [data-hl-type=area] {
  679. .prefix-link {
  680. padding-top: 5px;
  681. display: block;
  682. }
  683. .hl-page {
  684. display: inline-flex;
  685. justify-content: space-between;
  686. width: 85%;
  687. > label {
  688. flex: 1;
  689. cursor: text;
  690. }
  691. }
  692. }
  693. .hl-area {
  694. @apply relative;
  695. display: inline-block;
  696. cursor: text;
  697. border: 1px solid #eee;
  698. border-radius: 4px;
  699. overflow: hidden;
  700. margin-top: 4px;
  701. .actions {
  702. @apply absolute right-1 top-1 flex opacity-0 transition-opacity;
  703. }
  704. &:hover {
  705. .actions {
  706. @apply opacity-100;
  707. }
  708. }
  709. img {
  710. margin: 0;
  711. box-shadow: none;
  712. max-width: 100%;
  713. max-height: 420px;
  714. cursor: alias;
  715. }
  716. }
  717. }
  718. }
  719. .ls-hl-colored .block-content {
  720. &[data-hl-color=green] {
  721. .prefix-link {
  722. &:before {
  723. content: "🟢 ";
  724. }
  725. }
  726. }
  727. &[data-hl-color=purple] {
  728. .prefix-link {
  729. &:before {
  730. content: "🟣 ";
  731. }
  732. }
  733. }
  734. &[data-hl-color=blue] {
  735. .prefix-link {
  736. &:before {
  737. content: "🔵 ";
  738. }
  739. }
  740. }
  741. &[data-hl-color=yellow] {
  742. .prefix-link {
  743. &:before {
  744. content: "🟡 ";
  745. }
  746. }
  747. }
  748. &[data-hl-color=red] {
  749. .prefix-link {
  750. &:before {
  751. content: "🔴 ";
  752. }
  753. }
  754. }
  755. }
  756. body[data-page] {
  757. .extensions__pdf-loader {
  758. width: 100%;
  759. }
  760. .extensions__pdf-container {
  761. position: fixed;
  762. left: 0;
  763. top: 0;
  764. width: var(--ph-view-container-width);
  765. height: 100vh;
  766. overflow-y: hidden;
  767. z-index: 10;
  768. }
  769. .extensions__pdf {
  770. &-viewer {
  771. left: 0;
  772. width: 100%;
  773. }
  774. &-viewer-cnt {
  775. display: flex;
  776. }
  777. &-highlights {
  778. height: 30vh;
  779. overflow: auto;
  780. position: absolute;
  781. top: 20px;
  782. left: 20px;
  783. background-color: rgba(231, 231, 231, 0.9);
  784. padding: 20px;
  785. z-index: 6;
  786. max-width: 400px;
  787. pre {
  788. white-space: pre-wrap;
  789. font-size: 12px;
  790. }
  791. }
  792. }
  793. }
  794. body.is-pdf-active {
  795. #app-container {
  796. padding-left: calc(var(--ph-view-container-width) + 15px);
  797. }
  798. #left-sidebar {
  799. border: none !important;
  800. display: none;
  801. }
  802. #head > .l {
  803. padding-left: 0;
  804. }
  805. #main-container.is-left-sidebar-open {
  806. padding-left: unset;
  807. }
  808. #left-menu {
  809. display: none;
  810. }
  811. }
  812. html.is-system-window {
  813. .extensions__pdf-container {
  814. width: 100vw;
  815. height: 100vh;
  816. }
  817. .extensions__pdf-loader {
  818. @apply w-full;
  819. }
  820. }
  821. /* overrides for pdf_viewer.css from PDF.JS web viewer */
  822. .textLayer {
  823. z-index: 2;
  824. opacity: .8;
  825. mix-blend-mode: multiply;
  826. }
  827. .annotationLayer {
  828. .highlightAnnotation, .underlineAnnotation {
  829. display: none;
  830. }
  831. }
  832. .textLayer ::selection {
  833. background: rgb(185, 231, 255);
  834. mix-blend-mode: multiply;
  835. color: unset;
  836. }
  837. .textLayer .highlight {
  838. background-color: rgb(206 255 162);
  839. border: 1px solid transparent;
  840. border-radius: 0;
  841. padding: 0 2px;
  842. &.selected {
  843. background-color: rgb(206 255 162);
  844. border: 2px dashed #ff3434;
  845. }
  846. }
  847. .hl-flash {
  848. animation-name: hl-flash;
  849. animation-duration: 0.3s;
  850. animation-timing-function: ease;
  851. animation-iteration-count: 2;
  852. animation-direction: alternate;
  853. animation-play-state: running;
  854. }
  855. @keyframes hl-flash {
  856. from {
  857. opacity: 0;
  858. }
  859. to {
  860. opacity: 1;
  861. }
  862. }
  863. .pdfViewer .page.loadingIcon::after {
  864. background: none;
  865. }