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
cfac8f0b
Commit
cfac8f0b
authored
Jan 28, 2020
by
talequale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
login page adaptive
parent
c7c96f24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
2 deletions
+35
-2
Login.jsx
src/view/page/login/Login.jsx
+0
-1
loginPage.scss
src/view/page/login/loginPage.scss
+35
-1
No files found.
src/view/page/login/Login.jsx
View file @
cfac8f0b
...
@@ -71,7 +71,6 @@ export default D.declare('view.page.Login', () => {
...
@@ -71,7 +71,6 @@ export default D.declare('view.page.Login', () => {
><
span
>
Далее
</
span
><
Arr
width=
"17"
height=
"11"
/></
Button
>
><
span
>
Далее
</
span
><
Arr
width=
"17"
height=
"11"
/></
Button
>
</
Switch
.
Item
>
</
Switch
.
Item
>
<
Switch
.
Item
id=
'enterCode'
>
<
Switch
.
Item
id=
'enterCode'
>
<
button
onClick=
{
()
=>
loginStore
.
set
(
'active'
,
'enterPhone'
)
}
>
Взат
</
button
>
,
<
view
.
cmp
.
field
.
LabeledField
<
view
.
cmp
.
field
.
LabeledField
required
required
label=
{
'Введите код из СМС'
}
label=
{
'Введите код из СМС'
}
...
...
src/view/page/login/loginPage.scss
View file @
cfac8f0b
...
@@ -58,17 +58,44 @@
...
@@ -58,17 +58,44 @@
top
:
31px
;
top
:
31px
;
left
:
37px
;
left
:
37px
;
z-index
:
11
;
z-index
:
11
;
@media
(
max-width
:
$mobile
)
{
top
:
19px
;
left
:
19px
;
}
}
.login-page__back-link
button
{
@media
(
max-width
:
$mobile
)
{
font-size
:
0
;
}
}
.login-page__back-link
svg
{
@media
(
max-width
:
$mobile
)
{
width
:
20px
;
height
:
20px
;
}
}
}
.login-page__headline
{
.login-page__headline
{
@include
headline
;
@include
headline
;
margin
:
0
;
margin
:
0
;
@media
(
max-width
:
$mobile
)
{
margin-top
:
22px
;
}
}
}
.login-page__text
{
.login-page__text
{
@include
mainBodyText
;
@include
mainBodyText
;
margin
:
22px
auto
25px
;
margin
:
22px
auto
25px
;
max-width
:
385px
;
max-width
:
385px
;
@media
(
max-width
:
$mobile
)
{
margin-bottom
:
10px
;
min-height
:
95px
;
}
}
}
.login-page__text
p
{
.login-page__text
p
{
...
@@ -84,8 +111,15 @@
...
@@ -84,8 +111,15 @@
text-decoration
:
none
;
text-decoration
:
none
;
color
:
$accent-dark
;
color
:
$accent-dark
;
@media
(
max-width
:
$mobile
)
{
font-weight
:
700
;
font-size
:
20px
;
line-height
:
25px
;
letter-spacing
:
0
;
}
&
:hover
,
&
:hover
,
&
:active
,
&
:active
,
&
:focus
{
&
:focus
{
color
:
$accent-medium
;
color
:
$accent-medium
;
outline
:
none
;
outline
:
none
;
...
...
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