@w100n/documents 0.15.0 → 0.16.0

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
@@ -4548,6 +4548,141 @@ svg.w100n-pdf-marks {
4548
4548
  #8b5cf6,
4549
4549
  #6d28d9);
4550
4550
  }
4551
+ .w100n-docs-head,
4552
+ .w100n-docs-tabs,
4553
+ .w100n-docs-outline,
4554
+ .w100n-docs-cards,
4555
+ .w100n-docs-menu {
4556
+ user-select: none;
4557
+ -webkit-user-select: none;
4558
+ }
4559
+ .w100n-compare {
4560
+ margin: 0 auto;
4561
+ font-size: 15px;
4562
+ line-height: 1.7;
4563
+ overflow-wrap: anywhere;
4564
+ white-space: pre-wrap;
4565
+ }
4566
+ .w100n-compare p {
4567
+ margin: 0 0 12px;
4568
+ padding: 2px 10px;
4569
+ border-left: 3px solid transparent;
4570
+ border-radius: 4px;
4571
+ }
4572
+ .w100n-compare p[data-op="="] {
4573
+ color: #6b7280;
4574
+ }
4575
+ .w100n-compare p[data-op="+"] {
4576
+ border-color: #10b981;
4577
+ background: #ecfdf5;
4578
+ }
4579
+ .w100n-compare p[data-op="-"] {
4580
+ border-color: #f43f5e;
4581
+ background: #fff1f2;
4582
+ }
4583
+ .w100n-compare p[data-op="~"] {
4584
+ border-color: #3b82f6;
4585
+ background: #eff6ff;
4586
+ }
4587
+ .w100n-compare ins {
4588
+ background: #bbf7d0;
4589
+ color: #065f46;
4590
+ text-decoration: none;
4591
+ border-radius: 3px;
4592
+ }
4593
+ .w100n-compare del {
4594
+ background: #fecdd3;
4595
+ color: #9f1239;
4596
+ border-radius: 3px;
4597
+ }
4598
+ .w100n-compare .w100n-compare-sum {
4599
+ margin-bottom: 24px;
4600
+ padding: 0;
4601
+ border: 0;
4602
+ color: #374151;
4603
+ font-weight: 600;
4604
+ white-space: normal;
4605
+ }
4606
+ .w100n-text-endnotes {
4607
+ margin-top: 32px;
4608
+ padding-top: 8px;
4609
+ border-top: 1px solid #cbd5e1;
4610
+ color: #334155;
4611
+ font-size: 13px;
4612
+ line-height: 1.6;
4613
+ user-select: none;
4614
+ }
4615
+ .w100n-text-endnotes p {
4616
+ margin: 0 0 4px;
4617
+ }
4618
+ .w100n-text-endnotes sup {
4619
+ margin-right: 4px;
4620
+ color: #6d28d9;
4621
+ font-weight: 600;
4622
+ }
4623
+ .w100n-text-pop.w100n-text-context {
4624
+ position: fixed;
4625
+ z-index: 40;
4626
+ bottom: auto;
4627
+ right: auto;
4628
+ max-height: none;
4629
+ }
4630
+ .w100n-text-context .w100n-text-hint {
4631
+ display: block;
4632
+ padding: 6px 10px 2px;
4633
+ border-top: 1px solid var(--docs-border);
4634
+ margin-top: 4px;
4635
+ color: var(--docs-dim);
4636
+ font-size: 11.5px;
4637
+ }
4638
+ .w100n-text-sheet.is-flow {
4639
+ width: 100%;
4640
+ min-height: 0;
4641
+ padding: 20px 18px 40px;
4642
+ border-radius: 6px;
4643
+ }
4644
+ .w100n-text-sheet.is-flow img {
4645
+ max-width: 100%;
4646
+ height: auto;
4647
+ }
4648
+ .w100n-text-sheet:not(.is-flow) .w100n-text-endnotes {
4649
+ display: none;
4650
+ }
4651
+ .w100n-docs .w100n-text-ribbon.w100n-text-island {
4652
+ bottom: calc(14px + var(--kb, 0px));
4653
+ }
4654
+ @container (max-width: 560px) {
4655
+ .w100n-text:has(> .w100n-text-top) {
4656
+ display: grid;
4657
+ grid-template: auto minmax(0, 1fr) / minmax(0, 1fr) auto;
4658
+ column-gap: 6px;
4659
+ }
4660
+ .w100n-text > .w100n-text-scroll {
4661
+ grid-area: 2 / 1 / 3 / -1;
4662
+ }
4663
+ .w100n-docs .w100n-text > .w100n-text-ribbon.w100n-text-corner[data-side=right] {
4664
+ position: static;
4665
+ grid-area: 1 / 2;
4666
+ align-self: stretch;
4667
+ padding: 2px;
4668
+ }
4669
+ .w100n-text-top .w100n-text-menus {
4670
+ overflow-x: auto;
4671
+ scrollbar-width: none;
4672
+ }
4673
+ .w100n-docs .w100n-text-ribbon.w100n-text-island {
4674
+ bottom: calc(8px + var(--kb, 0px));
4675
+ }
4676
+ }
4677
+ @media (pointer: coarse) {
4678
+ .w100n-docs .w100n-text-ribbon:is(.w100n-text-island, .w100n-text-corner) :is(.w100n-text-tools, .w100n-text-anchor) > button:not(.w100n-docs-action, .w100n-text-picker, .w100n-text-word) {
4679
+ width: 42px;
4680
+ height: 42px;
4681
+ }
4682
+ .w100n-docs .w100n-text-menu button {
4683
+ min-height: 40px;
4684
+ }
4685
+ }
4551
4686
 
4552
4687
  /* src/sheets/sheets.css */
4553
4688
  @font-face {