Skip to content

Commit

Permalink
Merge pull request #2269 from IgniteUI/mpopov/column-label-styles
Browse files Browse the repository at this point in the history
Add styles for new column label
  • Loading branch information
ChronosSF authored Jan 9, 2025
2 parents 92050fe + a961b68 commit 4cf4b06
Show file tree
Hide file tree
Showing 11 changed files with 74 additions and 15 deletions.
17 changes: 12 additions & 5 deletions src/css/structure/modules/infragistics.ui.grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,14 @@ body[dir="rtl"] .ui-iggrid-featurechoosericoncontainer {
margin : 0;
border : 0 none;
border-top : none;
height : 1.6em;
min-height : 1.6em;
}

.ui-iggrid td.ui-iggrid-filtercell[data-column-label]::before {
content: attr(data-column-label);
font-weight: bold;
font-size: 11px;
padding-inline-start: 4px;
}

.ui-iggrid-filtercell input {
Expand Down Expand Up @@ -778,10 +785,10 @@ body[dir="rtl"] .ui-iggrid-featurechoosericoncontainer {
/* Filtering icons */
/*.ui-iggrid-filterbutton
{
background: url(../images/igGrid/filter-icons-333333.png) no-repeat -32px 0!important;
background: url(../images/igGrid/filter-icons-333333.png) no-repeat -32px 0!important;
border: 1px solid transparent;
}
.ui-iggrid th .ui-iggrid-filterbutton, .ui-iggrid-filterbuttonright
.ui-iggrid th .ui-iggrid-filterbutton, .ui-iggrid-filterbuttonright
{
background: url(../images/igGrid/filter-icons-FFFFFF.png) no-repeat -32px 0!important;
}*/
Expand Down Expand Up @@ -1289,7 +1296,7 @@ body[dir="rtl"] .ui-iggrid-featurechoosericoncontainer {
.ui-iggrid-summaries-headerbuttoncontainer {
float : right;
border : 1px solid transparent;
/*width:16px;
/*width:16px;
height:16px;*/
}

Expand Down Expand Up @@ -2353,4 +2360,4 @@ div.ui-iggrid-indicatorcontainer.ui-iggrid-collapsibleindicatorcontainer a {

.ui-grid tr th .ui-icon {
cursor: default;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -730,4 +730,10 @@

.ui-iggrid tbody .ui-iggrid-mergedcell.ui-iggrid-mergedcellsbottom:not(.ui-state-active) {
border-bottom: 1px solid @table-border-color;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: @text-color;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -728,4 +728,10 @@

.ui-iggrid tbody .ui-iggrid-mergedcell.ui-iggrid-mergedcellsbottom:not(.ui-state-active) {
border-bottom: 1px solid @table-border-color;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: @text-color;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -729,4 +729,10 @@

.ui-iggrid tbody .ui-iggrid-mergedcell.ui-iggrid-mergedcellsbottom:not(.ui-state-active) {
border-bottom: 1px solid @table-border-color;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: @text-color;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -728,4 +728,10 @@

.ui-iggrid tbody .ui-iggrid-mergedcell.ui-iggrid-mergedcellsbottom:not(.ui-state-active) {
border-bottom: 1px solid @table-border-color;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: @text-color;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -727,4 +727,10 @@

.ui-iggrid tbody .ui-iggrid-mergedcell.ui-iggrid-mergedcellsbottom:not(.ui-state-active) {
border-bottom: 1px solid $table-border-color;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: $text-color;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -724,4 +724,10 @@

.ui-iggrid tbody .ui-iggrid-mergedcell.ui-iggrid-mergedcellsbottom:not(.ui-state-active) {
border-bottom: 1px solid @table-border-color;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: @text-color;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@

.ui-progressbar.ui-widget-content {
border: 0;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -564,4 +564,10 @@ ui-iggrid-groupbyarea a,
.ui-state-hover .ui-igcheckbox-container .ui-icon,
.ui-state-focus .ui-igcheckbox-container .ui-icon {
color: @ui-icons-dark;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: @text-color;
}
}
8 changes: 7 additions & 1 deletion src/css/themes/ios/modules/infragistics.ui.grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -752,4 +752,10 @@ background-color: @igGray3;*/

.ui-iggrid tbody .ui-iggrid-mergedcell.ui-iggrid-mergedcellsbottom:not(.ui-state-active) {
border-bottom: 1px solid @igGray3;
}
}

.ui-iggrid td.ui-iggrid-filtercell {
&::before {
color: @text-color;
}
}
6 changes: 5 additions & 1 deletion src/css/themes/metro/modules/infragistics.ui.grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,10 @@ ui-iggrid-groupbyarea a,
.ui-iggrid td.ui-iggrid-filtercell {
border: 0 none !important;
background: #00AADE;

&::before {
color: @text-color;
}
}
/*Reset button on hide column dialog on grids */

Expand Down Expand Up @@ -930,4 +934,4 @@ ui-iggrid-groupbyarea a,
.ui-iggrid-modaldialog-caption-buttoncontainer .ui-igbutton.ui-state-focus .ui-button-text,
.ui-iggrid-modaldialog-caption-buttoncontainer .ui-igbutton.ui-state-active .ui-button-text {
color: white;
}
}

0 comments on commit 4cf4b06

Please sign in to comment.