@w100n/documents 0.14.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -4389,6 +4389,165 @@ svg.w100n-pdf-marks {
4389
4389
  font: inherit;
4390
4390
  box-shadow: 0 0 0 3px var(--docs-active);
4391
4391
  }
4392
+ .w100n-docs-tabs {
4393
+ min-width: 0;
4394
+ overflow: hidden;
4395
+ }
4396
+ .w100n-docs-tabs button {
4397
+ min-width: 0;
4398
+ }
4399
+ .w100n-docs-tabs button span {
4400
+ min-width: 0;
4401
+ overflow: hidden;
4402
+ text-overflow: ellipsis;
4403
+ white-space: nowrap;
4404
+ }
4405
+ .w100n-docs-prose {
4406
+ counter-reset: w100n-fn;
4407
+ }
4408
+ .w100n-fn {
4409
+ counter-increment: w100n-fn;
4410
+ padding: 0 1px;
4411
+ color: #6d28d9;
4412
+ font-weight: 600;
4413
+ cursor: pointer;
4414
+ }
4415
+ .w100n-fn::after {
4416
+ content: counter(w100n-fn);
4417
+ }
4418
+ .w100n-fn.ProseMirror-selectednode,
4419
+ .w100n-math.ProseMirror-selectednode {
4420
+ outline: 2px solid #8b5cf6;
4421
+ outline-offset: 1px;
4422
+ border-radius: 3px;
4423
+ }
4424
+ .w100n-math {
4425
+ padding: 0 2px;
4426
+ border-radius: 4px;
4427
+ cursor: pointer;
4428
+ }
4429
+ .w100n-math:hover {
4430
+ background: #ede9fe;
4431
+ }
4432
+ .w100n-math math {
4433
+ font-size: 1.05em;
4434
+ }
4435
+ .w100n-text-footnotes {
4436
+ position: absolute;
4437
+ left: var(--ml);
4438
+ right: var(--mr);
4439
+ bottom: calc(var(--mt) + 24px + var(--mb));
4440
+ padding-top: 6px;
4441
+ color: #334155;
4442
+ font-size: 10.5px;
4443
+ line-height: 15px;
4444
+ }
4445
+ .w100n-text-footnotes::before {
4446
+ content: "";
4447
+ position: absolute;
4448
+ top: 0;
4449
+ left: 0;
4450
+ width: 33%;
4451
+ border-top: 1px solid #94a3b8;
4452
+ }
4453
+ .w100n-text-footnotes p {
4454
+ margin: 0;
4455
+ }
4456
+ .w100n-text-footnotes sup {
4457
+ margin-right: 2px;
4458
+ color: #6d28d9;
4459
+ font-weight: 600;
4460
+ }
4461
+ .w100n-text-gap.is-end .w100n-text-footnotes {
4462
+ bottom: 0;
4463
+ }
4464
+ .w100n-docs .w100n-insert {
4465
+ width: min(500px, 100%);
4466
+ gap: 12px;
4467
+ }
4468
+ .w100n-insert-grid {
4469
+ display: grid;
4470
+ grid-template-columns: repeat(10, minmax(0, 1fr));
4471
+ gap: 4px;
4472
+ }
4473
+ .w100n-docs .w100n-insert-grid button,
4474
+ .w100n-docs .w100n-insert-tools button {
4475
+ height: 34px;
4476
+ border: 1px solid var(--docs-border);
4477
+ border-radius: 8px;
4478
+ background: var(--docs-soft);
4479
+ color: var(--docs-text);
4480
+ font-size: 15px;
4481
+ }
4482
+ .w100n-docs .w100n-insert-tools button {
4483
+ min-width: 38px;
4484
+ padding: 0 8px;
4485
+ font-size: 13px;
4486
+ }
4487
+ .w100n-docs .w100n-insert-grid button:hover,
4488
+ .w100n-docs .w100n-insert-tools button:hover {
4489
+ border-color: var(--docs-accent);
4490
+ background: var(--docs-active);
4491
+ }
4492
+ .w100n-insert-tools {
4493
+ display: flex;
4494
+ flex-wrap: wrap;
4495
+ gap: 4px;
4496
+ }
4497
+ .w100n-docs .w100n-insert-latex {
4498
+ height: 44px;
4499
+ padding: 0 12px;
4500
+ border: 1px solid var(--docs-border);
4501
+ border-radius: 10px;
4502
+ outline: none;
4503
+ background: var(--docs-bg);
4504
+ color: var(--docs-text);
4505
+ font:
4506
+ 14px ui-monospace,
4507
+ SFMono-Regular,
4508
+ Menlo,
4509
+ monospace;
4510
+ }
4511
+ .w100n-docs .w100n-insert-latex:focus,
4512
+ .w100n-docs .w100n-insert-note:focus {
4513
+ border-color: var(--docs-accent);
4514
+ box-shadow: 0 0 0 3px var(--docs-active);
4515
+ }
4516
+ .w100n-insert-preview {
4517
+ display: grid;
4518
+ place-items: center;
4519
+ min-height: 56px;
4520
+ padding: 8px;
4521
+ border-radius: 10px;
4522
+ background: #fff;
4523
+ color: #0f172a;
4524
+ font-size: 20px;
4525
+ }
4526
+ .w100n-docs .w100n-insert-note {
4527
+ min-height: 96px;
4528
+ padding: 10px 12px;
4529
+ border: 1px solid var(--docs-border);
4530
+ border-radius: 10px;
4531
+ outline: none;
4532
+ resize: vertical;
4533
+ background: var(--docs-bg);
4534
+ color: var(--docs-text);
4535
+ font: inherit;
4536
+ }
4537
+ .w100n-new-tile[data-tone=pink] {
4538
+ background:
4539
+ linear-gradient(
4540
+ 145deg,
4541
+ #ec4899,
4542
+ #be185d);
4543
+ }
4544
+ .w100n-new-tile[data-tone=violet] {
4545
+ background:
4546
+ linear-gradient(
4547
+ 145deg,
4548
+ #8b5cf6,
4549
+ #6d28d9);
4550
+ }
4392
4551
 
4393
4552
  /* src/sheets/sheets.css */
4394
4553
  @font-face {