2025-02-22 09:01:37 +00:00
|
|
|
.ge-grid-view-container {
|
2025-02-07 15:45:42 +00:00
|
|
|
padding: 0px;
|
2025-02-11 13:38:42 +00:00
|
|
|
height: 100%;
|
2025-02-07 15:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
/* 選擇資料夾的樣式 */
|
|
|
|
|
.ge-grid-view-folder-option {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-grid-view-folder-option:hover {
|
|
|
|
|
background-color: var(--background-modifier-hover);
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-18 15:29:27 +00:00
|
|
|
/* ascii tree prefix */
|
|
|
|
|
.ge-folder-tree-prefix {
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
white-space: pre;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
/* Grid 樣式 */
|
|
|
|
|
.ge-grid-container {
|
2025-02-07 15:45:42 +00:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(var(--grid-item-width, 300px), 1fr));
|
2025-02-09 16:46:29 +00:00
|
|
|
gap: 12px;
|
2025-03-16 08:11:08 +00:00
|
|
|
padding: 12px !important;
|
2025-02-07 15:45:42 +00:00
|
|
|
align-items: start;
|
2025-02-11 13:38:42 +00:00
|
|
|
align-content: start;
|
2025-02-07 15:45:42 +00:00
|
|
|
background: var(--background-secondary) !important;
|
2025-02-22 09:01:37 +00:00
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
2025-02-09 16:46:29 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.is-mobile .ge-grid-container::-webkit-scrollbar {
|
2025-02-18 08:06:58 +00:00
|
|
|
display: none !important;
|
|
|
|
|
width: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-12 17:12:30 +00:00
|
|
|
/* Grid 項目樣式 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-grid-item {
|
2025-02-07 15:45:42 +00:00
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
2025-02-11 13:38:42 +00:00
|
|
|
border-radius: var(--button-radius);
|
2025-04-11 16:08:46 +00:00
|
|
|
padding: 10px;
|
2025-02-07 15:45:42 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
|
|
|
display: flex;
|
2025-02-09 16:46:29 +00:00
|
|
|
gap: 14px;
|
2025-03-09 16:36:27 +00:00
|
|
|
height: var(--grid-item-height);
|
2025-02-07 15:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-grid-item:hover {
|
2025-02-07 15:45:42 +00:00
|
|
|
transform: translateY(-2px);
|
2025-04-06 16:17:31 +00:00
|
|
|
background-color: var(--text-selection) !important;
|
2025-02-07 15:45:42 +00:00
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-content-area {
|
2025-02-07 15:45:42 +00:00
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
2025-03-05 15:00:01 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: flex-start;
|
2025-02-07 15:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-05-15 15:56:43 +00:00
|
|
|
.ge-break {
|
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
|
height: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-bottom: 1px solid var(--background-primary);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-05 15:00:01 +00:00
|
|
|
.ge-title-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-icon-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
color: var(--text-muted);
|
2025-07-08 13:40:52 +00:00
|
|
|
align-self: flex-start; /* 讓icon自身靠上 */
|
|
|
|
|
margin-top: 1px;
|
2025-03-05 15:00:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-icon-container.ge-img {
|
|
|
|
|
color: var(--color-blue);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-icon-container.ge-video {
|
|
|
|
|
color: var(--color-red);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-28 16:35:47 +00:00
|
|
|
.ge-icon-container.ge-audio {
|
|
|
|
|
color: var(--color-purple);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-05 15:00:01 +00:00
|
|
|
.ge-icon-container.ge-pdf {
|
|
|
|
|
color: var(--color-orange);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-icon-container.ge-canvas {
|
|
|
|
|
color: var(--color-green);
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-12 17:12:30 +00:00
|
|
|
.ge-icon-container.ge-base {
|
|
|
|
|
color: var(--color-cyan);
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-05 15:00:01 +00:00
|
|
|
.ge-title {
|
|
|
|
|
margin: 0 0 0 3px;
|
2025-03-09 16:36:27 +00:00
|
|
|
font-size: var(--title-font-size);
|
2025-02-07 15:45:42 +00:00
|
|
|
color: var(--text-normal);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
2025-02-24 09:35:51 +00:00
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
2025-02-07 15:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-07-08 13:40:52 +00:00
|
|
|
/* 多行標題支援 */
|
|
|
|
|
.ge-multiline-title {
|
|
|
|
|
white-space: normal !important;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
line-clamp: 2;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-18 09:17:54 +00:00
|
|
|
.ge-note-button {
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
transition: opacity 0.2s ease;
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-note-button:hover {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
color: var(--text-accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-note-button svg {
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-24 09:35:51 +00:00
|
|
|
.ge-content-area p {
|
2025-04-11 16:08:46 +00:00
|
|
|
margin: 5px 0 0 0;
|
2025-02-11 13:38:42 +00:00
|
|
|
color: var(--text-faint);
|
2025-02-09 16:46:29 +00:00
|
|
|
font-size: 0.85em;
|
2025-02-07 15:45:42 +00:00
|
|
|
line-height: 1.4;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 3;
|
2025-06-11 08:49:47 +00:00
|
|
|
line-clamp: 3;
|
2025-02-07 15:45:42 +00:00
|
|
|
-webkit-box-orient: vertical;
|
2025-03-09 16:36:27 +00:00
|
|
|
height: 100%;
|
2025-02-07 15:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-04-13 08:08:46 +00:00
|
|
|
.ge-grid-item:hover p {
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-24 09:35:51 +00:00
|
|
|
.ge-content-area p:empty {
|
2025-02-11 13:38:42 +00:00
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-24 09:35:51 +00:00
|
|
|
.ge-image-area {
|
|
|
|
|
width: var(--image-area-width);
|
|
|
|
|
height: var(--image-area-height);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-image-area img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-05 15:00:01 +00:00
|
|
|
.ge-image-area video {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-07-08 13:40:52 +00:00
|
|
|
/* 卡片模式 ------------------------------------------------------------------ */
|
|
|
|
|
/* 將 ge-grid-container 包在帶有 .ge-vertical-card 的容器中以啟用 */
|
|
|
|
|
.ge-vertical-card .ge-grid-container {
|
|
|
|
|
/* 使用既有的欄寬變數,僅改 gap 與 padding 以符合卡片視覺 */
|
|
|
|
|
gap: 16px;
|
|
|
|
|
padding: 16px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 單一卡片 */
|
|
|
|
|
.ge-vertical-card .ge-grid-item {
|
|
|
|
|
/* 垂直排列 */
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
height: var(--grid-item-height); /* 與一般網格一致,保持同排等高 */
|
|
|
|
|
gap: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 摘要文字跟隨標題之後 */
|
|
|
|
|
.ge-vertical-card .ge-content-area {
|
|
|
|
|
order: 1;
|
|
|
|
|
flex: 1 1 auto; /* 使摘要區撐開,標籤可貼底 */
|
|
|
|
|
flex-grow: 1; /* Add this line */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 圖片置中,滿版顯示 */
|
|
|
|
|
.ge-vertical-card .ge-image-area {
|
|
|
|
|
order: 3;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: var(--image-area-height);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-vertical-card .ge-image-area img,
|
|
|
|
|
.ge-vertical-card .ge-image-area video {
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 標籤列置底 */
|
|
|
|
|
.ge-vertical-card .ge-tags-container {
|
|
|
|
|
order: 4;
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 鼠標懸停效果:整張卡片微抬升 */
|
|
|
|
|
.ge-vertical-card .ge-grid-item:hover {
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 僅圖片/影片的直向卡片 ---------------------------------------------- */
|
|
|
|
|
.ge-vertical-card .ge-media-card {
|
|
|
|
|
padding: 0; /* 移除內距,讓媒體填滿 */
|
|
|
|
|
border: none;
|
|
|
|
|
gap: 0;
|
|
|
|
|
height: var(--grid-item-height);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-vertical-card .ge-media-card .ge-image-area {
|
|
|
|
|
order: 1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: var(--image-area-height);
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-vertical-card .ge-media-card .ge-image-area img,
|
|
|
|
|
.ge-vertical-card .ge-media-card .ge-image-area video {
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-vertical-card .ge-media-card .ge-content-area,
|
|
|
|
|
.ge-vertical-card .ge-media-card .ge-tags-container {
|
|
|
|
|
display: none !important; /* 隱藏標題、摘要、標籤 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------------- */
|
|
|
|
|
|
2025-04-13 08:08:46 +00:00
|
|
|
/* 標籤樣式 */
|
|
|
|
|
.ge-tags-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-tag {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
font-size: 0.8em;
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
background-color: var(--background-secondary-alt);
|
|
|
|
|
color: var(--text-accent);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-07 15:45:42 +00:00
|
|
|
/* 資料夾項目的特殊樣式 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-grid-item.ge-folder-item {
|
2025-02-07 15:45:42 +00:00
|
|
|
background-color: var(--background-primary-alt);
|
2025-02-11 13:38:42 +00:00
|
|
|
border: 2px solid var(--background-modifier-border);
|
2025-03-05 15:00:01 +00:00
|
|
|
padding: 7px;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
|
|
transition: all 0.2s ease;
|
2025-03-09 16:36:27 +00:00
|
|
|
height: 100%;
|
2025-02-07 15:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-grid-item.ge-folder-item:hover {
|
2025-02-07 15:45:42 +00:00
|
|
|
background-color: var(--background-modifier-hover);
|
2025-03-05 15:00:01 +00:00
|
|
|
transform: translateY(-1px);
|
|
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
2025-02-07 15:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-03-05 15:00:01 +00:00
|
|
|
.ge-grid-item.ge-folder-item .ge-icon-container {
|
|
|
|
|
color: var(--interactive-accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-grid-item.ge-folder-item .ge-title {
|
2025-02-07 15:45:42 +00:00
|
|
|
color: var(--text-normal);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 調整資料夾項目的高度 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-grid-item.ge-folder-item .ge-content-area {
|
2025-02-07 15:45:42 +00:00
|
|
|
min-height: 0px;
|
2025-03-05 15:00:01 +00:00
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-grid-item.ge-folder-item .ge-title-container {
|
|
|
|
|
align-items: center;
|
2025-02-09 16:46:29 +00:00
|
|
|
}
|
|
|
|
|
|
2025-04-13 08:08:46 +00:00
|
|
|
/* 日期分隔器樣式 */
|
|
|
|
|
.ge-date-divider {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
user-select: none;
|
2025-07-08 13:40:52 +00:00
|
|
|
margin-top: 4px;
|
2025-06-12 18:12:12 +00:00
|
|
|
margin-bottom: -2px;
|
2025-06-12 17:12:30 +00:00
|
|
|
}
|
|
|
|
|
|
2025-07-08 13:40:52 +00:00
|
|
|
/* 置頂分隔器圖示
|
|
|
|
|
.ge-date-divider::before {
|
|
|
|
|
content: "📆";
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
margin-left: 2px;
|
|
|
|
|
} */
|
|
|
|
|
|
2025-06-12 17:12:30 +00:00
|
|
|
/* Pin分隔器樣式 */
|
|
|
|
|
.ge-pin-divider {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
user-select: none;
|
2025-06-12 18:12:12 +00:00
|
|
|
margin-top: -1px;
|
|
|
|
|
margin-bottom: -2px;
|
2025-04-13 08:08:46 +00:00
|
|
|
}
|
|
|
|
|
|
2025-07-08 13:40:52 +00:00
|
|
|
/* 置頂分隔器圖示 */
|
|
|
|
|
.ge-pin-divider::before {
|
|
|
|
|
content: "📌";
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
margin-left: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-09 16:46:29 +00:00
|
|
|
/* 頂部按鈕區域樣式 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-header-buttons {
|
2025-02-09 16:46:29 +00:00
|
|
|
display: flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
background: var(--background-primary);
|
|
|
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-header-buttons button {
|
2025-02-09 16:46:29 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
background-color: var(--interactive-normal);
|
2025-02-11 13:38:42 +00:00
|
|
|
border-radius: var(--button-radius);
|
2025-02-09 16:46:29 +00:00
|
|
|
color: var(--text-normal);
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s, transform 0.1s;
|
2025-02-18 08:06:58 +00:00
|
|
|
min-width: 38px;
|
2025-02-09 16:46:29 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.is-tablet .ge-header-buttons button:not(.clickable-icon) {
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-header-buttons button:hover {
|
2025-02-09 16:46:29 +00:00
|
|
|
background-color: var(--interactive-hover);
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-header-buttons button:active {
|
2025-02-09 16:46:29 +00:00
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 特定按鈕樣式 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-header-buttons .sort-button,
|
|
|
|
|
.ge-header-buttons .reselect-button,
|
|
|
|
|
.ge-header-buttons .refresh-button,
|
|
|
|
|
.ge-header-buttons .up-button {
|
2025-02-09 16:46:29 +00:00
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-17 16:24:14 +00:00
|
|
|
.ge-foldername-content {
|
2025-04-08 16:22:38 +00:00
|
|
|
justify-content: center;
|
2025-06-19 16:46:03 +00:00
|
|
|
padding: 10px 8px 9px 8px;
|
2025-06-18 15:29:27 +00:00
|
|
|
background-color: var(--background-secondary);
|
|
|
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
2025-06-19 16:46:03 +00:00
|
|
|
font-size: var(--font-ui-medium);
|
2025-04-08 16:22:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-foldername-content span {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2025-06-19 16:46:03 +00:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-foldername-content span.ge-mode-title {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
padding-right: 3px;
|
2025-06-17 16:24:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 為資料夾名稱、分隔符等元素添加間距 */
|
|
|
|
|
.ge-foldername-content > *:nth-child(1) {
|
2025-06-18 15:29:27 +00:00
|
|
|
margin-left: 11px;
|
2025-06-17 16:24:14 +00:00
|
|
|
margin-right: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-foldername-content > *:nth-child(2) {
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-parent-folder-link {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-parent-folder-link:hover {
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: var(--background-modifier-hover);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
2025-04-08 16:22:38 +00:00
|
|
|
|
2025-06-18 15:29:27 +00:00
|
|
|
.ge-parent-folder-link.ge-dragover {
|
|
|
|
|
border: 2px dashed var(--interactive-accent);
|
|
|
|
|
transform: scale(1.05);
|
|
|
|
|
}
|
|
|
|
|
|
2025-07-07 15:15:45 +00:00
|
|
|
.ge-sub-option {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
margin-left: -5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-sub-option:hover {
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: var(--background-modifier-hover);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-11 13:38:42 +00:00
|
|
|
/* 搜尋對話框樣式 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-container {
|
2025-03-09 16:36:27 +00:00
|
|
|
margin-bottom: 8px;
|
2025-02-18 08:06:58 +00:00
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-02-11 13:38:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-06-24 16:13:51 +00:00
|
|
|
.ge-search-input-wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-input-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-clear-button {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 8px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-clear-button:hover {
|
|
|
|
|
color: var(--text-accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-clear-button svg {
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 標籤顯示區域 */
|
|
|
|
|
.ge-search-tag-display-area {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-tag-button {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 3px 7px;
|
|
|
|
|
background-color: var(--background-modifier-active-hover);
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding-right: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-tag-delete-button {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 2px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-tag-delete-button:hover {
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-tag-delete-button svg {
|
|
|
|
|
width: 22px;
|
|
|
|
|
height: 22px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 標籤自動完成下拉選單 */
|
|
|
|
|
.ge-search-tag-suggestions {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
max-height: 150px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-tag-suggestion-item {
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-tag-suggestion-item:hover,
|
|
|
|
|
.ge-search-tag-suggestion-item.is-selected {
|
|
|
|
|
background-color: var(--interactive-accent);
|
|
|
|
|
color: var(--text-on-accent, white);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-container input {
|
2025-02-11 13:38:42 +00:00
|
|
|
width: 100%;
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
outline: none;
|
|
|
|
|
transition: border-color 0.2s;
|
2025-02-18 08:06:58 +00:00
|
|
|
padding-right: 25px;
|
2025-02-11 13:38:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-container input:focus {
|
2025-02-11 13:38:42 +00:00
|
|
|
border-color: var(--interactive-accent);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-container input::placeholder {
|
2025-02-11 13:38:42 +00:00
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 16:24:22 +00:00
|
|
|
/* 搜尋選項容器 */
|
|
|
|
|
.ge-search-options-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
margin: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-09 16:36:27 +00:00
|
|
|
/* 搜尋範圍設定樣式 */
|
|
|
|
|
.ge-search-scope-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-scope-checkbox {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-scope-label {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
user-select: none;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 16:24:22 +00:00
|
|
|
/* 搜尋媒體檔案設定樣式 */
|
|
|
|
|
.ge-search-media-files-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-media-files-checkbox {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-search-media-files-label {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
user-select: none;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container {
|
2025-02-11 13:38:42 +00:00
|
|
|
display: flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container button {
|
2025-02-11 13:38:42 +00:00
|
|
|
padding: 6px 12px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s, transform 0.1s;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container button:first-child {
|
2025-02-11 13:38:42 +00:00
|
|
|
background-color: var(--interactive-accent);
|
|
|
|
|
color: var(--text-on-accent);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container button:last-child {
|
2025-02-11 13:38:42 +00:00
|
|
|
background-color: var(--interactive-normal);
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container button:hover {
|
2025-02-11 13:38:42 +00:00
|
|
|
transform: translateY(-1px);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container button:first-child:hover {
|
2025-02-11 13:38:42 +00:00
|
|
|
background-color: var(--interactive-accent-hover);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container button:last-child:hover {
|
2025-02-11 13:38:42 +00:00
|
|
|
background-color: var(--interactive-hover);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-button-container button:active {
|
2025-02-11 13:38:42 +00:00
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 搜尋按鈕容器 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-button-container {
|
2025-02-11 13:38:42 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
border-radius: 4px;
|
2025-02-18 08:06:58 +00:00
|
|
|
padding: 0;
|
2025-02-11 13:38:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 搜尋按鈕啟用狀態 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-button-container button.active {
|
2025-02-11 13:38:42 +00:00
|
|
|
background-color: var(--interactive-accent);
|
|
|
|
|
color: var(--text-on-accent);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-18 08:06:58 +00:00
|
|
|
/* 搜尋文字容器 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-text-container {
|
2025-02-18 08:06:58 +00:00
|
|
|
position: relative;
|
2025-03-14 16:55:51 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
max-width: 150px;
|
2025-02-11 13:38:42 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
2025-02-18 08:06:58 +00:00
|
|
|
background-color: var(--background-modifier-active-hover);
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: border-color 0.15s ease;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-text-container:hover {
|
|
|
|
|
border-color: var(--interactive-accent);
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-18 08:06:58 +00:00
|
|
|
/* 搜尋文字 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-text {
|
2025-02-18 08:06:58 +00:00
|
|
|
font-size: 14px;
|
2025-03-14 16:55:51 +00:00
|
|
|
color: var(--text-normal);
|
|
|
|
|
flex-grow: 1; /* 讓文字填滿剩餘空間 */
|
|
|
|
|
min-width: 0; /* 防止内容溢出 */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
margin-left: 8px;
|
2025-02-18 08:06:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 取消按鈕 */
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-clear-button {
|
2025-02-18 08:06:58 +00:00
|
|
|
width: 22px;
|
|
|
|
|
height: 22px;
|
2025-02-11 13:38:42 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-02-18 08:06:58 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: 14px;
|
2025-03-14 16:55:51 +00:00
|
|
|
margin-right:4px; /* 添加右边距 */
|
|
|
|
|
flex-shrink: 0; /* 防止被压缩*/
|
2025-02-18 08:06:58 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-clear-button:hover {
|
2025-02-18 08:06:58 +00:00
|
|
|
color: #FFF;
|
|
|
|
|
background-color: var(--background-modifier-error-hover);
|
2025-02-11 13:38:42 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-clear-button svg {
|
2025-02-18 08:06:58 +00:00
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-clear-button {
|
2025-02-18 08:06:58 +00:00
|
|
|
color: var(--text-muted);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 5px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-22 09:01:37 +00:00
|
|
|
.ge-search-clear-button:hover {
|
2025-02-18 08:06:58 +00:00
|
|
|
color: var(--text-normal);
|
|
|
|
|
background-color: var(--background-modifier-hover);
|
2025-02-24 09:35:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-loading-indicator {
|
2025-06-17 16:24:14 +00:00
|
|
|
grid-column: 1 / -1;
|
2025-02-24 09:35:51 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 100px;
|
|
|
|
|
font-size: 1.2em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-no-files {
|
2025-06-17 16:24:14 +00:00
|
|
|
grid-column: 1 / -1;
|
2025-02-24 09:35:51 +00:00
|
|
|
text-align: center;
|
|
|
|
|
padding: 2em;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: 1.2em;
|
2025-02-26 15:11:51 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-28 19:02:28 +00:00
|
|
|
/* 資料夾搜尋輸入框樣式 */
|
|
|
|
|
.ge-folder-search-container {
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
padding: 0 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-folder-search-input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
font-size: var(--font-ui-small);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-folder-search-input:focus {
|
|
|
|
|
border-color: var(--interactive-accent);
|
|
|
|
|
box-shadow: 0 0 0 2px rgba(var(--interactive-accent-rgb), 0.2);
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-folder-options-container {
|
|
|
|
|
max-height: 70vh;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
padding-right: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 鍵盤導航選中項的樣式 */
|
|
|
|
|
.ge-selected-option {
|
|
|
|
|
background-color: var(--background-modifier-hover);
|
|
|
|
|
border-left: 3px solid var(--interactive-accent) !important;
|
|
|
|
|
padding-left: 5px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-26 15:11:51 +00:00
|
|
|
/* 忽略資料夾設定 */
|
|
|
|
|
.ge-ignored-folders-container {
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-ignored-folders-list {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-ignored-folder-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-ignored-folder-path {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-ignored-folder-remove {
|
|
|
|
|
background-color: var(--interactive-normal);
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-ignored-folder-remove:hover {
|
|
|
|
|
background-color: var(--interactive-hover);
|
2025-03-05 15:00:01 +00:00
|
|
|
}
|
|
|
|
|
|
2025-03-06 16:45:12 +00:00
|
|
|
/* 忽略資料夾樣式 */
|
|
|
|
|
.ignored-folder-patterns-container {
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-ignored-folder-patterns-list {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-05 15:00:01 +00:00
|
|
|
/* 影片縮圖樣式 */
|
|
|
|
|
.ge-video-thumbnail {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
background-color: var(--background-secondary);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-video-thumbnail svg {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
color: var(--text-accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 媒體檔案全螢幕顯示樣式 */
|
|
|
|
|
.ge-media-fullscreen-container {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-view {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-fullscreen-image {
|
|
|
|
|
max-width: 100vw;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
object-fit: contain;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-fullscreen-video {
|
|
|
|
|
max-width: 100vw;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-23 17:31:27 +00:00
|
|
|
.ge-media-container video {
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-28 16:35:47 +00:00
|
|
|
.ge-fullscreen-file-name {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 15px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
z-index: 1007;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-05 15:00:01 +00:00
|
|
|
.ge-media-close-button {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 15px;
|
|
|
|
|
right: 15px;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
|
color: white;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
z-index: 1010;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-close-button:hover {
|
|
|
|
|
background-color: rgba(255, 0, 0, 0.7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 左右切換區域 */
|
|
|
|
|
.ge-media-prev-area,
|
|
|
|
|
.ge-media-next-area {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 15%;
|
|
|
|
|
height: 70%;
|
|
|
|
|
width: 10%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
z-index: 1005;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-prev-area {
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-next-area {
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* MediaModal 樣式 */
|
|
|
|
|
.ge-media-modal {
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.9) !important;
|
|
|
|
|
border: none !important;
|
|
|
|
|
border-radius: 0 !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
max-width: 100% !important;
|
|
|
|
|
max-height: 100% !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-modal .modal-header {
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-modal .modal-close-button {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-media-modal-content {
|
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 媒體 Modal 樣式 */
|
|
|
|
|
.ge-media-modal {
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.9) !important;
|
|
|
|
|
border: none !important;
|
|
|
|
|
border-radius: 0 !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
max-width: 100% !important;
|
|
|
|
|
max-height: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 選中項目的樣式 */
|
|
|
|
|
.ge-selected-item {
|
|
|
|
|
outline: 1px solid var(--vault-profile-color-hover) !important;
|
|
|
|
|
outline-offset: -1px;
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 拖曳相關樣式 */
|
|
|
|
|
.ge-grid-item.ge-dragging {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
transform: scale(0.95);
|
|
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-folder-item.ge-dragover {
|
|
|
|
|
border: 2px dashed var(--interactive-accent);
|
|
|
|
|
transform: scale(1.05);
|
|
|
|
|
}
|
2025-03-28 16:35:47 +00:00
|
|
|
|
|
|
|
|
/* 音樂播放器 */
|
|
|
|
|
.ge-floating-audio-player {
|
|
|
|
|
position: fixed;
|
|
|
|
|
width: 300px;
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
border: 1px solid var(--background-modifier-border);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
|
|
|
z-index: 1100;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
transition: box-shadow 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-floating-audio-player:hover {
|
|
|
|
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-audio-title {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: var(--text-normal);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
padding-right: 24px;
|
|
|
|
|
cursor: default;
|
|
|
|
|
margin: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-floating-audio-player audio {
|
|
|
|
|
width: 100%;
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-audio-close-button {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 8px;
|
|
|
|
|
right: 8px;
|
|
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
|
|
|
z-index: 1102;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-audio-close-button:hover {
|
|
|
|
|
background-color: var(--background-modifier-error-hover);
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-audio-handle {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 30px;
|
|
|
|
|
cursor: move;
|
|
|
|
|
border-radius: 8px 8px 0 0;
|
|
|
|
|
z-index: 1101;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-audio-dragging {
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
2025-06-17 16:24:14 +00:00
|
|
|
|
|
|
|
|
/* 設定描述區域樣式 */
|
|
|
|
|
.ge-setting-desc {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ge-setting-number-input {
|
|
|
|
|
width: 60px;
|
2025-06-22 17:03:38 +00:00
|
|
|
}
|