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
860
Issues
860
List
Boards
Labels
Service Desk
Milestones
Merge Requests
51
Merge Requests
51
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
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
ca14d23c
Commit
ca14d23c
authored
1 hour ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(refactor): Bigger tiles
parent
430dc28f
epic/minds-pro
1 merge request
!507
WIP: (feat): Minds Pro (development branch) - Release 3
Pipeline
#77665229
running with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
74 deletions
+9
-74
home.component.scss
src/app/modules/pro/channel/home/home.component.scss
+3
-10
home.component.ts
src/app/modules/pro/channel/home/home.component.ts
+1
-1
list-modal.component.scss
.../modules/pro/channel/list-modal/list-modal.component.scss
+1
-1
list.component.scss
src/app/modules/pro/channel/list/list.component.scss
+4
-54
tile.component.scss
src/app/modules/pro/channel/tiles/media/tile.component.scss
+0
-8
No files found.
src/app/modules/pro/channel/home/home.component.scss
View file @
ca14d23c
...
...
@@ -45,30 +45,23 @@
}
.m-pro--channel-home--featured-content
{
grid-template-columns
:
repeat
(
4
,
1fr
);
grid-template-columns
:
repeat
(
2
,
1fr
);
*
:nth-child
(
1
)
{
grid-column
:
span
4
;
}
*
:nth-child
(
2
),
*
:nth-child
(
3
)
{
grid-column
:
span
2
;
}
@media
screen
and
(
max-width
:
$max-mobile
)
{
grid-template-columns
:
repeat
(
1
,
1fr
);
*
:nth-child
(
1
),
*
:nth-child
(
2
),
*
:nth-child
(
3
)
{
*
:nth-child
(
1
)
{
grid-column
:
initial
;
}
}
}
.m-pro--channel-home--category-content
{
grid-template-columns
:
repeat
(
4
,
1fr
);
grid-template-columns
:
repeat
(
2
,
1fr
);
@media
screen
and
(
max-width
:
$max-mobile
)
{
grid-template-columns
:
repeat
(
1
,
1fr
);
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/home/home.component.ts
View file @
ca14d23c
...
...
@@ -35,7 +35,7 @@ export class ProChannelHomeComponent implements OnInit {
}
async
load
()
{
const
MAX_FEATURED_CONTENT
=
1
9
;
// 1 + 2 + (4 * 4
)
const
MAX_FEATURED_CONTENT
=
1
7
;
// 1 + (8 * 2
)
this
.
inProgress
=
true
;
this
.
featuredContent
=
[];
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list-modal/list-modal.component.scss
View file @
ca14d23c
...
...
@@ -5,7 +5,7 @@
.m-pro--channel-list-modal--grid
{
display
:
grid
;
grid-gap
:
16px
;
grid-template-columns
:
repeat
(
3
,
1fr
);
grid-template-columns
:
repeat
(
2
,
1fr
);
&
.m-pro--channel-list-modal--activities-grid
{
grid-template-columns
:
repeat
(
1
,
1fr
);
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list/list.component.scss
View file @
ca14d23c
...
...
@@ -81,6 +81,8 @@ m-pro--channel-list {
cursor
:
pointer
;
min-height
:
220px
;
>
span
{
display
:
block
;
width
:
100%
;
...
...
@@ -89,9 +91,8 @@ m-pro--channel-list {
ul
.m-proChannelListContent__list
{
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1fr
);
grid-auto-rows
:
minmax
(
220px
,
auto
);
grid-gap
:
32px
32px
;
grid-template-columns
:
repeat
(
2
,
1fr
);
grid-gap
:
24px
;
list-style
:
none
;
padding
:
0
;
...
...
@@ -112,33 +113,7 @@ m-pro--channel-list {
}
}
&
:not
(
.m-proChannelListContent__normalList
)
{
&
>
li
:nth-child
(
1
),
li
:nth-child
(
2
)
{
&
>
video
{
max-width
:
500px
;
//max-height: 250px;
}
}
&
>
li
:nth-child
(
1
)
{
grid-column
:
span
2
;
justify-content
:
flex-start
;
}
&
>
li
:nth-child
(
2
)
{
grid-column
:
3
/
span
2
;
&
:not
(
.m-proChannelListContentList__seeMore
)
{
justify-content
:
flex-end
;
}
}
}
&
>
li
{
grid-column
:
span
1
;
//border: 1px solid blue;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
@@ -176,29 +151,4 @@ m-pro--channel-list {
text-align
:
center
;
margin
:
16px
0
;
}
@media
screen
and
(
min-width
:
1px
)
and
(
max-width
:
$min-desktop
)
{
.m-proChannelList__content
{
margin
:
0
;
width
:
100%
;
}
ul
.m-proChannelListContent__list
{
grid-template-columns
:
1fr
;
&
>
li
{
&
:not
(
.m-proChannelListContent__normalList
)
:nth-child
(
1
),
&
:not
(
.m-proChannelListContent__normalList
)
:nth-child
(
2
)
{
margin-bottom
:
0
;
justify-content
:
center
;
grid-column
:
span
1
;
&
>
video
{
//max-height: 150px;
width
:
300px
;
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/tiles/media/tile.component.scss
View file @
ca14d23c
ul
.m-proChannelListContent__list
li
:nth-child
(
n
+
3
)
m-pro--channel-tile
{
height
:
220px
!
important
;
&
>
img
{
height
:
100%
!
important
;
}
}
m-pro--channel-tile
{
cursor
:
pointer
;
position
:
relative
;
...
...
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