add hint about clicking logo

pull/148/head
Lex Neva 2018-04-28 13:36:03 -04:00
rodzic 250ae0d717
commit 8e3dd74a28
3 zmienionych plików z 63 dodań i 44 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2018-04-18 22:30-0400\n" "POT-Creation-Date: 2018-04-28 13:36-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -317,6 +317,9 @@ msgstr ""
msgid "Page" msgid "Page"
msgstr "" msgstr ""
msgid "Click to choose another logo"
msgstr ""
msgid "Enter job title..." msgid "Enter job title..."
msgstr "" msgstr ""

Wyświetl plik

@ -69,7 +69,7 @@
page-break-after: always; page-break-after: always;
margin: 0 !important; margin: 0 !important;
} }
figure.inksimulation div { figure.inksimulation div {
display: none; display: none;
} }
@ -81,7 +81,7 @@
#settings-ui { #settings-ui {
display: none !important; display: none !important;
} }
#errors { #errors {
display: none !important; display: none !important;
} }
@ -90,6 +90,10 @@
content: attr(data-label); content: attr(data-label);
padding-right: 0.5em; padding-right: 0.5em;
} }
span.logo-instructions {
display: none;
}
} }
@page { @page {
@ -113,7 +117,7 @@ body {
.page { .page {
width: 210mm; width: 210mm;
height: 275mm; height: 275mm;
padding: 5mm; padding: 5mm;
background: #fff; background: #fff;
margin: 0 auto; margin: 0 auto;
vertical-align: text-bottom; vertical-align: text-bottom;
@ -167,13 +171,13 @@ body {
.ui button.close { .ui button.close {
border: 1px solid rgb(197,5,5); border: 1px solid rgb(197,5,5);
} }
.ui button.close:hover { .ui button.close:hover {
background: rgb(197,5,5); background: rgb(197,5,5);
color: white; color: white;
} }
.ui button.settings { .ui button.settings {
@ -211,7 +215,7 @@ body {
border-bottom: 1px solid rgba(129, 129, 129, 0.5); border-bottom: 1px solid rgba(129, 129, 129, 0.5);
box-shadow: 0 1px 1px 1px rgba(194, 191, 191, 0.5); box-shadow: 0 1px 1px 1px rgba(194, 191, 191, 0.5);
} }
#settings-ui div { #settings-ui div {
text-align: left; text-align: left;
font-size: 12pt; font-size: 12pt;
@ -279,13 +283,24 @@ body {
opacity: 0%; opacity: 0%;
} }
.logo-instructions {
white-space: nowrap;
/* chrome ignores this :(
text-align: center;
*/
font-size: 10px;
color: rgb(192, 192, 192);
}
.operator-detailedview figure.brandlogo { .operator-detailedview figure.brandlogo {
height: 20mm; height: 20mm;
width: 30mm; width: 30mm;
margin: 0 2.5mm; margin: 0 2.5mm;
text-align: left; text-align: left;
} }
.operator-detailedview figure.brandlogo img { .operator-detailedview figure.brandlogo img {
max-width: 30mm; max-width: 30mm;
max-height: 20mm; max-height: 20mm;
@ -341,15 +356,15 @@ body {
div.job-details p span:first-child { div.job-details p span:first-child {
font-weight: bold; font-weight: bold;
padding-right: 1mm; padding-right: 1mm;
} }
div.job-details p span:last-child { div.job-details p span:last-child {
text-align: left; text-align: left;
} }
div.job-details > div:last-child span { div.job-details > div:last-child span {
text-align: right !important; text-align: right !important;
} }
div.client-detailedview .job-details { div.client-detailedview .job-details {
@ -374,16 +389,16 @@ body {
font-size: 12pt; font-size: 12pt;
font-weight: bold; font-weight: bold;
} }
/* client dedailed view header */ /* client dedailed view header */
.client-detailedview div.job-details p span:first-child { .client-detailedview div.job-details p span:first-child {
width: 20mm; width: 20mm;
} }
.client-detailedview div.job-details p span:last-child { .client-detailedview div.job-details p span:last-child {
max-width: 60mm; max-width: 60mm;
} }
/* SVG Preview Image */ /* SVG Preview Image */
@ -397,7 +412,7 @@ body {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
} }
.client-overview-main figure.inksimulation { .client-overview-main figure.inksimulation {
height: 155mm; height: 155mm;
} }
@ -419,7 +434,7 @@ body {
background: rgba(255, 255, 255, 0.73); background: rgba(255, 255, 255, 0.73);
padding: 5px; padding: 5px;
} }
figure.inksimulation div { figure.inksimulation div {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -429,7 +444,7 @@ body {
margin-right: auto; margin-right: auto;
width: fit-content; width: fit-content;
} }
figure.inksimulation button { figure.inksimulation button {
border: none; border: none;
background: grey; background: grey;
@ -460,7 +475,7 @@ body {
font-weight: 700; font-weight: 700;
font-size: 12pt; font-size: 12pt;
color: black; color: black;
background: white; background: white;
border: 0.5mm solid white; border: 0.5mm solid white;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
@ -491,44 +506,44 @@ body {
line-height: 30mm; line-height: 30mm;
text-align: center; text-align: center;
} }
/* detailedview color swatch */ /* detailedview color swatch */
.color-palette.detailed > div { .color-palette.detailed > div {
height: 100%; height: 100%;
position: relative; position: relative;
} }
.color-palette.detailed .color-info { .color-palette.detailed .color-info {
position: absolute; position: absolute;
top: 2mm; top: 2mm;
left: 45mm; left: 45mm;
} }
.color-palette.detailed .color-info > div { .color-palette.detailed .color-info > div {
display: table; display: table;
} }
.color-palette.detailed .color-info p { .color-palette.detailed .color-info p {
display: table-row; display: table-row;
} }
.color-palette.detailed .color-info span { .color-palette.detailed .color-info span {
display: table-cell; display: table-cell;
padding-right: 5mm; padding-right: 5mm;
} }
/* Operator Detailed View */ /* Operator Detailed View */
.operator-detailedview header { .operator-detailedview header {
height: 25mm; height: 25mm;
} }
.operator-detailedveiw figure.brandlogo{ .operator-detailedveiw figure.brandlogo{
height: 15mm; height: 15mm;
width: 15mm; width: 15mm;
} }
.operator-detailedveiw figure.brandlogo img { .operator-detailedveiw figure.brandlogo img {
max-width: 12.5mm; max-width: 12.5mm;
max-height: 12.5mm; max-height: 12.5mm;
@ -542,21 +557,21 @@ body {
display: table; display: table;
width: 100%; width: 100%;
} }
.operator-job-info div { .operator-job-info div {
display: table-row; display: table-row;
} }
div.job-headline { div.job-headline {
display: table-header-group; display: table-header-group;
font-size: 9pt; font-size: 9pt;
font-weight: bold; font-weight: bold;
} }
div.job-headline p { div.job-headline p {
height: 1em; height: 1em;
} }
.operator-job-info p { .operator-job-info p {
height: 15mm; height: 15mm;
max-width: 15mm; max-width: 15mm;
@ -566,11 +581,11 @@ body {
overflow: hidden; overflow: hidden;
border: 1px solid rgb(239,239,239); border: 1px solid rgb(239,239,239);
} }
.operator-job-info span { .operator-job-info span {
display: block; display: block;
} }
.operator-job-info span.color-index { .operator-job-info span.color-index {
position: absolute; position: absolute;
top: 0; top: 0;
@ -578,17 +593,17 @@ body {
line-height: 15mm; line-height: 15mm;
width: 10mm; width: 10mm;
} }
.operator-svg.operator-colorswatch { .operator-svg.operator-colorswatch {
width: 15mm; width: 15mm;
} }
.operator-svg.operator-preview { .operator-svg.operator-preview {
min-width: 15mm; min-width: 15mm;
max-width: 20mm; max-width: 20mm;
height: 15mm; height: 15mm;
} }
.operator-svg svg { .operator-svg svg {
position: absolute; position: absolute;
top: 0; top: 0;
@ -597,7 +612,7 @@ body {
max-width: 30mm; max-width: 30mm;
height: 100%; height: 100%;
} }
/* Footer */ /* Footer */
@ -610,7 +625,7 @@ body {
white-space: wrap; white-space: wrap;
text-align: center; text-align: center;
padding-top: 2mm; padding-top: 2mm;
} }
footer p.num_pages { footer p.num_pages {
@ -670,7 +685,7 @@ body {
/* five items */ /* five items */
.color-swatch:first-child:nth-last-child(n+5), .color-swatch:first-child:nth-last-child(n+5),
.color-swatch:first-child:nth-last-child(n+5) ~ .color-swatch { .color-swatch:first-child:nth-last-child(n+5) ~ .color-swatch {
font-size: 9pt; font-size: 9pt;
width: calc(100% / 5); width: calc(100% / 5);
} }
@ -710,7 +725,7 @@ body {
/* fourteen items */ /* fourteen items */
.color-swatch:first-child:nth-last-child(n+14), .color-swatch:first-child:nth-last-child(n+14),
.color-swatch:first-child:nth-last-child(n+14) ~ .color-swatch { .color-swatch:first-child:nth-last-child(n+14) ~ .color-swatch {
width: calc(100% / 5); width: calc(100% / 5);
} }
/* sixteen items */ /* sixteen items */
@ -762,7 +777,7 @@ body {
.color-swatch:first-child:nth-last-child(n+40) ~ .color-swatch { .color-swatch:first-child:nth-last-child(n+40) ~ .color-swatch {
width: calc(100% / 12); width: calc(100% / 12);
} }
/* fourty-nine items */ /* fourty-nine items */
.color-swatch:first-child:nth-last-child(n+49), .color-swatch:first-child:nth-last-child(n+49),
.color-swatch:first-child:nth-last-child(n+40) ~ .color-swatch { .color-swatch:first-child:nth-last-child(n+40) ~ .color-swatch {

Wyświetl plik

@ -3,6 +3,7 @@
<img src="{{ logo.src or "resources/inkstitch-logo.svg" }}" alt="{{ logo.title }}" title="{{ logo.title }}" data-field-name="logo"> <img src="{{ logo.src or "resources/inkstitch-logo.svg" }}" alt="{{ logo.title }}" title="{{ logo.title }}" data-field-name="logo">
<input type=file id="logo-picker" /> <input type=file id="logo-picker" />
</label> </label>
<span class="logo-instructions">{{ _("Click to choose another logo") }}</span>
</figure> </figure>
<div class="headline"> <div class="headline">
<div class="pageTitle"> <div class="pageTitle">
@ -10,6 +11,6 @@
<p class="header-field" data-label="{{ _('CLIENT') }}:" contenteditable="true" data-placeholder="{{ _('Enter client name...') }}" data-field-name="client-name"></p> <p class="header-field" data-label="{{ _('CLIENT') }}:" contenteditable="true" data-placeholder="{{ _('Enter client name...') }}" data-field-name="client-name"></p>
<p class="header-field" data-label="{{ _('PURCHASE ORDER #:') }}" contenteditable="true" data-placeholder="{{ _('Enter purchase order number...') }}" data-field-name="purchase-order"></p> <p class="header-field" data-label="{{ _('PURCHASE ORDER #:') }}" contenteditable="true" data-placeholder="{{ _('Enter purchase order number...') }}" data-field-name="purchase-order"></p>
</div> </div>
<div class="currentDate">{{ date|datetimeformat(_('%Y.%m.%d')) }}</div> <div class="currentDate">{{ date|datetimeformat(_('%Y.%m.%d')) }}</div>
</div> </div>