86 lines
2.1 KiB
CSS
86 lines
2.1 KiB
CSS
.FileTileView{
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
|
|
|
|
/* FIXME Bug, on desktop mode top ~10 pixel are not active, like margin:10px */
|
|
}
|
|
|
|
.FileTileView.DragDropBorder{
|
|
box-shadow: inset 0px 0px 0px 4px #9999CC;
|
|
/* background-color: blue; */
|
|
}
|
|
|
|
.FileTileView .FlexContainer{
|
|
width: 100%;
|
|
height: auto;
|
|
/* Auto layout */
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
gap: 50px;
|
|
row-gap: 20px;
|
|
/* padding: 15px; Shit fix TODO: */
|
|
margin: 15px;
|
|
flex-wrap: wrap;
|
|
align-content: flex-start;
|
|
|
|
/* overflow: scroll; */
|
|
/* overflow-x: hidden; */
|
|
scrollbar-width: none; /* Firefox */
|
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
}
|
|
|
|
.FileTileView::-webkit-scrollbar { /* WebKit */
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.FileTileView .Tile{
|
|
width: 50px;
|
|
height: 50px;
|
|
/* Auto layout */
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 2px;
|
|
padding: 0px;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.FileTileView .Selected{
|
|
/* inherits: ; */
|
|
/* background-color: black; */
|
|
}
|
|
|
|
.FileTileView .Icon{
|
|
width: 32px;
|
|
height: 32px;
|
|
/* background-image: url("./icons/folder.png"); */
|
|
background-size: cover;
|
|
|
|
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
|
|
image-rendering: -moz-crisp-edges; /* Firefox */
|
|
image-rendering: -o-crisp-edges; /* Opera */
|
|
image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
|
|
image-rendering: pixelated; /* Universal support since 2021 */
|
|
image-rendering: optimize-contrast; /* CSS3 Proposed */
|
|
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
|
|
}
|
|
|
|
.FileTileView .Selected .Icon{
|
|
filter: brightness(0.4);
|
|
}
|
|
|
|
.FileTileView .Lable{
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.FileTileView .Selected .Lable{
|
|
white-space: nowrap;
|
|
color: white;
|
|
background-color: black;
|
|
} |