Skip to content

Commit 6af16ff

Browse files
committed
add styles to snackbar, skills-group, input
1 parent 52b3fe8 commit 6af16ff

5 files changed

Lines changed: 34 additions & 37 deletions

File tree

projects/social_platform/src/app/office/projects/edit/shared/project-main-step/project-main-step.component.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
&__links {
100100
display: flex;
101101
gap: 20px;
102-
width: 100%;
103102
align-items: center;
103+
width: 100%;
104104

105105
&--wrapper {
106106
display: flex;
@@ -144,11 +144,11 @@
144144
flex-direction: column;
145145
align-items: center;
146146
justify-content: center;
147+
width: 700px;
148+
max-width: 100%;
147149
max-height: calc(100vh - 40px);
148150
padding: 40px 0 80px;
149151
overflow-y: auto;
150-
max-width: 100%;
151-
width: 700px;
152152

153153
&__cross {
154154
position: absolute;
@@ -183,12 +183,12 @@
183183

184184
.selected-leader {
185185
display: flex;
186-
align-items: center;
187186
gap: 8px;
187+
align-items: center;
188188
padding: 4px 8px;
189+
cursor: pointer;
189190
border: 1px solid #e0e0e0;
190191
border-radius: 4px;
191-
cursor: pointer;
192192
transition: background-color 0.2s;
193193

194194
&:hover {
@@ -199,24 +199,24 @@
199199
.invite {
200200
&__item {
201201
display: flex;
202-
justify-content: space-between;
203-
align-items: center;
204202
flex-grow: 1;
205-
margin-bottom: 12px;
203+
align-items: center;
204+
justify-content: space-between;
206205
width: 300px;
206+
margin-bottom: 12px;
207207

208208
&--info {
209209
display: flex;
210-
align-items: center;
211210
gap: 20px;
211+
align-items: center;
212212
}
213213
}
214214

215215
&__team {
216216
display: flex;
217217
flex-direction: column;
218+
gap: 10px;
218219
align-items: flex-start;
219220
justify-content: space-between;
220-
gap: 10px;
221221
}
222222
}

projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
}
113113

114114
&--wrapper {
115-
flex-direction: column-reverse;
116115
flex-basis: 40%;
116+
flex-direction: column-reverse;
117117
}
118118
}
119119

projects/social_platform/src/app/office/shared/skills-group/skills-group.component.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
transition: opacity 0.2s ease;
1616

1717
i {
18-
transform: rotate(180deg);
1918
transition: transform 0.2s ease;
19+
transform: rotate(180deg);
2020
}
2121

2222
&--open {
@@ -26,24 +26,24 @@
2626
}
2727

2828
&--disabled {
29-
opacity: 0.5;
30-
cursor: not-allowed;
3129
pointer-events: none;
30+
cursor: not-allowed;
31+
opacity: 0.5;
3232
}
3333

3434
&__top {
3535
display: flex;
36-
justify-content: space-between;
3736
align-items: center;
37+
justify-content: space-between;
3838
width: 100%;
3939

4040
&--open {
4141
width: 50%;
4242
}
4343

4444
&--disabled {
45-
opacity: 0.5;
4645
cursor: not-allowed;
46+
opacity: 0.5;
4747
}
4848
}
4949
}
@@ -61,9 +61,9 @@
6161
transition: opacity 0.2s ease;
6262

6363
&--disabled {
64-
opacity: 0.5;
65-
cursor: not-allowed;
6664
pointer-events: none;
65+
cursor: not-allowed;
66+
opacity: 0.5;
6767
}
6868

6969
&-label {
@@ -90,8 +90,8 @@
9090
}
9191

9292
&--disabled {
93-
opacity: 0.5;
9493
cursor: not-allowed;
94+
opacity: 0.5;
9595

9696
&.checkbox__field--checked {
9797
background-color: var(--gray);

projects/social_platform/src/app/ui/components/input/input.component.scss

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
@include responsive.apply-desktop {
4848
@include typography.body-12;
4949
}
50-
5150
}
5251

5352
&__input[type="date"]::-webkit-inner-spin-button,
@@ -57,45 +56,43 @@
5756
}
5857

5958
&__input[type="radio"] {
60-
appearance: none;
61-
-webkit-appearance: none;
62-
-moz-appearance: none;
63-
59+
position: relative;
6460
width: 20px;
6561
height: 20px;
6662
padding: 8px;
63+
cursor: pointer;
6764
border: 1px solid var(--dark-grey);
6865
border-radius: 50%;
69-
cursor: pointer;
70-
position: relative;
7166
transition: border-color 0.2s, background-color 0.2s;
67+
appearance: none;
68+
appearance: none;
69+
appearance: none;
7270

7371
&:hover::after {
74-
content: "";
7572
position: absolute;
7673
top: 50%;
7774
left: 50%;
7875
width: 8px;
7976
height: 8px;
77+
content: "";
8078
background-color: var(--accent);
8179
border-radius: 50%;
8280
transform: translate(-50%, -50%);
8381
}
8482

8583
&:checked {
86-
border-color: var(--accent);
87-
background-color: var(--accent);
8884
z-index: 1;
85+
background-color: var(--accent);
86+
border-color: var(--accent);
8987

9088
&::after {
91-
background-color: var(--dark-grey);
92-
width: 8px;
93-
height: 8px;
94-
95-
content: "";
9689
position: absolute;
9790
top: 50%;
9891
left: 50%;
92+
width: 8px;
93+
height: 8px;
94+
content: "";
95+
background-color: var(--dark-grey);
9996
border-radius: 50%;
10097
transform: translate(-50%, -50%);
10198
}

projects/social_platform/src/app/ui/components/snackbar/snackbar.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
.snackbar {
44
position: absolute;
5-
right: 0;
65
top: 0;
6+
right: 0;
77
z-index: 20;
8-
padding-right: 50px;
98
padding-top: 50px;
9+
padding-right: 50px;
1010
overflow-x: hidden;
1111

1212
&__item {
@@ -18,9 +18,9 @@
1818

1919
.item {
2020
display: flex;
21+
gap: 15px;
2122
align-items: center;
2223
justify-content: space-between;
23-
gap: 15px;
2424
padding: 20px;
2525
border-radius: 10px;
2626

0 commit comments

Comments
 (0)