feat: 添加更新卡片提醒样式和测试
This commit is contained in:
@@ -523,6 +523,18 @@ header {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.update-card-reminder {
|
||||
margin: 0;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid color-mix(in srgb, var(--orange) 28%, var(--border));
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--orange-soft) 70%, var(--bg-base));
|
||||
color: var(--orange);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.update-release-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -100,6 +100,7 @@
|
||||
</div>
|
||||
<button id="btn-open-release" class="btn btn-primary btn-sm" type="button">前往更新</button>
|
||||
</div>
|
||||
<p class="update-card-reminder">请更新前导出配置</p>
|
||||
<div id="update-release-list" class="update-release-list"></div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -816,4 +817,4 @@
|
||||
<script src="sidepanel.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user