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
```
250823周六0.0.4)修改按钮出现位置;优化样式
250823周六0.0.5)修改按钮出现位置;优化样式
250823周六0.0.1)基础功能
```

View File

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

View File

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