Skip to content

Commit

Permalink
feat(styles): update Flexible Column Layout Horizon [ci visual] (#4485)
Browse files Browse the repository at this point in the history
  • Loading branch information
droshev committed Apr 27, 2023
1 parent f3cc5b7 commit bffc57f
Show file tree
Hide file tree
Showing 15 changed files with 74 additions and 88 deletions.
@@ -0,0 +1,7 @@
:root {
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;
}
@@ -0,0 +1,6 @@
:root {
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Background_Solid: var(--sapContent_ForegroundColor);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapBackgroundColor);
--fdFlexibleColumnLayout_Background_Transparent: var(--sapBackgroundColor);
}
@@ -0,0 +1,7 @@
:root {
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: solid 0.0625rem var(--sapGroup_ContentBorderColor);
--fdFlexibleColumnLayout_Background_Solid: var(--sapContent_ForegroundColor);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;
}
@@ -0,0 +1,6 @@
:root {
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Background_Solid: var(--sapContent_ForegroundColor);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapBackgroundColor);
--fdFlexibleColumnLayout_Background_Transparent: var(--sapBackgroundColor);
}
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_fiori_3.scss
Expand Up @@ -31,6 +31,7 @@
@import "./common/variant-management/sap_fiori";
@import "./common/shellbar/sap_fiori";
@import "./common/user-menu/sap_fiori";
@import "./common/flexible-column-layout/sap_fiori";
@import "./sap_fiori_3/css_variables";

:root {
Expand Down Expand Up @@ -172,13 +173,6 @@
/* Badge */
--fdBadge_Border_Color: transparent;

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;

/** Dialog */
--fdDialog_Background_Opacity: 0.6;

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_fiori_3_dark.scss
Expand Up @@ -31,6 +31,7 @@
@import "./common/variant-management/sap_fiori";
@import "./common/shellbar/sap_fiori";
@import "./common/user-menu/sap_fiori";
@import "./common/flexible-column-layout/sap_fiori";
@import "./sap_fiori_3_dark/css_variables";

:root {
Expand Down Expand Up @@ -181,13 +182,6 @@
/* Badge */
--fdBadge_Border_Color: transparent;

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;

/** Dialog */
--fdDialog_Background_Opacity: 0.6;

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_fiori_3_hcb.scss
Expand Up @@ -38,6 +38,7 @@
@import "./common/variant-management/sap_fiori";
@import "./common/shellbar/sap_fiori_hc";
@import "./common/user-menu/sap_fiori";
@import "./common/flexible-column-layout/sap_fiori_hc";
@import "./sap_fiori_3_hcb/css_variables";

:root {
Expand Down Expand Up @@ -185,13 +186,6 @@
/* Badge */
--fdBadge_Border_Color: var(--sapGroup_ContentBorderColor);

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapObjectHeader_BorderColor);
--fdFlexibleColumnLayout_Border: solid 0.0625rem var(--sapGroup_ContentBorderColor);
--fdFlexibleColumnLayout_Background_Solid: var(--sapBackgroundColor);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapBackgroundColor);
--fdFlexibleColumnLayout_Background_Transparent: var(--sapBackgroundColor);

/** Dialog */
--fdDialog_Background_Opacity: 0.8;

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_fiori_3_hcw.scss
Expand Up @@ -32,6 +32,7 @@
@import "./common/variant-management/sap_fiori";
@import "./common/shellbar/sap_fiori_hc";
@import "./common/user-menu/sap_fiori";
@import "./common/flexible-column-layout/sap_fiori_hc";
@import "./sap_fiori_3_hcw/css_variables";

:root {
Expand Down Expand Up @@ -181,13 +182,6 @@
/* Badge */
--fdBadge_Border_Color: var(--sapGroup_ContentBorderColor);

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapObjectHeader_BorderColor);
--fdFlexibleColumnLayout_Border: solid 0.0625rem var(--sapGroup_ContentBorderColor);
--fdFlexibleColumnLayout_Background_Solid: var(--sapBackgroundColor);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapBackgroundColor);
--fdFlexibleColumnLayout_Background_Transparent: var(--sapBackgroundColor);

/** Dialog */
--fdDialog_Background_Opacity: 0.8;

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_fiori_3_light_dark.scss
Expand Up @@ -30,6 +30,7 @@
@import "./common/file-uploader/sap_fiori";
@import "./common/variant-management/sap_fiori";
@import "./common/user-menu/sap_fiori";
@import "./common/flexible-column-layout/sap_fiori";
@import "./sap_fiori_3_light_dark/css_variables";

