Skip to content

Commit 584c512

Browse files
smnandrefabpot
authored andcommitted
[WebProfilerBundle] Replace last "old" icon + delete ICONS_LICENCE.txt
1 parent 55582fd commit 584c512

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/ICONS_LICENSE.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/messenger.html.twig

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
.message-item tbody tr td:first-child { width: 170px; }
99
1010
.message-item .label { float: right; padding: 1px 5px; opacity: .75; margin-left: 5px; }
11-
.message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none }
11+
.message-item .toggle-button { position: absolute; right: 6px; top: 6px; opacity: .5; pointer-events: none; color: inherit; }
1212
.message-item .icon svg { height: 24px; width: 24px; }
13+
.message-item .icon-close svg { transform: rotate(180deg); }
1314
1415
.message-item .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }
1516
.message-item .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }
@@ -131,10 +132,10 @@
131132
{% if dispatchCall.exception is defined %}
132133
<span class="label status-error">exception</span>
133134
{% endif %}
134-
<a class="toggle-button">
135-
<span class="icon icon-close">{{ source('@WebProfiler/images/icon-minus-square.svg') }}</span>
136-
<span class="icon icon-open">{{ source('@WebProfiler/images/icon-plus-square.svg') }}</span>
137-
</a>
135+
<button class="btn btn-link toggle-button" type="button">
136+
<span class="icon icon-close">{{ source('@WebProfiler/Icon/chevron-down.svg') }}</span>
137+
<span class="icon icon-open">{{ source('@WebProfiler/Icon/chevron-down.svg') }}</span>
138+
</button>
138139
</th>
139140
</tr>
140141
</thead>
Lines changed: 4 additions & 0 deletions
Loading

src/Symfony/Bundle/WebProfilerBundle/Resources/views/images/icon-minus-square.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Symfony/Bundle/WebProfilerBundle/Resources/views/images/icon-plus-square.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)