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
6d8f8a73
Commit
6d8f8a73
authored
Jan 30, 2020
by
Иван Кубота
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'm3' of gitlab.quokka.pub:Zibx/kus-admin into m3
parents
571e8b08
407976d9
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
156 additions
and
2 deletions
+156
-2
base.scss
src/global-styles/base.scss
+1
-1
typography.scss
src/global-styles/typography.scss
+14
-0
variables.scss
src/global-styles/variables.scss
+2
-0
account.scss
src/view/block/account/account.scss
+39
-0
Header.jsx
src/view/block/header/Header.jsx
+1
-1
Header.scss
src/view/block/header/Header.scss
+14
-0
ratingBlock.scss
src/view/block/ratingBlock/ratingBlock.scss
+36
-0
accountPage.scss
src/view/page/account/accountPage.scss
+33
-0
profilePage.scss
src/view/page/account/profilePage.scss
+4
-0
loginPage.scss
src/view/page/login/loginPage.scss
+12
-0
No files found.
src/global-styles/base.scss
View file @
6d8f8a73
...
@@ -32,7 +32,7 @@ img {
...
@@ -32,7 +32,7 @@ img {
min-height
:
calc
(
var
(
--
vh
,
1vh
)
*
100
);
min-height
:
calc
(
var
(
--
vh
,
1vh
)
*
100
);
@media
(
max-width
:
$mobile
)
{
@media
(
max-width
:
$mobile
)
{
padding-top
:
5
0px
;
padding-top
:
6
0px
;
}
}
}
}
...
...
src/global-styles/typography.scss
View file @
6d8f8a73
...
@@ -30,6 +30,13 @@
...
@@ -30,6 +30,13 @@
font-weight
:
700
;
font-weight
:
700
;
font-size
:
18px
;
font-size
:
18px
;
line-height
:
24px
;
line-height
:
24px
;
@media
(
max-width
:
$mobile
)
{
font-weight
:
500
;
font-size
:
16px
;
line-height
:
20px
;
letter-spacing
:
0
.15px
;
}
}
}
@mixin
mainSubtitle
{
@mixin
mainSubtitle
{
...
@@ -74,6 +81,13 @@
...
@@ -74,6 +81,13 @@
font-size
:
15px
;
font-size
:
15px
;
line-height
:
20px
;
line-height
:
20px
;
color
:
$gray-dark
;
color
:
$gray-dark
;
@media
(
max-width
:
$mobile
)
{
font-weight
:
400
;
font-size
:
16px
;
line-height
:
19px
;
letter-spacing
:
0
.25px
;
}
}
}
@mixin
caption
{
@mixin
caption
{
...
...
src/global-styles/variables.scss
View file @
6d8f8a73
...
@@ -23,3 +23,5 @@ $font: 'SF Pro Text', Arial, sans-serif;
...
@@ -23,3 +23,5 @@ $font: 'SF Pro Text', Arial, sans-serif;
$font-mobile
:
'Helvetica Neue'
,
Arial
,
sans-serif
;
$font-mobile
:
'Helvetica Neue'
,
Arial
,
sans-serif
;
$mobile
:
767px
;
$mobile
:
767px
;
$tablet
:
1024px
;
$desktopMin
:
1279px
;
src/view/block/account/account.scss
View file @
6d8f8a73
.account
{
position
:
relative
;
@media
(
max-width
:
$tablet
)
{
padding-top
:
50px
;
}
@media
(
max-width
:
$mobile
)
{
padding-top
:
48px
;
padding-bottom
:
80px
;
}
}
.account__headline
{
.account__headline
{
margin
:
0
0
14px
;
margin
:
0
0
14px
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
17px
;
font-size
:
17px
;
line-height
:
22px
;
line-height
:
22px
;
color
:
$gray-medium
;
color
:
$gray-medium
;
@media
(
max-width
:
$mobile
)
{
font-weight
:
400
;
font-size
:
16px
;
line-height
:
19px
;
letter-spacing
:
0
.25px
;
}
}
}
.account__info
{
.account__info
{
@include
mainCaption
;
@include
mainCaption
;
padding-bottom
:
10px
;
padding-bottom
:
10px
;
border-bottom
:
1px
solid
#747474
;
border-bottom
:
1px
solid
#747474
;
@media
(
max-width
:
$mobile
)
{
padding-bottom
:
19px
;
}
}
}
.account__info
p
{
.account__info
p
{
...
@@ -23,6 +47,15 @@
...
@@ -23,6 +47,15 @@
font-size
:
24px
;
font-size
:
24px
;
line-height
:
32px
;
line-height
:
32px
;
color
:
$text-main
;
color
:
$text-main
;
@media
(
max-width
:
$tablet
)
{
position
:
static
;
}
@media
(
max-width
:
$mobile
)
{
font-size
:
20px
;
line-height
:
25px
;
}
}
}
.account__name
svg
{
.account__name
svg
{
...
@@ -31,6 +64,12 @@
...
@@ -31,6 +64,12 @@
right
:
100%
;
right
:
100%
;
transform
:
translate
(
-18px
,
0
);
transform
:
translate
(
-18px
,
0
);
color
:
$accent-main
;
color
:
$accent-main
;
@media
(
max-width
:
$tablet
)
{
right
:
auto
;
left
:
0
;
transform
:
none
;
}
}
}
.title-name-word
{
.title-name-word
{
...
...
src/view/block/header/Header.jsx
View file @
6d8f8a73
...
@@ -10,7 +10,7 @@ const Header = D.declare('view.block.Header', () => {
...
@@ -10,7 +10,7 @@ const Header = D.declare('view.block.Header', () => {
const
tempPageMenuHidden
=
new
Store
.
Value
.
Boolean
(
true
);
const
tempPageMenuHidden
=
new
Store
.
Value
.
Boolean
(
true
);
return
<
header
class=
{
D
.
cls
(
return
<
header
class=
{
D
.
cls
(
"page-header"
,
{
"page-header"
,
{
"page-header--inner"
:
(
NOT
(
store
.
valEqual
(
'navigation.current'
,
'
l
ogin'
)))
"page-header--inner"
:
(
NOT
(
store
.
valEqual
(
'navigation.current'
,
'
L
ogin'
)))
})
}
>
})
}
>
<
div
class=
"button-temp"
>
<
div
class=
"button-temp"
>
<
button
type=
{
"button"
}
onClick=
{
()
=>
tempPageMenuHidden
.
toggle
()
}
>
<
button
type=
{
"button"
}
onClick=
{
()
=>
tempPageMenuHidden
.
toggle
()
}
>
...
...
src/view/block/header/Header.scss
View file @
6d8f8a73
...
@@ -102,6 +102,13 @@
...
@@ -102,6 +102,13 @@
}
}
}
}
.page-header__user-block
.page-header__logout-link
:active
,
.page-header__user-block
.page-header__logout-link
:focus
{
@media
(
max-width
:
$mobile
)
{
color
:
$gray-dark
;
}
}
.page-header__user-block
.page-header__profile-link
{
.page-header__user-block
.page-header__profile-link
{
padding-right
:
0
;
padding-right
:
0
;
padding-left
:
48px
;
padding-left
:
48px
;
...
@@ -125,6 +132,13 @@
...
@@ -125,6 +132,13 @@
}
}
}
}
.page-header__user-block
.page-header__profile-link
:active
svg
,
.page-header__user-block
.page-header__profile-link
:focus
svg
{
@media
(
max-width
:
$mobile
)
{
color
:
$accent-dark
;
}
}
.button-temp
{
.button-temp
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
...
...
src/view/block/ratingBlock/ratingBlock.scss
View file @
6d8f8a73
...
@@ -16,6 +16,12 @@
...
@@ -16,6 +16,12 @@
@include
mainTitle
;
@include
mainTitle
;
margin-bottom
:
4px
;
margin-bottom
:
4px
;
color
:
$text-main
;
color
:
$text-main
;
@media
(
max-width
:
$mobile
)
{
font-size
:
32px
;
line-height
:
50px
;
letter-spacing
:
0
.01em
;
}
}
}
.rating-block__result
sup
{
.rating-block__result
sup
{
...
@@ -25,10 +31,22 @@
...
@@ -25,10 +31,22 @@
margin-left
:
3px
;
margin-left
:
3px
;
font-size
:
24px
;
font-size
:
24px
;
line-height
:
32px
;
line-height
:
32px
;
@media
(
max-width
:
$mobile
)
{
top
:
auto
;
margin-left
:
8px
;
font-size
:
32px
;
line-height
:
50px
;
letter-spacing
:
0
.01em
;
}
}
}
.rating-block__progress
{
.rating-block__progress
{
margin-bottom
:
9px
;
margin-bottom
:
9px
;
@media
(
max-width
:
$mobile
)
{
margin-bottom
:
12px
;
}
}
}
.rating-block__stage
{
.rating-block__stage
{
...
@@ -45,17 +63,35 @@
...
@@ -45,17 +63,35 @@
.rating-block__stage
table
{
.rating-block__stage
table
{
border-collapse
:
collapse
;
border-collapse
:
collapse
;
@media
(
max-width
:
$mobile
)
{
margin-top
:
8px
;
font-weight
:
400
;
font-size
:
14px
;
line-height
:
18px
;
letter-spacing
:
0
.1px
;
}
}
}
.rating-block__stage
th
,
.rating-block__stage
th
,
.rating-block__stage
td
{
.rating-block__stage
td
{
padding
:
5px
0
;
padding
:
5px
0
;
@media
(
max-width
:
$mobile
)
{
padding
:
2px
0
;
}
}
}
.rating-block__stage
th
{
.rating-block__stage
th
{
min-width
:
112px
;
min-width
:
112px
;
text-align
:
left
;
text-align
:
left
;
font-weight
:
500
;
font-weight
:
500
;
@media
(
max-width
:
$mobile
)
{
padding-right
:
5px
;
min-width
:
auto
;
font-weight
:
400
;
}
}
}
.rating-block__stage
time
.available
{
.rating-block__stage
time
.available
{
...
...
src/view/page/account/accountPage.scss
View file @
6d8f8a73
...
@@ -16,6 +16,14 @@
...
@@ -16,6 +16,14 @@
width
:
320px
;
width
:
320px
;
background-color
:
$bg-main
;
background-color
:
$bg-main
;
overflow
:
hidden
;
overflow
:
hidden
;
@media
(
max-width
:
$desktopMin
)
{
margin-left
:
-10px
;
}
@media
(
max-width
:
$tablet
)
{
display
:
none
;
}
}
}
.account-page__menu-inner
{
.account-page__menu-inner
{
...
@@ -24,12 +32,26 @@
...
@@ -24,12 +32,26 @@
width
:
calc
(
100%
+
40px
);
width
:
calc
(
100%
+
40px
);
max-height
:
calc
(
100vh
-
90px
);
max-height
:
calc
(
100vh
-
90px
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
@media
(
max-width
:
$desktopMin
)
{
padding-right
:
20px
;
width
:
100%
;
overflow-y
:
auto
;
}
}
}
.account-page__content
{
.account-page__content
{
flex-grow
:
1
;
flex-grow
:
1
;
max-width
:
calc
(
100%
-
320px
);
max-width
:
calc
(
100%
-
320px
);
overflow
:
hidden
;
overflow
:
hidden
;
@media
(
max-width
:
$desktopMin
)
{
max-width
:
calc
(
100%
-
310px
);
}
@media
(
max-width
:
$tablet
)
{
max-width
:
100%
;
}
}
}
.account-page__content-inner
{
.account-page__content-inner
{
...
@@ -38,4 +60,15 @@
...
@@ -38,4 +60,15 @@
width
:
calc
(
100%
+
40px
);
width
:
calc
(
100%
+
40px
);
max-height
:
calc
(
100vh
-
120px
);
max-height
:
calc
(
100vh
-
120px
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
@media
(
max-width
:
$desktopMin
)
{
padding-right
:
30px
;
width
:
100%
;
overflow-y
:
auto
;
}
@media
(
max-width
:
$tablet
)
{
padding
:
0
;
max-height
:
none
;
}
}
}
src/view/page/account/profilePage.scss
View file @
6d8f8a73
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
background-color
:
$bg-accent
;
background-color
:
$bg-accent
;
z-index
:
100
;
z-index
:
100
;
overflow-y
:
auto
;
overflow-y
:
auto
;
@media
(
max-width
:
$mobile
)
{
padding
:
40px
20px
;
}
}
}
.profile-page__link-back
{
.profile-page__link-back
{
...
...
src/view/page/login/loginPage.scss
View file @
6d8f8a73
...
@@ -65,6 +65,18 @@
...
@@ -65,6 +65,18 @@
}
}
}
}
.login-page__back-link
:active
{
@media
(
max-width
:
$mobile
)
{
color
:
$accent-dark
;
}
}
.login-page__back-link
:focus
{
@media
(
max-width
:
$mobile
)
{
color
:
$accent-medium
;
}
}
.login-page__headline
{
.login-page__headline
{
@include
headline
;
@include
headline
;
margin
:
0
;
margin
:
0
;
...
...
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