Enhancements to accordion displays, mainly to show chevrons indicating open status
This commit is contained in:
17
public/css/fixes.css
vendored
17
public/css/fixes.css
vendored
@@ -83,4 +83,21 @@ ol {
|
||||
padding: 5px 5px 5px 5px;
|
||||
margin: 0;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
/* fix chevrons to our accordion displays */
|
||||
.accordion-button:not(.collapsed)::after {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
||||
}
|
||||
.accordion-button:not(.collapsed) {
|
||||
color: inherit;
|
||||
background-color: inherit;
|
||||
}
|
||||
.accordion-button::after {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
||||
}
|
||||
.accordion-button {
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
background-color: inherit;
|
||||
}
|
Reference in New Issue
Block a user