forked from carbon-design-system/carbon-for-ibm-dotcom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/carbon-for-ibm-dotcom-v2' into feat/footer-v2-updates
- Loading branch information
Showing
53 changed files
with
687 additions
and
1,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
packages/styles/scss/components/content-group/_content-group.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// Copyright IBM Corp. 2020, 2023 | ||
// | ||
// This source code is licensed under the Apache-2.0 license found in the | ||
// LICENSE file in the root directory of this source tree. | ||
// | ||
|
||
@use '@carbon/styles/scss/type' as *; | ||
@use '@carbon/styles/scss/config' as *; | ||
@use '@carbon/ibmdotcom-styles/scss/internal/content-block'; | ||
@use '@carbon/ibmdotcom-styles/scss/internal/content-group'; | ||
@use '@carbon/ibmdotcom-styles/scss/globals/vars' as *; | ||
|
||
@mixin content-group { | ||
:host(#{$c4d-prefix}-content-group), | ||
:host(#{$c4d-prefix}-content-group-copy), | ||
:host(#{$c4d-prefix}-content-group-paragraph) { | ||
display: block; | ||
} | ||
|
||
:host(#{$c4d-prefix}-content-group-copy) { | ||
@include type-style('body-02'); | ||
} | ||
:host(#{$c4d-prefix}-content-group-heading), | ||
:host(#{$c4d-prefix}-content-group-copy) { | ||
max-width: 40rem; | ||
} | ||
:host(#{$c4d-prefix}-content-group) { | ||
::slotted([slot='footer']) { | ||
background: none; | ||
height: auto; | ||
} | ||
} | ||
.#{$prefix}--content-layout__body { | ||
display: block; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// | ||
// Copyright IBM Corp. 2018, 2023 | ||
// | ||
// This source code is licensed under the Apache-2.0 license found in the | ||
// LICENSE file in the root directory of this source tree. | ||
// | ||
|
||
@forward 'content-group'; | ||
@use 'content-group'; | ||
|
||
@include content-group.content-group; |
11 changes: 11 additions & 0 deletions
11
packages/styles/scss/components/link-list-section/_index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// | ||
// Copyright IBM Corp. 2018, 2023 | ||
// | ||
// This source code is licensed under the Apache-2.0 license found in the | ||
// LICENSE file in the root directory of this source tree. | ||
// | ||
|
||
@forward 'link-list-section'; | ||
@use 'link-list-section'; | ||
|
||
@include link-list-section.link-list-section; |
35 changes: 35 additions & 0 deletions
35
packages/styles/scss/components/link-list-section/_link-list-section.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// Copyright IBM Corp. 2020, 2021 | ||
// | ||
// This source code is licensed under the Apache-2.0 license found in the | ||
// LICENSE file in the root directory of this source tree. | ||
// | ||
|
||
@use '@carbon/styles/scss/breakpoint' as *; | ||
@use '@carbon/styles/scss/config' as *; | ||
@use '@carbon/styles/scss/spacing' as *; | ||
@use '@carbon/ibmdotcom-styles/scss/internal/content-section'; | ||
@use '@carbon/ibmdotcom-styles/scss/globals/utils/flex-grid' as *; | ||
@use '@carbon/ibmdotcom-styles/scss/globals/vars' as *; | ||
|
||
@mixin link-list-section { | ||
:host(#{$c4d-prefix}-link-list-section) { | ||
display: block; | ||
|
||
.#{$prefix}--content-section__left { | ||
padding-top: 0; | ||
} | ||
|
||
.#{$prefix}--content-section__children { | ||
margin-top: 0; | ||
|
||
@include breakpoint(lg) { | ||
@include make-col(8, 16); | ||
} | ||
} | ||
|
||
::slotted(#{$c4d-prefix}-content-section-heading) { | ||
margin-bottom: 0; | ||
} | ||
} | ||
} |
Oops, something went wrong.