summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2025-03-26 22:15:18 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2025-03-26 22:15:18 +0000
commit37064d89e132953c0bad07dc5f263436973f1af7 (patch)
tree3148344100b1bf92ce62c6e1bcd457a201597490
parentfb8726bb08b1b27f6f312d099bcf2148160fa79f (diff)
downloadredmine-37064d89e132953c0bad07dc5f263436973f1af7.tar.gz
redmine-37064d89e132953c0bad07dc5f263436973f1af7.zip
Merge r23566 from trunk to 6.0-stable (#41833).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23570 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/assets/images/icons.svg3
-rw-r--r--app/assets/stylesheets/application.css12
-rw-r--r--app/views/common/_tabs.html.erb8
-rw-r--r--config/icon_source.yml2
4 files changed, 21 insertions, 4 deletions
diff --git a/app/assets/images/icons.svg b/app/assets/images/icons.svg
index ef44b6ddf..384053145 100644
--- a/app/assets/images/icons.svg
+++ b/app/assets/images/icons.svg
@@ -14,6 +14,9 @@
<symbol viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="icon--angle-down">
<path d="M6 9l6 6l6 -6"/>
</symbol>
+ <symbol viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="icon--angle-left">
+ <path d="M15 6l-6 6l6 6"/>
+ </symbol>
<symbol viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="icon--angle-right">
<path d="M9 6l6 6l-6 6"/>
</symbol>
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 846e3adc9..3b44093c5 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1461,18 +1461,26 @@ button.tab-left:hover, button.tab-right:hover {
button.tab-left:focus, button.tab-right:focus {
outline: 0;
}
+button.tab-left svg.icon-svg, button.tab-right svg.icon-svg {
+ stroke: #999;
+ stroke-width: 2;
+}
button.tab-left {
right: 28px;
- background: #eeeeee url(/arrow_left.png) no-repeat 50% 50%;
border-top-left-radius:3px;
}
+button.tab-left:not(:has(svg)) {
+ background: #eeeeee url(/arrow_left.png) no-repeat 50% 50%;
+}
button.tab-right {
right: 4px;
- background: #eeeeee url(/arrow_right.png) no-repeat 50% 50%;
border-top-right-radius:3px;
}
+button.tab-right:not(:has(svg)) {
+ background: #eeeeee url(/arrow_right.png) no-repeat 50% 50%;
+}
button.tab-left.disabled, button.tab-right.disabled {
background-color: #ccc;
diff --git a/app/views/common/_tabs.html.erb b/app/views/common/_tabs.html.erb
index def21ff45..0190e5e6b 100644
--- a/app/views/common/_tabs.html.erb
+++ b/app/views/common/_tabs.html.erb
@@ -12,8 +12,12 @@
<% end -%>
</ul>
<div class="tabs-buttons" style="display:none;">
- <button class="tab-left" type="button" onclick="moveTabLeft(this);"></button>
- <button class="tab-right" type="button" onclick="moveTabRight(this);"></button>
+ <button class="tab-left icon-only" type="button" onclick="moveTabLeft(this);">
+ <%= sprite_icon "angle-left" %>
+ </button>
+ <button class="tab-right icon-only" type="button" onclick="moveTabRight(this);">
+ <%= sprite_icon "angle-right" %>
+ </button>
</div>
</div>
diff --git a/config/icon_source.yml b/config/icon_source.yml
index a73e9a2ba..99c4b07dd 100644
--- a/config/icon_source.yml
+++ b/config/icon_source.yml
@@ -85,6 +85,8 @@
svg: chevron-right
- name: angle-up
svg: chevron-up
+- name: angle-left
+ svg: chevron-left
- name: email
svg: mail
- name: email-disabled