Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
781
Issues
781
List
Boards
Labels
Service Desk
Milestones
Merge Requests
51
Merge Requests
51
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
95918ed3
Commit
95918ed3
authored
17 hours ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(wip): Styles split/style 3
parent
70df5d64
goal/product-pages-update-1
1 merge request
!608
WIP: Product pages update
Pipeline
#90361576
passed with stages
in 86 minutes and 39 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
598 additions
and
2 deletions
+598
-2
src/app/common/components/marketing/styles/general.scss
src/app/common/components/marketing/styles/general.scss
+108
-0
src/app/common/components/marketing/styles/style-1.scss
src/app/common/components/marketing/styles/style-1.scss
+177
-0
src/app/common/components/marketing/styles/style-2.scss
src/app/common/components/marketing/styles/style-2.scss
+156
-0
src/app/common/components/marketing/styles/style-3.scss
src/app/common/components/marketing/styles/style-3.scss
+156
-0
src/app/modules/marketing/marketing.component.scss
src/app/modules/marketing/marketing.component.scss
+1
-2
No files found.
src/app/common/components/marketing/styles/general.scss
0 → 100644
View file @
95918ed3
.m-marketing__main
,
.m-marketing__section
{
// Common
overflow-x
:
hidden
;
.m-marketing--hideMobile
{
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
display
:
none
;
}
}
.m-marketing__title
,
h1
{
font-size
:
22px
;
line-height
:
44px
;
font-weight
:
bold
;
opacity
:
0
.7
;
margin
:
12px
0
4px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-800
);
}
}
.m-marketing__subtitle
,
h2
{
font-weight
:
900
;
font-size
:
42px
;
line-height
:
44px
;
margin
:
0
0
23px
;
position
:
relative
;
z-index
:
0
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
32px
;
line-height
:
34px
;
margin
:
0
0
18px
;
}
&
.m-marketing__subtitle--asTitle
{
font-size
:
48px
;
line-height
:
53px
;
margin
:
0
0
26px
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
38px
;
line-height
:
46px
;
margin
:
0
0
21px
;
}
}
em
{
font-style
:
inherit
;
text-decoration
:
inherit
;
white-space
:
nowrap
;
position
:
relative
;
&
:
:
after
{
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
background
:
rgba
(
80
,
226
,
195
,
0
.3
);
top
:
0
.36em
;
left
:
-0
.03em
;
right
:
-0
.03em
;
bottom
:
0
.22em
;
pointer-events
:
none
;
z-index
:
-1
;
}
}
em
+
em
:
:
after
{
left
:
-0
.25em
;
}
}
p
.m-marketing__description
{
font-size
:
18px
;
line-height
:
27px
;
margin
:
0
0
36px
;
}
ul
.m-marketing__points
{
list-style
:
disc
;
margin
:
0
0
45px
;
padding
:
0
0
0
1em
;
font-size
:
16px
;
line-height
:
21px
;
>
li
{
margin-bottom
:
19px
;
&
:last-child
{
margin-bottom
:
0
;
}
}
}
.m-marketing__actionButtons
{
>
*
{
margin-right
:
25px
;
&
:last-child
{
margin-right
:
initial
;
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/common/components/marketing/
marketing-styles
.scss
→
src/app/common/components/marketing/
styles/style-1
.scss
View file @
95918ed3
.m-marketing__main
,
.m-marketing__section
{
// Common
overflow-x
:
hidden
;
.m-marketing--hideMobile
{
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
display
:
none
;
}
}
.m-marketing__title
,
h1
{
font-size
:
22px
;
line-height
:
44px
;
font-weight
:
bold
;
opacity
:
0
.7
;
margin
:
12px
0
4px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-800
);
}
}
.m-marketing__subtitle
,
h2
{
font-weight
:
900
;
font-size
:
42px
;
line-height
:
44px
;
margin
:
0
0
23px
;
position
:
relative
;
z-index
:
0
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
32px
;
line-height
:
34px
;
margin
:
0
0
18px
;
}
&
.m-marketing__subtitle--asTitle
{
font-size
:
48px
;
line-height
:
53px
;
margin
:
0
0
26px
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
38px
;
line-height
:
46px
;
margin
:
0
0
21px
;
}
}
em
{
font-style
:
inherit
;
text-decoration
:
inherit
;
white-space
:
nowrap
;
position
:
relative
;
&
:
:
after
{
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
background
:
rgba
(
80
,
226
,
195
,
0
.3
);
top
:
0
.36em
;
left
:
-0
.03em
;
right
:
-0
.03em
;
bottom
:
0
.22em
;
pointer-events
:
none
;
z-index
:
-1
;
}
}
em
+
em
:
:
after
{
left
:
-0
.25em
;
}
}
p
.m-marketing__description
{
font-size
:
18px
;
line-height
:
27px
;
margin
:
0
0
36px
;
}
ul
.m-marketing__points
{
list-style
:
disc
;
margin
:
0
0
45px
;
padding
:
0
0
0
1em
;
font-size
:
16px
;
line-height
:
21px
;
>
li
{
margin-bottom
:
19px
;
&
:last-child
{
margin-bottom
:
0
;
}
}
}
.m-marketing__actionButtons
{
>
*
{
margin-right
:
25px
;
&
:last-child
{
margin-right
:
initial
;
}
}
}
// Style 1
&
.m-marketing__section--style-1
{
@include
m-theme
()
{
background
:
linear-gradient
(
...
...
@@ -282,160 +174,4 @@
}
}
}
// Style 2
&
.m-marketing__section--style-2
{
.m-marketing__wrapper
{
position
:
relative
;
z-index
:
0
;
padding
:
72px
0
32px
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding
:
0
;
}
}
.m-marketing__body
{
position
:
relative
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding
:
0
30px
30px
;
}
&
:
:
before
{
content
:
''
;
position
:
absolute
;
top
:
0
;
right
:
-290px
;
bottom
:
-56px
;
left
:
0
;
transform
:
translate
(
-86px
,
-56px
);
clip-path
:
polygon
(
0%
0%
,
0%
100%
,
100%
92%
,
100%
0%
);
z-index
:
-1
;
@include
m-theme
()
{
background
:
linear-gradient
(
180deg
,
themed
(
$m-marketing-bg-colored-gradient-start
)
0%
,
themed
(
$m-marketing-bg-colored-gradient-end
)
99
.99%
);
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
right
:
0
;
bottom
:
-3vw
;
transform
:
none
;
clip-path
:
none
;
}
}
h1
{
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
margin
:
15px
0
15px
;
text-align
:
center
;
}
}
h2
{
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
28px
;
line-height
:
32px
;
margin
:
0
0
17px
;
text-align
:
center
;
}
}
}
p
.m-marketing__description
{
margin-bottom
:
42px
;
padding-right
:
200px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-300
);
}
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding-right
:
0
;
margin-bottom
:
30px
;
font-size
:
16px
;
line-height
:
23px
;
text-align
:
center
;
}
}
.m-marketing__image
{
position
:
relative
;
z-index
:
0
;
img
{
object-fit
:
contain
;
clip-path
:
polygon
(
0%
1%
,
0%
97%
,
100%
100%
,
100%
0%
);
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
width
:
100vw
;
height
:
100vw
;
object-fit
:
cover
;
clip-path
:
polygon
(
0%
2%
,
0%
97%
,
100%
100%
,
100%
0%
);
}
}
span
{
display
:
inline-block
;
position
:
relative
;
// Deco
&
:
:
before
{
content
:
''
;
display
:
block
;
position
:
absolute
;
width
:
393px
;
height
:
193px
;
bottom
:
0
;
right
:
0
;
transform
:
translate
(
45px
,
32px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_1.svg')
no-repeat
;
z-index
:
-1
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
content
:
initial
;
display
:
none
;
}
}
&
:
:
after
{
content
:
''
;
display
:
block
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
284px
;
height
:
262px
;
transform
:
translate
(
35px
,
-35px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_2-straight.svg')
no-repeat
;
z-index
:
-1
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
content
:
initial
;
display
:
none
;
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/common/components/marketing/styles/style-2.scss
0 → 100644
View file @
95918ed3
.m-marketing__main
,
.m-marketing__section
{
&
.m-marketing__section--style-2
{
.m-marketing__wrapper
{
position
:
relative
;
z-index
:
0
;
padding
:
72px
0
32px
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding
:
0
;
}
}
.m-marketing__body
{
position
:
relative
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding
:
0
30px
30px
;
}
&
:
:
before
{
content
:
''
;
position
:
absolute
;
top
:
0
;
right
:
-290px
;
bottom
:
-56px
;
left
:
0
;
transform
:
translate
(
-86px
,
-56px
);
clip-path
:
polygon
(
0%
0%
,
0%
100%
,
100%
92%
,
100%
0%
);
z-index
:
-1
;
@include
m-theme
()
{
background
:
linear-gradient
(
180deg
,
themed
(
$m-marketing-bg-colored-gradient-start
)
0%
,
themed
(
$m-marketing-bg-colored-gradient-end
)
99
.99%
);
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
right
:
0
;
bottom
:
-3vw
;
transform
:
none
;
clip-path
:
none
;
}
}
h1
{
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
margin
:
15px
0
15px
;
text-align
:
center
;
}
}
h2
{
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
28px
;
line-height
:
32px
;
margin
:
0
0
17px
;
text-align
:
center
;
}
}
}
p
.m-marketing__description
{
margin-bottom
:
42px
;
padding-right
:
200px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-300
);
}
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding-right
:
0
;
margin-bottom
:
30px
;
font-size
:
16px
;
line-height
:
23px
;
text-align
:
center
;
}
}
.m-marketing__image
{
position
:
relative
;
z-index
:
0
;
img
{
object-fit
:
contain
;
clip-path
:
polygon
(
0%
1%
,
0%
97%
,
100%
100%
,
100%
0%
);
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
width
:
100vw
;
height
:
100vw
;
object-fit
:
cover
;
clip-path
:
polygon
(
0%
2%
,
0%
97%
,
100%
100%
,
100%
0%
);
}
}
span
{
display
:
inline-block
;
position
:
relative
;
// Deco
&
:
:
before
{
content
:
''
;
display
:
block
;
position
:
absolute
;
width
:
393px
;
height
:
193px
;
bottom
:
0
;
right
:
0
;
transform
:
translate
(
45px
,
32px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_1.svg')
no-repeat
;
z-index
:
-1
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
content
:
initial
;
display
:
none
;
}
}
&
:
:
after
{
content
:
''
;
display
:
block
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
284px
;
height
:
262px
;
transform
:
translate
(
35px
,
-35px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_2-straight.svg')
no-repeat
;
z-index
:
-1
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
content
:
initial
;
display
:
none
;
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/common/components/marketing/styles/style-3.scss
0 → 100644
View file @
95918ed3
.m-marketing__main
,
.m-marketing__section
{
&
.m-marketing__section--style-3
{
.m-marketing__wrapper
{
position
:
relative
;
z-index
:
0
;
padding
:
72px
0
32px
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding
:
0
;
}
}
.m-marketing__body
{
position
:
relative
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding
:
0
30px
30px
;
}
&
:
:
before
{
content
:
''
;
position
:
absolute
;
top
:
0
;
right
:
-290px
;
bottom
:
-56px
;
left
:
0
;
transform
:
translate
(
-86px
,
-56px
);
clip-path
:
polygon
(
0%
0%
,
0%
100%
,
100%
92%
,
100%
0%
);
z-index
:
-1
;
@include
m-theme
()
{
background
:
linear-gradient
(
180deg
,
themed
(
$m-marketing-bg-colored-gradient-start
)
0%
,
themed
(
$m-marketing-bg-colored-gradient-end
)
99
.99%
);
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
right
:
0
;
bottom
:
-3vw
;
transform
:
none
;
clip-path
:
none
;
}
}
h1
{
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
margin
:
15px
0
15px
;
text-align
:
center
;
}
}
h2
{
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
font-size
:
28px
;
line-height
:
32px
;
margin
:
0
0
17px
;
text-align
:
center
;
}
}
}
p
.m-marketing__description
{
margin-bottom
:
42px
;
padding-right
:
200px
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-300
);
}
@include
m-on-theme
(
dark
)
{
color
:
#ffffff
;
}
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
padding-right
:
0
;
margin-bottom
:
30px
;
font-size
:
16px
;
line-height
:
23px
;
text-align
:
center
;
}
}
.m-marketing__image
{
position
:
relative
;
z-index
:
0
;
img
{
object-fit
:
contain
;
clip-path
:
polygon
(
0%
1%
,
0%
97%
,
100%
100%
,
100%
0%
);
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
width
:
100vw
;
height
:
100vw
;
object-fit
:
cover
;
clip-path
:
polygon
(
0%
2%
,
0%
97%
,
100%
100%
,
100%
0%
);
}
}
span
{
display
:
inline-block
;
position
:
relative
;
// Deco
&
:
:
before
{
content
:
''
;
display
:
block
;
position
:
absolute
;
width
:
393px
;
height
:
193px
;
bottom
:
0
;
right
:
0
;
transform
:
translate
(
45px
,
32px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_1.svg')
no-repeat
;
z-index
:
-1
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
content
:
initial
;
display
:
none
;
}
}
&
:
:
after
{
content
:
''
;
display
:
block
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
284px
;
height
:
262px
;
transform
:
translate
(
35px
,
-35px
);
background
:
url('<%= APP_CDN %>/assets/marketing/deco_2-straight.svg')
no-repeat
;
z-index
:
-1
;
@media
screen
and
(
max-width
:
$m-grid-min-vp
)
{
content
:
initial
;
display
:
none
;
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/marketing/marketing.component.scss
View file @
95918ed3
...
...
@@ -194,8 +194,7 @@
}
}
.m-marketing--section
,
.m-marketing__section
{
.m-marketing--section
{
height
:
300px
;
align-items
:
center
;
justify-content
:
center
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment