1315 lines
26 KiB
CSS
1315 lines
26 KiB
CSS
@font-face{
|
|
font-family: 'Inconsolata';
|
|
src: url(../fonts/Inconsolata.otf);
|
|
}
|
|
|
|
.pos {
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: #f0eeee;
|
|
font-family: "Lato","Lucida Grande", Helvetica, Verdana, Arial;
|
|
color: #555555;
|
|
font-size: 12px;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
text-shadow: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pos * {
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
.pos button{
|
|
box-shadow: none;
|
|
outline: none;
|
|
border: none;
|
|
}
|
|
.pos button:hover{
|
|
background: default;
|
|
}
|
|
|
|
.pos .oe_hidden{
|
|
display: none !important;
|
|
}
|
|
|
|
.pos ul, .pos li {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
/* ********* The black loading screen ********* */
|
|
|
|
.pos .loader{
|
|
background-color: #222;
|
|
position:absolute;
|
|
left:0px;
|
|
top:0px;
|
|
width:100%;
|
|
height:100%;
|
|
z-index: 999;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ********* Generic Layout Constructs ********* */
|
|
|
|
.pos .window{
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: table;
|
|
border: none;
|
|
}
|
|
.pos .window .subwindow{
|
|
display: table-row;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.pos .window .subwindow.collapsed{
|
|
height: 0px;
|
|
}
|
|
.pos .subwindow .subwindow-container{
|
|
display: table-cell;
|
|
position: relative;
|
|
}
|
|
|
|
/* ---- Scrollers ----- */
|
|
|
|
.pos .scroller-container{
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
}
|
|
.pos .scroller{
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.pos .scroller.horizontal{
|
|
overflow-y: hidden;
|
|
overflow-x: auto;
|
|
}
|
|
.pos .scroller-content{
|
|
-webkit-transform: translate3d(0,0,0);
|
|
}
|
|
.pos .scroller-container ::-webkit-scrollbar{
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
.pos .scroller-container ::-webkit-scrollbar-track{
|
|
background: rgb(224,224,224);
|
|
border-left: solid 1px rgb(200,200,200);
|
|
border-top-right-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
}
|
|
.pos .scroller-container ::-webkit-scrollbar-thumb{
|
|
background: rgb(168,168,168);
|
|
min-height: 30px;
|
|
}
|
|
|
|
/* ********* Generic element styling ********* */
|
|
|
|
.pos a {
|
|
text-decoration: none;
|
|
color: #555555;
|
|
}
|
|
.pos button, .pos a.button {
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
padding: 4px 10px;
|
|
font-size: 11px;
|
|
border: 1px solid #cacaca;
|
|
background: #e2e2e2;
|
|
}
|
|
.pos ul, .pos ol {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.pos li {
|
|
list-style-type: none;
|
|
}
|
|
.pos .pos-right-align {
|
|
text-align: right;
|
|
}
|
|
.pos .pos-right-align input {
|
|
text-align: right;
|
|
border: 1px solid #cecbcb;
|
|
}
|
|
.pos .pos-disc-font {
|
|
font-size: 12px;
|
|
font-style:italic;
|
|
color: #808080;
|
|
}
|
|
|
|
/* ********* The black header bar ********* */
|
|
|
|
|
|
.pos .pos-topheader {
|
|
position:absolute;
|
|
left:0;
|
|
top:0;
|
|
width: 100%;
|
|
height: 34px;
|
|
margin:0;
|
|
padding:0;
|
|
color: gray;
|
|
background: #393939;
|
|
}
|
|
|
|
/* a) The left part of the top-bar */
|
|
|
|
.pos .pos-branding{
|
|
position: absolute;
|
|
display: table-cell;
|
|
left:0;
|
|
top:0;
|
|
width:439px;
|
|
height:100%;
|
|
margin:0;
|
|
padding:0;
|
|
border-right: 1px solid #373737;
|
|
text-align:left;
|
|
line-height:100%;
|
|
vertical-align: middle;
|
|
}
|
|
.pos .pos-branding img {
|
|
height: 32px;
|
|
width: 116px;
|
|
margin-left:5px;
|
|
vertical-align:middle;
|
|
}
|
|
.pos .pos-branding .username{
|
|
float:right;
|
|
color:#DDD;
|
|
font-size:16px;
|
|
margin-right:32px;
|
|
margin-top:10px;
|
|
font-style:italic;
|
|
}
|
|
|
|
/* b) The right part of the top-bar */
|
|
|
|
.pos .pos-rightheader {
|
|
position: absolute;
|
|
left:440px;
|
|
right:0;
|
|
top:0;
|
|
height:100%;
|
|
}
|
|
|
|
.pos .pos-rightheader button {
|
|
color: #273072;
|
|
height:27px;
|
|
margin:3px;
|
|
margin-right:0px;
|
|
border: 1px solid #353A7E;
|
|
background: #7f82ac;
|
|
}
|
|
|
|
.pos .pos-rightheader button.square{
|
|
width: 32px;
|
|
margin-left:4px;
|
|
}
|
|
|
|
.pos .order-selector {
|
|
display: inline;
|
|
}
|
|
.pos .orders {
|
|
display: inline;
|
|
margin-left: 8px;
|
|
}
|
|
.pos .order-selector-button {
|
|
display: inline;
|
|
}
|
|
.pos .selected-order button {
|
|
font-weight: 900;
|
|
background: #7174A8 !important;
|
|
color: rgb(236, 237, 255) !important;
|
|
}
|
|
|
|
/* c) The session buttons */
|
|
|
|
.pos .pos-rightheader .header-button{
|
|
float:right;
|
|
height:32px;
|
|
padding-left:10px;
|
|
padding-right:10px;
|
|
border-right: 1px solid #3a3a3a;
|
|
border-left: 1px solid #3a3a3a;
|
|
color:#DDD;
|
|
line-height:32px;
|
|
text-align:center;
|
|
cursor: pointer;
|
|
|
|
-webkit-transition-property: background;
|
|
-webkit-transition-duration: 0.2s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
}
|
|
.pos .pos-rightheader .header-button:last-child{
|
|
border-left: 1px solid #3a3a3a;
|
|
}
|
|
.pos .pos-rightheader .header-button:active{
|
|
background: rgba(0,0,0,0.2);
|
|
color:#EEE;
|
|
}
|
|
|
|
/* c) The notifications indicator */
|
|
|
|
.pos .oe_pos_synch-notification{
|
|
float:right;
|
|
color: rgba(255,255,255,0.4);
|
|
padding: 8px;
|
|
line-height:16px;
|
|
font-size:16px;
|
|
vertical-align:middle;
|
|
font-style: italic;
|
|
cursor:pointer;
|
|
}
|
|
.pos .oe_pos_synch-notification.oe_inactive{
|
|
cursor: default;
|
|
}
|
|
.pos .oe_pos_synch-notification .oe_status_red{
|
|
display:inline-block;
|
|
cursor:pointer;
|
|
width:16px; height:16px;
|
|
background: url("../img/gtk-no.png") no-repeat ;
|
|
}
|
|
|
|
.pos .oe_pos_synch-notification .oe_status_green{
|
|
display:inline-block;
|
|
width:16px; height:16px;
|
|
background: url("../img/gtk-yes.png") no-repeat;
|
|
}
|
|
|
|
/* ********* Contains everything below the bar ********* */
|
|
|
|
.pos .pos-content {
|
|
width: 100%;
|
|
position: absolute;
|
|
top: 34px;
|
|
bottom: 0;
|
|
background: #F0EEEE;
|
|
}
|
|
|
|
/* ********* The leftpane contains the order, numpad and paypad ********* */
|
|
|
|
.pos .pos-leftpane {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
position:absolute;
|
|
left:0;
|
|
width:440px;
|
|
top:0px;
|
|
bottom:0;
|
|
border-right: solid 1px #CECBCB;
|
|
}
|
|
.pos .pos-leftpane .pads {
|
|
background: #F0EEEE;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ********* The paypad contains the payment buttons ********* */
|
|
|
|
.pos .paypad {
|
|
padding: 8px 4px 8px 8px;
|
|
display: inline-block;
|
|
text-align: center;
|
|
vertical-align: top;
|
|
width: 205px;
|
|
max-height: 232px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
.pos .paypad button {
|
|
height: 50px;
|
|
display: block;
|
|
width: 100%;
|
|
margin: 0px -6px 4px -2px;
|
|
font-weight: bold;
|
|
vertical-align: middle;
|
|
color: #555555;
|
|
font-size: 14px;
|
|
}
|
|
.pos .paypad button:active,
|
|
.pos .numpad button:active,
|
|
.pos .numpad .selected-mode,
|
|
.pos .popup button:active{
|
|
border: none;
|
|
color: white;
|
|
background: #7f82ac;
|
|
}
|
|
|
|
/* ********* The Numpad ********* */
|
|
|
|
.pos .numpad {
|
|
padding: 8px 8px 8px 4px;
|
|
display: inline-block;
|
|
text-align: center;
|
|
}
|
|
.pos .numpad button {
|
|
height: 50px;
|
|
width: 50px;
|
|
margin: 0px 0px 4px 0px;
|
|
font-weight: bold;
|
|
vertical-align: middle;
|
|
color: #555555;
|
|
}
|
|
.pos .input-button {
|
|
font-size: 24px;
|
|
}
|
|
.pos .mode-button {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ********* The right pane contains the screens and headers ********* */
|
|
|
|
.pos .pos-rightpane {
|
|
position: absolute;
|
|
top: 0;
|
|
/*bottom: 105px;*/
|
|
bottom:0;
|
|
left: 440px;
|
|
right: 0;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.pos .pos-rightpane header {
|
|
padding: 0;
|
|
height: 32px;
|
|
border-bottom: 1px solid #c7c7c7;
|
|
background: #d3d3d3;
|
|
}
|
|
|
|
/* ********* The product list ********* */
|
|
|
|
.pos .product-list {
|
|
padding:10px !important;
|
|
-webkit-transform: translate3d(0,0,0);
|
|
}
|
|
|
|
.pos .product-list-scroller{
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width:100%;
|
|
height:100%;
|
|
overflow: hidden;
|
|
overflow-y: scroll;
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
.pos .product-list-container {
|
|
position:absolute;
|
|
top:0px;
|
|
bottom:0px;
|
|
left:0px;
|
|
right:0px;
|
|
}
|
|
|
|
/* a) the product list navigation bar */
|
|
|
|
.pos .breadcrumb li {
|
|
float: left;
|
|
line-height: 32px;
|
|
height: 32px;
|
|
}
|
|
.pos .breadcrumb li:last-child {
|
|
padding-right: 3px;
|
|
border-right: 1px solid #c5c5c5;
|
|
}
|
|
.pos .breadcrumb a {
|
|
display: inline-block;
|
|
padding: 0 9px;
|
|
vertical-align: top;
|
|
color: #555555;
|
|
font-weight: bold;
|
|
}
|
|
.pos .bc-arrow {
|
|
height: 33px;
|
|
}
|
|
.pos .homeimg {
|
|
width: 19px;
|
|
height: 19px;
|
|
margin: 6px 0;
|
|
}
|
|
|
|
/* b) the search box */
|
|
|
|
.pos .searchbox {
|
|
position: absolute;
|
|
right: 2px;
|
|
}
|
|
.pos .searchbox input {
|
|
width: 130px;
|
|
border: 1px solid #cecbcb;
|
|
padding: 3px 19px;
|
|
margin: 6px;
|
|
background: url("../img/search.png") no-repeat 5px;
|
|
background-color: white;
|
|
}
|
|
.pos .search-clear {
|
|
position: absolute;
|
|
top: 11px;
|
|
right: 11px;
|
|
cursor: pointer;
|
|
display: none;
|
|
}
|
|
|
|
/* c) the categories list */
|
|
|
|
.pos .categories {
|
|
position: relative;
|
|
border-bottom: 1px solid #cecece;
|
|
}
|
|
.pos .categories h4 {
|
|
display: inline-block;
|
|
margin: 9px 5px;
|
|
}
|
|
|
|
.pos .category-list{
|
|
padding:10px !important;
|
|
}
|
|
/* d) the category button */
|
|
|
|
.pos .category-button {
|
|
position: relative;
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
font-size: 11px;
|
|
margin: 5px !important;
|
|
width: 120px;
|
|
height:120px;
|
|
background:#fff;
|
|
border: 1px solid #e2e2e2;
|
|
border-radius: 3px;
|
|
border-bottom-width: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pos .category-simple-button{
|
|
position: relative;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
margin-right:10px;
|
|
padding:5px;
|
|
|
|
cursor: pointer;
|
|
border: 1px solid #cacaca;
|
|
|
|
background: #e2e2e2;
|
|
}
|
|
.pos .category-simple-button:active{
|
|
color: white;
|
|
background: #7f82ac;
|
|
border: 1px solid #7f82ac;
|
|
|
|
-webkit-transition-property: background, border;
|
|
-webkit-transition-duration: 0.2s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
}
|
|
|
|
|
|
|
|
.pos .category-button .category-img {
|
|
position: relative;
|
|
width: 120px;
|
|
height: 100px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pos .category-button .category-img img {
|
|
max-height: 100px;
|
|
max-width: 120px;
|
|
}
|
|
|
|
.pos .category-button .category-name {
|
|
position: absolute;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
bottom: 0;
|
|
top: auto;
|
|
line-height: 14px;
|
|
width: 100%;
|
|
/* for some reason the -90deg orientation doesn't match the -webkit-linear-gradient. It should be 180deg here.
|
|
* webkit also insists on rendering *both* gradients instead of only the native one. So it doesn't looks right. ugh.
|
|
background: linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1)); */
|
|
/*background:#FFF;*/
|
|
padding: 3px;
|
|
padding-top: 15px;
|
|
color: #7C7BAD;
|
|
}
|
|
|
|
/* e) the product */
|
|
|
|
.pos .product {
|
|
position:relative;
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
line-height: 100px;
|
|
font-size: 11px;
|
|
margin: 5px !important;
|
|
width: 120px;
|
|
height:120px;
|
|
background:#fff;
|
|
border: 1px solid #e2e2e2;
|
|
border-radius: 3px;
|
|
border-bottom-width: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pos .product .product-img {
|
|
position: relative;
|
|
width: 120px;
|
|
height: 100px;
|
|
background: white;
|
|
text-align: center;
|
|
}
|
|
|
|
.pos .product .product-img img {
|
|
max-height: 100px;
|
|
max-width: 120px;
|
|
}
|
|
|
|
.pos .product .price-tag {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
vertical-align: top;
|
|
color: white;
|
|
line-height: 13px;
|
|
background: #7f82ac;
|
|
padding: 2px 5px;
|
|
}
|
|
|
|
.pos .product .product-name {
|
|
position: absolute;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
bottom:0;
|
|
top:auto;
|
|
line-height: 14px;
|
|
width:100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
background: -webkit-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
|
|
background: -moz-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
|
|
background: -ms-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
|
|
/* troublesome in latest webkit
|
|
background: linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
|
|
*/
|
|
/*background:#FFF;*/
|
|
padding: 3px;
|
|
padding-top:15px;
|
|
}
|
|
|
|
|
|
/* ********* The Screens ********* */
|
|
|
|
.pos .screen {
|
|
position:absolute;
|
|
text-align: center;
|
|
top:0px;
|
|
bottom:0px;
|
|
width:100%;
|
|
overflow: auto;
|
|
}
|
|
.pos .screen header h2 {
|
|
margin-top: 0px;
|
|
padding-top: 7px;
|
|
}
|
|
.pos .screen p{
|
|
font-size: 18px;
|
|
}
|
|
.pos .dialog{
|
|
width: 500px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 50px;
|
|
padding: 40px;
|
|
background-color: #f8f8f8;
|
|
text-align: center;
|
|
}
|
|
.pos .dialog p{
|
|
font-size: 25px;
|
|
margin-top: 10px;
|
|
color: #5a5a5a;
|
|
}
|
|
|
|
/* a) Layout for the Product Screen */
|
|
|
|
.pos .screen .layout-table {
|
|
border:none;
|
|
width:100%;
|
|
height:100%;
|
|
}
|
|
|
|
.pos .screen .header-row {
|
|
border:none;
|
|
width:100%;
|
|
height:0px;
|
|
}
|
|
|
|
.pos .screen .header-cell{
|
|
border:none;
|
|
width:100%;
|
|
height:0px;
|
|
}
|
|
.pos .screen .content-row {
|
|
width:100%;
|
|
height:100%;
|
|
}
|
|
.pos .screen .content-cell{
|
|
width:100%;
|
|
}
|
|
.pos .screen .content-cell .content-container{
|
|
height:100%;
|
|
position:relative;
|
|
}
|
|
|
|
/* b) The payment screen */
|
|
|
|
.pos .pos-step-container {
|
|
display: inline-block;
|
|
font-size: 1.5em;
|
|
}
|
|
.pos .greyed-out{
|
|
color: #AAA;
|
|
}
|
|
.pos .pos-step-container input{
|
|
font-size: 1em;
|
|
outline: none;
|
|
border: none;
|
|
padding: 0px 8px;
|
|
padding-top: 8px;
|
|
margin-left: 16px;
|
|
background: white;
|
|
color: #4c4c4c;
|
|
box-shadow: 0px 2px rgba(143, 143, 143, 0.3) inset;
|
|
-webkit-animation: all 250ms linear;
|
|
}
|
|
|
|
.pos .pos-step-container input:focus{
|
|
color: rgb(130, 124, 255);
|
|
box-shadow: 0px 2px rgba(130, 124, 255, 0.3) inset;
|
|
-webkit-animation: all 250ms linear;
|
|
}
|
|
|
|
.pos .pos-payment-container {
|
|
text-align: left;
|
|
min-width: 320px;
|
|
margin-top: 40px;
|
|
}
|
|
.pos .pos-payment-container .left-block{
|
|
display: inline-block;
|
|
width:49%;
|
|
margin:0;
|
|
padding:0;
|
|
text-align:left;
|
|
}
|
|
.pos .pos-payment-container .header{
|
|
margin-top: 0px;
|
|
margin-bottom:20px;
|
|
font-weight: bold;
|
|
}
|
|
.pos .pos-payment-container .infoline{
|
|
margin-top:5px;
|
|
margin-bottom:5px;
|
|
}
|
|
.pos .pos-payment-container .right-block{
|
|
display: inline-block;
|
|
width:49%;
|
|
margin:0;
|
|
padding:0;
|
|
text-align:right;
|
|
}
|
|
.pos .pos-payment-container table {
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
}
|
|
.pos .pos-payment-container td {
|
|
vertical-align: middle;
|
|
}
|
|
.pos .pos-payment-container .paymentline-type {
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
margin-right:10px;
|
|
}
|
|
|
|
/* c) The receipt screen */
|
|
|
|
.pos .pos-receipt-container {
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
.pos .pos-sale-ticket {
|
|
text-align: left;
|
|
width: 300px;
|
|
background-color: white;
|
|
margin: 20px;
|
|
padding: 15px;
|
|
padding-bottom:30px;
|
|
display: inline-block;
|
|
font-family: "Inconsolata";
|
|
}
|
|
.pos .pos-sale-ticket .emph{
|
|
font-size: 20px;
|
|
margin:5px;
|
|
}
|
|
.pos .pos-sale-ticket table {
|
|
width: 100%;
|
|
border: 0;
|
|
table-layout: fixed;
|
|
}
|
|
.pos .pos-sale-ticket table td {
|
|
border: 0;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
@media print {
|
|
.pos .pos-topheader, .pos .pos-leftpane {
|
|
display: none !important;
|
|
}
|
|
.pos .pos-content {
|
|
top: 0px !important;
|
|
}
|
|
.pos .pos-rightpane {
|
|
left: 0px !important;
|
|
background-color: white;
|
|
}
|
|
.pos .receipt-screen header {
|
|
display: none !important;
|
|
}
|
|
.pos .receipt-screen {
|
|
text-align: left;
|
|
}
|
|
.pos-actionbar {
|
|
display: none !important;
|
|
}
|
|
.pos-sale-ticket {
|
|
margin: 0;
|
|
}
|
|
.debug-widget{
|
|
display: none !important;
|
|
}
|
|
.pos *{
|
|
text-shadow: none !important;
|
|
box-shadow: none !important;
|
|
background: transparent !important;
|
|
}
|
|
.pos .pos-sale-ticket{
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
border: solid 1px black !important;
|
|
}
|
|
}
|
|
|
|
/* d) The Scale screen */
|
|
|
|
.pos .scale-screen .display{
|
|
position:relative;
|
|
width:600px;
|
|
height:190px;
|
|
margin-top: 100px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 40px;
|
|
background: #f1f1f1;
|
|
border-top: 1px solid #efefef;
|
|
}
|
|
|
|
.pos .scale-screen .product-picture {
|
|
position: relative;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
display: float;
|
|
float: right;
|
|
margin: 5px;
|
|
width: 180px;
|
|
height:180px;
|
|
line-height:180px;
|
|
cursor:pointer;
|
|
|
|
background:#fff;
|
|
border: 1px solid #fff;
|
|
}
|
|
|
|
.pos .scale-screen .product-picture img{
|
|
max-width: 178px;
|
|
max-height:178px;
|
|
vertical-align: middle;
|
|
cursor:pointer;
|
|
}
|
|
|
|
.pos .scale-screen .product-picture .product-price{
|
|
position: absolute;
|
|
top:8px;
|
|
right:8px;
|
|
width:auto;
|
|
height:auto;
|
|
line-height:1;
|
|
color:white;
|
|
background: #7f82ac;
|
|
padding: 2px 5px;
|
|
cursor:pointer;
|
|
}
|
|
|
|
.pos .scale-screen .product-name {
|
|
position: absolute;
|
|
left:40px;
|
|
top:50px;
|
|
height:50px;
|
|
font-size:36px;
|
|
line-height:50px;
|
|
text-align:right;
|
|
right:275px;
|
|
color: #8d8d8d;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.pos .scale-screen .weight{
|
|
position: absolute;
|
|
left: 40px;
|
|
height: 90px;
|
|
bottom: 55px;
|
|
right: 260px;
|
|
padding: 6px;
|
|
padding-right: 33px;
|
|
padding-top: 11px;
|
|
background: white;
|
|
|
|
}
|
|
.pos .scale-screen .weight p{
|
|
display: inline-block;
|
|
text-align:right;
|
|
line-height: 90px;
|
|
font-size: 70px;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
margin-right: 18px;
|
|
font-family: "Inconsolata";
|
|
color: #6c6c6c;
|
|
}
|
|
|
|
/* e) The Welcome Screen */
|
|
.pos .goodbye-message{
|
|
position: absolute;
|
|
left:50%;
|
|
top:40%;
|
|
width:500px;
|
|
height:400px;
|
|
margin-left: -250px;
|
|
margin-top: -200px;
|
|
padding:10px;
|
|
padding-top:20px;
|
|
text-align:center;
|
|
font-size:20px;
|
|
font-weight:bold;
|
|
background-color: #F0EEEE;
|
|
border: 1px solid #E0DDDD;
|
|
z-index:1150;
|
|
}
|
|
|
|
/* ********* The OrderWidget ********* */
|
|
|
|
.pos .order-container{
|
|
position: absolute;
|
|
top: 0px;
|
|
width:100%;
|
|
height: 100%;
|
|
background: #F0EEEE;
|
|
}
|
|
|
|
.pos .order-scroller{
|
|
width:100%;
|
|
height:100%;
|
|
overflow:hidden;
|
|
overflow-y: scroll;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.pos .order{
|
|
background: white;
|
|
padding-bottom:15px;
|
|
padding-top:15px;
|
|
margin-left:16px;
|
|
margin-right:16px;
|
|
margin-top:16px;
|
|
margin-bottom:16px;
|
|
font-size:16px;
|
|
border-radius: 3px;
|
|
border: solid 1px rgb(220,220,220);
|
|
-webkit-transform: translate3d(0,0,0);
|
|
}
|
|
|
|
.pos .order .empty{
|
|
text-align:center;
|
|
margin-top: 15px;
|
|
margin-bottom: 5px;
|
|
color:#999;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.pos .order .summary{
|
|
width:100%;
|
|
text-align:right;
|
|
font-weight: bold;
|
|
margin-top:20px;
|
|
margin-bottom:10px;
|
|
}
|
|
.pos .order .summary .line{
|
|
float: right;
|
|
margin-right:15px;
|
|
margin-left: 15px;
|
|
padding-top:5px;
|
|
border-top: solid 2px;
|
|
border-color:#777;
|
|
}
|
|
.pos .order .summary .line .subentry{
|
|
font-size: 10px;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
}
|
|
.pos .order .summary .line.empty{
|
|
text-align: right;
|
|
border-color:#BBB;
|
|
color:#999;
|
|
}
|
|
|
|
/* ********* The OrderLineWidget ********* */
|
|
|
|
.pos .order .orderline{
|
|
width:100%;
|
|
margin:0px;
|
|
padding-top:3px;
|
|
padding-bottom:10px;
|
|
padding-left:15px;
|
|
padding-right:15px;
|
|
cursor: pointer;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-webkit-transition: background 250ms ease-in-out;
|
|
-moz-transition: background 250ms ease-in-out;
|
|
transition: background 250ms ease-in-out;
|
|
}
|
|
.pos .order .orderline:active{
|
|
background: rgba(140,143,183,0.05);
|
|
-webkit-transition: background 50ms ease-in-out;
|
|
-moz-transition: background 50ms ease-in-out;
|
|
transition: background 50ms ease-in-out;
|
|
}
|
|
.pos .order .orderline.empty:active{
|
|
background: transparent;
|
|
cursor: default;
|
|
}
|
|
|
|
.pos .order .orderline.selected{
|
|
background: rgba(140,143,183,0.2);
|
|
-webkit-transition: background 250ms ease-in-out;
|
|
-moz-transition: background 250ms ease-in-out;
|
|
transition: background 250ms ease-in-out;
|
|
cursor: default;
|
|
}
|
|
.pos .order .orderline .product-name{
|
|
padding:0;
|
|
display:inline-block;
|
|
font-weight: bold;
|
|
width:80%;
|
|
overflow:hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.pos .order .orderline .price{
|
|
padding:0;
|
|
font-weight: bold;
|
|
float:right;
|
|
}
|
|
.pos .order .orderline .info-list{
|
|
color: #888;
|
|
margin-left:10px;
|
|
}
|
|
.pos .order .orderline .info-list em{
|
|
color: #777;
|
|
font-weight: bold;
|
|
font-style:normal;
|
|
}
|
|
|
|
/* ********* The ActionBarWidget ********* */
|
|
|
|
.pos .pos-actionbar{
|
|
height: 105px;
|
|
background: #f5f5f5; /*#ebebeb;*/
|
|
border-top: solid 1px #cecece;
|
|
z-index:900;
|
|
}
|
|
|
|
.pos .pos-actionbar ul{
|
|
list-style: none;
|
|
}
|
|
|
|
.pos .pos-actionbar-button-list{
|
|
height: 100%;
|
|
margin: 0px;
|
|
padding-left:3px;
|
|
padding-right:3px;
|
|
overflow:hidden;
|
|
}
|
|
|
|
.pos .pos-actionbar .button{
|
|
width: 90px;
|
|
height: 90px;
|
|
text-align:center;
|
|
margin:3px;
|
|
margin-top:6px;
|
|
float:left;
|
|
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid #cacaca;
|
|
|
|
background: #e2e2e2;
|
|
}
|
|
.pos .pos-actionbar .button .label{
|
|
margin-top: 37px;
|
|
}
|
|
.pos .pos-actionbar .button .icon{
|
|
margin-top: 10px;
|
|
}
|
|
.pos .pos-actionbar .button:active{
|
|
color: white;
|
|
background: #7f82ac;
|
|
border: 1px solid #7f82ac;
|
|
|
|
-webkit-transition-property: background, border;
|
|
-webkit-transition-duration: 0.2s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
}
|
|
|
|
.pos .pos-actionbar .button.disabled:active{
|
|
border: 1px solid #cacaca;
|
|
color: #555;
|
|
cursor: default;
|
|
|
|
background: #e2e2e2;
|
|
}
|
|
|
|
.pos .pos-actionbar .button.rightalign{
|
|
float:right;
|
|
}
|
|
/* ********* The Debug Widget ********* */
|
|
|
|
.pos .debug-widget{
|
|
z-index:100000;
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
width: 200px;
|
|
font-size: 10px;
|
|
|
|
background: rgba(0,0,0,0.82);
|
|
color: white;
|
|
padding-bottom: 10px;
|
|
cursor:move;
|
|
}
|
|
.pos .debug-widget .toggle{
|
|
position: absolute;
|
|
font-size: 16px;
|
|
cursor:pointer;
|
|
top:0px;
|
|
right:0px;
|
|
padding:10px;
|
|
padding-right:15px;
|
|
}
|
|
.pos .debug-widget .content{
|
|
overflow: hidden;
|
|
}
|
|
.pos .debug-widget h1{
|
|
background:black;
|
|
padding-top: 10px;
|
|
padding-left: 10px;
|
|
margin-top:0;
|
|
margin-bottom:0;
|
|
}
|
|
.pos .debug-widget .category{
|
|
background: black;
|
|
padding-left: 10px;
|
|
margin: 0px;
|
|
font-weight: bold;
|
|
padding-top:3px;
|
|
padding-bottom:3px;
|
|
}
|
|
.pos .debug-widget .button{
|
|
padding: 5px;
|
|
padding-left: 15px;
|
|
display: block;
|
|
cursor:pointer;
|
|
}
|
|
.pos .debug-widget .button:active{
|
|
background: rgba(96,21,177,0.45);
|
|
}
|
|
.pos .debug-widget input{
|
|
margin-left:10px;
|
|
margin-top:7px;
|
|
}
|
|
.pos .debug-widget .status{
|
|
padding: 5px;
|
|
padding-left: 15px;
|
|
display: block;
|
|
cursor:default;
|
|
}
|
|
.pos .debug-widget .status.on{
|
|
background-color: #6cd11d;
|
|
}
|
|
.pos .debug-widget .event{
|
|
padding: 5px;
|
|
padding-left: 15px;
|
|
display: block;
|
|
cursor:default;
|
|
background-color: #1E1E1E;
|
|
}
|
|
|
|
/* ********* The PopupWidgets ********* */
|
|
|
|
.pos .modal-dialog{
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height:100%;
|
|
background-color: rgba(0,0,0,0.5);
|
|
z-index:1000;
|
|
}
|
|
.pos .modal-dialog .popup{
|
|
position: absolute;
|
|
left:50%;
|
|
top:50%;
|
|
width:500px;
|
|
height:400px;
|
|
margin-left: -250px;
|
|
margin-top: -200px;
|
|
padding:10px;
|
|
padding-top:20px;
|
|
text-align:center;
|
|
font-size:20px;
|
|
font-weight:bold;
|
|
background-color: #F0EEEE;
|
|
z-index:1200;
|
|
}
|
|
.pos .popup .footer{
|
|
position:absolute;
|
|
bottom:0;
|
|
left:0;
|
|
width:100%;
|
|
height:60px;
|
|
border-top: 1px solid #E0DDDD;
|
|
}
|
|
.pos .popup .button{
|
|
float:right;
|
|
width: 110px;
|
|
height: 40px;
|
|
line-height:40px;
|
|
text-align:center;
|
|
margin:3px;
|
|
margin-top:10px;
|
|
margin-right:10px;
|
|
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid #cacaca;
|
|
|
|
background: #e2e2e2;
|
|
}
|
|
.pos .popup .button:active{
|
|
color: white;
|
|
background: #7f82ac;
|
|
border: 1px solid #7f82ac;
|
|
|
|
-webkit-transition-property: background, border;
|
|
-webkit-transition-duration: 0.2s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
}
|
|
|
|
.pos .popup .button.big-left{
|
|
position:absolute;
|
|
top: 120px;
|
|
left:40px;
|
|
width: 180px;
|
|
height: 180px;
|
|
line-height:180px;
|
|
}
|
|
|
|
.pos .popup .button.big-right{
|
|
position:absolute;
|
|
top: 120px;
|
|
right:40px;
|
|
width: 180px;
|
|
height: 180px;
|
|
line-height:180px;
|
|
}
|
|
|
|
/* ********* The Webkit Scrollbar ********* */
|
|
|
|
.pos *::-webkit-scrollbar{
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
.pos *::-webkit-scrollbar-track{
|
|
background: rgb(224,224,224);
|
|
border-left: solid 1px rgb(200,200,200);
|
|
}
|
|
.pos *::-webkit-scrollbar-thumb{
|
|
background: rgb(168,168,168);
|
|
min-height: 30px;
|
|
}
|
|
|
|
/* ********* Unsupported Browser Page ********* */
|
|
|
|
.pos .not-supported-browser{
|
|
position: absolute;
|
|
z-index: 100000;
|
|
top: 0; bottom: 0; left: 0; right: 0;
|
|
background: #2C2C2C;
|
|
}
|
|
.pos .not-supported-browser .message{
|
|
width:600px;
|
|
margin-top: 100px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
text-align: center;
|
|
color: #d3d3d3;
|
|
font-size: 14px;
|
|
}
|
|
.pos .not-supported-browser img{
|
|
border-collapse: separate;
|
|
}
|