Skip to content

Commit

Permalink
Merge ts-conversion-1
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev committed Sep 20, 2019
2 parents 4dfd9aa + 631ceb3 commit a9b6af4
Show file tree
Hide file tree
Showing 140 changed files with 1,228 additions and 669 deletions.
71 changes: 37 additions & 34 deletions packages/amplify-ui/src/Section.css
Original file line number Diff line number Diff line change
@@ -1,64 +1,67 @@
@import './Theme.css';

.container {
font-weight: 400;
font-weight: 400;
}

.actionRow {
margin-bottom: 15px;
margin-bottom: 15px;
}

.sectionHeader {
color: var(--deepSquidInk);
margin-bottom: 24px;
font-size: 18px;
font-weight: 500;
color: var(--deepSquidInk);
margin-bottom: 24px;
font-size: 18px;
font-weight: 500;
}

.sectionHeaderHint {
color: var(--grey);
font-size: 16px;
font-weight: 400;
margin-top: 4px;
color: var(--grey);
font-size: 16px;
font-weight: 400;
margin-top: 4px;
}

.sectionBody {
margin-bottom: 30px;
margin-bottom: 30px;
}

.sectionHeaderContent {
}

.sectionFooter {
font-size: 14px;
color: var(--grey);
display: flex;
flex-direction: row-reverse;
align-items: flex-start;
font-size: 14px;
color: var(--grey);
display: flex;
flex-direction: row-reverse;
align-items: flex-start;
}

.sectionFooterPrimaryContent {
margin-left: auto;
margin-left: auto;
}

.sectionFooterSecondaryContent {
margin-right: auto;
align-self: center;
margin-right: auto;
align-self: center;
}

@media only screen and (max-width: 599px) {
.sectionFooter {
flex-wrap: wrap;
}
.sectionFooter {
flex-wrap: wrap;
}

.sectionFooterPrimaryContent {
width: 100%;
margin-bottom: 32px;
}
.sectionFooterPrimaryContent {
width: 100%;
margin-bottom: 32px;
}

.sectionFooterPrimaryContent > button {
width: 100%;
}
.sectionFooterPrimaryContent > button {
width: 100%;
}

.sectionFooterSecondaryContent {
text-align: center;
flex: 0 0 100%;
}
}
.sectionFooterSecondaryContent {
text-align: center;
flex: 0 0 100%;
}
}
1 change: 1 addition & 0 deletions packages/amplify-ui/src/Section.css.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const actionRow: string;
export const sectionHeader: string;
export const sectionHeaderHint: string;
export const sectionBody: string;
export const sectionHeaderContent: string;
export const sectionFooter: string;
export const sectionFooterPrimaryContent: string;
export const sectionFooterSecondaryContent: string;
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ exports[`AmplifyUi test render SectionHeader correctly 1`] = `

exports[`AmplifyUi test render SectionHeaderContent correctly 1`] = `
<span
className="Section__sectionHeaderContent___1UCqa"
style={Object {}}
/>
`;
Expand Down
Loading

0 comments on commit a9b6af4

Please sign in to comment.