Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
Update widgets.css to create custom markers for lists of widget
Browse files Browse the repository at this point in the history
  • Loading branch information
KTS915 authored Oct 7, 2023
1 parent ad7ddfb commit f1bc455
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/wp-admin/css/widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ details[open] > summary.widget-title::before {
}

/* Fix for Safari */
#available-widgets summary.widget-title::-webkit-details-marker {
summary.widget-title::-webkit-details-marker {
display: none;
}

Expand Down Expand Up @@ -378,6 +378,23 @@ summary.sidebar-name {
color: #1d2327;
font-size: 1.3em;
font-weight: 600;
list-style: none;
}

summary.sidebar-name::before {
content: '\25B8';
padding-right: 0.5em;
font-size: 1.2em;
cursor: pointer;
}

details[open] > summary.sidebar-name::before {
content: '\25BE';
}

/* Fix for Safari */
summary.sidebar-name::-webkit-details-marker {
display: none;
}

.widgets-holder-wrap .description {
Expand Down

0 comments on commit f1bc455

Please sign in to comment.