yummy-guide-generic-administrate 0.8.5 → 0.8.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3940f84fd25e7fe60419f17273656e50af22465caf4bbfa29e1ac209d03b5bd4
4
- data.tar.gz: 3bc3455f747754d483ee5329c5d4991289eaac0630961a808558f551e7f9c819
3
+ metadata.gz: 0520a5cdee147e08194dab9b3db2bd7c07a1ab16378069dd33075092a0d26fa5
4
+ data.tar.gz: 929494186a5804c39b86503635520ec5b0a5898fc2c306cdd679787dac48b361
5
5
  SHA512:
6
- metadata.gz: b9843e5fdc03dd2e08330368cb267ac888fa1d5327bad40550b44a0960881d6d4cd87b77a0e2cad10f70d3d04f503d88b39192f20f82e4e3adc04910e5af3a7e
7
- data.tar.gz: ba1be8f0226de1a9bd37650827529ea7b5c59d2d680f4d31066f86246fcb3085a87b9a5c1b6c91ccce5d7ffd0360e98d5f2bc281a07426f07987edef714a1503
6
+ metadata.gz: 043eb9eae3d408ef080935b7ab1072f8f5df4e965549f6b8285c5b3f0dd0e50408c92f0174bac1ede3dceaaee976c107bc900cacb389e294bb66cf3882fe2767
7
+ data.tar.gz: 2cf1472d84a48a940408f1dec4138966f0efd331c0097f3152ccbaa9564e8faf74a246dcf0b195a63393f1934299961a0b334a1b4dc4e66ccea34b2f14bc400f
@@ -558,6 +558,71 @@ td.cell-data:hover .admin-copy-cell__button:not([disabled]),
558
558
  .home-table td.sticky-left-mobile--last {
559
559
  box-shadow: 6px 0 8px -8px rgba(0, 0, 0, 0.35);
560
560
  }
