You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2023/06/27 09:31:19 UTC
[myfaces-tobago] branch tobago-5.x updated: refactor(SCSS): use prefix variable
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-5.x by this push:
new 2baafed420 refactor(SCSS): use prefix variable
2baafed420 is described below
commit 2baafed4202609c59aa65d71cc2252efa60efdae
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Tue Jun 27 11:20:39 2023 +0200
refactor(SCSS): use prefix variable
---
tobago-theme/src/main/scss/_tobago.scss | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tobago-theme/src/main/scss/_tobago.scss b/tobago-theme/src/main/scss/_tobago.scss
index 7533093e7b..85f9455974 100644
--- a/tobago-theme/src/main/scss/_tobago.scss
+++ b/tobago-theme/src/main/scss/_tobago.scss
@@ -163,7 +163,7 @@ $tobago-flex-layout-spacing: 0.5rem;
}
}
tobago-popover > a {
- --bs-btn-padding-x: .4rem;
+ --#{$prefix}btn-padding-x: .4rem;
}
}
@@ -192,9 +192,9 @@ $tobago-flex-layout-spacing: 0.5rem;
}
.list-group {
- --bs-list-group-color: #{$input-focus-color};
- --bs-list-group-bg: #{$input-focus-bg};
- --bs-list-group-border-color: #{$input-focus-border-color};
+ --#{$prefix}list-group-color: #{$input-focus-color};
+ --#{$prefix}list-group-bg: #{$input-focus-bg};
+ --#{$prefix}list-group-border-color: #{$input-focus-border-color};
@include formControlFocusShadows();
@include selectListBorderColorShadow("danger", $danger);
@@ -301,8 +301,8 @@ $tobago-flex-layout-spacing: 0.5rem;
}
&.tobago-preselect {
- --bs-table-accent-bg: var(--bs-table-hover-bg);
- color: var(--bs-table-hover-color);
+ --#{$prefix}table-accent-bg: var(--#{$prefix}table-hover-bg);
+ color: var(--#{$prefix}table-hover-color);
}
&:last-of-type {
@@ -490,8 +490,8 @@ tobago-buttons {
> tobago-dropdown:last-child > .tobago-button.dropdown-toggle-split:first-child {
//split buttons in Tobago have a tobago-dropdown tag included, which leads to an issue with border-radius
- border-top-right-radius: var(--bs-btn-border-radius);
- border-bottom-right-radius: var(--bs-btn-border-radius);
+ border-top-right-radius: var(--#{$prefix}btn-border-radius);
+ border-bottom-right-radius: var(--#{$prefix}btn-border-radius);
}
}