Skip to content

Commit

Permalink
fix(less): improve less compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Portugal authored and mportuga committed Feb 10, 2019
1 parent 5482ba6 commit 2ab139e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/less/body.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import (reference) 'variables.less';
@import (reference) 'elements.less';
@import (reference) 'header.less';

.ui-grid-render-container {
position: inherit;
Expand Down
3 changes: 3 additions & 0 deletions packages/core/less/footer.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import (reference) 'variables.less';
@import (reference) 'elements.less';

.ui-grid-footer-info {
padding: 5px 10px;
}
Expand Down
3 changes: 3 additions & 0 deletions packages/core/less/grid.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import (reference) 'variables.less';
@import (reference) 'elements.less';

.ui-grid {
border: @gridBorderWidth solid @borderColor;
box-sizing: content-box; // If bootstrap (or another included library) makes the default sizing on element "border-box", then calculations get messed up
Expand Down
2 changes: 2 additions & 0 deletions packages/core/less/header.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import (reference) 'variables.less';
@import (reference) 'elements.less';

.ui-grid-top-panel-background {
background-color: @headerBackgroundColor;
Expand Down
2 changes: 2 additions & 0 deletions packages/core/less/icons.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import (reference) 'variables.less';

@font-face {
font-family: 'ui-grid';
src: url('@{font-path}ui-grid.eot');
Expand Down
3 changes: 3 additions & 0 deletions packages/core/less/menu.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import (reference) 'variables.less';
@import (reference) 'elements.less';

.ui-grid-menu-button {
z-index: 2;
position: absolute;
Expand Down
2 changes: 2 additions & 0 deletions packages/core/less/rtl.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import (reference) 'variables.less';

/*
* RTL Styles
*/
Expand Down
2 changes: 2 additions & 0 deletions packages/core/less/sorting.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import (reference) 'elements.less';

@sortArrowWidth: 20px;

.ui-grid-sortarrow {
Expand Down

0 comments on commit 2ab139e

Please sign in to comment.