mirror of
https://github.com/xuquan-nikkkki/FolderFile-Splitter-Plugin.git
synced 2026-07-22 12:00:27 +00:00
143 lines
2.4 KiB
CSS
143 lines
2.4 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-border-radius: 4px;
|
|
}
|
|
|
|
/* plugin layout */
|
|
.ffs__plugin-container {
|
|
height: 100%;
|
|
}
|
|
|
|
.ffs__layout,
|
|
.ffs__layout--horizontal,
|
|
.ffs__layout--vertical {
|
|
display: flex;
|
|
height: 100%;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.ffs__layout--vertical {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ffs__layout-pane,
|
|
.ffs__folders-pane--horizontal,
|
|
.ffs__files-pane--horizontal,
|
|
.ffs__folders-pane--vertical,
|
|
.ffs__files-pane--vertical {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ffs__files-pane--horizontal {
|
|
flex: 1;
|
|
}
|
|
|
|
.ffs__files-pane--vertical {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* layout divider */
|
|
.ffs__layout-divider {
|
|
border: 1px solid var(--divider-color);
|
|
}
|
|
|
|
.ffs__layout-divider--horizontal {
|
|
cursor: ew-resize;
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.ffs__layout-divider--vertical {
|
|
cursor: ns-resize;
|
|
margin: 16px 0;
|
|
}
|
|
|
|
/* folders and files action buttons */
|
|
.ffs__actions-container {
|
|
width: 100%;
|
|
margin-bottom: 8px;
|
|
padding: 8px 16px;
|
|
border-radius: var(--ffs-border-radius);
|
|
background-color: var(--interactive-normal);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.ffs__actions-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-3);
|
|
}
|
|
|
|
.ffs__action-button-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2px;
|
|
}
|
|
|
|
.ffs__action-button-wrapper svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
stroke: var(--icon-color);
|
|
}
|
|
|
|
.ffs__action-button-wrapper svg:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* folder & file tree */
|
|
.ffs__tree,
|
|
.ffs__folder-tree,
|
|
.ffs__file-tree {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* pin */
|
|
.ffs__pin-container {
|
|
margin-bottom: 16px;
|
|
padding-bottom: 16px;
|
|
border-bottom: var(--border-width) solid var(--background-modifier-border);
|
|
}
|
|
|
|
.ffs__pin-container .ffs-pin-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-right: 2px;
|
|
fill: var(--icon-color);
|
|
color: var(--icon-color);
|
|
}
|
|
|
|
.ffs__pin-header {
|
|
display: flex;
|
|
align-items: center;
|
|
font-weight: 500;
|
|
color: var(--icon-color);
|
|
margin-bottom: 4px;
|
|
margin-left: 2px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* folder */
|
|
.ffs__subfolders-group {
|
|
position: relative;
|
|
margin-left: 12px;
|
|
padding-left: 2px;
|
|
}
|
|
|
|
.ffs__subfolders-group-with-hierarchy-line {
|
|
border-left: var(--border-width) solid var(--interactive-hover);
|
|
}
|