Преглед на файлове

fix: ui consistency — pull as primary action, inline styles into css classes

KenZ1117 преди 2 седмици
родител
ревизия
cb08f0174d
променени са 2 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 3 3
      public/index.html
  2. 2 0
      public/style.css

+ 3 - 3
public/index.html

@@ -335,7 +335,7 @@
               <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 12a8 8 0 1 1-2.3-5.6"/><path d="M20 4v5h-5"/></svg>
               刷新
             </button>
-            <button class="btn btn-ghost btn-small" id="btnLakePull" title="以钉钉 AI 表格(云端主档案)为准,拉回本地湖;未注册的账号自动创建主体">
+            <button class="btn btn-primary btn-small" id="btnLakePull" title="以钉钉 AI 表格(云端主档案)为准,拉回本地湖;未注册的账号自动创建主体">
               <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3v12"/><path d="M7 10l5 5 5-5"/><path d="M4 21h16"/></svg>
               从云端拉取
             </button>
@@ -344,7 +344,7 @@
         </div>
 
 
-        <div class="seg-control lake-tabs" id="lakeTabs" role="tablist" style="margin-bottom:14px; max-width:fit-content;">
+        <div class="seg-control lake-tabs" id="lakeTabs" role="tablist">
           <button type="button" class="active" data-tab="overview">湖全景</button>
           <button type="button" data-tab="detail">明细数据</button>
         </div>
@@ -360,7 +360,7 @@
         <div class="panel panel-fixed report-table-panel">
           <div class="panel-title">
             <span>主体明细</span>
-            <span class="actions" style="display:flex;align-items:center;gap:8px;">
+            <span class="actions">
               <span class="badge badge-info" id="lakeRowsBadge">0 主体</span>
               <span class="conn-help-wrap">
                 <button type="button" class="help-btn" id="btnLakeHelp" title="多机数据与云端同步规则" aria-expanded="false">?</button>

+ 2 - 0
public/style.css

@@ -999,3 +999,5 @@ main.content { padding: var(--page-padding-y) var(--page-padding-x) var(--page-p
 /* 全部字段模式:列宽随内容自适应,容器横向滚动 */
 .report-table.raw-cols { min-width: max-content; }
 .report-table.raw-cols th, .report-table.raw-cols td { white-space: nowrap; }
+/* 中台页内 tab 条(湖全景/明细数据) */
+.lake-tabs { margin-bottom: 14px; max-width: fit-content; }