Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kus-admin
Project
Overview
Details
Activity
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
Иван Кубота
kus-admin
Commits
bffc98d8
Commit
bffc98d8
authored
Jan 28, 2020
by
talequale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
830c27b8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
10 deletions
+18
-10
button.scss
src/view/cmp/button/button.scss
+0
-1
LabeledField.scss
src/view/cmp/field/LabeledField.scss
+6
-8
Login.jsx
src/view/page/login/Login.jsx
+5
-1
loginPage.scss
src/view/page/login/loginPage.scss
+7
-0
No files found.
src/view/cmp/button/button.scss
View file @
bffc98d8
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
border-color
:
rgba
(
$bg-main
,
0
);
border-color
:
rgba
(
$bg-main
,
0
);
border-radius
:
25px
;
border-radius
:
25px
;
cursor
:
pointer
;
cursor
:
pointer
;
transition
:
all
0
.3s
ease
;
&
:active
{
&
:active
{
color
:
$accent-medium
;
color
:
$accent-medium
;
...
...
src/view/cmp/field/LabeledField.scss
View file @
bffc98d8
...
@@ -27,19 +27,11 @@
...
@@ -27,19 +27,11 @@
background-color
:
$bg-accent
;
background-color
:
$bg-accent
;
border
:
1px
solid
rgba
(
208
,
209
,
209
,
0
.8
);
border
:
1px
solid
rgba
(
208
,
209
,
209
,
0
.8
);
border-radius
:
25px
;
border-radius
:
25px
;
transition
:
all
0
.3s
ease
;
&
:
:
placeholder
{
&
:
:
placeholder
{
color
:
$gray-medium
;
color
:
$gray-medium
;
}
}
&
:invalid:not
(
:placeholder-shown
),
.labeled-field--invalid
&
{
color
:
$red
;
background-color
:
rgba
(
255
,
0
,
0
,
0
.1
);
border-color
:
$red
;
}
&
:hover
{
&
:hover
{
background-color
:
#F2F2F2
;
background-color
:
#F2F2F2
;
border-color
:
#D7D8D7
;
border-color
:
#D7D8D7
;
...
@@ -56,6 +48,12 @@
...
@@ -56,6 +48,12 @@
color
:
rgba
(
201
,
199
,
199
,
0
.5
);
color
:
rgba
(
201
,
199
,
199
,
0
.5
);
}
}
}
}
.labeled-field--invalid
&
{
color
:
$red
;
background-color
:
rgba
(
255
,
0
,
0
,
0
.1
);
border-color
:
$red
;
}
}
}
.labeled-field__error-message
{
.labeled-field__error-message
{
...
...
src/view/page/login/Login.jsx
View file @
bffc98d8
...
@@ -2,6 +2,7 @@ import '../../cmp/field/LabeledField.jsx';
...
@@ -2,6 +2,7 @@ import '../../cmp/field/LabeledField.jsx';
import
Button
from
'../../cmp/button/Button.jsx'
;
import
Button
from
'../../cmp/button/Button.jsx'
;
import
Logo
from
'../../../svg/logo_vkusvill.svg'
;
import
Logo
from
'../../../svg/logo_vkusvill.svg'
;
import
'./loginPage.scss'
;
import
'./loginPage.scss'
;
import
Arr
from
'../../../svg/arr.svg'
;
import
Arr
from
'../../../svg/arr.svg'
;
import
ArrB
from
'../../../svg/arr-back.svg'
;
import
ArrB
from
'../../../svg/arr-back.svg'
;
/*import {AsyncAjax} from '/core/Ajax.jsx';
/*import {AsyncAjax} from '/core/Ajax.jsx';
...
@@ -94,7 +95,10 @@ export default D.declare('view.page.Login', () => {
...
@@ -94,7 +95,10 @@ export default D.declare('view.page.Login', () => {
</
form
>
</
form
>
</
Switch
.
Item
>
</
Switch
.
Item
>
<
Switch
.
Item
id=
{
true
}
>
<
Switch
.
Item
id=
{
true
}
>
<
Button
onClick=
{
()
=>
loginStore
.
set
(
'authHelp'
,
false
)
}
><
ArrB
width=
"17"
height=
"11"
/><
span
>
Вернуться к авторизации
</
span
></
Button
>
<
div
class=
{
"login-page__back-link"
}
>
<
Button
onClick=
{
()
=>
loginStore
.
set
(
'authHelp'
,
false
)
}
><
ArrB
width=
"17"
height=
"11"
/><
span
>
Вернуться к авторизации
</
span
></
Button
>
</
div
>
<
h2
class=
"login-page__headline"
>
Проблемы с авторизацией?
</
h2
>
</
Switch
.
Item
>
</
Switch
.
Item
>
</
Switch
>
</
Switch
>
</
div
>
</
div
>
...
...
src/view/page/login/loginPage.scss
View file @
bffc98d8
...
@@ -33,3 +33,10 @@
...
@@ -33,3 +33,10 @@
.authorization-form__button
{
.authorization-form__button
{
margin
:
15px
0
44px
;
margin
:
15px
0
44px
;
}
}
.login-page__back-link
{
position
:
fixed
;
top
:
31px
;
left
:
37px
;
z-index
:
11
;
}
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