Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MeenuKumari28 committed Apr 12, 2023
1 parent 7c3af4a commit 8994c35
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion colors.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@



-- ft.page: Font Library
-- ft.page: Color Library
$show-breadcrum: true

-- excel-promo-card-bg:
Expand Down
1 change: 1 addition & 0 deletions component-lib/lib2.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -1802,6 +1802,7 @@ role: $inherited.types.copy-large
color: $inherited.colors.text
margin-top.px: 15
text-align if {hero-section-mobile.bottom || hero-section-mobile.top-img || hero-section-mobile.dot-img || hero-section-mobile.center}: center
z-index: 2

-- ftd.row:
spacing.fixed.px: 33
Expand Down
14 changes: 11 additions & 3 deletions component-lib/lib4.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ cta-text: $stages-vertical.cta-text
cta-link: $stages-vertical.cta-link
info: $stages-vertical.info
right: $stages-vertical.right
no-line: $stages-vertical.no-line

-- stages-vertical-mobile: $stages-vertical.title
if: { ftd.device == "mobile" }
Expand All @@ -548,7 +549,7 @@ cta-link: $stages-vertical.cta-link
info: $stages-vertical.info
right: $stages-vertical.right
top-line: $stages-vertical.top-line

no-line: $stages-vertical.no-line

-- end: ftd.column

Expand All @@ -572,6 +573,7 @@ optional string cta-text:
optional string cta-link:
optional body info:
optional boolean right:
optional boolean no-line:

-- ftd.row:
width: fill-container
Expand Down Expand Up @@ -599,6 +601,7 @@ top.px: 48
right.px: 54

-- ftd.column:
if: {!stages-vertical-desktop.no-line}
border-width.px: 1
border-color: $inherited.colors.border
anchor: parent
Expand Down Expand Up @@ -727,6 +730,7 @@ optional string cta-link:
optional body info:
optional boolean right:
optional boolean top-line:
optional boolean no-line:

-- ftd.column:
width: fill-container
Expand Down Expand Up @@ -759,6 +763,7 @@ anchor: parent
top.px: 48

-- ftd.column:
if: {!stages-vertical-mobile.no-line}
border-width.px: 1
border-color: $inherited.colors.border
anchor: parent
Expand Down Expand Up @@ -830,9 +835,11 @@ integer height: 600
optional integer width:
optional boolean icon-text: false
optional boolean top: false
optional boolean width-fill: false
children child:

-- ftd.column:
width if {stages-vertical-image.width-fill}: fill-container

-- stages-vertical-image-desktop:
if: { ftd.device != "mobile" }
Expand Down Expand Up @@ -940,6 +947,7 @@ children child:

-- ftd.column:
padding-vertical.px: 40
align-self: center

-- ftd.column:
width: fill-container
Expand Down Expand Up @@ -1183,9 +1191,9 @@ optional boolean ext-img: false
optional boolean right-btn: false
children child:
optional ftd.image-src image:
boolean top:
optional boolean top: false
optional boolean timestamp: false
boolean no-img:
optional boolean no-img: false

-- ftd.column:
width: fill-container
Expand Down
1 change: 1 addition & 0 deletions contributor.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cta-role: primary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc , libero et velit interdum, ac aliquet libero et velit interdum libero et velit interdum odio mattis.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc , libero et velit interdum, ac aliquet libero et velit interdum libero et velit interdum odio mattis.

-- ft.stages-vertical-image:
width-fill: true

-- ft.stages-vertical: Download lorem ipsum
rect: $assets.files.static.hosting.rect-num.svg
Expand Down
11 changes: 6 additions & 5 deletions lib.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -2133,16 +2133,16 @@ optional string cta-role:
optional string role:
optional string type:
optional string time:
optional boolean timestamp:
optional boolean timestamp: false
optional boolean col-img: false
optional boolean padding: false
optional boolean down-img: false
optional boolean ext-img: false
optional boolean right-btn: false
children child:
optional ftd.image-src image:
boolean top: false
boolean no-img: false
optional boolean top: false
optional boolean no-img: false

-- lib4.left-image-component: $left-image-component.title
icon: $left-image-component.icon
Expand Down Expand Up @@ -2215,13 +2215,14 @@ integer height: 600
optional integer width:
optional boolean top: false
optional boolean icon-text: false
optional boolean width-fill: false
children child:

-- lib4.stages-vertical-image:
title: $stages-vertical-image.title
-- lib4.stages-vertical-image: $stages-vertical-image.title
icon: $stages-vertical-image.icon
image: $stages-vertical-image.image
width: $stages-vertical-image.width
width-fill: $stages-vertical-image.width-fill
height: $stages-vertical-image.height
icon-text: $stages-vertical-image.icon-text
top: $stages-vertical-image.top
Expand Down
1 change: 1 addition & 0 deletions other-comp.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ children child:
image: $assets.files.static.other.group.svg
width: 1520
height: 150
width-fill: true
child: $stages-vertical-image-1.child

-- end: stages-vertical-image-1
Expand Down

0 comments on commit 8994c35

Please sign in to comment.