Only apply CSS to descendants of .admindatefilter (#37)
This commit is contained in:
parent
c951b5f27a
commit
80e4e02967
|
@ -2,8 +2,8 @@
|
|||
<h3>{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}">
|
||||
<style>
|
||||
.admindatefilter .button, input[type=submit], input[type=button], .submit-row input, a.button,
|
||||
.admindatefilter .button, input[type=reset] {
|
||||
.admindatefilter .button, .admindatefilter input[type=submit], .admindatefilter input[type=button], .admindatefilter .submit-row input, .admindatefilter a.button,
|
||||
.admindatefilter .button, .admindatefilter input[type=reset] {
|
||||
background: #79aec8;
|
||||
padding: 4px 5px;
|
||||
border: none;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<h3>{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}">
|
||||
<style>
|
||||
.admindatefilter .button, input[type=reset] {
|
||||
.admindatefilter .button, .admindatefilter input[type=reset] {
|
||||
padding: 3px 5px;
|
||||
color: black;
|
||||
border: 1px solid #bbb;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
<h3>{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}">
|
||||
<style nonce="{{ spec.request.csp_nonce }}">
|
||||
.admindatefilter .button, input[type=submit], input[type=button], .submit-row input, a.button,
|
||||
.admindatefilter .button, input[type=reset] {
|
||||
.admindatefilter .button, .admindatefilter input[type=submit], .admindatefilter input[type=button], .admindatefilter .submit-row input, .admindatefilter a.button,
|
||||
.admindatefilter .button, .admindatefilter input[type=reset] {
|
||||
background: #79aec8;
|
||||
padding: 4px 5px;
|
||||
border: none;
|
||||
|
|
Loading…
Reference in New Issue