:root {
Expand Down Expand Up @@ -181,13 +182,6 @@
/* Badge */
--fdBadge_Border_Color: transparent;

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;

/** Dialog */
--fdDialog_Background_Opacity: 0.6;

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_horizon.scss
Expand Up @@ -33,6 +33,7 @@
@import "./common/shellbar/sap_horizon";
@import "./common/user-menu/sap_horizon";
@import "./common/generic-tag/sap_horizon";
@import "./common/flexible-column-layout/sap_horizon";
@import "./sap_horizon/css_variables";

:root {
Expand Down Expand Up @@ -182,13 +183,6 @@
/* Badge */
--fdBadge_Border_Color: transparent;

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;

/** Dialog */
--fdDialog_Background_Opacity: 0.6;

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_horizon_dark.scss
Expand Up @@ -33,6 +33,7 @@
@import "./common/shellbar/sap_horizon";
@import "./common/user-menu/sap_horizon";
@import "./common/generic-tag/sap_horizon";
@import "./common/flexible-column-layout/sap_horizon";
@import "./sap_horizon_dark/css_variables";

:root {
Expand Down Expand Up @@ -191,13 +192,6 @@
/* Badge */
--fdBadge_Border_Color: var(--sapGroup_ContentBorderColor);

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;

/** Dialog */
--fdDialog_Background_Opacity: 0.6;

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_horizon_hcb.scss
Expand Up @@ -33,6 +33,7 @@
@import "./common/shellbar/sap_horizon_hc";
@import "./common/user-menu/sap_horizon";
@import "./common/generic-tag/sap_horizon_hc";
@import "./common/flexible-column-layout/sap_horizon_hc";
@import "./sap_horizon_hcb/css_variables";

:root {
Expand Down Expand Up @@ -178,13 +179,6 @@
/* Badge */
--fdBadge_Border_Color: var(--sapGroup_ContentBorderColor);

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;

/** Dialog */
--fdDialog_Background_Opacity: 0.6;
--fdDialog_Content_Border_Radius: var(--sapPopover_BorderCornerRadius);
Expand Down
8 changes: 1 addition & 7 deletions packages/styles/src/theming/sap_horizon_hcw.scss
Expand Up @@ -34,6 +34,7 @@
@import "./common/shellbar/sap_horizon_hc";
@import "./common/user-menu/sap_horizon";
@import "./common/generic-tag/sap_horizon_hc";
@import "./common/flexible-column-layout/sap_horizon_hc";
@import "./sap_horizon_hcw/css_variables";

:root {
Expand Down Expand Up @@ -179,13 +180,6 @@
/* Badge */
--fdBadge_Border_Color: var(--sapGroup_ContentBorderColor);

/** Flexible Column Layout */
--fdFlexibleColumnLayout_Toggle_Image_Color: var(--sapHighlightColor);
--fdFlexibleColumnLayout_Border: none;
--fdFlexibleColumnLayout_Background_Solid: var(--sapShell_Background);
--fdFlexibleColumnLayout_Background_Translucent: var(--sapGroup_ContentBackground);
--fdFlexibleColumnLayout_Background_Transparent: transparent;

/** Dialog */
--fdDialog_Background_Opacity: 0.6;

Expand Down
Expand Up @@ -57,7 +57,7 @@ ThreeColumnsLayout.parameters = {

export const TwoColumnsLayout = () => `
<div style="max-width: 1200px">
<div class="fd-flexible-column-layout">
<div class="fd-flexible-column-layout fd-flexible-column-layout--transparent">
<div class="fd-flexible-column-layout__column" style="width: 33%">
<div class="docs-layout-grid-bg--tall"></div>
</div>
Expand Down Expand Up @@ -85,6 +85,7 @@ TwoColumnsLayout.parameters = {
docs: {
description: {
story: `
Flexible Column with transparent separators
- Width of the device: Max: \`1280px\`, Min: 961px
- Wide column width: \`67%\`
- Narrow column width: \`33%\`
Expand All @@ -95,7 +96,7 @@ TwoColumnsLayout.parameters = {

export const OneColumnsLayout = () => `
<div style="max-width: 600px">
<div class="fd-flexible-column-layout">
<div class="fd-flexible-column-layout fd-flexible-column-layout--translucent">
<div class="fd-flexible-column-layout__column fd-flexible-column-layout__column--hidden" style="width: 0">
<div class="docs-layout-grid-bg--tall"></div>
</div>
Expand Down Expand Up @@ -123,6 +124,7 @@ OneColumnsLayout.parameters = {
docs: {
description: {
story: `
Flexible Column Layout with translucent separators
- Max width of the device: \`960px\`
- Column width: \`100%\`
`
Expand Down

0 comments on commit bffc57f

Please sign in to comment.