0.0.5: update css.

This commit is contained in:
2025-08-23 11:48:30 +08:00
parent 02eea18ca7
commit 0acdd1a087
3 changed files with 8 additions and 20 deletions

View File

@@ -12,6 +12,6 @@ git clone https://git.licsber.site/ruby/open_explorer
## ChangeLog ## ChangeLog
``` ```
250823周六0.0.4)修改按钮出现位置;优化样式 250823周六0.0.5)修改按钮出现位置;优化样式
250823周六0.0.1)基础功能 250823周六0.0.1)基础功能
``` ```

View File

@@ -11,40 +11,28 @@
<a href="<%= archive_url %>" <a href="<%= archive_url %>"
target="_blank" target="_blank"
class="archive-button"> class="archive-button">
<span class="archive-icon">📂</span> 一键打开归档地址 <span class="archive-icon">📂</span> 一键打开
</a> </a>
<% end %> <% end %>
<style> <style>
.archive-button { .archive-button {
font-weight: 600; font-weight: 600;
padding: 8px 16px; padding: 4px 6px;
background: linear-gradient(135deg, #4a6cf7 0%, #2e4fd0 100%); background: #333;
color: white; color: white !important;
text-decoration: none;
border-radius: 6px; border-radius: 6px;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 8px; gap: 4px;
transition: all 0.3s ease; transition: all 0.3s ease;
box-shadow: 0 3px 8px rgba(74, 108, 247, 0.25);
border: 1px solid #2e4fd0;
font-size: 14px; font-size: 14px;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
} }
.archive-button:hover {
background: linear-gradient(135deg, #2e4fd0 0%, #1e3db3 100%);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
text-decoration: none;
color: white;
}
.archive-button:active { .archive-button:active {
transform: translateY(0); transform: translateY(0);
box-shadow: 0 2px 5px rgba(74, 108, 247, 0.3);
} }
.archive-icon { .archive-icon {

View File

@@ -2,7 +2,7 @@ Redmine::Plugin.register :open_explorer do
name 'Open Explorer plugin' name 'Open Explorer plugin'
author 'licsber' author 'licsber'
description 'Open archive path using explorer.' description 'Open archive path using explorer.'
version '0.0.4' version '0.0.5'
url 'https://git.licsber.site/ruby/open_explorer' url 'https://git.licsber.site/ruby/open_explorer'
author_url 'https://licsber.site' author_url 'https://licsber.site'
end end