Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
844
Issues
844
List
Boards
Labels
Service Desk
Milestones
Merge Requests
44
Merge Requests
44
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
8598213b
Commit
8598213b
authored
23 minutes ago
by
Juan Manuel Solaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat) styling for searchbar
parent
1d37ca04
epic/minds-pro
1 merge request
!459
WIP: (feat): Minds Pro
Pipeline
#73558093
running with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
1 deletion
+59
-1
channel.component.html
src/app/modules/pro/channel/channel.component.html
+7
-1
channel.component.scss
src/app/modules/pro/channel/channel.component.scss
+48
-0
channel.component.ts
src/app/modules/pro/channel/channel.component.ts
+4
-0
No files found.
src/app/modules/pro/channel/channel.component.html
View file @
8598213b
...
...
@@ -8,7 +8,13 @@
[
src
]="
channel
.
pro_settings
.
logo_image
"
>
<input
type=
"search"
placeholder=
"Search..."
i18n
>
<div
class=
"m-proChannelTopbar__SearchBox"
>
<div
class=
"mdl-textfield mdl-js-textfield"
>
<i
class=
"material-icons"
>
search
</i>
<input
autocomplete=
"off"
class=
"mdl-textfield__input ng-pristine ng-valid ng-touched"
type=
"text"
(
keyup
)="
search
()"
>
<label
class=
"mdl-textfield__label"
for=
"search"
></label>
</div>
</div>
<a
[
routerLink
]="['/
pro
',
channel
.
username
,
'
videos
']"
routerLinkActive=
"active"
i18n
>
Videos
</a>
<a
[
routerLink
]="['/
pro
',
channel
.
username
,
'
images
']"
routerLinkActive=
"active"
i18n
>
Images
</a>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/channel.component.scss
View file @
8598213b
...
...
@@ -33,6 +33,46 @@ m-pro--channel {
&
>
*
{
padding-right
:
16px
;
}
.m-proChannelTopbar__SearchBox
{
margin
:
0
16px
;
@media
screen
and
(
max-width
:
1081px
)
{
flex-grow
:
1
;
}
div
.mdl-textfield.mdl-js-textfield
{
width
:
180px
;
transition
:
width
ease-in-out
.2s
;
padding
:
8px
0
;
i
{
position
:
absolute
;
margin
:
6px
;
font-size
:
20px
;
color
:
rgba
(
0
,
0
,
0
,.
87
)
!
important
;
}
input
{
height
:
32px
;
border-radius
:
18px
;
font-family
:
Roboto
,
sans-serif
;
font-size
:
14px
;
letter-spacing
:
.5px
;
font-weight
:
600
;
text-rendering
:
optimizeLegibility
;
-webkit-font-smoothing
:
antialiased
;
padding
:
8px
8px
8px
32px
;
box-sizing
:
border-box
;
}
label
{
display
:
none
;
}
}
}
}
a
{
...
...
@@ -70,3 +110,11 @@ m-pro--channel {
color
:
var
(
--
text-color
)
!
important
;
}
}
@media
screen
and
(
max-width
:
480px
)
{
.m-proChannelTopbar__SearchBox
{
display
:
none
;
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/channel.component.ts
View file @
8598213b
...
...
@@ -130,4 +130,8 @@ export class ProChannelComponent implements OnInit, OnDestroy {
return
this
.
session
.
getLoggedInUser
();
}
search
()
{
return
;
}
}
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