Browse Source

css work

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
module/document
Stephan Richter 3 weeks ago
parent
commit
8b009cdfd7
  1. 17
      frontend/src/routes/stock/Index.svelte
  2. 21
      web/src/main/resources/web/css/bloodshed.css
  3. 15
      web/src/main/resources/web/css/default.css
  4. 21
      web/src/main/resources/web/css/winter.css

17
frontend/src/routes/stock/Index.svelte

@ -66,20 +66,7 @@ @@ -66,20 +66,7 @@
</script>
<style>
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.locations {
grid-row-end: span 3;
}
.notes, .tags{
grid-column-end: span 2;
}
.json {
grid-column-end: span 3;
}
</style>
<h2>{t('Stock')}</h2>
@ -115,10 +102,6 @@ @@ -115,10 +102,6 @@
<span>{t('notes')}</span>
<Notes module="stock" entity_id={item.id} />
</div>
<pre class="json">
{JSON.stringify(data.users,null,2)}
</pre>
{/if}
{/await}
</div>

21
web/src/main/resources/web/css/bloodshed.css

@ -377,6 +377,18 @@ a.wikilink{ @@ -377,6 +377,18 @@ a.wikilink{
padding-right: 5px;
}
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.grid3 .locations {
grid-row-end: span 3;
}
.grid3 .notes, .tags{
grid-column-end: span 2;
}
@media screen and (max-width: 600px) {
.grid2{
display: grid;
@ -423,4 +435,13 @@ fieldset.vcard{ @@ -423,4 +435,13 @@ fieldset.vcard{
.vcard td button.symbol{
float: right;
}
.cloud .tag{
border: 1px solid;
border-radius: 4px;
padding: 2px;
margin: 0 6px;
white-space: nowrap;
display: inline flow-root;
}

15
web/src/main/resources/web/css/default.css

@ -377,10 +377,17 @@ a.wikilink{ @@ -377,10 +377,17 @@ a.wikilink{
padding-right: 5px;
}
.grid3{
display: flex;
flex-flow: wrap;
}
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.grid3 .locations {
grid-row-end: span 3;
}
.grid3 .notes, .tags{
grid-column-end: span 2;
}
@media screen and (max-width: 600px) {
.grid2{

21
web/src/main/resources/web/css/winter.css

@ -377,6 +377,18 @@ a.wikilink{ @@ -377,6 +377,18 @@ a.wikilink{
padding-right: 5px;
}
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.grid3 .locations {
grid-row-end: span 3;
}
.grid3 .notes, .tags{
grid-column-end: span 2;
}
@media screen and (max-width: 600px) {
.grid2{
display: grid;
@ -423,4 +435,13 @@ fieldset.vcard{ @@ -423,4 +435,13 @@ fieldset.vcard{
.vcard td button.symbol{
float: right;
}
.cloud .tag{
border: 1px solid;
border-radius: 4px;
padding: 2px;
margin: 0 6px;
white-space: nowrap;
display: inline flow-root;
}
Loading…
Cancel
Save