Updating files

This commit is contained in:
Eugene ;) 2020-07-05 18:04:54 +02:00
parent a64ff28d68
commit 56f78393a8
5 changed files with 19 additions and 12 deletions

View File

@ -7,7 +7,7 @@
<div class="control has-icons-left is-expanded"> <div class="control has-icons-left is-expanded">
<input formnovalidate @oninput="e => SearchInputChanged(e.Value.ToString())" @bind-value="SearchInput" class="input is-rounded is-small neoInput" type="text" placeholder="Search..."> <input formnovalidate @oninput="e => SearchInputChanged(e.Value.ToString())" @bind-value="SearchInput" class="input is-rounded is-small neoInput" type="text" placeholder="Search...">
<span class="icon is-small is-left has-text-dark"> <span class="icon is-small is-left has-text-dark">
<i class="mdi mdi-search-web"></i> <i class="mdi mdi-file-search-outline"></i>
</span> </span>
</div> </div>
</div> </div>
@ -44,9 +44,8 @@
<div class="filesList"> <div class="filesList">
@foreach (var file in Files) @foreach (var file in Files)
{ {
<div @onclick="async e => await OnFileClick(e,file)" @key="file" class="confFile borderRSmall isFinger neoFile @file.IsVisible @file.IsSelected"> <div @onclick="async e => await OnFileClick(e,file)" title="@(file.Folder=="/" ? $"{file.Folder}{file.Name}" : $"{file.Folder}/{file.Name}")" @key="file" class="confFile borderRSmall isFinger neoFile @file.IsVisible @file.IsSelected">
<p class="is-size-7">@file.Folder</p> <p class="has-text-weight-bold ellipsis"><span class="icon @(file.CanBeDeleted ? null : "has-text-danger")"><i class="mdi mdi-file-cog-outline"></i></span> @file.Name</p>
<p class="has-text-weight-bold ellipsis @(file.CanBeDeleted ? null : "has-text-danger")">@file.Name</p>
</div> </div>
} }
</div> </div>

View File

@ -29,7 +29,7 @@
max-height: 100%; max-height: 100%;
min-height: 10%; min-height: 10%;
grid-template-rows: 30px auto 30px; grid-template-rows: 30px auto 30px;
grid-template-columns: 30% auto; grid-template-columns: 28% auto;
width: 100%; width: 100%;
& .filterFiles { & .filterFiles {
@ -56,9 +56,10 @@
align-items: stretch; align-items: stretch;
height: 100%; height: 100%;
min-height: 10%; min-height: 10%;
width: 100%; width: auto;
padding: 4% 8%; padding: 4% 7% 4% 8%;
overflow-y: auto; overflow-y: auto;
margin-right: 4%
} }
} }
@ -96,6 +97,10 @@
.confFile { .confFile {
padding: 4% 6%; padding: 4% 6%;
margin-bottom: 3%; margin-bottom: 3%;
&:last-child {
margin-bottom: 0;
}
} }
.stripe { .stripe {

View File

@ -254,7 +254,7 @@ html {
max-height: 100%; max-height: 100%;
min-height: 10%; min-height: 10%;
grid-template-rows: 30px auto 30px; grid-template-rows: 30px auto 30px;
grid-template-columns: 30% auto; grid-template-columns: 28% auto;
width: 100%; } width: 100%; }
.filesWithEditor .filterFiles { .filesWithEditor .filterFiles {
grid-area: filterFiles; } grid-area: filterFiles; }
@ -273,9 +273,10 @@ html {
align-items: stretch; align-items: stretch;
height: 100%; height: 100%;
min-height: 10%; min-height: 10%;
width: 100%; width: auto;
padding: 4% 8%; padding: 4% 7% 4% 8%;
overflow-y: auto; } overflow-y: auto;
margin-right: 4%; }
.filesWithEditor .codeEditor { .filesWithEditor .codeEditor {
grid-area: codeEditor; grid-area: codeEditor;
min-height: 0; min-height: 0;
@ -300,6 +301,8 @@ html {
.confFile { .confFile {
padding: 4% 6%; padding: 4% 6%;
margin-bottom: 3%; } margin-bottom: 3%; }
.confFile:last-child {
margin-bottom: 0; }
.stripe { .stripe {
display: flex; display: flex;

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB