block.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964
  1. .block-content-wrapper {
  2. user-select: text;
  3. @screen sm {
  4. overflow-x: visible;
  5. }
  6. }
  7. .block-content {
  8. @apply min-h-[24px] max-w-full whitespace-pre-wrap break-words cursor-text;
  9. img {
  10. max-width: 100%;
  11. /* FIXME: img macros */
  12. &.left {
  13. float: left;
  14. }
  15. &.right {
  16. float: right;
  17. }
  18. &.loading-asset {
  19. width: 9px;
  20. }
  21. }
  22. .asset-container {
  23. @apply relative inline-block mt-2;
  24. .asset-action-bar {
  25. @apply top-0.5 right-0.5 absolute flex items-center
  26. border bg-gray-02 rounded opacity-0 transition-opacity;
  27. }
  28. .asset-action-btn {
  29. @apply m-1 p-0.5 truncate flex items-center opacity-70 select-none
  30. hover:opacity-90 active:opacity-60;
  31. }
  32. &:hover, &:active {
  33. .asset-action-bar {
  34. @apply opacity-100;
  35. }
  36. }
  37. }
  38. .resize {
  39. display: inline-flex;
  40. /* Fix chrome missing resize handle issue https://bugs.chromium.org/p/chromium/issues/detail?id=1135676&q=css%20resize%20type%3DBug&can=2.*/
  41. transform: translate3d(0, 0, 0);
  42. }
  43. .draw [aria-labelledby="shapes-title"] {
  44. position: absolute;
  45. left: 50%;
  46. transform: translate(-50%);
  47. }
  48. &-fallback-ui {
  49. padding: 10px 15px;
  50. border-color: var(--ls-secondary-border-color);
  51. }
  52. [data-tooltipped]:has(a.tag) {
  53. @apply px-0.5;
  54. }
  55. }
  56. .block-content-or-editor-wrap {
  57. @apply flex flex-1 flex-row flex-wrap gap-1;
  58. }
  59. .block-content-or-editor-inner {
  60. @apply flex flex-1 flex-col w-full;
  61. }
  62. .block-head-wrap {
  63. @apply flex flex-1 w-full flex-row flex-wrap;
  64. @apply justify-between items-center;
  65. }
  66. .breadcrumb {
  67. .asset-container > img {
  68. height: 18px;
  69. width: unset !important;
  70. }
  71. .inline-wrap {
  72. & > div, & > div > div {
  73. display: inherit;
  74. }
  75. }
  76. &.block-parents {
  77. .ui__icon {
  78. position: relative;
  79. top: 4px;
  80. }
  81. a {
  82. color: var(--ls-primary-text-color);
  83. &:hover {
  84. opacity: 1;
  85. }
  86. }
  87. }
  88. .page-ref {
  89. @apply inline-flex items-baseline;
  90. }
  91. }
  92. .open-block-ref-link {
  93. background-color: var(--ls-page-properties-background-color);
  94. padding: 1px 4px;
  95. border-radius: 2px;
  96. }
  97. .block-body {
  98. blockquote:first-child,
  99. pre:first-child {
  100. margin-top: 8px;
  101. margin-bottom: 8px;
  102. }
  103. }
  104. .block-body ul,
  105. .block-body ol,
  106. .block-body dl {
  107. @apply mb-0;
  108. > li {
  109. @apply py-[1px] m-0;
  110. .ui__checkbox {
  111. @apply mr-1.5 overflow-hidden relative top-0.5;
  112. }
  113. }
  114. }
  115. .block-body ol {
  116. list-style-position: inside;
  117. margin-left: 0;
  118. > li {
  119. &::marker,
  120. > p {
  121. display: initial;
  122. }
  123. }
  124. }
  125. .block-children-container {
  126. position: relative;
  127. margin-left: 29px;
  128. }
  129. .block-children-left-border {
  130. z-index: 1;
  131. width: 4px;
  132. left: -1px;
  133. top: 0;
  134. height: 100%;
  135. cursor: pointer;
  136. background-clip: content-box;
  137. background-color: transparent;
  138. position: absolute;
  139. border-radius: 2px;
  140. opacity: 0.6;
  141. border-left-color: var(--lx-gray-09, var(--ls-border-color, var(--rx-gray-09)));
  142. &:hover {
  143. background-color: var(--lx-gray-10, var(--ls-primary-text-color, var(--rx-gray-10)));
  144. opacity: .7;
  145. }
  146. &:active {
  147. opacity: 1;
  148. }
  149. }
  150. .block-children {
  151. border-left: 1px solid;
  152. border-left-color: var(--lx-gray-04-alpha, var(--ls-guideline-color, var(--rx-gray-04-alpha))) !important;
  153. }
  154. .hidden-block .block-children {
  155. border-left: 0;
  156. }
  157. .block-control-wrap, .ls-page-title .property-value .block-control-wrap {
  158. @apply h-[24px];
  159. &.is-order-list {
  160. @apply mr-0 pr-0;
  161. .bullet-link-wrap {
  162. @apply relative left-[-3px];
  163. }
  164. }
  165. &.bullet-hidden {
  166. padding-right: 2px;
  167. }
  168. }
  169. .ls-page-title .block-control-wrap {
  170. height: initial;
  171. }
  172. .block-title-wrap {
  173. @apply w-full inline;
  174. > .ui__checkbox {
  175. @apply relative top-[2px];
  176. > span {
  177. @apply h-full;
  178. }
  179. }
  180. &.as-heading {
  181. @apply flex flex-1 items-center flex-wrap;
  182. > .ui__checkbox {
  183. @apply top-0;
  184. }
  185. h1& {
  186. .ui__icon.ti svg {
  187. @apply w-8 h-7;
  188. }
  189. }
  190. h2& {
  191. .ui__icon.ti svg {
  192. @apply w-7 h-6;
  193. }
  194. }
  195. h3& {
  196. .ui__icon.ti svg {
  197. @apply w-5 h-5;
  198. }
  199. }
  200. }
  201. &:has(.dsl-query), &:has(.embed-page) {
  202. @apply flex flex-row w-full;
  203. > .embed-page {
  204. @apply w-full;
  205. }
  206. }
  207. .dsl-query {
  208. @apply w-full;
  209. }
  210. }
  211. .block-control {
  212. @apply decoration-0 text-sm cursor-default
  213. min-w-[22px] min-h-[22px] p-0.5 select-none opacity-40;
  214. .control-hide {
  215. @apply hidden;
  216. }
  217. &:active {
  218. @apply opacity-30;
  219. }
  220. }
  221. .block-left-menu {
  222. background-color: var(--ls-secondary-background-color);
  223. background: linear-gradient(90deg, var(--ls-primary-background-color) 0%, var(--ls-secondary-background-color) 100%);
  224. .commands-button {
  225. @apply overflow-hidden flex max-w-[40px];
  226. .indent {
  227. @apply flex items-center w-full justify-center opacity-30;
  228. }
  229. }
  230. }
  231. .block-right-menu {
  232. background-color: var(--ls-secondary-background-color);
  233. /* background: linear-gradient(-90deg, var(--ls-primary-background-color) 0%, var(--ls-secondary-background-color) 100%); */
  234. .commands-button {
  235. @apply overflow-hidden flex flex-nowrap;
  236. .outdent, .more {
  237. @apply flex items-center justify-center
  238. overflow-hidden opacity-30 m-0 w-[40px];
  239. }
  240. }
  241. }
  242. .block-ref {
  243. @apply border-b-[0.5px] border-b-[--ls-block-ref-link-text-color] cursor-alias;
  244. display: inherit;
  245. margin-bottom: -1px;
  246. .block-ref {
  247. @apply mx-1;
  248. }
  249. &:hover {
  250. color: var(--ls-link-text-hover-color);
  251. }
  252. .block-content {
  253. cursor: inherit;
  254. &-inner {
  255. display: inherit;
  256. > * {
  257. display: inherit;
  258. }
  259. }
  260. }
  261. }
  262. .block-ref-no-title {
  263. border-bottom: 0.5px solid;
  264. border-bottom-color: var(--ls-block-ref-link-text-color);
  265. cursor: alias;
  266. padding: 2px 5px;
  267. display: block;
  268. &:hover {
  269. color: var(--ls-link-text-hover-color);
  270. }
  271. .block-content {
  272. cursor: inherit;
  273. }
  274. }
  275. .page-reference {
  276. @apply rounded transition-[background];
  277. .bracket {
  278. @apply opacity-30;
  279. }
  280. &:hover {
  281. background: var(--lx-accent-04-alpha, var(--ls-secondary-background-color, hsl(var(--primary)/.4)));
  282. }
  283. }
  284. .page-ref {
  285. @apply inline;
  286. color: var(--lx-accent-11, var(--ls-link-text-color, hsl(var(--primary)/.8)));
  287. &:hover {
  288. color: var(--lx-accent-11, var(--ls-link-text-color, hsl(var(--primary))));
  289. }
  290. .ui__icon.ti {
  291. @apply relative top-[3px] left-0;
  292. }
  293. }
  294. .asset-ref {
  295. &-wrap {
  296. &[data-ext=pdf] {
  297. display: inline-flex;
  298. align-items: center;
  299. }
  300. }
  301. &.is-doc {
  302. &:before {
  303. content: "[[📜";
  304. opacity: .7;
  305. margin-right: 4px;
  306. }
  307. &:after {
  308. content: "]]";
  309. opacity: .7;
  310. }
  311. }
  312. }
  313. .embed-page {
  314. @apply py-2 my-2 px-2;
  315. > section {
  316. margin-bottom: 5px;
  317. }
  318. &.in-sidebar {
  319. background-color: var(--ls-tertiary-background-color);
  320. }
  321. }
  322. .block-properties, .page-properties {
  323. margin: 4px 0;
  324. padding: 4px 8px;
  325. background-color: var(--lx-gray-03, var(--ls-block-properties-background-color, var(--rx-gray-03)));
  326. }
  327. .block-marker {
  328. padding: 2px 4px;
  329. opacity: 0.7;
  330. font-size: 85%;
  331. margin: 0 2px 0 0;
  332. font-weight: 650;
  333. border: 0;
  334. }
  335. .marker-switch {
  336. &:hover {
  337. color: var(--ls-link-text-hover-color);
  338. opacity: 1;
  339. }
  340. }
  341. .block-main-container {
  342. @apply min-h-[24px];
  343. &[data-has-heading="1"], &:has(textarea.h1) {
  344. > .block-control-wrap {
  345. @apply relative top-4;
  346. }
  347. .block-content-or-editor-wrap {
  348. .positioned-properties {
  349. @apply relative top-4;
  350. }
  351. }
  352. }
  353. &[data-has-heading="2"], &:has(textarea.h2) {
  354. > .block-control-wrap {
  355. @apply relative top-3;
  356. }
  357. .block-content-or-editor-wrap {
  358. .positioned-properties {
  359. @apply relative top-3;
  360. }
  361. }
  362. }
  363. &[data-has-heading="3"], &:has(textarea.h3) {
  364. > .block-control-wrap {
  365. @apply relative top-[2px];
  366. }
  367. .block-content-or-editor-wrap {
  368. .positioned-properties {
  369. @apply relative top-[3px];
  370. }
  371. }
  372. }
  373. &[data-has-heading="5"] {
  374. > .block-control-wrap {
  375. @apply relative -top-[1px];
  376. }
  377. }
  378. &[data-has-heading="6"], &:has(textarea.h6) {
  379. h6.as-heading, textarea.h6 {
  380. @apply pt-1;
  381. }
  382. }
  383. }
  384. .ls-block {
  385. @apply relative py-0.5 transition-[background-color] mx-auto;
  386. &.selected {
  387. @apply rounded;
  388. }
  389. }
  390. .ls-block h1,
  391. .editor-inner .h1.uniline-block {
  392. font-size: 2em;
  393. min-height: 1.5em;
  394. }
  395. .ls-block h2,
  396. .editor-inner .h2.uniline-block {
  397. font-size: 1.5em;
  398. min-height: 1.5em;
  399. }
  400. .ls-block h3,
  401. .editor-inner .h3.uniline-block {
  402. font-size: 1.2em;
  403. min-height: 1.2em;
  404. }
  405. .ls-block h4,
  406. .editor-inner .h4.uniline-block {
  407. font-size: 1em;
  408. min-height: 1em;
  409. }
  410. .ls-block h5,
  411. .editor-inner .h5.uniline-block {
  412. font-size: 0.83em;
  413. min-height: 0.83em;
  414. }
  415. .ls-block h6,
  416. .editor-inner .h6.uniline-block {
  417. font-size: 0.75em;
  418. min-height: 0.75em;
  419. }
  420. .ls-block :is(h1, h2, h3, h4, h5, h6),
  421. .editor-inner .uniline-block:is(.h1, .h2, .h3, .h4, .h5, .h6),
  422. .editor-inner .multiline-block:is(.h1, .h2, .h3, .h4, .h5, .h6)::first-line {
  423. font-weight: 600;
  424. }
  425. .ls-block :is(h1, h2),
  426. .editor-inner .uniline-block:is(.h1, .h2) {
  427. @apply border-b border-gray-06 mt-1 mb-2 pb-1;
  428. }
  429. .block-ref .ls-block :is(h1, h2),
  430. .block-ref .editor-inner :is(.h1, .h2) {
  431. border-bottom: none;
  432. }
  433. .block-ref :is(h1, h2, h3, h4, h5, h6) {
  434. border-bottom: none;
  435. font-size: 1rem;
  436. }
  437. .document-mode {
  438. & .ls-block h1,
  439. & .editor-inner .h1 {
  440. margin: 0.67em 0;
  441. }
  442. & .ls-block h2,
  443. & .editor-inner .h2 {
  444. margin: 0.75em 0;
  445. }
  446. & .ls-block h3,
  447. & .editor-inner .h3 {
  448. margin: 0.83em 0;
  449. }
  450. & .ls-block h4,
  451. & .editor-inner .h4 {
  452. margin: 1.12em 0;
  453. }
  454. & .ls-block h5,
  455. & .editor-inner .h5 {
  456. margin: 1.5em 0;
  457. }
  458. & .ls-block h6,
  459. & .editor-inner .h6 {
  460. margin: 1.67em 0;
  461. }
  462. }
  463. .color-level {
  464. background-color: var(--lx-gray-02, var(--color-level-1, var(--rx-gray-02)));
  465. .dark & {
  466. background-color: var(--lx-gray-01, var(--color-level-1, var(--rx-gray-01)));
  467. }
  468. & .color-level {
  469. background-color: var(--color-level-2);
  470. & .color-level {
  471. background-color: var(--color-level-3);
  472. & .color-level {
  473. background-color: var(--color-level-4);
  474. & .color-level {
  475. background-color: var(--color-level-5);
  476. & .color-level {
  477. background-color: var(--color-level-6);
  478. & .color-level {
  479. background-color: var(--color-level-4);
  480. & .color-level {
  481. background-color: var(--color-level-5);
  482. & .color-level {
  483. background-color: var(--color-level-6);
  484. & .color-level {
  485. background-color: var(--color-level-4);
  486. & .color-level {
  487. background-color: var(--color-level-6);
  488. }
  489. }
  490. }
  491. }
  492. }
  493. }
  494. }
  495. }
  496. }
  497. }
  498. }
  499. .color-level-1 {
  500. background-color: var(--color-level-1);
  501. }
  502. .color-level-2 {
  503. background-color: var(--color-level-2);
  504. }
  505. .color-level-3 {
  506. background-color: var(--color-level-3);
  507. }
  508. .color-level-4 {
  509. background-color: var(--color-level-4);
  510. }
  511. .color-level-5 {
  512. background-color: var(--color-level-5);
  513. }
  514. .color-level-6 {
  515. background-color: var(--color-level-6);
  516. }
  517. .bullet-container {
  518. display: flex;
  519. height: 16px;
  520. width: 16px;
  521. border-radius: 50%;
  522. justify-content: center;
  523. align-items: center;
  524. .bullet-heading {
  525. background-color: var(--ls-block-bullet-color, #8fbc8f);
  526. }
  527. &.as-order-list {
  528. @apply w-[22px] whitespace-nowrap justify-center pl-[3px];
  529. }
  530. .bullet {
  531. @apply rounded-full w-[6px] h-[6px] text-[15px] opacity-80;
  532. > * {
  533. @apply cursor-pointer;
  534. }
  535. }
  536. &:not(.typed-list) {
  537. &.bullet-closed {
  538. background-color: var(--lx-gray-04-alpha, var(--ls-block-bullet-border-color, var(--rx-gray-04-alpha)));
  539. }
  540. .bullet {
  541. background-color: var(--lx-gray-08, var(--ls-block-bullet-color, var(--rx-gray-08)));
  542. transition: transform 0.2s;
  543. }
  544. }
  545. &.typed-list:not(:focus-within) {
  546. .bullet {
  547. background-color: unset;
  548. height: unset;
  549. width: unset;
  550. box-shadow: none;
  551. }
  552. }
  553. }
  554. .bullet-link-wrap {
  555. color: var(--ls-primary-text-color);
  556. .ui__icon {
  557. @apply opacity-80;
  558. }
  559. &:hover > .bullet-container:not(.typed-list) {
  560. background-color: var(--lx-gray-04-alpha, var(--ls-block-bullet-border-color, var(--rx-gray-04-alpha)));
  561. .bullet {
  562. transform: scale(1.2);
  563. background-color: var(--lx-gray-08, var(--ls-block-bullet-color, var(--rx-gray-08))) !important;
  564. }
  565. }
  566. }
  567. .content.doc-mode {
  568. margin-left: -16px;
  569. .block-children-left-border {
  570. display: none;
  571. }
  572. .block-children {
  573. border-left: none;
  574. }
  575. .hide-inner-bullet .bullet {
  576. display: none;
  577. }
  578. .block-children-container {
  579. margin-left: 18px;
  580. }
  581. }
  582. .ls-block .custom-query {
  583. > .th {
  584. @apply flex flex-row flex-1 items-center justify-between my-1 text-xs opacity-90;
  585. }
  586. }
  587. /* copied from https://github.com/drdogbot7/tailwindcss-responsive-embed */
  588. .embed-responsive {
  589. position: relative;
  590. display: block;
  591. height: 0;
  592. padding: 0;
  593. overflow: hidden;
  594. .embed-responsive-item,
  595. iframe,
  596. embed,
  597. object,
  598. video {
  599. position: absolute;
  600. top: 0;
  601. left: 0;
  602. bottom: 0;
  603. height: 100%;
  604. width: 100%;
  605. border: 0;
  606. }
  607. }
  608. .embed {
  609. border-radius: var(--ls-border-radius-low);
  610. }
  611. .embed-header {
  612. font-weight: 600;
  613. }
  614. a.filter svg {
  615. transform: scale(0.9);
  616. }
  617. .table-query-properties svg {
  618. display: inline;
  619. }
  620. .query-title {
  621. background: var(--ls-page-properties-background-color);
  622. }
  623. .ls-card {
  624. height: 100%;
  625. }
  626. .ls-card a[data-ref="card"], .ls-card .page-reference[data-ref="card"] {
  627. display: none;
  628. }
  629. a.cloze {
  630. color: var(--ls-cloze-text-color);
  631. }
  632. a.cloze-revealed {
  633. color: var(--ls-cloze-text-color);
  634. text-decoration: underline;
  635. text-underline-position: under;
  636. }
  637. .page-property-key {
  638. @apply font-medium whitespace-nowrap;
  639. color: var(--ls-secondary-text-color);
  640. }
  641. .page-property-key:hover {
  642. background-color: var(--ls-selection-background-color);
  643. }
  644. .cp__fenced-code-block {
  645. .not-edit {
  646. cursor: default;
  647. }
  648. }
  649. html.is-native-ios {
  650. audio {
  651. width: 100%;
  652. max-width: 350px;
  653. }
  654. }
  655. html:not(.is-mac) {
  656. body[data-active-keystroke="Control"] {
  657. .block-content {
  658. cursor: pointer;
  659. }
  660. }
  661. }
  662. html.is-mac {
  663. body[data-active-keystroke="Meta"] {
  664. .block-content {
  665. cursor: pointer;
  666. }
  667. }
  668. }
  669. .references-blocks {
  670. @apply mb-3;
  671. &-wrap {
  672. .foldable-title {
  673. @apply ml-3;
  674. .block-control {
  675. @apply relative right-[-5px] top-[1px];
  676. }
  677. }
  678. }
  679. &-item {
  680. @apply bg-gray-03 rounded p-4;
  681. > .only-page-blocks {
  682. @apply relative -left-[11px];
  683. }
  684. .with-foldable-page {
  685. > .preview-ref-link {
  686. .page-ref .ui__icon.ti {
  687. @apply top-[2px] left-0;
  688. }
  689. }
  690. }
  691. }
  692. .page-reference:hover {
  693. background: var(--lx-accent-04-alpha, var(--ls-tertiary-background-color, hsl(var(--primary)/.4)));
  694. }
  695. }
  696. .cp__right-sidebar-inner {
  697. .references-blocks-item {
  698. @apply bg-gray-04;
  699. }
  700. }
  701. .block-title-wrap a.tag, .block-body a.tag {
  702. font-size: initial;
  703. opacity: 1;
  704. }
  705. .positioned-properties.block-right {
  706. button {
  707. @apply whitespace-nowrap mr-0.5;
  708. }
  709. .block-title-wrap {
  710. @apply overflow-hidden h-6 whitespace-nowrap text-ellipsis;
  711. }
  712. }
  713. .block-tags {
  714. @apply flex flex-row flex-wrap self-start items-center;
  715. min-height: 24px;
  716. max-width: 256px;
  717. margin-right: -28px;
  718. }
  719. .block-tag {
  720. @apply pr-1 flex flex-row items-center gap-1;
  721. }
  722. .block-tag a.tag {
  723. @apply flex text-sm font-normal items-center opacity-70;
  724. }
  725. .block-tag a.tag:hover {
  726. @apply opacity-100;
  727. }
  728. .block-tag span {
  729. @apply whitespace-nowrap overflow-hidden;
  730. max-width: 160px;
  731. text-overflow: ellipsis;
  732. }
  733. .ls-table a.tag {
  734. @apply text-sm;
  735. }
  736. .block-content-wrapper svg, .view-actions svg {
  737. width: 18px;
  738. height: 18px;
  739. }
  740. .ls-page-title .ls-page-icon svg, .ls-page-title .ls-page-icon button {
  741. width: 38px;
  742. height: 38px;
  743. }
  744. .ls-page-title .positioned-properties svg {
  745. width: 16px;
  746. height: 16px;
  747. }
  748. .ls-page-title .ls-page-icon button {
  749. margin-top: 8px;
  750. }
  751. .ls-page-title .positioned-properties {
  752. height: 54px;
  753. }
  754. .ls-page-title .block-tags {
  755. @apply relative -right-1 min-h-full;
  756. }
  757. .ls-code-editor-wrap {
  758. @apply relative w-full;
  759. .extensions__code-lang {
  760. @apply hidden;
  761. }
  762. > .code-block-actions {
  763. @apply absolute right-1 top-1 select-none z-[1] text-xs;
  764. button {
  765. @apply !py-0 h-4 text-muted-foreground hover:text-foreground text-xs px-1;
  766. }
  767. svg {
  768. width: 14px;
  769. height: 14px;
  770. }
  771. }
  772. }