digitickets.star-web-print
Version:
Javascript library for printing to Star Micronics printers supporting the WebPRNT interface.
169 lines (159 loc) • 2.5 kB
CSS
@charset "utf-8";
/* CSS Document */
body {
line-height:1.6;
}
.container {
margin:0 auto;
padding: 0 15px 0px 15px;
}
#canvasFrame {
}
#canvasPaper {
border:3px solid #a0a0a0;
max-width: 95%;
height: auto;
}
#mainBlock {
width: 100%;
}
#clearBtnBlock {
display:block;
}
#drawBtn {
width:100%;
height:40px;
margin:5px 0 0 0;
}
#clearBtn {
width:100%;
height:40px;
margin:5px 0 0 0;
}
#url {
width:80%;
margin-bottom:10px;
}
#textCharacterSpace, #textLineSpace, #textWidth, #textHeight,
#barcodeWidth0, #barcodeWidth1, #barcodeWidth2, #barcodeHeight,
#pdf417Line, #pdf417Column, #pdf417Module, #pdf417Aspect,
#qrcodeCell,
#logoNumber,
#lineFeed,
#unitFeed,
#peripheralChannel,
#soundChannel, #soundRepeat {
width:60px;
}
#sendBtn{
width:100%;
height:60px;
margin:5px 0 0 0;
background: -webkit-gradient(linear, left top, left bottom, from(#aebfdd), to(#9ba9cd));
-webkit-border-radius: 10px;
font-size:100%;
}
footer {
clear: both;
}
hr {
display:none;
}
#mainBlock dl{
position:relative;
margin:0 0 10px 0;
}
dt{
/*
width: 70%;
margin-right: -300px;
font-weight:bold;
*/
}
dd{
width: 70%;
}
.note{
line-height:1.4;
font-size:10px;
}
.appendBtnBlock{
position:absolute;
right:0;
bottom:0;
width: 30%;
text-align:right;
}
.appendBtn{
width:100%;
height:40px;
margin:5px 0 0 0;
font-size:100%;
}
@media (max-width: 640px) {
#canvasFrame {
padding:0 5px 0 0;
}
#canvasPaper {
max-width:100%;
}
.wrapper, #canvasBlock, #optionBlock {
float: none;
margin: 0;
width: auto;
}
.appendBtnBlock{
position:relative;
right:0;
bottom:0;
width:100%;
text-align:left;
}
.appendBtn{
width:100%;
height:40px;
margin:5px 0 0 0;
font-size:100%;
}
}
/* add */
.to_top{
width:90%;
max-width: 800px;
margin: 40px auto 10px;
text-align: right;
font-style: italic;
font-size: 80%;
color: #666666;
}
#canvasPaper {
background-color: #fff;
}
#optionBlock dt{
width:100px;
}
input{
padding:2px;
}
#combinationBlock dt{
font-weight:normal;
float:left;
width:130px;
margin-bottom:5px;
}
#combinationBlock dd{
padding-left:130px;
margin-bottom:5px;
}
hr {
display:block;
height:1px;
border:0;
border-top:1px solid #cccccc;
margin:1em 0;
padding:0;
}
input[type=text]{
font-size:100%;
width:80%;
}