Skip to content

Commit a0ff3cf

Browse files
committed
Summary: Move some of the morecss statements to ietf.css, as per
instructions in the README - Legacy-Id: 8996
1 parent ea33e0e commit a0ff3cf

10 files changed

Lines changed: 25 additions & 41 deletions

File tree

ietf/templates/doc/document_charter.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
<link rel="alternate" type="application/atom+xml" href="/feed/group-changes/{{ group.acronym }}/">
77
{% endblock %}
88

9-
{% block morecss %}
10-
.edit { width: 1px }
11-
{% endblock %}
12-
139
{% block title %}{{ doc.title }}{% endblock %}
1410

1511
{% block content %}

ietf/templates/doc/document_conflict_review.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
{% load ietf_filters %}
44

5-
{% block morecss %}
6-
.edit { width: 1px }
7-
{% endblock %}
8-
95
{% block title %}{{ doc.title }}{% endblock %}
106

117
{% block content %}

ietf/templates/doc/document_draft.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
<meta name="description" content="{{ doc.title }} {% if doc.get_state_slug == "rfc" %}(RFC {{ rfc_number }}{% if published %}, {{ published.time|date:"F Y" }}{% endif %}{% if obsoleted_by %}; obsoleted by {{ obsoleted_by|join:", " }}{% endif %}){% else %}(Internet-Draft, {{ doc.time|date:"Y" }}){% endif %}">
88
{% endblock %}
99

10-
{% block morecss %}
11-
.edit { width: 1px }
12-
{% endblock %}
13-
1410
{% block title %}
1511
{% if doc.get_state_slug == "rfc" %}
1612
RFC {{ rfc_number }}

ietf/templates/doc/document_status_change.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
{% load ietf_filters %}
44

5-
{% block morecss %}
6-
.edit { width: 1px }
7-
{% endblock %}
8-
95
{% block title %}{{ doc.title }}{% endblock %}
106

117
{% block content %}

ietf/templates/group/materials.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44

55
{% block group_subtitle %}Materials{% endblock %}
66

7-
{% block morecss %}
8-
{{ block.super }}
9-
.materials .snippable { width:25em; }
10-
{% endblock %}
11-
127
{% block group_content %}
138
{% load ietf_filters %}
149

ietf/templates/ipr/add_email.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
{% load bootstrap3 %}
44

5-
{% block morecss %}
6-
form.add-email textarea { height: 24em; }
7-
{% endblock morecss %}
8-
95
{% block title %}Add email on {{ ipr.title }}{% endblock %}
106

117
{% block content %}

ietf/templates/ipr/notify.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
{% block title %}Send Notification{{ formset|pluralize }}{% endblock %}
66

7-
{% block morecss %}
8-
form.send-notification textarea { height: 24em; }
9-
{% endblock morecss %}
10-
117
{% block content %}
128
<h1>Send Notification{{ formset|pluralize }}<br><small>{{ ipr }}</small></h1>
139

ietf/templates/meeting/session_details.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
{% block title %}{{ meeting }} : {{ acronym }}{% endblock %}
44

5-
{% block morecss %}
6-
.timeheader {font-size:120%;}
7-
{% endblock %}
8-
95
{% block content %}
106
<h1>{{ meeting }} : {{ acronym }} : {{ time }} </h1>
117

ietf/templates/nomcom/private_index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{% extends "nomcom/nomcom_private_base.html" %}
22

3-
{% block morecss %}
4-
.edit { width: 1px }
5-
{% endblock %}
6-
73
{% block subtitle %} - Administration {% endblock %}
84

95
{% block nomcom_content %}

static/css/ietf.css

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,12 @@ pre { line-height: 1.214; }
213213
color: #ecdbff;
214214
}
215215

216+
/* table on document main tabs */
217+
218+
.table td.edit {
219+
width: 1px; /* make sure it uses as little space as possible */
220+
}
221+
216222
/* milestone editing */
217223
#milestones-form .milestone {
218224
cursor: pointer;
@@ -245,14 +251,29 @@ pre { line-height: 1.214; }
245251
width: 32em; /* prevent the layout from jumping around */
246252
}
247253

248-
/* reset charter milestones */
254+
/* misc pages */
255+
249256
#reset-charter-milestones .date {
250257
display: inline-block;
251258
min-width: 5em;
252259
}
253260

254-
/* IPR */
261+
#ipr-details dl.dl-horizontal dt {
262+
white-space: normal;
263+
}
264+
265+
.ipr-form .draft-row.template {
266+
display: none;
267+
}
268+
269+
form.send-notification textarea {
270+
height: 24em;
271+
}
255272

256-
#ipr-details dl.dl-horizontal dt { white-space: normal; }
273+
form.add-email textarea {
274+
height: 24em;
275+
}
257276

258-
.ipr-form .draft-row.template { display: none }
277+
table.materials .snippable {
278+
width: 25em;
279+
}

0 commit comments

Comments
 (0)