0.0.8: update css.
This commit is contained in:
@@ -12,6 +12,6 @@ git clone https://git.licsber.site/ruby/open_explorer
|
|||||||
## ChangeLog
|
## ChangeLog
|
||||||
|
|
||||||
```
|
```
|
||||||
250823周六:(0.0.7)修改按钮出现位置;优化样式
|
250823周六:(0.0.8)修改按钮出现位置;优化样式
|
||||||
250823周六:(0.0.1)基础功能
|
250823周六:(0.0.1)基础功能
|
||||||
```
|
```
|
||||||
|
@@ -25,51 +25,38 @@
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
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;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-decoration: none;
|
text-decoration: none !important;
|
||||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
border: none;
|
border: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-button::after {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 2px;
|
|
||||||
background: white;
|
|
||||||
transform: scaleX(0);
|
|
||||||
transform-origin: right;
|
|
||||||
transition: transform 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive-button:hover {
|
.archive-button:hover {
|
||||||
transform: translateY(-3px);
|
transform: translateY(-3px);
|
||||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
||||||
background: #444;
|
background: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-button:hover::after {
|
.archive-button:hover::after {
|
||||||
transform: scaleX(1);
|
transform: scaleX(1);
|
||||||
transform-origin: left;
|
transform-origin: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-button:active {
|
.archive-button:active {
|
||||||
transform: translateY(1px);
|
transform: translateY(1px);
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-icon {
|
.archive-icon {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-button:hover .archive-icon {
|
.archive-button:hover .archive-icon {
|
||||||
transform: scale(1.2) rotate(10deg);
|
transform: scale(1.2) rotate(10deg);
|
||||||
}
|
}
|
||||||
|
2
init.rb
2
init.rb
@@ -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.7'
|
version '0.0.8'
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user