Skip to content

Commit 7f8ef5c

Browse files
committed
enhanced hover effects
Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
1 parent 746f32b commit 7f8ef5c

3 files changed

Lines changed: 36 additions & 12 deletions

File tree

src/sections/Kanvas/FeaturesSection/Collaborate/CollaboratorFeatures.style.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,17 @@ const CollaboratorFeaturesWrapper = styled.section`
149149
}
150150
}
151151
152+
.root {
153+
&:hover {
154+
.fixed {
155+
background: #EBC017;
156+
}
157+
#add-border {
158+
border-color: #EBC017;
159+
}
160+
}
161+
}
162+
152163
.fixed {
153164
top: 6rem;
154165
font-weight: 300;
@@ -161,17 +172,14 @@ const CollaboratorFeaturesWrapper = styled.section`
161172
@media (max-width: 912px) {
162173
top: 5rem;
163174
}
164-
&:hover{
165-
background: #EBC017;
166-
}
167175
}
168176
169177
#add-border {
170178
border-color: #00b39f;
171179
border-style: solid;
172180
border-width: 0px 2px 2px 2px;
173181
box-shadow: 0px 6px 5px 0px rgb(0 0 0 / 25%);
174-
transition: ease-in-out;
182+
transition: all 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
175183
}
176184
177185
.hideInMobile{

src/sections/Kanvas/FeaturesSection/Design/DesignerFeatures.style.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,17 @@ margin-top: 1rem;
152152
}
153153
}
154154
155+
.root {
156+
&:hover {
157+
.fixed {
158+
background: #EBC017;
159+
}
160+
#add-border {
161+
border-color: #EBC017;
162+
}
163+
}
164+
}
165+
155166
.fixed {
156167
top: 6rem;
157168
font-weight: 300;
@@ -164,17 +175,14 @@ margin-top: 1rem;
164175
@media (max-width: 912px) {
165176
top: 5rem;
166177
}
167-
&:hover{
168-
background: #EBC017;
169-
}
170178
}
171179
172180
#add-border {
173181
border-color: #00b39f;
174182
border-style: solid;
175183
border-width: 0px 2px 2px 2px;
176184
box-shadow: 0px 6px 5px 0px rgb(0 0 0 / 25%);
177-
transition: .4s ease-in-out;
185+
transition: all 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
178186
}
179187
.hideInMobile{
180188
@media (max-width: 799px) {

src/sections/Kanvas/FeaturesSection/Visualize/VisualizerFeatures.style.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,17 @@ const VisualizerFeaturesWrapper = styled.section`
150150
}
151151
}
152152
153+
.root {
154+
&:hover {
155+
.fixed {
156+
background: #EBC017;
157+
}
158+
#add-border {
159+
border-color: #EBC017;
160+
}
161+
}
162+
}
163+
153164
.fixed {
154165
top: 6rem;
155166
font-weight: 300;
@@ -162,16 +173,13 @@ const VisualizerFeaturesWrapper = styled.section`
162173
@media (max-width: 912px) {
163174
top: 5rem;
164175
}
165-
&:hover{
166-
background: #EBC017;
167-
}
168176
}
169177
#add-border {
170178
border-color: #00b39f;
171179
border-style: solid;
172180
border-width: 0px 2px 2px 2px;
173181
box-shadow: 0px 6px 5px 0px rgb(0 0 0 / 25%);
174-
transition: ease-in-out;
182+
transition: all 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
175183
}
176184
.hideInMobile{
177185
@media (max-width: 799px) {

0 commit comments

Comments
 (0)