Skip to content

Commit 4856a57

Browse files
author
Thomas Grainger
committed
prefix all new CSS classes with djdt-
1 parent 2e90cdb commit 4856a57

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

debug_toolbar/static/debug_toolbar/css/toolbar.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -647,15 +647,12 @@
647647
}
648648
}
649649

650-
#djDebug .width-20 {
650+
#djDebug .djdt-width-20 {
651651
width: 20%;
652652
}
653-
#djDebug .width-60 {
653+
#djDebug .djdt-width-60 {
654654
width: 60%;
655655
}
656-
#djDebug .width-60 {
657-
width: 60%;
658-
}
659-
#djDebug .highlighted {
656+
#djDebug .djdt-highlighted {
660657
background-color: lightgrey;
661658
}

debug_toolbar/templates/debug_toolbar/panels/request.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h4>{% trans "View information" %}</h4>
2424
<h4>{% trans "Cookies" %}</h4>
2525
<table>
2626
<colgroup>
27-
<col class="width-20"/>
27+
<col class="djdt-width-20"/>
2828
<col/>
2929
</colgroup>
3030
<thead>
@@ -50,7 +50,7 @@ <h4>{% trans "No cookies" %}</h4>
5050
<h4>{% trans "Session data" %}</h4>
5151
<table>
5252
<colgroup>
53-
<col class="width-20"/>
53+
<col class="djdt-width-20"/>
5454
<col/>
5555
</colgroup>
5656
<thead>
@@ -76,7 +76,7 @@ <h4>{% trans "No session data" %}</h4>
7676
<h4>{% trans "GET data" %}</h4>
7777
<table>
7878
<colgroup>
79-
<col class="width-20"/>
79+
<col class="djdt-width-20"/>
8080
<col/>
8181
</colgroup>
8282
<thead>
@@ -102,7 +102,7 @@ <h4>{% trans "No GET data" %}</h4>
102102
<h4>{% trans "POST data" %}</h4>
103103
<table>
104104
<colgroup>
105-
<col class="width-20"/>
105+
<col class="djdt-width-20"/>
106106
<col/>
107107
</colgroup>
108108
<tr>

debug_toolbar/templates/debug_toolbar/panels/sql.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
{% for line in query.template_info.context %}
7777
<tr>
7878
<td>{{ line.num }}</td>
79-
<td><code {% if line.highlight %}class="highlighted"{% endif %}>{{ line.content }}</code></td>
79+
<td><code {% if line.highlight %}class="djdt-highlighted"{% endif %}>{{ line.content }}</code></td>
8080
</tr>
8181
{% endfor %}
8282
</table>

debug_toolbar/templates/debug_toolbar/panels/timer.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h4>{% trans "Resource usage" %}</h4>
33
<table>
44
<colgroup>
5-
<col class="width-20"/>
5+
<col class="djdt-width-20"/>
66
<col/>
77
</colgroup>
88
<thead>
@@ -26,9 +26,9 @@ <h4>{% trans "Resource usage" %}</h4>
2626
<h4>{% trans "Browser timing" %}</h4>
2727
<table>
2828
<colgroup>
29-
<col class="width-20"/>
30-
<col class="width-60"/>
31-
<col class="width-20"/>
29+
<col class="djdt-width-20"/>
30+
<col class="djdt-width-60"/>
31+
<col class="djdt-width-20"/>
3232
</colgroup>
3333
<thead>
3434
<tr>

0 commit comments

Comments
 (0)