Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
0945b14d
Commit
0945b14d
authored
Jul 01, 2022
by
boojack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update signup page style
parent
1b60180b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
signin.less
web/src/less/signin.less
+9
-9
Signin.tsx
web/src/pages/Signin.tsx
+2
-2
No files found.
web/src/less/signin.less
View file @
0945b14d
@import "./mixin.less";
@import "./mixin.less";
.page-wrapper.signin {
.page-wrapper.signin {
.flex(row, center, center);
@apply flex flex-row justify-center items-center w-full min-h-screen bg-white;
@apply w-full min-h-screen bg-white;
> .page-container {
> .page-container {
@apply w-80 max-w-full py-4 -mt-16;
@apply w-80 max-w-full py-4 -mt-16;
...
@@ -24,12 +23,10 @@
...
@@ -24,12 +23,10 @@
}
}
> .page-content-container {
> .page-content-container {
.flex(column, flex-start, flex-start);
@apply flex flex-col justify-start items-start w-full;
@apply w-full;
> .form-item-container {
> .form-item-container {
.flex(column, flex-start, flex-start);
@apply flex flex-col justify-start items-start relative w-full text-base mt-2;
@apply relative w-full text-base mt-2;
> .normal-text {
> .normal-text {
@apply absolute top-3 left-3 px-1 leading-10 flex-shrink-0 text-base cursor-text text-gray-400 bg-transparent transition-all select-none;
@apply absolute top-3 left-3 px-1 leading-10 flex-shrink-0 text-base cursor-text text-gray-400 bg-transparent transition-all select-none;
...
@@ -54,8 +51,7 @@
...
@@ -54,8 +51,7 @@
}
}
> .action-btns-container {
> .action-btns-container {
.flex(row, flex-end, center);
@apply flex flex-row justify-end items-center w-full mt-2;
@apply w-full mt-2;
> .btn {
> .btn {
@apply px-1 py-2 text-sm rounded hover:opacity-80;
@apply px-1 py-2 text-sm rounded hover:opacity-80;
...
@@ -71,7 +67,11 @@
...
@@ -71,7 +67,11 @@
}
}
> .tip-text {
> .tip-text {
@apply w-full text-sm mt-4 text-gray-500 text-right whitespace-pre-wrap;
@apply w-auto inline-block float-right text-sm mt-4 text-gray-500 text-right whitespace-pre-wrap;
&.owner-tip {
@apply bg-blue-500 text-white px-2 py-1 rounded;
}
}
}
}
}
}
}
web/src/pages/Signin.tsx
View file @
0945b14d
...
@@ -148,10 +148,10 @@ const Signin: React.FC<Props> = () => {
...
@@ -148,10 +148,10 @@ const Signin: React.FC<Props> = () => {
</
button
>
</
button
>
)
}
)
}
</
div
>
</
div
>
<
p
className=
"tip-text"
>
<
p
className=
{
`tip-text ${siteOwner || pageLoadingState.isLoading ? "" : "owner-tip"}`
}
>
{
siteOwner
||
pageLoadingState
.
isLoading
{
siteOwner
||
pageLoadingState
.
isLoading
?
"If you don't have an account, please
\n
contact the site owner."
?
"If you don't have an account, please
\n
contact the site owner."
:
"You are registering as the
site o
wner."
}
:
"You are registering as the
Site O
wner."
}
</
p
>
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
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