Skip to content

Commit

Permalink
Fixed #3 - Missing styles from PrimeVue v3.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Mar 23, 2023
1 parent e2b3304 commit 8117456
Show file tree
Hide file tree
Showing 23 changed files with 97 additions and 27 deletions.
76 changes: 51 additions & 25 deletions theme-base/components/data/_datatable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -193,56 +193,82 @@
.p-datatable-thead {
> tr {
> th {
border-width: 1px 1px nth($tableHeaderCellBorderWidth,3) 1px;
border-width: 1px 0 1px 1px;

&:last-child {
border-width: 1px;
}
}
}
}

.p-datatable-tbody {
> tr {
> td {
border-width: 1px;
border-width: 1px 0 0 1px;

&:last-child {
border-width: 1px 1px 0 1px;
}
}

&:last-child {
> td {
border-width: 1px 0 1px 1px;

&:last-child {
border-width: 1px;
}
}
}
}
}

.p-datatable-tfoot {
> tr {
> td {
border-width: 1px;
border-width: 1px 0 1px 1px;

&:last-child {
border-width: 1px 1px 1px 1px;
}
}
}
}

&.p-datatable-scrollable {
.p-datatable-thead {
> tr {
> th + th {
border-left-width: 0;
.p-datatable-thead + .p-datatable-tfoot {
> tr {
> td {
border-width: 0 0 1px 1px;

&:last-child {
border-width: 0 1px 1px 1px;
}
}
}

.p-datatable-tbody {
> tr {
> td + td {
border-left-width: 0;
}
}

+ tr,
&:first-child {
> td {
border-top-width: 0;
}
&:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody {
> tr {
> td {
border-width: 0 0 1px 1px;

&:last-child {
border-width: 0 1px 1px 1px;
}

}
}

.p-datatable-tfoot {
> tr {
> td + td {
border-left-width: 0;
}

&:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody {
> tr {
&:last-child {
> td {
border-width: 0 0 0 1px;

&:last-child {
border-width: 0 1px 0 1px;
}
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions theme-base/components/input/_inputswitch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

&:before {
background: $inputSwitchHandleOnBg;
}
}
}

&:not(.p-disabled):hover {
Expand All @@ -55,6 +55,8 @@
}

&.p-invalid {
@include invalid-input();
.p-inputswitch-slider {
@include invalid-input();
}
}
}
2 changes: 2 additions & 0 deletions themes/arya/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -884,5 +884,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:rgba(255,255,255,.03);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: dark;
}
2 changes: 2 additions & 0 deletions themes/bootstrap4/bootstrap4-dark/_variables_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -887,5 +887,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:rgba(255,255,255,.04);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: dark;
}
2 changes: 2 additions & 0 deletions themes/bootstrap4/bootstrap4-light/_variables_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -885,5 +885,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#e9ecef;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/fluent/fluent-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -904,5 +904,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#f3f2f1;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/lara/lara-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -884,5 +884,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:rgba(255,255,255,.03);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: dark;
}
2 changes: 2 additions & 0 deletions themes/lara/lara-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -886,5 +886,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#f6f9fc;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/luna/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -873,5 +873,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#4c4c4c;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light dark;
}
2 changes: 2 additions & 0 deletions themes/material/material-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -883,5 +883,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:hsla(0,0%,100%,.04);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: dark;
}
2 changes: 2 additions & 0 deletions themes/material/material-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -883,5 +883,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:rgba(0,0,0,.04);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/mira/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -908,5 +908,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#D8DEE9;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/mytheme/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,7 @@ $colors: (
--surface-hover:#e9ecef;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/nano/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -895,5 +895,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#dde1e6;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/nova/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -873,5 +873,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#eaeaea;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/rhea/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -885,5 +885,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover: #eaeaea;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/saga/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -885,5 +885,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover: #e9ecef;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/soho/soho-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -894,5 +894,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:rgba(255,255,255,.03);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: dark;
}
2 changes: 2 additions & 0 deletions themes/soho/soho-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -896,5 +896,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#f6f9fc;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/tailwind/tailwind-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -894,5 +894,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover: #f4f4f5;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}
2 changes: 2 additions & 0 deletions themes/vela/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -884,5 +884,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:rgba(255,255,255,.03);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light dark;
}
2 changes: 2 additions & 0 deletions themes/viva/viva-dark/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -894,5 +894,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:rgba($primaryColor, .08);
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: dark;
}
2 changes: 2 additions & 0 deletions themes/viva/viva-light/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -897,5 +897,7 @@ $imagePreviewActionIconBorderRadius:50% !default;
--surface-hover:#edf0fA;
--focus-ring: #{$focusShadow};
--maskbg: #{$maskBg};
--highlight-bg: #{$highlightBg};
--highlight-text-color: #{$highlightTextColor};
color-scheme: light;
}

0 comments on commit 8117456

Please sign in to comment.