Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WiDri
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
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
Frontend
WiDri
Commits
7fe0fa16
Commit
7fe0fa16
authored
2 years ago
by
Savok
Browse files
Options
Downloads
Patches
Plain Diff
Made dark form controls
parent
d288944b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/index.scss
+10
-0
10 additions, 0 deletions
src/index.scss
src/pages/LoginPage.tsx
+2
-2
2 additions, 2 deletions
src/pages/LoginPage.tsx
with
12 additions
and
2 deletions
src/index.scss
+
10
−
0
View file @
7fe0fa16
...
...
@@ -4,6 +4,16 @@ $theme-colors: (
'dark'
:
rgb
(
33
,
37
,
41
)
);
$modal-content-border-color
:
#333
;
$modal-footer-border-color
:
#333
;
$modal-header-border-color
:
#333
;
$card-color
:
white
;
.form-control
{
border
:
1px
solid
#333
!
important
;
color
:
white
!
important
;
}
.dropdown-item
:active
{
background-color
:
#ba68c8
!
important
;
}
...
...
This diff is collapsed.
Click to expand it.
src/pages/LoginPage.tsx
+
2
−
2
View file @
7fe0fa16
...
...
@@ -44,11 +44,11 @@ const LoginPage = () => {
<
Card
.
Body
>
<
div
className
=
{
'
text-logo text-white fs-1 text-center
'
}
>
WiDri
</
div
>
<
FloatingLabel
label
=
{
'
Login or e-mail
'
}
>
<
Form
.
Control
name
=
{
'
login
'
}
placeholder
=
{
''
}
defaultValue
=
{
login
}
<
Form
.
Control
className
=
{
'
bg-dark
'
}
name
=
{
'
login
'
}
placeholder
=
{
''
}
defaultValue
=
{
login
}
onChange
=
{
evt
=>
setLogin
(
evt
.
target
.
value
)
}
/>
</
FloatingLabel
>
<
FloatingLabel
label
=
{
'
Password
'
}
className
=
{
'
mt-2
'
}
>
<
Form
.
Control
type
=
{
'
password
'
}
placeholder
=
{
''
}
defaultValue
=
{
password
}
<
Form
.
Control
className
=
{
'
bg-dark
'
}
type
=
{
'
password
'
}
placeholder
=
{
''
}
defaultValue
=
{
password
}
onChange
=
{
evt
=>
setPassword
(
evt
.
target
.
value
)
}
/>
</
FloatingLabel
>
<
ButtonWithLoader
variant
=
{
'
primary-light
'
}
loading
=
{
loggingIn
}
className
=
{
'
mt-2 w-100
'
}
onClick
=
{
logIn
}
>
Login
</
ButtonWithLoader
>
...
...
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