mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-08-28 04:46:58 -04:00
more visual fix
This commit is contained in:
+42
-13
@@ -1,11 +1,21 @@
|
|||||||
@media(min-resolution: 192dpi) {
|
@media(min-resolution: 192dpi) {
|
||||||
html {
|
html {
|
||||||
zoom: .5;
|
font-size: 1em !important;
|
||||||
|
}
|
||||||
|
tr {
|
||||||
|
line-height: 2em !important;
|
||||||
|
}
|
||||||
|
.arrow {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
td.display-name {
|
||||||
|
padding-left: 1em !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -27,44 +37,61 @@ div, i {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
display: block;
|
|
||||||
height: 25px;
|
height: 25px;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
margin: 1px;
|
display: block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow-selected::after {
|
.arrow-selected {
|
||||||
content: ">";
|
background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEyOSAxMjkiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMjkgMTI5Ij4KICA8Zz4KICAgIDxwYXRoIGQ9Im00MC40LDEyMS4zYy0wLjgsMC44LTEuOCwxLjItMi45LDEuMnMtMi4xLTAuNC0yLjktMS4yYy0xLjYtMS42LTEuNi00LjIgMC01LjhsNTEtNTEtNTEtNTFjLTEuNi0xLjYtMS42LTQuMiAwLTUuOCAxLjYtMS42IDQuMi0xLjYgNS44LDBsNTMuOSw1My45YzEuNiwxLjYgMS42LDQuMiAwLDUuOGwtNTMuOSw1My45eiIvPgogIDwvZz4KPC9zdmc+Cg==");
|
||||||
|
height: inherit;
|
||||||
|
width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow {
|
.arrow {
|
||||||
min-width: 32px;
|
height: 22px;
|
||||||
|
width: 22px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.15em;
|
font-size: 1.15em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-left: 10px;
|
padding-left: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.iconRow {
|
||||||
|
text-align: right;
|
||||||
|
height: 25px;
|
||||||
|
width: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
td.file-size {
|
td.file-size {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
|
width: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.display-name {
|
td.display-name {
|
||||||
padding-left: 0.2em;
|
padding-left: .5em;
|
||||||
width: 100%;
|
text-overflow: ellipsis;
|
||||||
|
overflow-x: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
max-width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 15px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#icHolder {
|
#icHolder {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
right: 20px;
|
right: 20px;
|
||||||
top: 40px;
|
top: 34px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -84,8 +111,8 @@ h1 {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
left: 20px;
|
left: 20px;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
width: 32px;
|
width: 2em;
|
||||||
height: 32px;
|
height: 2em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 101;
|
z-index: 101;
|
||||||
}
|
}
|
||||||
@@ -139,6 +166,8 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pics {
|
#pics {
|
||||||
|
user-select: none;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
justify-content:center;
|
justify-content:center;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
+2
-2
@@ -35,7 +35,7 @@
|
|||||||
<table>
|
<table>
|
||||||
{{range .RowsFolders}}
|
{{range .RowsFolders}}
|
||||||
<tr>
|
<tr>
|
||||||
<td><i ondblclick="return rm(event)" onclick="return rename(event)" class="btn icon icon-{{.Ext}} icon-blank"></i></td>
|
<td class="iconRow"><i ondblclick="return rm(event)" onclick="return rename(event)" class="btn icon icon-{{.Ext}} icon-blank"></i></td>
|
||||||
<td class="file-size"><code>{{.Size}}</code></td>
|
<td class="file-size"><code>{{.Size}}</code></td>
|
||||||
<td class="arrow"><div class="arrow-icon"></div></td>
|
<td class="arrow"><div class="arrow-icon"></div></td>
|
||||||
<td class="display-name"><a class="list-links" onclick="return onClickLink(event)" href="{{.Href}}">{{.Name}}</a></td>
|
<td class="display-name"><a class="list-links" onclick="return onClickLink(event)" href="{{.Href}}">{{.Name}}</a></td>
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
{{range .RowsFiles}}
|
{{range .RowsFiles}}
|
||||||
<tr>
|
<tr>
|
||||||
<td><i ondblclick="return rm(event)" onclick="return rename(event)" class="btn icon icon-{{.Ext}} icon-blank"></i></td>
|
<td class="iconRow"><i ondblclick="return rm(event)" onclick="return rename(event)" class="btn icon icon-{{.Ext}} icon-blank"></i></td>
|
||||||
<td class="file-size"><code>{{.Size}}</code></td>
|
<td class="file-size"><code>{{.Size}}</code></td>
|
||||||
<td class="arrow"><div class="arrow-icon"></div></td>
|
<td class="arrow"><div class="arrow-icon"></div></td>
|
||||||
<td class="display-name"><a class="list-links" onclick="return onClickLink(event)" href="{{.Href}}">{{.Name}}</a></td>
|
<td class="display-name"><a class="list-links" onclick="return onClickLink(event)" href="{{.Href}}">{{.Name}}</a></td>
|
||||||
|
|||||||
@@ -2,3 +2,7 @@ html, a {
|
|||||||
background-color: #2d3436;
|
background-color: #2d3436;
|
||||||
color: #dfe6e9;
|
color: #dfe6e9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.arrow {
|
||||||
|
filter: invert(100%) !important;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user