-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
119 lines (112 loc) · 1.87 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: "Segoe UI", sans-serif;
}
.app-wrapper {
display: grid;
grid-template-columns: 1fr 3fr;
background: linear-gradient(to bottom right, #f5f2fd, #2d88ff);
min-height: 100%;
}
.sidebar {
box-shadow: 0px 0px 5px 2px rgba(218, 218, 218, 0.5);
background: white;
padding: 32px;
}
.title {
padding: 8px 32px;
background: #0456fb;
color: white;
font-size: 32px;
line-height: 1.5;
}
.users-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-gap: 16px;
overflow-y: auto;
height: max-content;
padding: 32px;
}
.user {
display: flex;
border: 1px solid #dadada52;
box-shadow: 0px 0px 10px 2px rgba(218, 218, 218, 0.5);
border-radius: 5px;
padding: 10px;
background: white;
&__info {
display: flex;
flex-direction: column;
word-break: break-word;
}
&__photo {
border-radius: 50%;
width: 50px;
height: 50px;
object-fit: cover;
margin: 0 16px 8px 0;
}
&__name {
font-size: 20px;
line-height: 32px;
margin: 0 0 4px;
}
&__email {
color: #0456fb;
font-size: 16px;
line-height: 24px;
text-decoration: none;
}
&__gender,
&__age {
display: block;
font-size: 16px;
line-height: 24px;
}
}
.sidebar-form {
&__title {
display: block;
margin: 0 0 8px;
}
&__input-block {
display: inline-flex;
align-items: center;
cursor: pointer;
}
&__input {
cursor: pointer;
margin: 0 8px;
&.search-input {
margin: 0;
}
}
&__label {
cursor: pointer;
}
&__block {
margin: 0 0 16px;
}
&__reset {
cursor: pointer;
}
}
.message {
font-weight: bold;
}
@media (max-width: 767px) {
.app-wrapper {
grid-template-columns: 1fr;
}
.sidebar {
padding: 32px 16px;
}
.users-container {
padding: 32px 16px;
}
}