Skip to content

Commit d935519

Browse files
committed
update to v3.0.1-beta.11
1 parent 49c819d commit d935519

File tree

2 files changed

+91
-95
lines changed

2 files changed

+91
-95
lines changed

inst/htmlwidgets/dist/LineUpJS.css

Lines changed: 67 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! lineupjs - v3.0.1-beta.7 - 2018
1+
/*! lineupjs - v3.0.1-beta.11 - 2018
22
* https://lineup.js.org
33
* Copyright (c) 2018 Samuel Gratzl; Licensed BSD-3-Clause*/
44

@@ -576,11 +576,6 @@
576576
* @param {Bool} $warn [true] - Warn when module has been already imported
577577
* @require $imported-modules
578578
*/
579-
.lineup-engine *,
580-
.lineup-engine *::before,
581-
.lineup-engine *::after {
582-
box-sizing: border-box; }
583-
584579
.lineup-engine .loading {
585580
background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEyNCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDEyNCAzMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQogIDxzdHlsZT4vKiA8IVtDREFUQVsgKi8NCiAgICByZWN0IHsNCiAgICAgIGZpbGw6ICNjMWMxYzE7DQogICAgfS8qIF1dPiAqLw0KICA8L3N0eWxlPg0KICA8cmVjdCB4PSI1MCIgeT0iMTMiIHdpZHRoPSI0IiBoZWlnaHQ9IjUiIC8+DQogIDxyZWN0IHg9IjYwIiB5PSI1IiB3aWR0aD0iNCIgaGVpZ2h0PSIyMSIgLz4NCiAgPHJlY3QgeD0iNzAiIHk9IjkiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIiAvPg0KPC9zdmc+DQo=) center contain repeat no-repeat;
586581
background-blend-mode: overlay; }
@@ -616,7 +611,8 @@
616611
*/ }
617612
.lineup-engine article.le-row-animation > * {
618613
overflow: hidden !important;
619-
transition: all 0.5s linear; }
614+
transition: all 0.5s linear;
615+
will-change: transform, opacity, height; }
620616
.lineup-engine article.le-row-animation > *[data-animation=show] {
621617
transition: all 0.25s linear; }
622618
.lineup-engine article.le-row-animation > *[data-animation=hide] {
@@ -640,7 +636,10 @@
640636
flex-direction: column;
641637
align-items: stretch;
642638
align-content: stretch;
643-
overflow-x: auto; }
639+
box-sizing: border-box; }
640+
.lineup-engine *::before,
641+
.lineup-engine *::after {
642+
box-sizing: inherit; }
644643
.lineup-engine > header {
645644
flex: 0 0 auto;
646645
overflow-x: hidden;
@@ -650,11 +649,10 @@
650649
@supports (-moz-appearance: meterbar) {
651650
.lineup-engine > header {
652651
overflow-y: hidden; } }
653-
.lineup-engine > header > :last-child {
654-
margin-right: 5px; }
655652
.lineup-engine > main {
656653
flex: 1 1 auto;
657-
overflow-y: auto; }
654+
overflow: auto;
655+
position: relative; }
658656
.lineup-engine > header,
659657
.lineup-engine > main {
660658
display: flex;
@@ -667,50 +665,42 @@
667665
flex: 0 0 auto; }
668666
.lineup-engine > header > article,
669667
.lineup-engine > main > article > div {
670-
display: grid;
671-
grid-auto-columns: 0;
672-
grid-template-rows: auto;
673-
grid-auto-flow: column;
674-
align-items: stretch;
675-
justify-items: stretch; }
676-
.lineup-engine > header > article > .frozen,
677-
.lineup-engine > main > article > div > .frozen {
678-
position: sticky;
679-
left: 0;
680-
background-color: white;
681-
z-index: 1; }
668+
display: flex; }
669+
.lineup-engine.le-shifted > header > article > .frozen,
670+
.lineup-engine.le-shifted > main > article > div > .frozen {
671+
position: sticky;
672+
left: 0;
673+
background-color: white;
674+
z-index: 1; }
682675
.lineup-engine > main > article > div {
683676
position: relative;
684677
background: white;
685-
background-clip: content-box; }
686-
.lineup-engine > main:not(.scrolling) > article > div {
687-
/* @include collapsing-row-border($engine_row_hover_width, #eee); */ }
688-
.lineup-engine > main:not(.scrolling) > article > div:hover, .lineup-engine > main:not(.scrolling) > article > div.le-highlighted {
689-
/* use box-shadow to create collapsing border (@see https://stackoverflow.com/a/28807765) */
690-
box-shadow: 2px 0 0 0 #ffa500, 0 2px 0 0 #ffa500, 2px 2px 0 0 #ffa500, 2px 0 0 0 #ffa500 inset, 0 2px 0 0 #ffa500 inset; }
691-
.lineup-engine > main > article > footer {
678+
background-clip: content-box;
679+
box-sizing: content-box; }
680+
.lineup-engine > main:not(.scrolling) > article > div:hover, .lineup-engine > main:not(.scrolling) > article > div.le-highlighted {
681+
/* use box-shadow to create collapsing border (@see https://stackoverflow.com/a/28807765) */
682+
box-shadow: 2px 0 0 0 #ffa500, 0 2px 0 0 #ffa500, 2px 2px 0 0 #ffa500, 2px 0 0 0 #ffa500 inset, 0 2px 0 0 #ffa500 inset; }
683+
.lineup-engine > header > footer,
684+
.lineup-engine > main > footer {
692685
transition: none !important;
693686
height: 1px !important;
687+
width: 1px;
688+
left: -1px;
694689
visibility: hidden; }
695-
.lineup-engine.lineup-engine-striped > main > article:not(.odd) > div:nth-child(odd),
696-
.lineup-engine.lineup-engine-striped > main > article.odd > div:nth-child(even),
697-
.lineup-engine.lineup-engine-striped > main > article:not(.odd) > div:nth-child(odd) > .frozen,
698-
.lineup-engine.lineup-engine-striped > main > article.odd > div:nth-child(even) > .frozen {
690+
.lineup-engine > main > article {
691+
position: absolute; }
692+
.lineup-engine.lineup-engine-striped > main > article:not(.odd) > div:nth-child(even),
693+
.lineup-engine.lineup-engine-striped > main > article.odd > div:nth-child(odd),
694+
.lineup-engine.lineup-engine-striped > main > article:not(.odd) > div:nth-child(even) > .frozen,
695+
.lineup-engine.lineup-engine-striped > main > article.odd > div:nth-child(odd) > .frozen {
699696
background-color: #f7f7f7; }
700697

701-
.lineup-multi-engine > header,
702-
.lineup-multi-engine > main {
703-
display: grid; }
704-
705-
.lineup-engine > header > article,
706-
.lineup-engine > main > article > * {
707-
grid-column-gap: 5px; }
698+
.lineup-engine > header .lu-header,
699+
.lineup-engine .lu-row > * {
700+
margin-right: 5px; }
708701

709702
section.lu-header {
710-
text-align: center;
711703
color: black;
712-
overflow: unset !important;
713-
margin-right: -5px;
714704
margin-bottom: 15px;
715705
border-bottom: 1px solid black; }
716706
section.lu-header.frozen::before {
@@ -726,12 +716,13 @@ section.lu-header {
726716
background: white;
727717
pointer-events: none; }
728718
section.lu-header:hover {
729-
background-color: rgba(186, 186, 186, 0.5) !important; }
719+
background-color: #d2d2d2; }
730720
section.lu-header:hover > .lu-toolbar {
731721
color: #999; }
732722
section.lu-header > .lu-toolbar {
733723
color: #c1c1c1; }
734724
section.lu-header > .lu-label {
725+
text-align: center;
735726
padding-left: 0.8em;
736727
margin-right: 5px;
737728
font-weight: 500; }
@@ -741,20 +732,16 @@ section.lu-header {
741732
top: 1px;
742733
font-size: 11pt; }
743734
section.lu-header > .lu-summary {
744-
height: 2em;
745-
margin-right: 5px; }
735+
height: 2em; }
746736
section.lu-header > .lu-summary:empty {
747737
display: none; }
748738
section.lu-header > .lu-summary[data-renderer=aggregate], section.lu-header > .lu-summary[data-renderer=selection] {
749739
display: block; }
750-
section.lu-header > .lu-nested {
751-
grid-column-gap: 5px;
752-
padding-right: 10px; }
753-
section.lu-header > .lu-nested > section {
754-
border-bottom: none; }
740+
section.lu-header > .lu-nested > section {
741+
border-bottom: none; }
755742
section.lu-header > .lu-handle {
756743
position: absolute;
757-
right: 0;
744+
right: -5px;
758745
width: 5px;
759746
height: 100%;
760747
background-color: white;
@@ -857,8 +844,6 @@ section.lu-header {
857844
white-space: nowrap;
858845
overflow-x: hidden;
859846
text-overflow: ellipsis; }
860-
.lu-row .lu-grid-space {
861-
grid-column-gap: 5px; }
862847
.lu-row > canvas {
863848
width: 100%;
864849
height: 100%; }
@@ -1332,6 +1317,10 @@ section.lu-header {
13321317
.lu [data-renderer=verticalbar] > div {
13331318
position: relative; }
13341319

1320+
section.lu-slopegraph {
1321+
width: 200px;
1322+
position: relative; }
1323+
13351324
section.lu-slopegraph svg {
13361325
shape-rendering: geometricprecision;
13371326
height: 100%;
@@ -1357,7 +1346,8 @@ section.lu-slopegraph svg {
13571346
section.lu-slopegraph-header {
13581347
display: flex;
13591348
padding-top: 1.4em;
1360-
justify-content: center; }
1349+
justify-content: center;
1350+
width: 200px; }
13611351
section.lu-slopegraph-header i {
13621352
padding: 2px 4px;
13631353
transition: all 0.5s ease;
@@ -1427,7 +1417,8 @@ section.lu-slopegraph-header {
14271417
width: 0.8em;
14281418
text-align: center; }
14291419
.lu-side-panel.lu-collapsed {
1430-
min-width: 0; }
1420+
min-width: 0;
1421+
transform: unset; }
14311422
.lu-side-panel.lu-collapsed > :not(.lu-collapser) {
14321423
display: none; }
14331424
.lu-side-panel.lu-collapsed .lu-collapser::before {
@@ -1601,38 +1592,40 @@ article.lu-side-panel-entry {
16011592
*/
16021593
.lineup-engine {
16031594
/* since the row height should be configurable -> dynamic rule, see TaggleRenderer */ }
1595+
.lineup-engine [data-lod=low][data-agg=detail] > * {
1596+
overflow: hidden; }
16041597
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover)[data-meta~=first] {
16051598
/* change rendering of the first row for a group to show the collapse arrow of `[data-renderer=aggregate]` */
16061599
z-index: 11;
16071600
position: relative; }
16081601
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) .lu-hover-only,
16091602
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) .lu-selection-only,
16101603
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer] {
1611-
display: none !important; }
1604+
visibility: hidden; }
16121605
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=heatmap],
16131606
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=catheatmap] {
1614-
display: block !important; }
1607+
visibility: visible !important; }
16151608
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=aggregate] {
1616-
display: block !important;
1609+
visibility: visible !important;
16171610
overflow: visible !important; }
16181611
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=aggregate]::before {
16191612
position: absolute;
16201613
left: 0;
16211614
right: 0; }
16221615
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=group] {
1623-
display: block !important;
1616+
visibility: visible !important;
16241617
overflow: visible !important; }
16251618
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=group] > * {
16261619
position: absolute;
16271620
left: 0;
16281621
right: 0; }
16291622
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=number] {
1630-
display: block !important; }
1623+
visibility: visible !important; }
16311624
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=number] > * {
16321625
top: 0;
16331626
bottom: 0; }
16341627
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=boxplot] {
1635-
display: block !important; }
1628+
visibility: visible !important; }
16361629
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=boxplot] > div {
16371630
height: 100%; }
16381631
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=boxplot] > div::before,
@@ -1644,7 +1637,7 @@ article.lu-side-panel-entry {
16441637
height: 100%;
16451638
background: #c1c1c1; }
16461639
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=upset] {
1647-
display: block !important;
1640+
visibility: visible !important;
16481641
align-items: stretch; }
16491642
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=upset] > div:first-child {
16501643
display: none; }
@@ -1655,7 +1648,7 @@ article.lu-side-panel-entry {
16551648
visibility: hidden; }
16561649
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=categorical],
16571650
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=brightness] {
1658-
display: block !important; }
1651+
visibility: visible !important; }
16591652
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=categorical] > div:first-of-type,
16601653
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=brightness] > div:first-of-type {
16611654
margin-right: 0;
@@ -1664,7 +1657,7 @@ article.lu-side-panel-entry {
16641657
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=brightness] > div:last-of-type {
16651658
display: none; }
16661659
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=dot] {
1667-
display: block !important; }
1660+
visibility: visible !important; }
16681661
.lineup-engine [data-lod=low][data-agg=detail]:not(:hover) [data-renderer=dot] > div {
16691662
top: 0 !important;
16701663
height: 100%;
@@ -1734,14 +1727,16 @@ article.lu-side-panel-entry {
17341727
color: #ffd700; }
17351728

17361729
.lu {
1737-
position: relative;
1738-
display: flex;
1739-
flex-direction: row-reverse; }
1730+
position: relative; }
17401731
.lu > aside {
1741-
flex: 0 0 auto;
1732+
float: right;
17421733
display: flex;
17431734
flex-direction: column;
17441735
border-left: 1px solid #6d6c6c;
1745-
border-radius: 0; }
1736+
border-radius: 0;
1737+
height: 100%; }
17461738
.lu > main {
1747-
flex: 1 1 auto; }
1739+
height: 100%; }
1740+
.lu::after {
1741+
content: '';
1742+
clear: both; }

0 commit comments

Comments
 (0)