Skip to content

Commit 1b82371

Browse files
committed
styles4
1 parent d321624 commit 1b82371

File tree

9 files changed

+53
-6
lines changed

9 files changed

+53
-6
lines changed

src/components/AddAnotherCardBtn/AddAnotherCardBtn.module.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
.btn:hover,
1616
.btn:focus {
17-
background-color: var();
17+
background-color: var(--btn-hover);
1818
}
1919

2020
.iconBox{

src/components/AddColumnBtn/AddColumnBtn.module.css

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
background: var(--add-column-bg);
1010
width: 334px;
1111
height: 56px;
12+
13+
}
14+
15+
.openModalBtn:hover, .openModalBtn:focus{
16+
background-color: var(--btn-hover2);
1217
}
1318

1419
.iconBox {

src/components/CreateCardModal/CreateCardModal.module.css

+4
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ input[type="radio"]:checked {
267267
cursor: pointer;
268268
}
269269

270+
.createCardModalSubmit:hover, .createCardModalSubmit:focus{
271+
background-color:var(--btn-hover);
272+
}
273+
270274
.createCardModalSpan {
271275
width: 28px;
272276
height: 28px;

src/components/CreateColumnModal/CreateColumnModal.module.css

+3
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@
112112
border-radius: 8px;
113113
cursor: pointer;
114114
}
115+
.createColumnModalSubmit:hover, .createColumnModalSubmit:focus{
116+
background-color: var(--btn-hover);
117+
}
115118

116119
.createColumnModalSpan {
117120
width: 28px;

src/components/EditCardModal/EditCardModal.module.css

+4
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ input[type="radio"]:checked {
281281
cursor: pointer;
282282
}
283283

284+
.editCardModalSubmit:hover, .editCardModalSubmit:focus{
285+
background-color:var(--btn-hover);
286+
}
287+
284288
.editCardModalSpan {
285289
width: 28px;
286290
height: 28px;

src/components/EditColumnModal/EditColumnModal.module.css

+4
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
cursor: pointer;
107107
}
108108

109+
.editColumnModalSubmit:hover, .editColumnModalSubmit:focus{
110+
background-color: var(--btn-hover);
111+
}
112+
109113
.editColumnModalSpan {
110114
width: 28px;
111115
height: 28px;

src/components/PasswordField/PasswordField.module.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
outline: none;
1313
box-shadow: none;
1414
position: relative;
15+
1516
}
1617

1718
.formInput:focus {
18-
border: 2px solid var(--modal-border);
19+
border: 1px solid var(--modal-border);
1920
}
2021

2122
.eye {

src/components/UserEditModal/UserEditModal.module.css

+21-4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666
padding: 0;
6767
}
6868

69+
.avatarBig {
70+
width: 68px;
71+
height: 68px;
72+
}
73+
6974
.plusBtn {
7075
border: none;
7176
background-color: var(--add-img);
@@ -75,14 +80,26 @@
7580
position: absolute;
7681
top: 60px;
7782
cursor: pointer;
83+
transition: background-color var(--animation);
7884
}
85+
86+
.plusBtn:hover{
87+
background-color: var(--header-btn-hover);
88+
}
89+
90+
91+
7992
.avatarBtn{
8093
border: none;
8194
background: none;
8295
margin: 0;
8396
padding: 0;
8497
}
8598

99+
100+
101+
102+
86103
.formInput {
87104
padding: 14px 18px;
88105
width: 100%;
@@ -152,6 +169,10 @@
152169
padding-top: 10px;
153170
width: 100%;
154171
margin-top: 10px;
172+
transition: background-color var(--animation);
173+
}
174+
.btn:hover, .btn:focus{
175+
background-color: var(--header-btn-hover);
155176
}
156177

157178
.eye {
@@ -164,10 +185,6 @@
164185
right: 18px;
165186
}
166187

167-
.avatarBig {
168-
width: 68px;
169-
height: 68px;
170-
}
171188

172189
.avatar {
173190
display: block;

src/index.css

+9
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
--background-color: #f4f4f4;
2626
--btn-color: #bedbb0;
2727
--btn-hover: #9dc888;
28+
--btn-hover2:#f0fde9;
2829
--line: rgba(22, 22, 22, 0.5);
2930
--icons: rgba(22, 22, 22, 0.5);
3031
--icons-hover: rgba(22, 22, 22, 1);
@@ -57,6 +58,7 @@
5758
--btn-active: var(--green);
5859
--add-img: var(--green);
5960
--header-btn: var(--green);
61+
--header-btn-hover:#9dc888;
6062
--header-avatar: url(https://res.cloudinary.com/dqwyuuuzd/image/upload/v1718470207/p8idpbdlblbi3p16ubzp.jpg);
6163
--filter-line: rgba(22, 22, 22, 0.1);
6264
--filter-sa: rgba(22, 22, 22, 0.5);
@@ -99,6 +101,7 @@
99101
--background-color: var(--violet);
100102
--btn-color: #b8bcfd;
101103
--btn-hover: #9da2fa;
104+
--btn-hover2:#e4e5ff;
102105
--line: rgba(255, 255, 255, 0.5);
103106
--icons: rgba(22, 22, 22, 0.5);
104107
--icons-hover: rgba(22, 22, 22, 1);
@@ -131,6 +134,7 @@
131134
--btn-active: var(--violet);
132135
--add-img: #ecedfd;
133136
--header-btn: var(--violet);
137+
--header-btn-hover:#6f73ca;
134138
--header-avatar: url(https://res.cloudinary.com/dqwyuuuzd/image/upload/v1718616860/user_uw4dwo.png);
135139
--filter-line: rgba(22, 22, 22, 0.1);
136140
--filter-sa: rgba(22, 22, 22, 0.5);
@@ -174,6 +178,7 @@
174178
--background-color: #333333;
175179
--btn-color: #bedbb0;
176180
--btn-hover: #9dc888;
181+
--btn-hover2:#2c2c2c;
177182
--line: rgba(255, 255, 255, 0.5);
178183
--icons: rgba(255, 255, 255, 0.5);
179184
--icons-hover: rgba(255, 255, 255, 1);
@@ -206,6 +211,7 @@
206211
--btn-active: var(--green);
207212
--add-img: var(--green);
208213
--header-btn: var(--green);
214+
--header-btn-hover:#9dc888;
209215
--header-avatar: url(https://res.cloudinary.com/dqwyuuuzd/image/upload/v1718235453/pojpj365oqqbots9321l.png);
210216
--filter-line: rgba(255, 255, 255, 0.1);
211217
--filter-sa: rgba(255, 255, 255, 0.5);
@@ -240,6 +246,9 @@
240246
--calendar-hover-box:var(--green);
241247
--calendar-hover-text:var(--black);
242248

249+
250+
251+
243252
}
244253

245254
html {

0 commit comments

Comments
 (0)