mirror of https://github.com/snachodog/mybuddy.git
parent
d85cd12ca9
commit
b0de44b5d5
|
@ -13,7 +13,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Right align main dropdown menu.
|
// Right align main dropdown menu.
|
||||||
.dropdown-menu-right {
|
.dropdown-menu-end {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto; // Reset the default from `.dropdown-menu`
|
left: auto; // Reset the default from `.dropdown-menu`
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
<a href="{% url 'core:child' current_child.slug %}">{{ current_child }}</a>
|
<a href="{% url 'core:child' current_child.slug %}">{{ current_child }}</a>
|
||||||
{% if children.count > 0 %}
|
{% if children.count > 0 %}
|
||||||
<a href="#" class="ms-1 ps-1 pe-1 dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a href="#" class="ms-1 ps-1 pe-1 dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<span class="visually-hidden">{% trans 'Switch child' %}</span>
|
<span class="visually-hidden">{% trans 'Switch child' %}</span>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||||
<path d="M3.626 6.832A.5.5 0 0 1 4 6h8a.5.5 0 0 1 .374.832l-4 4.5a.5.5 0 0 1-.748 0l-4-4.5z"></path>
|
<path d="M3.626 6.832A.5.5 0 0 1 4 6h8a.5.5 0 0 1 .374.832l-4 4.5a.5.5 0 0 1-.748 0l-4-4.5z"></path>
|
||||||
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm15 0a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2z"></path>
|
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm15 0a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu dropdown-menu-right">
|
<div class="dropdown-menu dropdown-menu-start">
|
||||||
<h6 class="dropdown-header">{% trans "Switch to…" %}</h6>
|
<h6 class="dropdown-header">{% trans "Switch to…" %}</h6>
|
||||||
{% for child in children %}
|
{% for child in children %}
|
||||||
<a class="dropdown-item d-flex align-items-center" href="{% url target_url child.slug %}">
|
<a class="dropdown-item d-flex align-items-center" href="{% url target_url child.slug %}">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% with id=widget.attrs.id %}
|
{% with id=widget.attrs.id %}
|
||||||
<div{% if id %} id="{{ id }}"{% endif %} class="btn-group btn-group-toggle" data-toggle="buttons">
|
<div{% if id %} id="{{ id }}"{% endif %} class="btn-group btn-group-toggle" data-bs-toggle="buttons">
|
||||||
{% for group, options, index in widget.optgroups %}
|
{% for group, options, index in widget.optgroups %}
|
||||||
{% for option in options %}
|
{% for option in options %}
|
||||||
{% if option.value != '' %}
|
{% if option.value != '' %}
|
||||||
|
|
|
@ -10,12 +10,12 @@
|
||||||
href="#"
|
href="#"
|
||||||
role="button"
|
role="button"
|
||||||
id="quick-timer-menu-toggle"
|
id="quick-timer-menu-toggle"
|
||||||
data-toggle="dropdown"
|
data-bs-toggle="dropdown"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-expanded="false"><i class="icon-2x icon-timer" aria-hidden="true"></i>
|
aria-expanded="false"><i class="icon-2x icon-timer" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="quick-timer-menu-toggle">
|
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="quick-timer-menu-toggle">
|
||||||
<h6 class="dropdown-header">{% trans "Quick Start Timer For…" %}</h6>
|
<h6 class="dropdown-header">{% trans "Quick Start Timer For…" %}</h6>
|
||||||
{% for child in children %}
|
{% for child in children %}
|
||||||
<button class="dropdown-item d-flex align-items-center" type="submit" name="child" value="{{ child.pk }}">
|
<button class="dropdown-item d-flex align-items-center" type="submit" name="child" value="{{ child.pk }}">
|
||||||
|
|
|
@ -257,11 +257,11 @@
|
||||||
|
|
||||||
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
|
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
|
||||||
selector and the JS adding the class can be removed. */
|
selector and the JS adding the class can be removed. */
|
||||||
#changelist table tbody tr.selected {
|
#changelist tbody tr.selected {
|
||||||
background-color: var(--selected-row);
|
background-color: var(--selected-row);
|
||||||
}
|
}
|
||||||
|
|
||||||
#changelist table tbody tr:has(input[type=checkbox]:checked) {
|
#changelist tbody tr:has(.action-select:checked) {
|
||||||
background-color: var(--selected-row);
|
background-color: var(--selected-row);
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -257,11 +257,11 @@
|
||||||
|
|
||||||
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
|
/* Once the :has() pseudo-class is supported by all browsers, the tr.selected
|
||||||
selector and the JS adding the class can be removed. */
|
selector and the JS adding the class can be removed. */
|
||||||
#changelist table tbody tr.selected {
|
#changelist tbody tr.selected {
|
||||||
background-color: var(--selected-row);
|
background-color: var(--selected-row);
|
||||||
}
|
}
|
||||||
|
|
||||||
#changelist table tbody tr:has(input[type=checkbox]:checked) {
|
#changelist tbody tr:has(.action-select:checked) {
|
||||||
background-color: var(--selected-row);
|
background-color: var(--selected-row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
@import url("widgets.801bda05bd0d.css");
|
@import url("widgets.0a3765e806b3.css");
|
||||||
|
|
||||||
/* FORM ROWS */
|
/* FORM ROWS */
|
||||||
|
|
||||||
|
@ -130,7 +130,9 @@ form .aligned div.help {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
form .aligned p.datetime div.help.timezonewarning {
|
form .aligned p.date div.help.timezonewarning,
|
||||||
|
form .aligned p.datetime div.help.timezonewarning,
|
||||||
|
form .aligned p.time div.help.timezonewarning {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
Binary file not shown.
|
@ -130,7 +130,9 @@ form .aligned div.help {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
form .aligned p.datetime div.help.timezonewarning {
|
form .aligned p.date div.help.timezonewarning,
|
||||||
|
form .aligned p.datetime div.help.timezonewarning,
|
||||||
|
form .aligned p.time div.help.timezonewarning {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
Binary file not shown.
|
@ -620,7 +620,6 @@ input[type="submit"], button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligned p.file-upload {
|
.aligned p.file-upload {
|
||||||
margin-left: 0;
|
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -620,7 +620,6 @@ input[type="submit"], button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligned p.file-upload {
|
.aligned p.file-upload {
|
||||||
margin-left: 0;
|
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -147,7 +147,9 @@ form .aligned div.help {
|
||||||
|
|
||||||
form div.help ul,
|
form div.help ul,
|
||||||
form .aligned .checkbox-row + .help,
|
form .aligned .checkbox-row + .help,
|
||||||
form .aligned p.datetime div.help.timezonewarning {
|
form .aligned p.date div.help.timezonewarning,
|
||||||
|
form .aligned p.datetime div.help.timezonewarning,
|
||||||
|
form .aligned p.time div.help.timezonewarning {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -147,7 +147,9 @@ form .aligned div.help {
|
||||||
|
|
||||||
form div.help ul,
|
form div.help ul,
|
||||||
form .aligned .checkbox-row + .help,
|
form .aligned .checkbox-row + .help,
|
||||||
form .aligned p.datetime div.help.timezonewarning {
|
form .aligned p.date div.help.timezonewarning,
|
||||||
|
form .aligned p.datetime div.help.timezonewarning,
|
||||||
|
form .aligned p.time div.help.timezonewarning {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -368,10 +368,6 @@ p.file-upload {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligned p.file-upload {
|
|
||||||
margin-left: 170px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.file-upload a {
|
.file-upload a {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -368,10 +368,6 @@ p.file-upload {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligned p.file-upload {
|
|
||||||
margin-left: 170px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.file-upload a {
|
.file-upload a {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -11904,7 +11904,7 @@ textarea.form-control-lg {
|
||||||
--bs-btn-border-radius: 0.2rem;
|
--bs-btn-border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu-right {
|
.dropdown-menu-end {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
Binary file not shown.
|
@ -11904,7 +11904,7 @@ textarea.form-control-lg {
|
||||||
--bs-btn-border-radius: 0.2rem;
|
--bs-btn-border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu-right {
|
.dropdown-menu-end {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue