Skip to content

Commit 17a7856

Browse files
committed
Add member-row hover effect
1 parent 8b2fe02 commit 17a7856

3 files changed

Lines changed: 23 additions & 1 deletion

File tree

Style/_edit-section.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
border-radius: 5px;
3838
padding-right: 10px;
3939
overflow: hidden;
40+
transition: background-color 1s;
41+
42+
&:hover {
43+
transition: background-color 0.15s;
44+
background: rgb(54, 54, 179);
45+
}
4046

4147
.member-info {
4248
display: flex;
@@ -138,6 +144,12 @@
138144
border-radius: 5px;
139145
padding: 0 5px 0 10px;
140146
overflow: hidden;
147+
transition: background-color 1s;
148+
149+
&:hover {
150+
transition: background-color 0.15s;
151+
background: rgb(51, 130, 39);
152+
}
141153

142154
.add-member-inputs {
143155
display: flex;

Style/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,11 @@ body {
250250
border-radius: 5px;
251251
padding-right: 10px;
252252
overflow: hidden;
253+
transition: background-color 1s;
254+
}
255+
.edit-section .edit-list-container .edit-list [class*=member-row]:hover {
256+
transition: background-color 0.15s;
257+
background: rgb(54, 54, 179);
253258
}
254259
.edit-section .edit-list-container .edit-list [class*=member-row] .member-info {
255260
display: flex;
@@ -323,6 +328,11 @@ body {
323328
border-radius: 5px;
324329
padding: 0 5px 0 10px;
325330
overflow: hidden;
331+
transition: background-color 1s;
332+
}
333+
.edit-section .edit-list-container .edit-list .add-member:hover {
334+
transition: background-color 0.15s;
335+
background: rgb(51, 130, 39);
326336
}
327337
.edit-section .edit-list-container .edit-list .add-member .add-member-inputs {
328338
display: flex;

Style/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)