Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
105d62f8db |
@@ -537,22 +537,25 @@ body {
|
|||||||
|
|
||||||
/* 日历同步按钮 */
|
/* 日历同步按钮 */
|
||||||
.btn-cal-sync {
|
.btn-cal-sync {
|
||||||
display: flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
gap: 5px;
|
||||||
width: 28px;
|
padding: 6px 12px;
|
||||||
height: 28px;
|
border: 1.5px solid var(--border);
|
||||||
border: none;
|
background: var(--card);
|
||||||
background: transparent;
|
color: var(--text-dim);
|
||||||
color: var(--text-muted);
|
border-radius: var(--radius-sm);
|
||||||
border-radius: 6px;
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
.btn-cal-sync:hover {
|
.btn-cal-sync:hover {
|
||||||
background: var(--success-light);
|
border-color: var(--primary);
|
||||||
color: var(--success);
|
color: var(--primary);
|
||||||
|
background: var(--primary-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 编辑模式下才显示的元素 */
|
/* 编辑模式下才显示的元素 */
|
||||||
|
|||||||
@@ -125,6 +125,9 @@
|
|||||||
<section class="panel active" id="panel-daily">
|
<section class="panel active" id="panel-daily">
|
||||||
<div class="panel-header">
|
<div class="panel-header">
|
||||||
<h2>每日打卡</h2>
|
<h2>每日打卡</h2>
|
||||||
|
<button class="btn-cal-sync" onclick="syncCalendar()" title="同步钉钉日历">
|
||||||
|
<svg class="icon-sm"><use href="#icon-calendar"/></svg> 日历同步
|
||||||
|
</button>
|
||||||
<input type="date" id="check-date" class="check-date-input" onchange="loadCheckin()">
|
<input type="date" id="check-date" class="check-date-input" onchange="loadCheckin()">
|
||||||
</div>
|
</div>
|
||||||
<div class="daily-grid">
|
<div class="daily-grid">
|
||||||
@@ -134,9 +137,6 @@
|
|||||||
<svg class="icon-h2"><use href="#icon-sun"/></svg>
|
<svg class="icon-h2"><use href="#icon-sun"/></svg>
|
||||||
<h3>早间立志</h3>
|
<h3>早间立志</h3>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn-cal-sync" onclick="syncCalendar()" title="同步钉钉日历">
|
|
||||||
<svg class="icon-sm"><use href="#icon-calendar"/></svg>
|
|
||||||
</button>
|
|
||||||
<button class="btn-edit-toggle" onclick="toggleEditMode(this)" title="编辑">
|
<button class="btn-edit-toggle" onclick="toggleEditMode(this)" title="编辑">
|
||||||
<svg class="icon-sm"><use href="#icon-pencil"/></svg>
|
<svg class="icon-sm"><use href="#icon-pencil"/></svg>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user