Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NoteStore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
szoftvertechnologusok
NoteStore
Commits
2e0f2114
Commit
2e0f2114
authored
1 year ago
by
rinaboc
Browse files
Options
Downloads
Patches
Plain Diff
design updates
parent
bb577e19
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/components/header-komponens.vue
+10
-26
10 additions, 26 deletions
frontend/src/components/header-komponens.vue
frontend/src/components/loginform-komponens.vue
+29
-16
29 additions, 16 deletions
frontend/src/components/loginform-komponens.vue
with
39 additions
and
42 deletions
frontend/src/components/header-komponens.vue
+
10
−
26
View file @
2e0f2114
...
...
@@ -14,28 +14,15 @@ defineProps({
<
template
>
<div
class=
"greetings"
>
<img
alt=
"NoteStore logo"
class=
"logo"
src=
"../assets/book-shelf.svg"
width=
"100"
height=
"100"
/>
<h1
class=
"title"
>
NoteStore
</h1>
<h1
class=
"title"
>
TechnoCool
NoteStore
</h1>
<div
class=
"login"
>
<h3
v-if=
"(fullName)"
class=
"subtitle"
>
Üdvözöllek,
{{
fullName
}}
!
</h3>
<button
@
click=
"$emit('toggle-login-form')"
>
{{
isLoggedIn
?
'
Kijelentkezés
'
:
'
Bejelentkezés
'
}}
</button>
<button
class=
"grow"
@
click=
"$emit('toggle-login-form')"
>
{{
isLoggedIn
?
'
Kijelentkezés
'
:
'
Bejelentkezés
'
}}
</button>
</div>
</div>
</
template
>
<
style
scoped
>
.login
button
{
padding
:
10px
20px
;
background-color
:
lightseagreen
;
color
:
white
;
border
:
none
;
border-radius
:
5px
;
font-size
:
1rem
;
cursor
:
pointer
;
}
.login
button
:hover
{
background-color
:
darkcyan
;
}
.login
{
position
:
fixed
;
...
...
@@ -43,7 +30,8 @@ defineProps({
}
.title
{
color
:
lightseagreen
;
color
:
var
(
--lightest
);
text-shadow
:
0
0
10px
var
(
--light
);
}
.title
:after
{
...
...
@@ -80,22 +68,18 @@ h3 {
}
.greetings
{
display
:
flex
;
display
:
grid
;
padding
:
1em
;
place-items
:
center
flex-start
;
flex-wrap
:
wrap
;
}
.space
{
width
:
40%
;
grid-template-columns
:
1fr
4fr
2fr
;
align-items
:
center
;
}
.logo
{
margin
:
0
2rem
0
0
;
}
}
.subtitle
{
margin-bottom
:
16px
;
color
:
var
(
--lightest
);
}
}
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
frontend/src/components/loginform-komponens.vue
+
29
−
16
View file @
2e0f2114
...
...
@@ -31,7 +31,7 @@ function submitForm() {
</
script
>
<
template
>
<div>
<div
class=
"window"
>
<h2>
Jelentkezz be!
</h2>
<form
@
submit.prevent=
"submitForm"
>
<div>
...
...
@@ -49,6 +49,14 @@ function submitForm() {
</
template
>
<
style
scoped
>
.window
{
border
:
1px
solid
var
(
--lightest
);
box-shadow
:
0
0
6px
var
(
--light
);
padding
:
20px
50px
20px
50px
;
width
:
fit-content
;
}
h4
{
margin-top
:
20px
;
color
:
red
;
...
...
@@ -57,7 +65,7 @@ h4 {
button
{
margin-top
:
20px
;
padding
:
10px
20px
;
background-color
:
lightseagreen
;
background-color
:
var
(
--light
)
;
color
:
white
;
border
:
none
;
border-radius
:
5px
;
...
...
@@ -65,17 +73,22 @@ button {
cursor
:
pointer
;
}
button
:hover
{
background-color
:
var
(
--dark
);
color
:
var
(
--lightest
)
}
input
[
type
=
"text"
],
input
[
type
=
"password"
]
{
padding
:
8px
;
border
:
1px
solid
lightgray
;
border
:
1px
solid
var
(
--lighttext
)
;
border-radius
:
5px
;
font-size
:
1rem
;
}
label
{
display
:
block
;
margin
-bottom
:
5px
;
margin
:
8px
0
8px
0
;
font-size
:
1rem
;
}
...
...
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