Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions weblate/static/style-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,12 @@ fieldset[disabled] .btn-link {
text-decoration-color: currentcolor;
background-color: transparent;
}
a.btn-link:hover {
color: #6cf8d8;
path {
fill: #6cf8d8;
}
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
Expand Down
19 changes: 19 additions & 0 deletions weblate/static/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,25 @@ thead th {

.btn-link {
padding: 6px;
text-decoration: none;
}

.btn-link:hover {
text-decoration: none;
}

a.btn-link {
color: var(--bs-link-color);
path {
fill: var(--bs-link-color);
}
}

a.btn-link:hover {
color: var(--bs-btn-hover-color);
path {
fill: var(--bs-btn-hover-color);
}
}

.btn-link.btn-xs {
Expand Down
4 changes: 2 additions & 2 deletions weblate/templates/translate.html
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ <h4 class="card-title">
</table>
{% if user_can_add_glossary and addterm_form.fields.translation.queryset %}
<div class="card-footer card-footer-links">
<a class="btn btn-link green"
<a class="btn btn-link"
href="#"
data-bs-toggle="modal"
data-bs-target="#add-glossary-form">{% icon "plus-circle.svg" %} {% translate "Add term to glossary" %}</a>
Expand Down Expand Up @@ -839,7 +839,7 @@ <h5>
{% endfor %}
{% if user_can_add_screenshot %}
<br />
<a class="btn btn-link green"
<a class="btn btn-link"
href="#"
data-bs-toggle="modal"
data-bs-target="#add-screenshot-form">{% icon "plus-circle.svg" %} {% translate "Add screenshot" %}</a>
Expand Down
Loading