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
866
Issues
866
List
Boards
Labels
Service Desk
Milestones
Merge Requests
53
Merge Requests
53
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
Compare Revisions
c312a29be749d79d2b6a9dbabdbd71a5e07ab51f...07253475348c47c0274f7a59788195ec71da4135
Source
07253475348c47c0274f7a59788195ec71da4135
Select Git revision
...
Target
c312a29be749d79d2b6a9dbabdbd71a5e07ab51f
Select Git revision
Compare
Commits (3)
(feat): List loader
· afcbb3b1
Emiliano Balbuena
authored
2 hours ago
afcbb3b1
(chore): Center and stylize categories; fix all list modal
· f5791df9
Emiliano Balbuena
authored
53 minutes ago
f5791df9
(chore): Ditch top tiles extra margin
· 07253475
Emiliano Balbuena
authored
48 minutes ago
07253475
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
24 deletions
+31
-24
categories.component.scss
.../modules/pro/channel/categories/categories.component.scss
+6
-2
home.component.scss
src/app/modules/pro/channel/home/home.component.scss
+2
-0
list-modal.component.html
.../modules/pro/channel/list-modal/list-modal.component.html
+1
-1
list.component.html
src/app/modules/pro/channel/list/list.component.html
+6
-1
list.component.scss
src/app/modules/pro/channel/list/list.component.scss
+11
-20
list.component.ts
src/app/modules/pro/channel/list/list.component.ts
+5
-0
No files found.
src/app/modules/pro/channel/categories/categories.component.scss
View file @
07253475
m-pro--channel--categories
{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
flex-end
;
justify-content
:
center
;
.m-proChannel__category
{
cursor
:
pointer
;
color
:
var
(
--
m-pro--text-color
);
padding
:
16px
16px
0
;
background
:
var
(
--
m-pro--transparent-background-color
);
padding
:
4px
8px
;
margin
:
0
12px
8px
;
border-radius
:
4px
;
text-transform
:
uppercase
;
letter-spacing
:
0
.1em
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/home/home.component.scss
View file @
07253475
.m-pro--channel-home
{
margin-top
:
72px
;
.m-pro--channel-home--section
{
margin-top
:
72px
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list-modal/list-modal.component.html
View file @
07253475
...
...
@@ -5,7 +5,7 @@
>
<ng-container
*ngFor=
"let entity$ of (entities$ | async); let i = index"
>
<ng-container
*ngIf=
"entity$ | async as entity"
>
<ng-container
*ngIf=
"type === 'images' || type === 'videos' || type === 'blogs'"
>
<ng-container
*ngIf=
"type === '
all' || type === '
images' || type === 'videos' || type === 'blogs'"
>
<m-pro--channel-tile
[entity]=
"entity"
(click)=
"expand(entity)"
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list/list.component.html
View file @
07253475
...
...
@@ -10,7 +10,7 @@
</div>
</div>
<div
class=
"m-proChannelList__content"
>
<div
class=
"m-proChannelList__content"
*ngIf=
"!(inProgress$ | async); else inProgressLoader"
>
<ul
class=
"m-proChannelListContent__list"
[class.m-proChannelListContent__normalList]=
"type === 'activities'"
>
<li
*ngFor=
"let entity of entities; let i = index"
>
<ng-container
*ngIf=
"type === 'all' || type === 'images' || type === 'videos' || type === 'blogs'"
>
...
...
@@ -49,3 +49,8 @@
<!-- talk to Emi about this -->
</ng-container>
</div>
<ng-template
#inProgressLoader
>
<div
class=
"m-proChannelList__loader"
>
<div
class=
"mdl-spinner mdl-js-spinner is-active"
[
mdl
]
></div>
</div>
</ng-template>
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list/list.component.scss
View file @
07253475
...
...
@@ -5,19 +5,15 @@ m-pro--channel-list {
margin
:
0
0
0
.4em
;
}
@media
screen
and
(
max-width
:
480px
)
{
m-pro--channel--categories
{
justify-content
:
start
;
}
}
m-pro--channel--categories
{
margin
:
8px
0
;
margin
:
16px
0
32px
;
@media
screen
and
(
max-width
:
480px
)
{
margin
:
8px
;
}
}
.m-proChannelList__tools
{
//background-color: var(--m-pro--plain-background-color) !important;
//padding: 16px;
height
:
70px
;
border-radius
:
20px
;
opacity
:
0
.9
;
...
...
@@ -45,22 +41,15 @@ m-pro--channel-list {
}
.m-proChannelListTools__searchResult
{
//padding: 8px;
//margin-top: 12px;
font-weight
:
300
;
color
:
var
(
--
m-pro--text-color
);
font-size
:
20px
;
//h2 {
// margin: 0;
//}
}
}
.m-proChannelList__content
{
width
:
85%
;
margin
:
0
auto
;
//display: flex;
//align-items: center;
justify-content
:
center
;
&
>
i
.material-icons
{
...
...
@@ -68,7 +57,6 @@ m-pro--channel-list {
margin-top
:
100px
;
height
:
fit-content
;
}
}
.m-proChannelListContent__noContent
{
...
...
@@ -79,7 +67,7 @@ m-pro--channel-list {
padding
:
8px
;
margin
:
0
auto
;
text-align
:
center
;
background-color
:
var
(
--
m-pro--
plain
-background-color
);
background-color
:
var
(
--
m-pro--
transparent
-background-color
);
color
:
var
(
--
m-pro--text-color
);
}
...
...
@@ -134,13 +122,11 @@ m-pro--channel-list {
&
>
li
:nth-child
(
1
)
{
grid-column
:
span
2
;
margin-bottom
:
$minds-padding
*
4
;
justify-content
:
flex-start
;
}
&
>
li
:nth-child
(
2
)
{
grid-column
:
3
/
span
2
;
margin-bottom
:
$minds-padding
*
4
;
&
:not
(
.m-proChannelListContentList__seeMore
)
{
justify-content
:
flex-end
;
...
...
@@ -186,6 +172,11 @@ m-pro--channel-list {
}
}
.m-proChannelList__loader
{
text-align
:
center
;
margin
:
16px
0
;
}
@media
screen
and
(
min-width
:
1px
)
and
(
max-width
:
$min-desktop
)
{
.m-proChannelList__content
{
margin
:
0
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list/list.component.ts
View file @
07253475
...
...
@@ -18,6 +18,7 @@ import { Tag } from "../../../../interfaces/entities";
export
class
ProChannelListComponent
implements
OnInit
,
OnDestroy
{
paramsType
:
string
;
// exact string that came from the router params
type
:
string
;
params$
:
Subscription
;
...
...
@@ -156,6 +157,10 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
this
.
feedsService
.
loadMore
();
}
get
inProgress$
()
{
return
this
.
feedsService
.
inProgress
;
}
detectChanges
()
{
this
.
cd
.
markForCheck
();
this
.
cd
.
detectChanges
();
...
...
This diff is collapsed.
Click to expand it.