Skip to content
Open
12 changes: 12 additions & 0 deletions TeXmacs/misc/images/floating-search/down-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions TeXmacs/misc/images/floating-search/down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions TeXmacs/misc/images/floating-search/math-mode-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions TeXmacs/misc/images/floating-search/math-mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions TeXmacs/misc/images/floating-search/text-mode-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions TeXmacs/misc/images/floating-search/text-mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions TeXmacs/misc/images/floating-search/up-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions TeXmacs/misc/images/floating-search/up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions TeXmacs/misc/images/images.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
<file>llm-chat/thinking.svg</file>
<file>llm-chat/thinking-white.svg</file>

<file>floating-search/down.svg</file>
<file>floating-search/up.svg</file>
<file>floating-search/text-mode.svg</file>
<file>floating-search/math-mode.svg</file>

<!-- dark theme -->
<file>ocr-button/left-align-white.svg</file>
<file>ocr-button/middle-align-white.svg</file>
Expand All @@ -43,6 +48,11 @@
<file>pdf-reader/open-white.svg</file>
<file>pdf-reader/screenshot-white.svg</file>

<file>floating-search/down-white.svg</file>
<file>floating-search/up-white.svg</file>
<file>floating-search/text-mode-white.svg</file>
<file>floating-search/math-mode-white.svg</file>

<!-- tutorial -->
<file>tutorial/ocr-tutorial.gif</file>
<file>tutorial/magic-paste-tutorial.gif</file>
Expand Down
55 changes: 55 additions & 0 deletions TeXmacs/misc/themes/liii-night.css
Original file line number Diff line number Diff line change
Expand Up @@ -1491,3 +1491,58 @@ QPushButton#chat-tab-conversation-btn:checked {
QWidget#centralWidget QPushButton#chat-tab-conversation-btn:checked {
background-color: #1a3a5a;
}

/****************************************************************************
* 悬浮搜索栏样式
****************************************************************************/

QWidget#centralWidget QWidget#floating_search_bar {
background: #2d2d2d;
border: none;
}

QWidget#floating_search_bar QToolButton {
border: none;
background: transparent;
}

QWidget#floating_search_bar QToolButton:hover {
background: rgba(255, 255, 255, 30);
}

QWidget#floating_search_bar QToolButton:pressed {
background: rgba(255, 255, 255, 50);
}

QWidget#floating_search_bar QToolButton#floating-search-prev {
qproperty-icon: url(":/floating-search/up-white.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-next {
qproperty-icon: url(":/floating-search/down-white.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-close {
qproperty-icon: url(":/tabpage/close-white.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-mode-text {
qproperty-icon: url(":/floating-search/text-mode-white.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-mode-math {
qproperty-icon: url(":/floating-search/math-mode-white.svg");
}

QWidget#floating_search_bar QWidget#floating-search-input {
border: 1px solid #555555;
}

QWidget#floating_search_bar QWidget#floating-search-input:focus {
border: 1px solid #215a6a;
}

QWidget#floating_search_bar QLabel#floating-search-info {
background: transparent;
color: #ffffff;
}
54 changes: 54 additions & 0 deletions TeXmacs/misc/themes/liii.css
Original file line number Diff line number Diff line change
Expand Up @@ -1410,3 +1410,57 @@ QPushButton#chat-tab-conversation-btn:checked {
font-weight: 600;
background-color: #e8eefc;
}

/****************************************************************************
* 悬浮搜索栏样式
****************************************************************************/
QWidget#floating_search_bar {
background: #f3f3f3;
border: none;
}

QWidget#floating_search_bar QToolButton {
border: none;
background: transparent;
}

QWidget#floating_search_bar QToolButton:hover {
background: rgba(0, 0, 0, 30);
}

QWidget#floating_search_bar QToolButton:pressed {
background: rgba(0, 0, 0, 50);
}

QWidget#floating_search_bar QToolButton#floating-search-prev {
qproperty-icon: url(":/floating-search/up.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-next {
qproperty-icon: url(":/floating-search/down.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-close {
qproperty-icon: url(":/tabpage/close.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-mode-text {
qproperty-icon: url(":/floating-search/text-mode.svg");
}

QWidget#floating_search_bar QToolButton#floating-search-mode-math {
qproperty-icon: url(":/floating-search/math-mode.svg");
}

QWidget#floating_search_bar QWidget#floating-search-input {
border: 1px solid #d0d0d0;
}

QWidget#floating_search_bar QWidget#floating-search-input:focus {
border: 1px solid #215a6a;
}

QWidget#floating_search_bar QLabel#floating-search-info {
background: transparent;
color: #2c2c2c;
}
6 changes: 6 additions & 0 deletions TeXmacs/plugins/lang/dic/en_US/zh_CN.scm
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@
("close replace tool (Esc)" "关闭替换窗 (Esc)")
("close window" "关闭窗口")
("close" "关闭")
("Close (Esc)" "关闭 (Esc)")
("closed bezier" "闭合贝塞尔曲线")
("closed curve" "闭合曲线")
("closed smooth" "闭合平滑曲线")
Expand Down Expand Up @@ -1600,6 +1601,7 @@
("next screen" "前一屏")
("next similar" "相似的(后一个)")
("next" "后一个")
("Next (Enter)" "下一个 (Enter)")
("no changes need to be saved" "没有任何更改需要保存")
("no dictionary for" "")
("no first indentation" "")
Expand All @@ -1608,6 +1610,8 @@
("no line break" "禁止换行")
("no matches found for" "")
("no matches found" "")
("No matches" "无匹配")
("%1 of %2" "%1 / %2")
("no more matches for" "")
("no more redo information available" "")
("no more undo information available" "")
Expand Down Expand Up @@ -1870,6 +1874,8 @@
("previous screen" "后一屏")
("previous similar" "相似的(前一个)")
("previous" "前一个")
("Previous (Ctrl+Enter)" "上一个 (Ctrl+Enter)")
("Previous (Cmd+Enter)" "上一个 (Cmd+Enter)")
("primary" "")
("prime" "")
("print all to file" "全部打印为文件")
Expand Down
Loading
Loading