border-bottom: none;
color: $black;
border: none;
+ padding-left: 1rem;
}
.accordion-content {
border-bottom: 1px dashed #e6e6e6;
}
}
-
- .accordion-title:hover {
- color: $black;
- background: lighten($light-gray,7%);
- transition: color 0.3s ease;
- transition: background 0.3s ease;
- }
.accordion-title:focus,
.accordion-title:active {
.accordion-title {
background-color: #f5f5f5;
- color: #676767;
+ color: $dark-gray;
font-size: 1.25rem;
+ padding-left: 0;
// margin-bottom: 1rem;
// border-bottom: 1px solid #e6e6e6;
background: none;
border: none;
border-bottom: 1px dashed #e6e6e6;
- transition: color 0.3s ease;
- transition: background 0.3s ease;
+ transition: all 0.3s ease;
}
-
+
+ .accordion-title:hover {
+ padding-left: 1rem;
+ color: $black;
+// background: lighten($light-gray,7%);
+ transition: all 0.3s ease;
+// transition: background 0.3s ease;
+ }
+
.accordion-title::before {
color: $dark-gray;
font-size: 1.25rem;
- transition: color 0.3s ease;
+ top: 45%;
+ border-radius: 50%;
+ border: 1px solid $light-gray;
+ background-color: $white;
+ width: 25px;
+ height: 25px;
+ text-align: center;
+ transition: all 0.3s ease;
}
.accordion-title:hover::before {
color: $black;
- transition: color 0.3s ease;
+ background-color: lighten($light-gray,8%);
+ border: 1px solid $medium-gray;
+ transition: all 0.3s ease;
}
}