Skip to content

Commit

Permalink
AG-xxx - Fixed sass autoprefixer for examples and css cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gportela85 committed Dec 10, 2018
1 parent 90657f7 commit 3717aa9
Show file tree
Hide file tree
Showing 23 changed files with 38 additions and 135 deletions.
5 changes: 4 additions & 1 deletion packages/ag-grid-community/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ function scssTask() {
loader: 'postcss-loader',
options: {
syntax: 'postcss-scss',
plugins: [autoprefixer()]
plugins: [autoprefixer({
browsers: ["last 2 version"],
flexbox: true
})]
}
}
]
Expand Down
14 changes: 0 additions & 14 deletions packages/ag-grid-community/src/styles/_ag-theme-balham-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ $disabled-foreground-color-opacity: 0.38 !default;
$row-border-width: map-get($params, "row-border-width");
$selected-color: map-get($params, "selected-color");

.ag-header,
.ag-row,
.ag-header-cell,
.ag-header-group-cell,
.ag-rich-select-value,
.ag-root {
box-sizing: border-box;
}

%card {
border: 1px solid $border-color;
}
Expand Down Expand Up @@ -115,7 +106,6 @@ $disabled-foreground-color-opacity: 0.38 !default;
height: $grid-size * 6 !important;

.ag-column-drop-cell-button {
box-sizing: border-box;
height: calc(100% - #{$grid-size});
margin-bottom: $grid-size / 2;
margin-top: $grid-size / 2;
Expand Down Expand Up @@ -264,10 +254,6 @@ $disabled-foreground-color-opacity: 0.38 !default;
.ag-cell-inline-editing {
height: $row-height;
padding: 0;

input {
box-sizing: border-box;
}
}

.ag-details-row {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
background-color: map-get($params, "panel-background-color");
}

.ag-cell {
box-sizing: border-box;
}

%card {
background-color: $editor-background-color;
border: 1px solid $border-color;
Expand Down Expand Up @@ -80,7 +76,6 @@

.ag-header-cell {
border-right: 1px solid $border-color;
box-sizing: border-box;
}

.ag-header-group-cell {
Expand Down Expand Up @@ -140,7 +135,6 @@
height: $grid-size * 4.5 !important;

.ag-column-drop-cell-button {
box-sizing: border-box;
height: calc(100% - #{$grid-size});
margin-bottom: $grid-size / 2;
margin-top: $grid-size / 2;
Expand Down Expand Up @@ -190,10 +184,6 @@
.ag-cell-inline-editing {
height: $row-height;
padding: 0;

input {
box-sizing: border-box;
}
}

.ag-tool-panel-wrapper .ag-column-drop .ag-column-drop-title {
Expand Down
14 changes: 0 additions & 14 deletions packages/ag-grid-community/src/styles/_ag-theme-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
@mixin row-border($color) {
border-style: solid;
border-color: $color;
box-sizing: border-box;
}

@mixin grid-cell($height, $padding) {
Expand Down Expand Up @@ -65,7 +64,6 @@

@if map-get($params, "customize-inputs") {
background: transparent;
box-sizing: border-box;
color: $foreground-color;
font-family: inherit;
font-size: inherit;
Expand Down Expand Up @@ -664,7 +662,6 @@
}

.ag-filter-header-container {
box-sizing: border-box;
height: $virtual-item-height;
}

Expand Down Expand Up @@ -747,7 +744,6 @@

.ag-primary-cols-header-panel {
border-bottom: 1px solid $border-color;
box-sizing: border-box;
height: $header-height;
padding-top: $grid-size;

Expand Down Expand Up @@ -802,7 +798,6 @@

.ag-pivot-mode-panel {
border-bottom: 1px solid $border-color;
box-sizing: border-box;
height: $header-height;
line-height: $header-height;

Expand Down Expand Up @@ -1043,16 +1038,12 @@
width: calc(100% - #{$icon-size + $grid-size * 2});

input {
box-sizing: border-box;

@include textbox($params);
}
}

.ag-floating-filter-full-body {
input {
box-sizing: border-box;

@include textbox($params);
}
}
Expand Down Expand Up @@ -1187,7 +1178,6 @@
.ag-column-drop-cell {
background: $chip-background-color;
border-radius: $grid-size * 4;
box-sizing: border-box;
height: $grid-size * 4 !important;
margin-top: $grid-size;
padding: 0 $grid-size / 2;
Expand Down Expand Up @@ -1513,7 +1503,6 @@
}

.ag-details-row {
box-sizing: border-box;
padding: $grid-size * 5;
}

Expand Down Expand Up @@ -1570,7 +1559,6 @@

.ag-panel-container {
border-right: 1px solid $border-color;
box-sizing: border-box;
}

&.full-width .ag-panel-container {
Expand All @@ -1595,8 +1583,6 @@

.ag-primary-cols-filter {
@include textbox($params);

box-sizing: border-box;
width: 100%;
}

Expand Down

0 comments on commit 3717aa9

Please sign in to comment.