!publish! mod vendor...
This commit is contained in:
parent
6dab3f8afe
commit
17fe88ec24
4 changed files with 92 additions and 37 deletions
|
@ -1,66 +1,66 @@
|
||||||
html, body {
|
html, body {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: #333;
|
color: #333;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: rgb(0,100,200);
|
color: rgb(0,100,200);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
color: rgb(0,80,160);
|
color: rgb(0,80,160);
|
||||||
}
|
}
|
||||||
|
|
||||||
input, button, select, textarea {
|
input, button, select, textarea {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
-webkit-padding: 0.4em 0;
|
-webkit-padding: 0.4em 0;
|
||||||
padding: 0.4em;
|
padding: 0.4em;
|
||||||
margin: 0 0 0.5em 0;
|
margin: 0 0 0.5em 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:disabled {
|
input:disabled {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
color: #333;
|
color: #333;
|
||||||
background-color: #f4f4f4;
|
background-color: #f4f4f4;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:disabled {
|
button:disabled {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:not(:disabled):active {
|
button:not(:disabled):active {
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:focus {
|
button:focus {
|
||||||
border-color: #666;
|
border-color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* custom part */
|
/* custom part */
|
||||||
|
|
||||||
form {
|
.formgrid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
grid-gap: 1rem;
|
grid-gap: 1rem;
|
||||||
|
@ -72,12 +72,12 @@ form {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label, .filepath {
|
||||||
grid-column: 1/2;
|
grid-column: 1/2;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, button, textarea, .selecttier {
|
input, button, textarea, .selecttier, .relpath {
|
||||||
grid-column: 2/3;
|
grid-column: 2/3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,6 +99,7 @@ textarea {
|
||||||
|
|
||||||
.tierline {
|
.tierline {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiertitle {
|
.tiertitle {
|
||||||
|
@ -110,3 +111,51 @@ textarea {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-left: 0.2rem;
|
padding-left: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
align-self: start;
|
||||||
|
border: 0;
|
||||||
|
padding: 0.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.selecttier {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons button {
|
||||||
|
border: solid #999 1px;
|
||||||
|
padding: 0;
|
||||||
|
padding-left: 0.1rem;
|
||||||
|
padding-right: 0.1rem;
|
||||||
|
margin: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.filepath {
|
||||||
|
font-size: large;
|
||||||
|
font-style: italic;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.relpath {
|
||||||
|
font-size: large;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tierbox, #selecthas {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fmHidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fmShown {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: auto 1fr;
|
||||||
|
grid-gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.togglefold {
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
{{ $scratch := $s.Get $currentFile }}
|
{{ $scratch := $s.Get $currentFile }}
|
||||||
|
|
||||||
{{ $sandnamePlural := (slice) }}
|
{{ $sandnamePlural := (slice) }}
|
||||||
|
{{ $sandnameSingular := "" }}
|
||||||
|
{{ $mentionLink := "" }}
|
||||||
|
|
||||||
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
|
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
|
||||||
|
|
||||||
|
@ -32,12 +33,17 @@
|
||||||
{{ $mentions := intersect $paramsKeys $sandnamePlural }}
|
{{ $mentions := intersect $paramsKeys $sandnamePlural }}
|
||||||
{{ range $mention := $mentions }}
|
{{ range $mention := $mentions }}
|
||||||
{{ range $k, $m := index $currentNode.Params $mention }}
|
{{ range $k, $m := index $currentNode.Params $mention }}
|
||||||
{{ $mentionLink := printf "/%s/%s" (substr $mention 0 -1) $m }}
|
{{ range $k, $v := $.Site.Data.sandpointsnamegraph }}
|
||||||
|
{{ if eq $v $mention }}
|
||||||
|
{{ $mentionLink = printf "/%s/%s" $k $m }}
|
||||||
|
{{ $sandnameSingular = $k }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
{{- with $.GetPage $mentionLink -}}
|
{{- with $.GetPage $mentionLink -}}
|
||||||
{{- with not $k -}}
|
{{- with not $k -}}
|
||||||
{{ $closeDivs = true }}
|
{{ $closeDivs = true }}
|
||||||
<div class="has hasauthors">
|
<div class="has hasauthors">
|
||||||
<div class="hassup">{{ with (index $currentNode.Params $mention) }}{{ if gt (len (index $currentNode.Params $mention)) 1 }}{{ $mention }}{{ else }}{{ substr $mention 0 -1 }}{{ end }}{{ end }}⁄</div>
|
<div class="hassup">{{ with (index $currentNode.Params $mention) }}{{ if gt (len (index $currentNode.Params $mention)) 1 }}{{ $mention }}{{ else }}{{ $sandnameSingular }}{{ end }}{{ end }}⁄</div>
|
||||||
<div class="afterhas">
|
<div class="afterhas">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div class="crust">
|
<div class="crust">
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210518233224-555c8051a159
|
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210525005428-46407d6d7eae
|
||||||
# git.sandpoints.org/Drawwell/SandpointsEditPage v0.0.0-20210430215933-46a4decd1e9b
|
# git.sandpoints.org/Drawwell/SandpointsEditPage v0.0.0-20210608103907-b24f80e496c9
|
||||||
|
|
|
@ -33,7 +33,7 @@ disableKinds = ["RSS", "sitemap"]
|
||||||
|
|
||||||
[module]
|
[module]
|
||||||
# replacement allow for easier local development
|
# replacement allow for easier local development
|
||||||
replacements = ["git.sandpoints.org/Drawwell/SandpointsTheme -> /home/m/devel/SandpointsTheme", "git.sandpoints.org/Drawwell/SandpointsEditPage -> /home/m/devel/SandpointsEditPage"]
|
# replacements = ["git.sandpoints.org/Drawwell/SandpointsTheme -> /home/m/devel/SandpointsTheme", "git.sandpoints.org/Drawwell/SandpointsEditPage -> /home/m/devel/SandpointsEditPage"]
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "git.sandpoints.org/Drawwell/SandpointsTheme"
|
path = "git.sandpoints.org/Drawwell/SandpointsTheme"
|
||||||
[[module.imports.mounts]]
|
[[module.imports.mounts]]
|
||||||
|
@ -78,7 +78,7 @@ disableKinds = ["RSS", "sitemap"]
|
||||||
target = "static/edit/build/bundle.js.map"
|
target = "static/edit/build/bundle.js.map"
|
||||||
|
|
||||||
|
|
||||||
# [[module.imports.mounts]]
|
# [[MODULE.imports.mounts]]
|
||||||
# source = "customizations/Dotawo/assets/css/site.css"
|
# source = "customizations/Dotawo/assets/css/site.css"
|
||||||
# target = "assets/css/site.css"
|
# target = "assets/css/site.css"
|
||||||
# [[module.imports.mounts]]
|
# [[module.imports.mounts]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue