mirror of
https://github.com/xuquan-nikkkki/FolderFile-Splitter-Plugin.git
synced 2026-07-22 12:00:27 +00:00
355 lines
7.3 KiB
CSS
355 lines
7.3 KiB
CSS
/*
|
|
|
|
This CSS file will be included with your plugin, and
|
|
available in the app when your plugin is enabled.
|
|
|
|
If your plugin does not need CSS, delete this file.
|
|
|
|
*/
|
|
|
|
.theme-light,
|
|
.theme-dark {
|
|
--ffs-folder-pane-min-width: 140px;
|
|
--ffs-files-pane-min-width: 200px;
|
|
--ffs-folder-border-radius: 4px;
|
|
}
|
|
|
|
.theme-light {
|
|
--ffs-pane-divider-color: #d3d4d6;
|
|
--ffs-folder-hover-background-color: #e5e5e5;
|
|
--ffs-files-count-color: #a6a6a7;
|
|
--ffs-folder-toggle-icon-color: #585a5d;
|
|
--ffs-folder-focused-color: #fdf8eb;
|
|
--ffs-focused-background-color: #ecc44c;
|
|
--ffs-actions-background-color: #e5e5e5;
|
|
--ffs-actions-icon-color: #898989;
|
|
--ffs-file-content-preview-color: #999999;
|
|
--ffs-file-created-time-color: #515151;
|
|
--ffs-editing-mode-color: #000000;
|
|
--ffs-editing-background-color: #ffffff;
|
|
--ffs-folder-hierarchy-line-color: #e1dede;
|
|
--ffs-file-hover-background-color: #e5e5e5;
|
|
--ffs-file-name-color: #000000;
|
|
--ffs-folder-name-color: #000000;
|
|
--ffs-focused-folder-with-focused-file-background-color: #d9dce0;
|
|
--ffs-focused-file-content-preview-color: #707070;
|
|
--ffs-file-border-color: #e6e6e6;
|
|
}
|
|
|
|
.theme-dark {
|
|
--ffs-pane-divider-color: #000000;
|
|
--ffs-folder-hover-background-color: #2e2d2c;
|
|
--ffs-files-count-color: #89898a;
|
|
--ffs-folder-toggle-icon-color: #a3a5aa;
|
|
--ffs-folder-focused-color: #ffffff;
|
|
--ffs-focused-background-color: #9e862d;
|
|
--ffs-actions-background-color: #2e2d2c;
|
|
--ffs-actions-icon-color: #a59982;
|
|
--ffs-file-content-preview-color: #9b9d9f;
|
|
--ffs-file-created-time-color: #ffffff;
|
|
--ffs-editing-mode-color: #ffffff;
|
|
--ffs-editing-background-color: #000000;
|
|
--ffs-folder-hierarchy-line-color: #474341;
|
|
--ffs-file-hover-background-color: #2f2d2c;
|
|
--ffs-file-name-color: #ffffff;
|
|
--ffs-folder-name-color: #ffffff;
|
|
--ffs-focused-folder-with-focused-file-background-color: #42484d;
|
|
--ffs-focused-file-content-preview-color: #d1c59d;
|
|
--ffs-file-border-color: #3a3d42;
|
|
}
|
|
|
|
.ffs-plugin-view {
|
|
height: 100%;
|
|
min-width: calc(
|
|
var(--ffs-folder-pane-min-width) + var(--ffs-files-pane-min-width)
|
|
);
|
|
}
|
|
|
|
.ffs-plugin-container {
|
|
display: flex;
|
|
height: 100%;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.ffs-folder-pane {
|
|
min-width: var(--ffs-folder-pane-min-width);
|
|
margin-right: 8px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ffs-files-pane {
|
|
min-width: var(--ffs-files-pane-min-width);
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ffs-pane-divider {
|
|
border: 1px solid var(--ffs-pane-divider-color);
|
|
cursor: ew-resize;
|
|
}
|
|
|
|
.ffs-folder {
|
|
height: 30px;
|
|
font-size: 13px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-left: 6px;
|
|
padding-right: 6px;
|
|
color: var(--ffs-folder-name-color);
|
|
}
|
|
|
|
.ffs-folder:hover {
|
|
background-color: var(--ffs-folder-hover-background-color);
|
|
border-radius: var(--ffs-folder-border-radius);
|
|
}
|
|
|
|
.ffs-root-folder {
|
|
font-size: 14px;
|
|
font-weight: 450;
|
|
}
|
|
|
|
.ffs-folder-pane-left-section {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ffs-folder-arrow-icon-wrapper {
|
|
width: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 2px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.ffs-folder-icon {
|
|
width: 14px;
|
|
height: 12px;
|
|
fill: #d19600;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.ffs-root-folder .ffs-folder-icon {
|
|
width: 16px;
|
|
height: 14px;
|
|
}
|
|
|
|
.ffs-root-folder .ffs-folder-arrow-icon-wrapper {
|
|
width: 4px;
|
|
}
|
|
|
|
.ffs-root-folder .ffs-root-folder-icon {
|
|
width: 16px;
|
|
height: 14px;
|
|
}
|
|
|
|
.ffs-arrow-down-icon,
|
|
.ffs-arrow-right-icon {
|
|
width: 8px;
|
|
height: 8px;
|
|
fill: var(--ffs-folder-toggle-icon-color);
|
|
}
|
|
|
|
.ffs-files-count {
|
|
color: var(--ffs-files-count-color);
|
|
font-size: 12px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.ffs-folder-pane .ffs-focused-folder,
|
|
.ffs-folder-pane .ffs-drop-target-folder,
|
|
.ffs-folder-pane .ffs-selected-folder {
|
|
background-color: var(--ffs-focused-background-color);
|
|
border-radius: var(--ffs-folder-border-radius);
|
|
color: var(--ffs-folder-focused-color);
|
|
}
|
|
|
|
.ffs-focused-folder-with-focused-file {
|
|
background-color: var(
|
|
--ffs-focused-folder-with-focused-file-background-color
|
|
);
|
|
border-radius: var(--ffs-folder-border-radius);
|
|
}
|
|
|
|
.ffs-folder-pane .ffs-folder-name-edit-mode {
|
|
background-color: var(--ffs-editing-background-color) !important;
|
|
color: var(--ffs-editing-mode-color) !important;
|
|
}
|
|
|
|
.ffs-files-pane .ffs-file-name-edit-mode {
|
|
background-color: var(--ffs-editing-background-color) !important;
|
|
color: var(--ffs-editing-mode-color) !important;
|
|
}
|
|
|
|
.ffs-focused-folder,
|
|
.ffs-focused-folder .ffs-files-count {
|
|
font-weight: 450;
|
|
}
|
|
|
|
.ffs-focused-folder .ffs-arrow-down-icon,
|
|
.ffs-focused-folder .ffs-arrow-right-icon,
|
|
.ffs-focused-folder .ffs-folder-icon,
|
|
.ffs-selected-folder .ffs-folder-icon {
|
|
fill: var(--ffs-folder-focused-color);
|
|
}
|
|
|
|
.ffs-folder-name {
|
|
flex: 1;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ffs-folder-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.ffs-sub-folders-section {
|
|
margin-left: 14px;
|
|
}
|
|
|
|
.ffs-none-files-tips {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.ffs-hierarchy-line {
|
|
width: 1px;
|
|
border-left: 1px solid var(--ffs-folder-hierarchy-line-color);
|
|
position: absolute;
|
|
left: -2px;
|
|
top: 0;
|
|
bottom: 0px;
|
|
}
|
|
|
|
.ffs-none-files-tips .ffs-empty-folder-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
fill: #bdbdbd;
|
|
}
|
|
|
|
.ffs-file {
|
|
border-radius: var(--ffs-folder-border-radius);
|
|
padding: 0px 12px;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.ffs-file-content {
|
|
font-size: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 12px 0px;
|
|
}
|
|
|
|
.ffs-file:not(:last-child):not(.ffs-focused-file):has(
|
|
+ .ffs-file:not(.ffs-focused-file)
|
|
)
|
|
.ffs-file-content {
|
|
border-bottom: 1px solid var(--ffs-file-border-color);
|
|
}
|
|
|
|
.ffs-file:hover {
|
|
background-color: var(--ffs-file-hover-background-color);
|
|
}
|
|
|
|
.ffs-file .ffs-file-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--ffs-file-name-color);
|
|
}
|
|
|
|
.ffs-file .ffs-file-created-time {
|
|
letter-spacing: -0.5px;
|
|
width: 60px;
|
|
color: var(--ffs-file-created-time-color);
|
|
font-weight: 480;
|
|
}
|
|
|
|
.ffs-file-details {
|
|
display: flex;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.ffs-files-pane .ffs-focused-file,
|
|
.ffs-files-pane .ffs-selected-file {
|
|
background-color: var(--ffs-focused-background-color);
|
|
}
|
|
|
|
.ffs-file-content-preview {
|
|
flex: 1;
|
|
margin-left: 12px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 12px;
|
|
color: var(--ffs-file-content-preview-color);
|
|
}
|
|
|
|
.ffs-focused-file .ffs-file-content-preview {
|
|
color: var(--ffs-focused-file-content-preview-color);
|
|
}
|
|
|
|
.ffs-actions {
|
|
margin: 0px auto 4px;
|
|
padding: 8px 16px 4px;
|
|
border-radius: var(--ffs-folder-border-radius);
|
|
background-color: var(--ffs-actions-background-color);
|
|
display: flex;
|
|
}
|
|
|
|
.ffs-file-actions {
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.ffs-folder-actions-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
stroke: var(--ffs-actions-icon-color);
|
|
}
|
|
|
|
.ffs-folder-actions-icon:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.ffs-actions-icon-wrapper:not(:last-child) {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.ffs-pinned-folders-section {
|
|
margin: 8px 0 4px;
|
|
padding: 6px 4px 8px;
|
|
background-color: var(--ffs-actions-background-color);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.ffs-pinned-title {
|
|
display: flex;
|
|
align-items: center;
|
|
font-weight: 500;
|
|
color: var(--ffs-actions-icon-color);
|
|
margin-bottom: 4px;
|
|
margin-left: 2px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ffs-pinned-folders-section .ffs-pin-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-right: 2px;
|
|
fill: var(--ffs-actions-icon-color);
|
|
color: var(--ffs-actions-icon-color);
|
|
}
|
|
|
|
.ffs-pinned-folders .ffs-folder-arrow-icon-wrapper {
|
|
width: 0;
|
|
}
|