How can I help you?
How to customize style and appearance in Vue File Manager
4 Feb 20266 minutes to read
This article shows CSS selectors and examples that can be used to modify the File Manager control’s appearance to match user preferences.
Customizing the File Manager navigation pane
To customize the File Manager navigation pane, target the .e-navigation selector and apply styles.
The following example shows how to customize the navigation pane visual styles:
.sample-container {
margin: 10px;
}
/* Set background color for the File Manager navigation pane */
.e-filemanager .e-navigation {
background: #3a0647;
}
/* Highlight the active item in the TreeView inside the navigation pane */
.e-filemanager .e-treeview .e-list-item.e-active > .e-fullrow {
background: #c3d3f9a1;
}
/* Set text color for TreeView items in the navigation pane */
.e-filemanager .e-treeview .e-list-text {
color: #fff;
}
Customizing the File Manager layout
To customize the File Manager layout, target the .e-layout-content selector and related view selectors.
.sample-container {
margin: 10px;
}
/* Style for breadcrumb (address bar) */
.e-filemanager .e-layout-content .e-address {
background: #dee2e6;
}
/* Customize the background for the Large Icons view */
.e-filemanager .e-layout-content .e-large-icons {
background: #f8f9fa;
}
/* Customize the background for the Details view table and content area */
.e-filemanager .e-layout-content .e-grid .e-table,
.e-filemanager .e-grid .e-gridcontent .e-content {
background: #f8f9fa;
}
Customizing the File Manager thumbnail
To customize thumbnails, apply background-image or other styles to the file-type selectors listed below.
| File Type | CSS Selector |
|---|---|
| Image | .e-fe-image |
| Music | .e-fe-music |
| Excel | .e-fe-xlsx |
| Video | .e-fe-video |
| PowerPoint | .e-fe-pptx |
| RAR | .e-fe-rar |
| ZIP | .e-fe-zip |
| Text | .e-fe-txt |
| JavaScript | .e-fe-js |
| CSS | .e-fe-css |
| HTML | .e-fe-html |
| Unknown | .e-fe-unknown |
| Executable | .e-fe-exe |
| MSI | .e-fe-msi |
| PHP | .e-fe-php |
| Word | .e-fe-doc |
| Word (docx) | .e-fe-docx |
| XML | .e-fe-xml |
| Folder | .e-fe-folder |
The following example demonstrates customizing the folder thumbnail for both Large Icons and Details views:
/* Applies to both Large Icons view and Details view */
.e-filemanager .e-large-icons .e-fe-folder,
.e-filemanager .e-grid .e-fe-folder {
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IuNSw0aDEwLjZsMy41LDMuMWgxM2MxLjQsMCwyLjUsMS4xLDIuNSwyLjV2MTUuOUMzMiwyNi45LDMwLjksMjgsMjkuNSwyOHogTTIuNSw1QzEuNyw1LDEsNS43LDEsNi41djE5QzEsMjYuMywxLjcsMjcsMi41LDI3aDI3YzAuOCwwLDEuNS0wLjcsMS41LTEuNVY5LjZjMC0wLjgtMC43LTEuNS0xLjUtMS41SDE2LjJMMTIuNyw1SDIuNXoiLz48L2c+PC9zdmc+");
}![]()
Customizing the File Manager Toolbar
To style toolbar items, target the .e-toolbar and button selectors.
.sample-container {
margin: 10px;
}
/* Style for individual toolbar buttons */
.e-filemanager .e-toolbar .e-tbar-btn {
background: #0d9cf6;
border: 1px solid #000000;
}
/* Style for toolbar icons */
.e-filemanager .e-toolbar .e-tbar-btn .e-icons {
color: #ffffff;
}
/* Style for toolbar button text */
.e-filemanager .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
color: #ffffff;
}
Customizing the File Manager selected files/folders
Use the selectors below to change styles for selected or active files/folders.
.sample-container {
margin: 10px;
}
/* Highlight for active and hover item in Large Icons view */
.e-filemanager li.e-list-item.e-large-icon.e-active,
.e-filemanager li.e-list-item.e-large-icon.e-active:hover {
background: #dee2e6;
border: 2px solid #000000;
border-radius: 10%;
}
/* Color for text in active large icons */
.e-filemanager .e-large-icons .e-active {
color: #212529;
}
/* Highlight for active row in Details view */
.e-filemanager .e-grid td.e-active {
background: #dee2e6;
}
Customizing the File Manager Dialog
Below are common dialog elements and their selectors.
| Element | CSS Selector |
|---|---|
| Header | .e-dlg-header-content |
| Content | .e-dlg-content |
| Overlay | .e-dlg-overlay |
| Footer | .e-footer-content |
.sample-container {
margin: 10px;
}
/* For File Manager Dialog header */
.e-filemanager .e-dialog .e-dlg-header-content {
background-color: #0d6efd;
}
/* For File Manager Dialog header close icon and text */
.e-filemanager .e-dialog .e-icon-dlg-close,
.e-filemanager .e-dialog .e-dlg-header {
color: #fff;
}