Skip to content

Commit 77f4e94

Browse files
KarenKonounijel
authored andcommitted
fix: correct color styling for button links
1 parent 1eba8a6 commit 77f4e94

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

weblate/static/style-dark.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,12 @@ fieldset[disabled] .btn-link {
10131013
text-decoration-color: currentcolor;
10141014
background-color: transparent;
10151015
}
1016+
a.btn-link:hover {
1017+
color: #6cf8d8;
1018+
path {
1019+
fill: #6cf8d8;
1020+
}
1021+
}
10161022
.btn-link[disabled]:hover,
10171023
fieldset[disabled] .btn-link:hover,
10181024
.btn-link[disabled]:focus,

weblate/static/styles/main.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,25 @@ thead th {
13551355

13561356
.btn-link {
13571357
padding: 6px;
1358+
text-decoration: none;
1359+
}
1360+
1361+
.btn-link:hover {
1362+
text-decoration: none;
1363+
}
1364+
1365+
a.btn-link {
1366+
color: var(--bs-link-color);
1367+
path {
1368+
fill: var(--bs-link-color);
1369+
}
1370+
}
1371+
1372+
a.btn-link:hover {
1373+
color: var(--bs-btn-hover-color);
1374+
path {
1375+
fill: var(--bs-btn-hover-color);
1376+
}
13581377
}
13591378

13601379
.btn-link.btn-xs {

weblate/templates/translate.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ <h4 class="card-title">
794794
</table>
795795
{% if user_can_add_glossary and addterm_form.fields.translation.queryset %}
796796
<div class="card-footer card-footer-links">
797-
<a class="btn btn-link green"
797+
<a class="btn btn-link"
798798
href="#"
799799
data-bs-toggle="modal"
800800
data-bs-target="#add-glossary-form">{% icon "plus-circle.svg" %} {% translate "Add term to glossary" %}</a>
@@ -839,7 +839,7 @@ <h5>
839839
{% endfor %}
840840
{% if user_can_add_screenshot %}
841841
<br />
842-
<a class="btn btn-link green"
842+
<a class="btn btn-link"
843843
href="#"
844844
data-bs-toggle="modal"
845845
data-bs-target="#add-screenshot-form">{% icon "plus-circle.svg" %} {% translate "Add screenshot" %}</a>

0 commit comments

Comments
 (0)