File tree 1 file changed +15
-17
lines changed
Filter options
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector 1 file changed +15
-17
lines changed
Original file line number Diff line number Diff line change 97
97
98
98
.toggle-icon {
99
99
display : inline-block ;
100
- background : url (" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-icon-name='icon-tabler-square-plus' width='24' height='24' viewBox='0 0 24 24' stroke-width='2px' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Crect x='4' y='4' width='16' height='16' rx='2'%3E%3C/rect%3E%3Cline x1='9' y1='12' x2='15' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='9' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E" ) no-repeat ;
101
- background-size : 18px 18px ;
102
100
}
103
101
.closed .toggle-icon , .closed.toggle-icon {
104
- background-position : bottom left ;
105
- }
106
- .toggle-icon.empty {
107
- background-image : none ;
108
102
}
109
103
110
104
.tree .tree-inner {
118
112
width : 16px ;
119
113
height : 16px ;
120
114
margin-left : -18px ;
115
+ display : inline-grid ;
116
+ place-content : center ;
117
+ background : none ;
118
+ border : none ;
119
+ transition : transform 200ms ;
121
120
}
122
- .tree .toggle-icon {
123
- width : 18px ;
124
- height : 18px ;
125
- vertical-align : bottom ;
121
+ .tree .toggle-button.closed svg {
122
+ transform : rotate (-90deg );
123
+ }
124
+ .tree .toggle-button svg {
125
+ transform : rotate (0deg );
126
+ width : 16px ;
127
+ height : 16px ;
126
128
}
127
129
.tree .toggle-icon.empty {
128
130
width : 5px ;
406
408
{% endif %}
407
409
408
410
{% if data .children is not empty %}
409
- <a class =" toggle-button" data-toggle-target-id =" {{ data .id }}-children" href =" #" ><span class =" toggle-icon" ></span ></a >
411
+ <button class =" toggle-button" data-toggle-target-id =" {{ data .id }}-children" >
412
+ {{ source (' @WebProfiler/Icon/chevron-down.svg' ) }}
413
+ </button >
410
414
{% else %}
411
415
<div class =" toggle-icon empty" ></div >
412
416
{% endif %}
496
500
{% macro render_form_errors(data ) %}
497
501
{% if data .errors is defined and data .errors | length > 0 %}
498
502
<div class =" errors" >
499
- <h3 >
500
- <a class =" toggle-button" data-toggle-target-id =" {{ data .id }}-errors" href =" #" >
501
- Errors <span class =" toggle-icon" ></span >
502
- </a >
503
- </h3 >
504
-
505
503
<table id =" {{ data .id }}-errors" >
506
504
<thead >
507
505
<tr >
You can’t perform that action at this time.
0 commit comments