Skip to content

Commit 74a0ac2

Browse files
committed
style: 优化标签 UI
1 parent ca463a9 commit 74a0ac2

5 files changed

Lines changed: 28 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
- fix: 修复 `-` 符号与 Discourse 论坛快捷键冲突的问题
2-
- fix: 修复收藏夹中分类图标失效的问题
3-
- style: 优化基础 UI
1+
- style: 优化标签 UI

entrypoints/App.vue

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

entrypoints/app.css

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -912,16 +912,29 @@ body.body-preview #main-outlet-wrapper {
912912
}
913913

914914
.linxudoscripts-tag {
915-
background: #29a6a9;
916-
color: #fff;
917-
font-size: 14px !important;
918-
padding: 0 10px;
919-
height: 26px;
920-
text-align: center;
921-
display: inline-flex !important;
922915
align-items: center;
923916
justify-content: center;
924-
border-radius: 5px;
917+
position: relative;
918+
min-width: 36px;
919+
height: 22px;
920+
line-height: 20px;
921+
padding: 0 8px;
922+
margin-left: 8px;
923+
vertical-align: middle;
924+
color: rgba(255, 255, 255, .95);
925+
font-size: 14px !important;
926+
font-weight: 600;
927+
letter-spacing: .3px;
928+
text-shadow: 0 1px 1px rgba(0, 0, 0, .15);
929+
background-color: #29a6a9;
930+
background-image: linear-gradient(135deg, rgba(255, 255, 255, .1) 0, rgba(255, 255, 255, .05) 50%, rgba(0, 0, 0, .05) 51%, rgba(0, 0, 0, .1) 100%);
931+
border-radius: 3px;
932+
border: 1px solid rgba(0, 0, 0, .12);
933+
box-sizing: border-box;
934+
box-shadow: 0 1px 2px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .15);
935+
transition: all .2s cubic-bezier(.25, .46, .45, .94);
936+
overflow: hidden;
937+
z-index: 1;
925938
}
926939

927940
.menu-table {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "linuxdo-scripts",
33
"description": "manifest.json description",
44
"private": true,
5-
"version": "1.1.14",
5+
"version": "1.1.15",
66
"type": "module",
77
"scripts": {
88
"dev": "wxt",

version-log.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.15
2+
3+
- style: 优化标签 UI
4+
15
## 1.1.14
26

37
- fix: 修复 `-` 符号与 Discourse 论坛快捷键冲突的问题

0 commit comments

Comments
 (0)