Skip to content

Commit

Permalink
Version 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepnschrodinger committed Nov 28, 2019
1 parent bb27bd2 commit 7936a52
Show file tree
Hide file tree
Showing 10 changed files with 336 additions and 108 deletions.
56 changes: 49 additions & 7 deletions dist/fixed-data-table-base.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v1.0.1
* FixedDataTable v1.0.2
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down Expand Up @@ -30,6 +30,11 @@
white-space: nowrap;
}

.fixedDataTable_isRTL .fixedDataTableCellGroupLayout_cellGroup {
right: 0;
left: auto;
}

.fixedDataTableCellGroupLayout_cellGroup > .public_fixedDataTableCell_main {
display: inline-block;
vertical-align: top;
Expand Down Expand Up @@ -62,6 +67,12 @@
white-space: normal;
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_main {
border-right-width: 0;
border-left-style: solid;
border-left-width: 1px;
}

.fixedDataTableCellLayout_lastChild {
border-width: 0 1px 1px 0;
}
Expand Down Expand Up @@ -94,6 +105,11 @@
z-index: 1;
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerContainer {
left: 0px;
right: auto;
}

.fixedDataTableCellLayout_columnResizerContainer:hover {
cursor: ew-resize;
}
Expand All @@ -108,6 +124,11 @@
visibility: hidden;
width: 4px;
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerKnob {
left: 0px;
right: auto;
}
/**
* Copyright Schrodinger, LLC
* All rights reserved.
Expand All @@ -126,6 +147,11 @@
width: 12px;
}

.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_mouseArea {
right: auto;
left: -5px;
}

.fixedDataTableColumnResizerLineLayout_main {
border-right-style: solid;
border-right-width: 1px;
Expand All @@ -135,12 +161,10 @@
pointer-events: none;
}

body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
/* the resizer line is in the wrong position in RTL with no easy fix.
* Disabling is more useful than displaying it.
* #167 (github) should look into this and come up with a permanent fix.
*/
display: none !important;
.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main {
border-right-width: 0;
border-left-style: solid;
border-left-width: 1px;
}

.fixedDataTableColumnResizerLineLayout_hiddenElem {
Expand Down Expand Up @@ -213,6 +237,7 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {

.fixedDataTableRowLayout_body {
left: 0;
right: 0;
position: absolute;
top: 0;
}
Expand All @@ -234,6 +259,12 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
width: 0;
}

.fixedDataTable_isRTL .fixedDataTableRowLayout_fixedColumnsDivider {
border-left-width: 0;
border-right-style: solid;
border-right-width: 1px;
}

.fixedDataTableRowLayout_columnsShadow {
position: absolute;
width: 4px;
Expand All @@ -243,6 +274,11 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
right: 1px;
}

.fixedDataTable_isRTL .fixedDataTableRowLayout_columnsRightShadow {
left: 1px;
right: auto;
}

.fixedDataTableRowLayout_rowWrapper {
position: absolute;
top: 0;
Expand Down Expand Up @@ -325,6 +361,12 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
width: 100%;
}

.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal,
.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal:after {
right: 0;
left: auto;
}

.ScrollbarLayout_faceHorizontal.public_Scrollbar_faceActive:after,
.ScrollbarLayout_main:hover .ScrollbarLayout_faceHorizontal:after {
bottom: calc(4px/2);
Expand Down
56 changes: 49 additions & 7 deletions dist/fixed-data-table-base.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v1.0.1
* FixedDataTable v1.0.2
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down Expand Up @@ -30,6 +30,11 @@
white-space: nowrap;
}

.fixedDataTable_isRTL .fixedDataTableCellGroupLayout_cellGroup {
right: 0;
left: auto;
}

.fixedDataTableCellGroupLayout_cellGroup > .public_fixedDataTableCell_main {
display: inline-block;
vertical-align: top;
Expand Down Expand Up @@ -62,6 +67,12 @@
white-space: normal;
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_main {
border-right-width: 0;
border-left-style: solid;
border-left-width: 1px;
}

.fixedDataTableCellLayout_lastChild {
border-width: 0 1px 1px 0;
}
Expand Down Expand Up @@ -94,6 +105,11 @@
z-index: 1;
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerContainer {
left: 0px;
right: auto;
}

.fixedDataTableCellLayout_columnResizerContainer:hover {
cursor: ew-resize;
}
Expand All @@ -108,6 +124,11 @@
visibility: hidden;
width: 4px;
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerKnob {
left: 0px;
right: auto;
}
/**
* Copyright Schrodinger, LLC
* All rights reserved.
Expand All @@ -126,6 +147,11 @@
width: 12px;
}

.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_mouseArea {
right: auto;
left: -5px;
}

.fixedDataTableColumnResizerLineLayout_main {
border-right-style: solid;
border-right-width: 1px;
Expand All @@ -135,12 +161,10 @@
pointer-events: none;
}

body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
/* the resizer line is in the wrong position in RTL with no easy fix.
* Disabling is more useful than displaying it.
* #167 (github) should look into this and come up with a permanent fix.
*/
display: none !important;
.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main {
border-right-width: 0;
border-left-style: solid;
border-left-width: 1px;
}

.fixedDataTableColumnResizerLineLayout_hiddenElem {
Expand Down Expand Up @@ -213,6 +237,7 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {

.fixedDataTableRowLayout_body {
left: 0;
right: 0;
position: absolute;
top: 0;
}
Expand All @@ -234,6 +259,12 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
width: 0;
}

.fixedDataTable_isRTL .fixedDataTableRowLayout_fixedColumnsDivider {
border-left-width: 0;
border-right-style: solid;
border-right-width: 1px;
}

.fixedDataTableRowLayout_columnsShadow {
position: absolute;
width: 4px;
Expand All @@ -243,6 +274,11 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
right: 1px;
}

.fixedDataTable_isRTL .fixedDataTableRowLayout_columnsRightShadow {
left: 1px;
right: auto;
}

.fixedDataTableRowLayout_rowWrapper {
position: absolute;
top: 0;
Expand Down Expand Up @@ -325,6 +361,12 @@ body[dir="rtl"] .fixedDataTableColumnResizerLineLayout_main {
width: 100%;
}

.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal,
.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal:after {
right: 0;
left: auto;
}

.ScrollbarLayout_faceHorizontal.public_Scrollbar_faceActive:after,
.ScrollbarLayout_main:hover .ScrollbarLayout_faceHorizontal:after {
bottom: calc(4px/2);
Expand Down
31 changes: 29 additions & 2 deletions dist/fixed-data-table-style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* FixedDataTable v1.0.1
* FixedDataTable v1.0.2
*
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down Expand Up @@ -97,7 +97,12 @@
background-color: #0284ff;
}
.public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_cellContent {
margin-left: 12px;
margin-left: 12px;
}

.fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_cellContent {
margin-left: auto;
margin-right: 12px;
}
/**
* Column reorder goodies.
Expand All @@ -110,13 +115,25 @@
float: left;
cursor: move;
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer {
margin-right: auto;
margin-left: -12px;
float: right;
}

.fixedDataTableCellLayout_columnReorderContainer:after {
content: '::';
position: absolute;
top: 50%;
left: 1px;
transform: translateY(-50%);
}

.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer:after {
left: auto;
right: 1px;
}
/**
* Copyright Schrodinger, LLC
* All rights reserved.
Expand Down Expand Up @@ -166,6 +183,10 @@
background-image: linear-gradient(90deg, rgba(0,0,0,0.1), rgba(0,0,0,0));
}

.fixedDataTable_isRTL .public_fixedDataTableRow_columnsShadow {
background-image: linear-gradient(270deg, rgba(0,0,0,0.1), rgba(0,0,0,0));
}

.public_fixedDataTableRow_columnsRightShadow {
transform: rotate(180deg);
}
Expand All @@ -192,6 +213,12 @@
border-left: 1px solid #d3d3d3;
}

.fixedDataTable_isRTL .public_Scrollbar_main.public_Scrollbar_mainActive,
.fixedDataTable_isRTL .public_Scrollbar_main {
border-right: 1px solid #d3d3d3;
border-left-width: 0;
}

.public_Scrollbar_mainOpaque,
.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,
.public_Scrollbar_mainOpaque:hover {
Expand Down
Loading

0 comments on commit 7936a52

Please sign in to comment.