Skip to content

Commit ce303d4

Browse files
committed
CSS cleaning
- Legacy-Id: 2116
1 parent 34efc3e commit ce303d4

8 files changed

Lines changed: 14 additions & 13 deletions

File tree

ietf/templates/idrfc/doc_diffs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3333
{% endcomment %}
3434

35-
<div class="diffTool">
35+
<div class="ietf-box diffTool"
3636
<h2 style="margin-top:0;margin-bottom:4px;">Diffs</h2>
3737
<form action="http://tools.ietf.org/rfcdiff" method="get" target="_blank" style="margin:0;">
3838
<table>

ietf/templates/idrfc/doc_main.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535

3636
{% load ietf_filters %}
3737
{% block morecss %}
38-
#metabox { width: 99%; border:1px solid #cccccc; background:#edf5ff;margin-top:8px; padding:4px; margin-bottom:1em; }
38+
.metabox { width: 99%; margin-top:8px; padding:4px; margin-bottom:1em; }
3939
#metatable { border: 0; border-spacing: 0; }
4040
#metatable tr { vertical-align:top ;}
4141
#metatable .post-rfc { font-style: italic; color: #004000; }
4242
.comment_toggle { text-decoration: underline; color: blue; }
4343
.comment_date { white-space: nowrap; }
4444

45-
div.diffTool { border: 1px solid #cccccc; background: #edf5ff; padding: 8px 4px; margin: 8px 0;}
45+
div.diffTool { padding: 8px 4px; margin: 8px 0;}
4646
.diffTool label { float:left; width:50px; }
4747

4848
.markup_draft pre {line-height: 1.2em; margin: 0; }
@@ -69,7 +69,7 @@ <h1>{% block doc_h1 %}{% endblock %}</h1>
6969
<div class="yui-content">
7070

7171
<div id="doc">
72-
<div id="metabox">
72+
<div class="ietf-box metabox">
7373
<table id="metatable">
7474
{% block doc_metatable %}{% endblock %}
7575
</table>

ietf/templates/idrfc/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
.ietf-main-title h1 { font-size:40px; font-weight:bold; margin-bottom:10px; margin-top:5px;}
4040
td.ietf-main-logo { padding: 8px; }
4141
.ietf-main-logo div { text-align:center; }
42-
td.ietf-main-search { width:650px; background:#edf5ff; padding:8px; border:1px solid #cccccc; }
42+
td.ietf-main-search { width:650px; padding:8px; }
4343
td.ietf-main-intro { width:200px; background:#fff5df; padding:8px; border:1px solid #cccccc; }
4444
.ietf-main-intro li { padding-left:0; margin-left:0; }
4545
.ietf-main-intro ul { margin-left:5px; padding-left:10px; }
@@ -52,7 +52,7 @@
5252
<td class="ietf-main-logo"><div><img src="/images/ietflogo.gif" width="140" alt=""/></div></td>
5353
</tr>
5454

55-
<tr valign="top"><td class="ietf-main-search">
55+
<tr valign="top"><td class="ietf-box ietf-main-search">
5656
<h1>Search Internet-Drafts and RFCs</h1>
5757
{% include "idrfc/search_form.html" %}
5858
</td>

ietf/templates/idrfc/search_main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{% block content %}
3939
<h1>Internet-Drafts and RFCs</h1>
4040

41-
<div id="search_form_box">
41+
<div class="ietf-box search_form_box">
4242
{% include "idrfc/search_form.html" %}
4343
</div>
4444

ietf/templates/ipr/search.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
{% block morecss %}
66
form { clear:both; margin-top:1em;}
77
label { float:left; width: 200px; }
8-
.search_form_box { border: 1px solid #cccccc; background:#edf5ff; padding:4px;padding-left:8px;}
98
{% endblock %}
109
{% block content %}
1110

1211
<h1>IPR Search</h1>
1312
<h2>Document Search</h2>
14-
<div class="search_form_box">
13+
<div class="ietf-box search_form_box">
1514
<form method="get">
1615
<input type="hidden" name="option" value="document_search">
1716

@@ -60,7 +59,7 @@ <h2>Document Search</h2>
6059

6160
<h2>Keyword Search</h2>
6261

63-
<div class="search_form_box">
62+
<div class="ietf-box search_form_box">
6463

6564
<form method="get">
6665
<input type="hidden" name="option" value="patent_search">

ietf/templates/wginfo/wg_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
.ietf-navset .selected { font-weight:bold; padding: 0 3px; }
4646
.ietf-navset a, .ietf-navset a:visited { color: white; padding:0 3px; }
4747

48-
.ietf-wg-details { background:#edf5ff; border:1px solid #cccccc; float:right; padding: 4px;margin-top:16px; margin-left: 16px; }
48+
.ietf-wg-details { float:right; padding: 4px;margin-top:16px; margin-left: 16px; }
4949
.ietf-wg-details tr { vertical-align: top; }
5050
.ietf-concluded-wg {background-color: #F8F8D0; }
5151
{% endblock morecss %}

ietf/templates/wginfo/wg_charter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
{% block wg_content %}
3939

40-
<div class="ietf-wg-details">
40+
<div class="ietf-box ietf-wg-details">
4141
<table>
4242
<tr>
4343
<td colspan="2">

static/css/base2.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ body { margin: 0; }
4747
#ietf-login { color: white; position:absolute; top:8px; right: 10px; }
4848
#ietf-login a, #ietf-login a:visited { color: white; }
4949

50+
.ietf-box { background:#edf5ff; border: 1px solid #cccccc; }
51+
5052
.ietf-navbar { background-color: #edf5ff; padding:0; border: 1px solid #89d; margin-top:4px; }
5153
.ietf-navbar ul { padding: 0; margin: 0; }
5254
.ietf-navbar ul li { list-style: none; padding: 0; margin: 0; font-size: 93%; padding: 2px 0px 2px 0px; }
@@ -69,7 +71,7 @@ body { margin: 0; }
6971
.ietf-ballot .square { border:1px solid black; display: block; float:left;width: 10px; height:10px;font-size:1px;margin-right:4px; margin-top:1px;}
7072
.ietf-ballot .was { padding-left: 10px; font-size:85%; }
7173

72-
#search_form_box {width: 99.5%; border: 0px solid #cccccc; background:#edf5ff;margin-top:8px; padding:4px; margin-bottom:1em; padding-left:8px;}
74+
.search_form_box {width: 99.5%; margin-top:8px; padding:4px; margin-bottom:1em; padding-left:8px;}
7375
form#search_form { padding-top: 4px; padding-bottom: 4px; }
7476
#search_form input { padding: 0; padding-left: 2px; border: 1px solid #89d;}
7577
#search_form input.radio { padding-left: 0; border: 0; }

0 commit comments

Comments
 (0)