HTML code
Clean, semantic HTML that powers this Bootstrap 4.5.0 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css" integrity="sha256-2XFplPlrFClt0bIdPgpz8H7ojnk10H69xRqd9+uTShA=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/4.5.6/css/ionicons.min.css" integrity="sha512-0/rEDduZGrqo4riUlwqyuHDQzp2D1ZCgH/gFIfjMIL5az8so6ZiXyhf1Rg8i6xsjv+z/Ubc4tt1thLigEcu6Ug==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<div class="container flex-grow-1 light-style container-p-y">
<div class="container-m-nx container-m-ny bg-lightest mb-3">
<ol class="breadcrumb text-big container-p-x py-3 m-0">
<li class="breadcrumb-item">
<a href="javascript:void(0)">home</a>
</li>
<li class="breadcrumb-item">
<a href="javascript:void(0)">projects</a>
</li>
<li class="breadcrumb-item active">site</li>
</ol>
<hr class="m-0" />
<div class="file-manager-actions container-p-x py-2">
<div>
<button type="button" class="btn btn-primary mr-2"><i class="ion ion-md-cloud-upload"></i> Upload</button>
<button type="button" class="btn btn-secondary icon-btn mr-2" disabled=""><i class="ion ion-md-cloud-download"></i></button>
<div class="btn-group mr-2">
<button type="button" class="btn btn-default md-btn-flat dropdown-toggle px-2" data-toggle="dropdown"><i class="ion ion-ios-settings"></i></button>
<div class="dropdown-menu">
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div>
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-default icon-btn md-btn-flat active"> <input type="radio" name="file-manager-view" value="file-manager-col-view" checked="" /> <span class="ion ion-md-apps"></span> </label>
<label class="btn btn-default icon-btn md-btn-flat"> <input type="radio" name="file-manager-view" value="file-manager-row-view" /> <span class="ion ion-md-menu"></span> </label>
</div>
</div>
</div>
<hr class="m-0" />
</div>
<div class="file-manager-container file-manager-col-view">
<div class="file-manager-row-header">
<div class="file-item-name pb-2">Filename</div>
<div class="file-item-changed pb-2">Changed</div>
</div>
<div class="file-item">
<div class="file-item-icon file-item-level-up fas fa-level-up-alt text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
..
</a>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-folder text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Images
</a>
<div class="file-item-changed">02/13/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-folder text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Scripts
</a>
<div class="file-item-changed">02/14/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-folder text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Utils
</a>
<div class="file-item-changed">02/15/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-file-archive text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Archive.zip
</a>
<div class="file-item-changed">02/16/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon fab fa-js text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Build.js
</a>
<div class="file-item-changed">02/17/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-file-word text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Checklist.doc
</a>
<div class="file-item-changed">02/18/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon fab fa-html5 text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Index.html
</a>
<div class="file-item-changed">02/19/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-img" style="background-image: url(https://bootdey.com/img/Content/avatar/avatar1.png);"></div>
<a href="javascript:void(0)" class="file-item-name">
Image-1.jpg
</a>
<div class="file-item-changed">02/20/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-img" style="background-image: url(https://bootdey.com/img/Content/avatar/avatar6.png);"></div>
<a href="javascript:void(0)" class="file-item-name">
Image-2.png
</a>
<div class="file-item-changed">02/21/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-img" style="background-image: url(https://bootdey.com/img/Content/avatar/avatar4.png);"></div>
<a href="javascript:void(0)" class="file-item-name">
Image-3.gif
</a>
<div class="file-item-changed">02/22/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon fab fa-js text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Main.js
</a>
<div class="file-item-changed">02/23/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-file text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
MAKEFILE
</a>
<div class="file-item-changed">02/24/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-file-pdf text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Presentation.pdf
</a>
<div class="file-item-changed">02/25/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-file-alt text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
README.txt
</a>
<div class="file-item-changed">02/26/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon fab fa-css3 text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Style.css
</a>
<div class="file-item-changed">02/27/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-file-audio text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Test.mp3
</a>
<div class="file-item-changed">02/28/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
<div class="file-item">
<div class="file-item-select-bg bg-primary"></div>
<label class="file-item-checkbox custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" />
<span class="custom-control-label"></span>
</label>
<div class="file-item-icon far fa-file-video text-secondary"></div>
<a href="javascript:void(0)" class="file-item-name">
Tutorial.avi
</a>
<div class="file-item-changed">03/01/2018</div>
<div class="file-item-actions btn-group">
<button type="button" class="btn btn-default btn-sm rounded-pill icon-btn borderless md-btn-flat hide-arrow dropdown-toggle" data-toggle="dropdown"><i class="ion ion-ios-more"></i></button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="javascript:void(0)">Rename</a>
<a class="dropdown-item" href="javascript:void(0)">Move</a>
<a class="dropdown-item" href="javascript:void(0)">Copy</a>
<a class="dropdown-item" href="javascript:void(0)">Remove</a>
</div>
</div>
</div>
</div>
</div>
CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 4.5.0 to keep the design, spacing, and responsiveness consistent.
Downloadbody{margin-top:20px;}
.file-manager-actions {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-pack: justify;
justify-content: space-between;
}
.file-manager-actions > * {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.file-manager-container {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.file-item {
position: relative;
z-index: 1;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
border: 1px solid #eee;
cursor: pointer;
}
.file-item:hover,
.file-item.focused {
border-color: rgba(0, 0, 0, 0.05);
}
.file-item.focused {
z-index: 2;
}
.file-item * {
-ms-flex-negative: 0;
flex-shrink: 0;
text-decoration:none;
}
.dark-style .file-item:hover,
.dark-style .file-item.focused {
border-color: rgba(255, 255, 255, 0.2);
}
.file-item-checkbox {
margin: 0 !important;
}
.file-item-select-bg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
opacity: 0;
}
.file-item-img {
background-color: transparent;
background-position: center center;
background-size: cover;
}
.file-item-name {
display: block;
overflow: hidden;
}
.file-manager-col-view .file-item {
margin: 0 0.25rem 0.25rem 0;
padding: 1.25rem 0 1rem 0;
width: 9rem;
text-align: center;
}
[dir="rtl"] .file-manager-col-view .file-item {
margin-right: 0;
margin-left: 0.25rem;
}
.file-manager-col-view .file-item-img,
.file-manager-col-view .file-item-icon {
display: block;
margin: 0 auto 0.75rem auto;
width: 4rem;
height: 4rem;
font-size: 2.5rem;
line-height: 4rem;
}
.file-manager-col-view .file-item-level-up {
font-size: 1.5rem;
}
.file-manager-col-view .file-item-checkbox,
.file-manager-col-view .file-item-actions {
position: absolute;
top: 6px;
}
.file-manager-col-view .file-item-checkbox {
left: 6px;
}
[dir="rtl"] .file-manager-col-view .file-item-checkbox {
right: 6px;
left: auto;
}
.file-manager-col-view .file-item-actions {
right: 6px;
}
[dir="rtl"] .file-manager-col-view .file-item-actions {
right: auto;
left: 6px;
}
.file-manager-col-view .file-item-name {
width: 100%;
}
.file-manager-col-view .file-manager-row-header,
.file-manager-col-view .file-item-changed {
display: none;
}
.file-manager-row-view .file-manager-row-header,
.file-manager-row-view .file-item {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
margin: 0 0 0.125rem 0;
padding: 0.25rem 3rem 0.25rem 2.25em;
width: 100%;
}
[dir="rtl"] .file-manager-row-view .file-manager-row-header,
[dir="rtl"] .file-manager-row-view .file-item {
padding-right: 2.25em;
padding-left: 3rem;
}
.file-manager-row-view .file-item-img,
.file-manager-row-view .file-item-icon {
display: block;
margin: 0 1rem;
width: 2rem;
height: 2rem;
text-align: center;
font-size: 1.25rem;
line-height: 2rem;
}
.file-manager-row-view .file-item-level-up {
font-size: 1rem;
}
.file-manager-row-view .file-item-checkbox,
.file-manager-row-view .file-item-actions {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.file-manager-row-view .file-item-checkbox {
left: 10px;
}
[dir="rtl"] .file-manager-row-view .file-item-checkbox {
right: 10px;
left: auto;
}
.file-manager-row-view .file-item-actions {
right: 10px;
}
[dir="rtl"] .file-manager-row-view .file-item-actions {
right: auto;
left: 10px;
}
.file-manager-row-view .file-item-changed {
display: none;
margin-left: auto;
width: 10rem;
}
[dir="rtl"] .file-manager-row-view .file-item-changed {
margin-right: auto;
margin-left: 0;
}
.file-manager-row-view .file-item-name {
width: calc(100% - 4rem);
}
.file-manager-row-view .file-manager-row-header {
border-bottom: 2px solid rgba(0, 0, 0, 0.05);
font-weight: bold;
}
.file-manager-row-view .file-manager-row-header .file-item-name {
margin-left: 4rem;
}
[dir="rtl"] .file-manager-row-view .file-manager-row-header .file-item-name {
margin-right: 4rem;
margin-left: 0;
}
.light-style .file-item-name {
color: #4e5155 !important;
}
.light-style .file-item.selected .file-item-select-bg {
opacity: 0.15;
}
@media (min-width: 768px) {
.light-style .file-manager-row-view .file-item-changed {
display: block;
}
.light-style .file-manager-row-view .file-item-name {
width: calc(100% - 15rem);
}
}
@media (min-width: 992px) {
.light-style .file-manager-col-view .file-item-checkbox,
.light-style .file-manager-col-view .file-item-actions {
opacity: 0;
}
.light-style .file-manager-col-view .file-item:hover .file-item-checkbox,
.light-style .file-manager-col-view .file-item.focused .file-item-checkbox,
.light-style .file-manager-col-view .file-item.selected .file-item-checkbox,
.light-style .file-manager-col-view .file-item:hover .file-item-actions,
.light-style .file-manager-col-view .file-item.focused .file-item-actions,
.light-style .file-manager-col-view .file-item.selected .file-item-actions {
opacity: 1;
}
}
.material-style .file-item-name {
color: #4e5155 !important;
}
.material-style .file-item.selected .file-item-select-bg {
opacity: 0.15;
}
@media (min-width: 768px) {
.material-style .file-manager-row-view .file-item-changed {
display: block;
}
.material-style .file-manager-row-view .file-item-name {
width: calc(100% - 15rem);
}
}
@media (min-width: 992px) {
.material-style .file-manager-col-view .file-item-checkbox,
.material-style .file-manager-col-view .file-item-actions {
opacity: 0;
}
.material-style .file-manager-col-view .file-item:hover .file-item-checkbox,
.material-style .file-manager-col-view .file-item.focused .file-item-checkbox,
.material-style .file-manager-col-view .file-item.selected .file-item-checkbox,
.material-style .file-manager-col-view .file-item:hover .file-item-actions,
.material-style .file-manager-col-view .file-item.focused .file-item-actions,
.material-style .file-manager-col-view .file-item.selected .file-item-actions {
opacity: 1;
}
}
.dark-style .file-item-name {
color: #fff !important;
}
.dark-style .file-item.selected .file-item-select-bg {
opacity: 0.15;
}
@media (min-width: 768px) {
.dark-style .file-manager-row-view .file-item-changed {
display: block;
}
.dark-style .file-manager-row-view .file-item-name {
width: calc(100% - 15rem);
}
}
@media (min-width: 992px) {
.dark-style .file-manager-col-view .file-item-checkbox,
.dark-style .file-manager-col-view .file-item-actions {
opacity: 0;
}
.dark-style .file-manager-col-view .file-item:hover .file-item-checkbox,
.dark-style .file-manager-col-view .file-item.focused .file-item-checkbox,
.dark-style .file-manager-col-view .file-item.selected .file-item-checkbox,
.dark-style .file-manager-col-view .file-item:hover .file-item-actions,
.dark-style .file-manager-col-view .file-item.focused .file-item-actions,
.dark-style .file-manager-col-view .file-item.selected .file-item-actions {
opacity: 1;
}
}
FAQ
How do I use this snippet?
Include Bootstrap 4.5.0, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.
Can I use it in commercial projects?
Yes. It’s free for personal and commercial work; check the snippets license for details.
Is it responsive?
Yes. It inherits the responsive grid and components from Bootstrap 4.5.0.
About this bootstrap example/template
This free Bootstrap 4.5.0 snippet, check file manager, was published on Aug 17th 2020, 10:14 by Bootdey Admin.
Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.
Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.
Already trusted in 31.3K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 4.5.0
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
This code example is based on bootstrap 4.5.0 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working