561
+
562
+ .scroll-table[data-css-sticky-table] table[data-fixed-columns-count] > thead th,
563
+ .sticky-table-scroll[data-css-sticky-table] table[data-fixed-columns-count] > thead th,
564
+ .home-table__wrapper[data-css-sticky-table] table[data-fixed-columns-count] > thead th,
565
+ .table-wrap[data-css-sticky-table] table[data-fixed-columns-count] > thead th,
566
+ .af__table__content[data-css-sticky-table] table[data-fixed-columns-count] > thead th {
567
+ position: sticky;
568
+ top: 0;
569
+ z-index: 2;
570
+ background-color: #121012;
571
+ color: #fff;
572
+ background-clip: padding-box;
573
+ }
574
+
575
+ .scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
576
+ .scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
577
+ .sticky-table-scroll[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
578
+ .sticky-table-scroll[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
579
+ .home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
580
+ .home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
581
+ .table-wrap[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
582
+ .table-wrap[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
583
+ .af__table__content[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
584
+ .af__table__content[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile {
585
+ position: sticky;
586
+ left: var(--sticky-mobile-left, 0);
587
+ box-sizing: border-box;
588
+ width: var(--sticky-mobile-width, auto);
589
+ min-width: var(--sticky-mobile-width, auto);
590
+ max-width: var(--sticky-mobile-width, none);
591
+ background-clip: padding-box;
592
+ }
593
+
594
+ .scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
595
+ .sticky-table-scroll[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
596
+ .home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
597
+ .table-wrap[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile,
598
+ .af__table__content[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile {
599
+ top: 0;
600
+ z-index: 4;
601
+ background-color: #121012;
602
+ color: #fff;
603
+ }
604
+
605
+ .scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
606
+ .sticky-table-scroll[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
607
+ .home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
608
+ .table-wrap[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile,
609
+ .af__table__content[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile {
610
+ z-index: 3;
611
+ background-color: var(--sticky-cell-background, #fff);
612
+ }
613
+
614
+ .scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile--last,
615
+ .scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile--last,
616
+ .sticky-table-scroll[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile--last,
617
+ .sticky-table-scroll[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile--last,
618
+ .home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile--last,
619
+ .home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile--last,
620
+ .table-wrap[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile--last,
621
+ .table-wrap[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile--last,
622
+ .af__table__content[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile--last,
623
+ .af__table__content[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile--last {
624
+ box-shadow: 6px 0 8px -8px rgba(0, 0, 0, 0.35);
625
+ }
561
626
  }
562
627
 
563
628
  .scroll-table table th.sticky,
@@ -619,6 +684,52 @@ td.cell-data:hover .admin-copy-cell__button:not([disabled]),
619
684
  background-color: var(--sticky-cell-background, #fff);
620
685
  }
621
686
 
687
+ @media (max-width: 767px) {
688
+ .scroll-table table th.sticky.actions-column,
689
+ .sticky-table-scroll table th.sticky.actions-column,
690
+ .home-table th.sticky.actions-column,
691
+ .table-wrap table th.sticky.actions-column,
692
+ .af__table__content table th.sticky.actions-column,
693
+ .scroll-table[data-css-sticky-table] table th.sticky.actions-column,
694
+ .home-table__wrapper[data-css-sticky-table] table th.sticky.actions-column {
695
+ position: sticky;
696
+ top: 0;
697
+ right: auto;
698
+ z-index: 2;
699
+ background-color: #121012;
700
+ color: #fff;
701
+ box-shadow: none;
702
+ }
703
+
704
+ .scroll-table table td.sticky.actions-column,
705
+ .sticky-table-scroll table td.sticky.actions-column,
706
+ .home-table td.sticky.actions-column,
707
+ .table-wrap table td.sticky.actions-column,
708
+ .af__table__content table td.sticky.actions-column,
709
+ .scroll-table[data-css-sticky-table] table td.sticky.actions-column,
710
+ .home-table__wrapper[data-css-sticky-table] table td.sticky.actions-column {
711
+ position: static;
712
+ right: auto;
713
+ z-index: auto;
714
+ background-color: var(--sticky-cell-background, #fff);
715
+ box-shadow: none;
716
+ }
717
+
718
+ .scroll-table table th.sticky.actions-column::before,
719
+ .scroll-table table td.sticky.actions-column::before,
720
+ .sticky-table-scroll table th.sticky.actions-column::before,
721
+ .sticky-table-scroll table td.sticky.actions-column::before,
722
+ .home-table th.sticky.actions-column::before,
723
+ .home-table td.sticky.actions-column::before,
724
+ .table-wrap table th.sticky.actions-column::before,
725
+ .table-wrap table td.sticky.actions-column::before,
726
+ .af__table__content table th.sticky.actions-column::before,
727
+ .af__table__content table td.sticky.actions-column::before {
728
+ content: none;
729
+ display: none;
730
+ }
731
+ }
732
+
622
733
  .actions-column {
623
734
  width: 1%;
624
735
  min-width: 6rem;
@@ -2,6 +2,6 @@
2
2
 
3
3
  module YummyGuide
4
4
  module Administrate
5
- VERSION = "0.8.5"
5
+ VERSION = "0.8.7"
6
6
  end
7
7
  end
@@ -125,6 +125,13 @@ RSpec.describe "column resizer assets" do
125
125
  expect(components_source).to include("th.sticky.actions-column")
126
126
  expect(components_source).to include("td.sticky.actions-column")
127
127
  expect(components_source).to include(".scroll-table[data-css-sticky-table] table > thead th")
128
+ expect(components_source).to include(".scroll-table[data-css-sticky-table] table[data-fixed-columns-count] > thead th")
129
+ expect(components_source).to include(".scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile")
130
+ expect(components_source).to include(".home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile")
131
+ expect(components_source).to include("@media (max-width: 767px)")
132
+ expect(components_source).to include(".scroll-table table th.sticky.actions-column")
133
+ expect(components_source).to include("right: auto")
134
+ expect(components_source).to include("position: static")
128
135
  expect(components_source).to include("background-color: #121012")
129
136
  expect(components_source).to include("color: #fff")
130
137
  expect(components_source).to include(".scroll-table[data-css-sticky-table] table > thead th a")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yummy-guide-generic-administrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - akatsuki-kk