You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k4ever/k4ever/media/css/style.css

406 lines
10 KiB

@import "fonts.css";
@import "jquery.gritter.css";
@import "../bootstrap/css/bootstrap.min.css";
/* IF IM NOT A .LESS FILE DO NOT EDIT ME, BUT EDIT THE LESS FILE INSTEAD :)
@see http://lesscss.org/ */
/*
* This file is part of k4ever, a point-of-sale system
* Contact............ <k4ever@lists.someserver.de>
* Website............ http://k4ever.someserver.de/
* Bug tracker........ http://k4ever.someserver.de/report
*
* Licensed under GNU Affero General Public License v3 or later
*/
body {
background: white;
font-family: "Open Sans", Tahoma, Verdana, Arial, sans-serif;
padding-top: 60px;
}
td {
word-wrap: break-word;
}
h1,
h2,
h3,
h4,
h5,
h6 {
clear: both;
font-weight: bold;
margin: 0;
font-family: "Ubuntu", inherit;
color: #007bba;
}
h2 {
border-bottom: 1px solid #007bba;
margin-bottom: 10px;
}
h3 {
margin: 3px 0 5px 0;
}
.clear {
clear: both;
}
.clearAfter:after {
content: ".";
height: 0;
float: none;
visibility: hidden;
clear: both;
display: block;
}
.navbar-inner {
border-radius: 0;
}
.navbar-inner a.brand {
background: url("img/logo.png") 6px center no-repeat transparent;
padding-left: 37px;
}
.navbar-search {
margin-bottom: -6px;
}
.navbar-search span {
margin-top: -6px;
}
ul.thumbnails div.thumbnail {
text-align: center;
}
ul.thumbnails div.thumbnail:hover {
border-color: #007bba;
}
ul.thumbnails div.thumbnail h4 a, ul.thumbnails div.thumbnail h5 a {
white-space: nowrap;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: block;
padding: 2px 0;
}
.table thead.no-border th, .table thead.no-border td {
border-top: 0;
}
a {
color: #3398cc;
}
a:hover {
color: white;
background-color: #3398cc;
}
a:hover.image {
color: inherit;
background-color: inherit;
}
ul.ui-autocomplete {
background: white;
width: 298px;
border-width: 0 1px 1px 1px;
border-style: solid;
border-color: black;
z-index: 100;
}
ul.ui-autocomplete li.ui-menu-item {
display: table-row;
}
ul.ui-autocomplete li.ui-menu-item:hover, ul.ui-autocomplete li.ui-menu-item.focus {
background-image: -webkit-gradient(linear, left top, left bottom, from(#32bbef), to(#3398cc));
background-image: -webkit-linear-gradient(top, #32bbef, #3398cc);
background-image: -moz-linear-gradient(top, #32bbef, #3398cc);
background-image: -ms-linear-gradient(top, #32bbef, #3398cc);
background-image: -o-linear-gradient(top, #32bbef, #3398cc);
background-image: linear-gradient(top, #32bbef, #3398cc);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#32bbef', EndColorStr='#3398cc');
-moz-box-shadow: 0 0 5px #666666;
-webkit-box-shadow: 0 0 5px #666666;
box-shadow: 0 0 5px #666666;
}
ul.ui-autocomplete li.ui-menu-item:hover a, ul.ui-autocomplete li.ui-menu-item.focus a {
color: white !important;
}
ul.ui-autocomplete li.ui-menu-item a span {
line-height: 1;
vertical-align: top;
}
ul.ui-autocomplete li.ui-menu-item a span img {
height: 50px;
}
ul.ui-autocomplete li.ui-menu-item a#ui-active-menuitem.ui-corner-all div {
color: #FF0084;
}
ul.ui-autocomplete li.ui-menu-item a.ui-corner-all span {
display: table-cell;
}
ul.ui-autocomplete .preview, ul.ui-autocomplete .buy, ul.ui-autocomplete .meta {
height: 50px;
padding: 5px;
font-size: 10px;
}
ul.ui-autocomplete .preview {
width: 50px;
overflow: hidden;
text-align: center;
vertical-align: middle;
}
ul.ui-autocomplete .buy {
vertical-align: middle;
width: 50px;
}
ul.ui-autocomplete .focus .buy {
background-image: url("img/alt.png");
background-repeat: no-repeat;
background-position: 2px center;
}
ul.ui-autocomplete .focus .buy.lock {
background-image: url("img/buy.png");
}
ul.ui-autocomplete .focus .buy.lock.load, ul.ui-autocomplete .focus .buy.load {
background-image: url("img/load.svg");
}
ul.ui-autocomplete .focus .buy.lock.success, ul.ui-autocomplete .focus .buy.success {
background-image: url("img/success.png");
}
ul.ui-autocomplete .focus .buy.lock.failure, ul.ui-autocomplete .focus .buy.failure {
background-image: url("img/failure.png");
}
ul.ui-autocomplete .meta {
width: 210px;
}
ul.ui-autocomplete .meta:first-line {
font-weight: bold;
}
table.itemList {
width: 100%;
}
table.itemList tbody tr:nth-child(even) td.name, table.itemList tbody tr:nth-child(even) td.actions {
background-color: #e5e5e5;
}
table.itemList td, table.itemList th {
vertical-align: middle;
}
table.itemList th {
font-size: 20px;
text-align: center;
}
table.itemList td {
padding-bottom: 10px;
}
table.itemList td.productImage {
width: 80px;
text-align: center;
}
table.itemList td.productImage a:hover {
background: transparent;
}
table.itemList td.productImage img {
max-width: 100%;
max-height: 64px;
}
table.itemList td.name {
padding: 0 10px;
}
table.itemList td.name span {
display: block;
font-weight: bold;
}
table.itemList td.name a {
display: block;
font: 20px "Ubuntu", inherit;
text-decoration: none;
font-weight: bold;
}
table.itemListContainer {
width: 100%;
}
table.itemListContainer td, table.itemListContainer th {
vertical-align: middle;
}
table.itemListContainer th {
font-size: 20px;
}
table.itemListContainer th[scope="row"] {
width: 20px;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(270deg);
}
table.itemListContainer > tbody > tr:first-child ~ tr > td {
padding-top: 50px;
}
.singleItem {
width: 820px;
margin: 0 auto;
}
.singleItem .productImage, .singleItem .productMeta {
float: left;
width: 400px;
}
.singleItem .productImage {
text-align: center;
}
.singleItem .productImage img {
max-width: 80%;
}
.singleItem .productMeta {
margin-left: 20px;
}
.singleItem .actions {
padding-bottom: 5px;
}
.singleItem .actions a {
margin-top: 0;
}
.button {
display: block;
padding: 5px 10px;
margin: 10px 10px 15px 0;
position: relative;
text-align: center;
border-radius: 6px;
float: left;
z-index: 2;
color: white;
background-color: #111111;
border: 0 none;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
/* useful if you don't want a bg color from leaking outside the border: */
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
background-image: -webkit-gradient(linear, left top, left bottom, from(#666666), to(#111111));
background-image: -webkit-linear-gradient(top, #666666, #111111);
background-image: -moz-linear-gradient(top, #666666, #111111);
background-image: -ms-linear-gradient(top, #666666, #111111);
background-image: -o-linear-gradient(top, #666666, #111111);
background-image: linear-gradient(top, #666666, #111111);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#666666', EndColorStr='#111111');
-moz-box-shadow: 0 1px 3px 0 black;
-webkit-box-shadow: 0 1px 3px 0 black;
box-shadow: 0 1px 3px 0 black;
}
.button.buy {
-webkit-border-radius: 6px 6px 0 0;
-moz-border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
/* useful if you don't want a bg color from leaking outside the border: */
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.button.buy > span {
display: block;
height: 100%;
min-width: 32px;
height: 32px;
background: url("img/payment.png") no-repeat center center transparent;
}
.button.buy > span > span {
position: absolute;
bottom: -15px;
left: 0;
display: block;
width: 100%;
z-index: 1;
background-color: #3398cc;
color: white;
font-size: 10px;
line-height: 15px;
-webkit-border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
/* useful if you don't want a bg color from leaking outside the border: */
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
-moz-box-shadow: 0 1px 3px 0 black, 0 1px 1px 0 black inset;
-webkit-box-shadow: 0 1px 3px 0 black, 0 1px 1px 0 black inset;
box-shadow: 0 1px 3px 0 black, 0 1px 1px 0 black inset;
}
.button.buy.onlyDeposit > span {
background-image: url("img/deposit.png");
}
.button.buy.inclDeposit > span {
background-image: url("img/payment_deposit.png");
min-width: 65px;
}
.button.buy.locked > span {
background: url("img/locked.png") no-repeat center 0;
}
.button:hover {
background-color: #000000 !important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#000000));
background-image: -webkit-linear-gradient(top, #333333, #000000);
background-image: -moz-linear-gradient(top, #333333, #000000);
background-image: -ms-linear-gradient(top, #333333, #000000);
background-image: -o-linear-gradient(top, #333333, #000000);
background-image: linear-gradient(top, #333333, #000000);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#333333', EndColorStr='#000000');
}
.button:active {
-moz-box-shadow: 0 1px 3px 0 black, 0 1px 3px 0 black inset;
-webkit-box-shadow: 0 1px 3px 0 black, 0 1px 3px 0 black inset;
box-shadow: 0 1px 3px 0 black, 0 1px 3px 0 black inset;
}
.textData thead, .textData tfoot {
background-color: #111111;
}
.textData thead th, .textData tfoot th {
font-weight: bold;
color: white;
}
.textData tr:nth-child(even) td {
background-color: #eaeaea;
}
.textData tr:hover td {
background-color: #9e9e9e;
}
.textData th, .textData td {
padding: 7px 30px;
vertical-align: middle;
text-align: center;
}
.icon {
display: block;
height: 24px;
width: 24px;
text-indent: -10000px;
background-position: 0 0;
background-repeat: no-repeat;
margin: 0 auto;
}
.icon.approved {
background-image: url("img/approved.png");
}
.icon.pending {
background-image: url("img/pending.png");
}
.icon.cash {
background-image: url("img/cash.png");
}
.icon.transfer {
background-image: url("img/transfer.png");
}
.icon.cashIn {
background-image: url("img/cashIn.png");
}
.icon.cashOut {
background-image: url("img/cashOut.png");
}
.transaction {
padding: 0 30px;
}
.transaction > * {
float: none;
display: block;
}
.transaction input[type="text"], .transaction select {
font-size: 16px;
}