Skip to content

Commit 54c7951

Browse files
committed
Fix some colors
1 parent df1a4bf commit 54c7951

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

ietf/static/css/document_html_txt.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ thead, tfoot {
375375
border-bottom-style: double;
376376
}
377377
td, th {
378-
border: 1px solid black;
378+
border: 1px solid inherit;
379379
// padding: var(--half-line) 1ch;
380380
padding-top: var(--half-line);
381381
padding-right: 1ch;
@@ -394,7 +394,7 @@ td, th {
394394

395395
/* Links */
396396
a.selfRef, a.pilcrow, .iref + a.internal {
397-
color: black;
397+
color: inherit;
398398
text-decoration: none;
399399
}
400400
a.relref, a.xref {

ietf/static/js/ietf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ $(function () {
183183
.attr("tabindex", 0)
184184
.after($(`
185185
<div class="col-xl-2 ps-0 small">
186-
<div id="righthand-panel" class="position-fixed col-xl-2 bg-light d-flex flex-column justify-content-between align-items-start">
187-
<nav id="righthand-nav" class="navbar navbar-light w-100 overflow-auto align-items-start flex-fill"></nav>
186+
<div id="righthand-panel" class="position-fixed col-xl-2 bg-light-subtle d-flex flex-column justify-content-between align-items-start">
187+
<nav id="righthand-nav" class="navbar w-100 overflow-auto align-items-start flex-fill"></nav>
188188
</div>
189189
</div>
190190
`));

ietf/templates/base.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
data-group-menu-data-url="{% url 'ietf.group.views.group_menu_data' %}">
3434
{% analytical_body_top %}
3535
<a class="visually-hidden visually-hidden-focusable" href="#content">Skip to main content</a>
36-
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != "production" %} navbar-light bg-warning {% else %} navbar-dark bg-secondary {% endif %} {% if navbar_mode %} {{ navbar_mode }} {% else %} fixed-top {% endif %}">
36+
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != "production" %} bg-warning {% else %} bg-secondary {% endif %} {% if navbar_mode %} {{ navbar_mode }} {% else %} fixed-top {% endif %}">
3737
<div class="container-fluid">
3838
<a class="navbar-brand" href="/">
3939
<img alt="IETF Logo" class="me-2"
@@ -87,7 +87,7 @@
8787
<div class="pt-3 container-fluid">
8888
<div class="row">
8989
{% if request.COOKIES.left_menu == "on" and not hide_menu %}
90-
<div class="d-none d-md-block bg-light py-3 leftmenu small">
90+
<div class="d-none d-md-block bg-light-subtle py-3 leftmenu small">
9191
<ul class="nav nav-pills flex-column">
9292
{% include "base/menu.html" with flavor="left" %}
9393
</ul>
@@ -115,7 +115,7 @@
115115
</div>
116116
</div>
117117
{% block footer %}
118-
<footer class="col-md-12 col-sm-12 bg-white text-center position-sticky">
118+
<footer class="col-md-12 col-sm-12 bg-light-subtle text-center position-sticky">
119119
<hr class="mx-3">
120120
<a href="https://www.ietf.org/" class="p-3">IETF</a>
121121
<a href="https://www.ietf.org/iesg/" class="p-3">IESG</a>

ietf/templates/doc/document_html.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% load static %}
66
{% load ietf_filters textfilters %}
77
{% origin %}
8-
<html lang="en">
8+
<html data-bs-theme="auto" lang="en">
99
<head>
1010
{% analytical_head_top %}
1111
<meta charset="utf-8">
@@ -61,7 +61,7 @@
6161
title="Show metadata sidebar">
6262
<i class="bi bi-layout-sidebar-reverse"></i>
6363
</button>
64-
<nav class="navbar navbar-light bg-light px-1 fixed-top d-print-none d-md-none">
64+
<nav class="navbar bg-light-subtle px-1 fixed-top d-print-none d-md-none">
6565
<a class="nav-link ps-1"
6666
href="{% url 'ietf.doc.views_doc.document_main' name=doc.canonical_name %}">
6767
{% if not snapshot and doc.get_state_slug == "rfc" %}
@@ -88,7 +88,7 @@
8888
<span class="navbar-toggler-icon small"></span>
8989
</button>
9090
<div class="navbar-nav navbar-nav-scroll overscroll-none collapse pt-1" id="docinfo-collapse">
91-
<div class="bg-light p-0">
91+
<div class="bg-light-subtle p-0">
9292
<table class="table table-sm table-borderless small">
9393
<tbody class="meta align-top">
9494
<tr>
@@ -136,7 +136,7 @@
136136
</div>
137137
{% endif %}
138138
</div>
139-
<div class="d-print-none col-md-3 bg-light collapse{% if request.COOKIES.sidebar != 'off'%} show{% endif %}" id="sidebar">
139+
<div class="d-print-none col-md-3 bg-light-subtle collapse{% if request.COOKIES.sidebar != 'off'%} show{% endif %}" id="sidebar">
140140
<div class="position-fixed border-start sidebar overflow-scroll overscroll-none no-scrollbar">
141141
<button class="btn btn-outline-secondary float-end m-2"
142142
type="button"

0 commit comments

Comments
 (0)