Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chatterbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
element-hq
Chatterbox
Commits
f611ce8c
Commit
f611ce8c
authored
3 years ago
by
Midhun Suresh
Browse files
Options
Downloads
Patches
Plain Diff
Add some styling
parent
ee0effda
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/style.css
+40
-3
40 additions, 3 deletions
src/style.css
src/ui/views/AccountSetupView.ts
+10
-8
10 additions, 8 deletions
src/ui/views/AccountSetupView.ts
with
50 additions
and
11 deletions
src/style.css
+
40
−
3
View file @
f611ce8c
#chatterbox
{
position
:
absolute
;
bottom
:
0
;
right
:
0
;
bottom
:
10px
;
right
:
10px
;
max-width
:
375px
;
}
#chatterbox
.Timeline
{
height
:
500px
;
}
#chatterbox
>
div
{
border-radius
:
5px
;
}
/*
todo: this style should actually be in hydrogen-web
*/
...
...
@@ -27,12 +32,44 @@ todo: this style should actually be in hydrogen-web
cursor
:
pointer
;
}
.PolicyAgreementView
{
display
:
flex
;
padding
:
10px
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
space-evenly
;
height
:
80px
;
border-radius
:
5px
;
}
.PolicyAgreementView-text
{
padding-bottom
:
10px
;
}
.PolicyAgreementView-next
,
.PolicyAgreementView-cancel
{
display
:
flex
;
padding
:
10px
;
width
:
85px
;
justify-content
:
center
;
}
.PolicyAgreementView-btn-collection
.PolicyAgreementView-cancel
{
border
:
1px
solid
#03B381
;
border-radius
:
8px
;
}
.PolicyAgreementView-btn-collection
{
display
:
flex
;
justify-content
:
space-evenly
;
flex-direction
:
row
;
width
:
100%
;
}
.hydrogen
{
background-color
:
transparent
!important
;
}
.hydrogen
:not
(
.StartChat
)
{
background-color
:
white
;
background-color
:
rgba
(
245
,
245
,
245
,
0.90
)
;
}
body
{
...
...
This diff is collapsed.
Click to expand it.
src/ui/views/AccountSetupView.ts
+
10
−
8
View file @
f611ce8c
...
...
@@ -11,15 +11,17 @@ export class AccountSetupView extends TemplateView<AccountSetupViewModel> {
class
PolicyAgreementView
extends
TemplateView
<
AccountSetupViewModel
>
{
render
(
t
:
Builder
<
AccountSetupViewModel
>
,
vm
:
AccountSetupViewModel
)
{
return
t
.
div
({
className
:
"
PolicyAgreementView
"
},
[
t
.
div
([
"
By continuing you agree to the terms and conditions laid out by the following documents:
"
,
t
.
a
({
href
:
vm
.
privacyPolicyLink
},
"
Privacy Policy
"
)
t
.
div
({
className
:
"
PolicyAgreementView-text
"
},
[
"
By continuing you agree to the
"
,
t
.
a
({
href
:
vm
.
privacyPolicyLink
},
"
Privacy Policy
"
),
]),
t
.
div
([
t
.
input
({
type
:
"
checkbox
"
,
name
:
"
agree
"
}),
t
.
label
({
for
:
"
agree
"
},
"
I agree
"
)
]),
t
.
button
({
onClick
:
()
=>
vm
.
completeRegistration
()},
"
Next
"
)
t
.
div
(
{
className
:
"
PolicyAgreementView-btn-collection
"
},
[
t
.
button
(
{
onClick
:
()
=>
vm
.
dismiss
(),
className
:
"
button-action secondary PolicyAgreementView-cancel
"
,
},
"
Cancel
"
),
t
.
button
(
{
onClick
:
()
=>
vm
.
completeRegistration
(),
className
:
"
PolicyAgreementView-next button-action primary
"
,
},
"
Next
"
)
]),
]);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment