vomebook commited on
Commit
bce5b24
·
verified ·
1 Parent(s): 0fff32a

Upload 2 files

Browse files
Files changed (2) hide show
  1. static/index.html +4 -4
  2. static/style.css +4 -2
static/index.html CHANGED
@@ -85,28 +85,28 @@
85
  <aside id="right-sidebar" class="sidebar right-sidebar">
86
  <div class="sidebar-header"><span>搜索过滤</span><button id="close-filters-btn" class="icon-btn-sm" aria-label="关闭过滤">×</button></div>
87
  <div class="sidebar-content">
88
- <div class="filter-section">
89
  <label class="toggle-row">
90
  <span class="toggle-label">全文搜索</span>
91
  <input type="checkbox" id="fulltext-toggle">
92
  <span class="toggle-switch"></span>
93
  </label>
94
  </div>
95
- <div class="filter-section">
96
  <label class="toggle-row">
97
  <span class="toggle-label">搜索文件夹名</span>
98
  <input type="checkbox" id="search-paths-toggle" checked>
99
  <span class="toggle-switch"></span>
100
  </label>
101
  </div>
102
- <div class="filter-section">
103
  <label class="toggle-row">
104
  <span class="toggle-label">记录搜索历史</span>
105
  <input type="checkbox" id="history-toggle" checked>
106
  <span class="toggle-switch"></span>
107
  </label>
108
  </div>
109
- <div class="filter-section">
110
  <label class="toggle-row">
111
  <span class="toggle-label">精准搜索</span>
112
  <input type="checkbox" id="exact-search-toggle">
 
85
  <aside id="right-sidebar" class="sidebar right-sidebar">
86
  <div class="sidebar-header"><span>搜索过滤</span><button id="close-filters-btn" class="icon-btn-sm" aria-label="关闭过滤">×</button></div>
87
  <div class="sidebar-content">
88
+ <div class="filter-section" id="fulltext-toggle-section">
89
  <label class="toggle-row">
90
  <span class="toggle-label">全文搜索</span>
91
  <input type="checkbox" id="fulltext-toggle">
92
  <span class="toggle-switch"></span>
93
  </label>
94
  </div>
95
+ <div class="filter-section" id="search-paths-toggle-section">
96
  <label class="toggle-row">
97
  <span class="toggle-label">搜索文件夹名</span>
98
  <input type="checkbox" id="search-paths-toggle" checked>
99
  <span class="toggle-switch"></span>
100
  </label>
101
  </div>
102
+ <div class="filter-section" id="history-toggle-section">
103
  <label class="toggle-row">
104
  <span class="toggle-label">记录搜索历史</span>
105
  <input type="checkbox" id="history-toggle" checked>
106
  <span class="toggle-switch"></span>
107
  </label>
108
  </div>
109
+ <div class="filter-section" id="exact-search-section">
110
  <label class="toggle-row">
111
  <span class="toggle-label">精准搜索</span>
112
  <input type="checkbox" id="exact-search-toggle">
static/style.css CHANGED
@@ -1351,16 +1351,18 @@ body.mobile .mobile-selected-count {
1351
  padding: 10px 12px;
1352
  }
1353
 
 
 
1354
  #history-toggle-section,
1355
- #search-folders-section,
1356
  #exact-search-section {
1357
  padding: 0 12px;
1358
  height: 40px;
1359
  box-sizing: border-box;
1360
  }
1361
 
 
 
1362
  #history-toggle-section .toggle-row,
1363
- #search-folders-section .toggle-row,
1364
  #exact-search-section .toggle-row {
1365
  height: 100%;
1366
  }
 
1351
  padding: 10px 12px;
1352
  }
1353
 
1354
+ #fulltext-toggle-section,
1355
+ #search-paths-toggle-section,
1356
  #history-toggle-section,
 
1357
  #exact-search-section {
1358
  padding: 0 12px;
1359
  height: 40px;
1360
  box-sizing: border-box;
1361
  }
1362
 
1363
+ #fulltext-toggle-section .toggle-row,
1364
+ #search-paths-toggle-section .toggle-row,
1365
  #history-toggle-section .toggle-row,
 
1366
  #exact-search-section .toggle-row {
1367
  height: 100%;
1368
  }