brotherton-erpnext/erpnext/public/less/erpnext.less

442 lines
6.4 KiB
Plaintext
Raw Normal View History

2016-04-11 12:04:25 +00:00
@import "../../../../frappe/frappe/public/less/variables.less";
2015-02-24 12:20:44 +00:00
.erpnext-footer {
margin: 11px auto;
text-align: center;
}
.show-all-reports {
margin-top: 5px;
font-size: 11px;
}
/* toolbar */
.toolbar-splash {
width: 32px;
height: 32px;
margin: -10px auto;
}
2017-03-10 09:20:39 +00:00
.erpnext-icon {
width: 24px;
margin-right: 0px;
margin-top: -3px;
2015-02-24 12:20:44 +00:00
}
2017-03-10 09:20:39 +00:00
.dashboard-list-item {
background-color: inherit;
padding: 5px 0px;
border-bottom: 1px solid @border-color;
2015-02-24 12:20:44 +00:00
}
2017-03-10 09:20:39 +00:00
#page-stock-balance .dashboard-list-item {
padding: 5px 15px;
2015-02-24 12:20:44 +00:00
}
2017-03-10 09:20:39 +00:00
.dashboard-list-item:last-child {
border-bottom: none;
2015-02-24 12:20:44 +00:00
}
2017-03-10 09:20:39 +00:00
// assessment tool
.frappe-control[data-fieldname='result_html'] {
overflow: scroll;
2015-02-24 12:20:44 +00:00
}
2017-03-10 09:20:39 +00:00
.assessment-result-tool {
table-layout: fixed;
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
input {
width: 100%;
border: 0;
outline: none;
text-align: right;
}
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
th {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
.total-score, .grade, .score {
text-align: right;
}
2015-02-24 12:20:44 +00:00
}
2017-03-10 09:20:39 +00:00
/* pos */
2017-02-24 12:32:50 +00:00
2017-03-10 09:20:39 +00:00
body[data-route="pos"] {
2017-02-24 12:32:50 +00:00
2017-03-10 09:20:39 +00:00
.pos-bill-toolbar {
padding: 10px 0px;
height: 51px;
}
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
.pos-bill-item:hover, .list-customers-table > .pos-list-row:hover {
background-color: #f5f7fa;
cursor: pointer;
}
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
.pos-item-qty {
display: inline-block;
}
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
.pos-qty-row > div {
padding: 5px 0px;
}
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
.pos-qty-btn {
margin-top: 3px;
cursor: pointer;
font-size: 120%;
}
2015-02-24 12:20:44 +00:00
2017-03-10 09:20:39 +00:00
.search-area .form-group {
max-width: 100% !important;
}
2017-03-10 09:20:39 +00:00
.tax-table {
margin-bottom: 10px;
}
2016-04-07 09:55:43 +00:00
2017-03-10 09:20:39 +00:00
.discount-field-col {
padding-left: 24px;
}
2016-04-25 12:23:42 +00:00
2017-03-10 09:20:39 +00:00
.discount-amount-area {
.input-group:first-child {
margin-bottom: 2px;
}
}
2016-04-25 12:23:42 +00:00
2017-03-10 09:20:39 +00:00
.payment-toolbar {
.row {
width: 323px;
margin: 0 auto;
}
}
2016-06-13 12:16:55 +00:00
2017-03-10 09:20:39 +00:00
.payment-mode {
cursor: pointer;
font-family: sans-serif;
font-size: 15px;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.pos-payment-row .col-xs-6 {
padding :15px;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.pos-payment-row {
2017-06-21 11:52:38 +00:00
border-bottom:1px solid @border-color;
2017-03-10 09:20:39 +00:00
margin: 2px 0px 5px 0px;
height: 60px;
margin-top: 0px;
margin-bottom: 0px;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.pos-payment-row:hover, .pos-keyboard-key:hover{
2017-06-21 11:52:38 +00:00
background-color: @light-bg;
2017-03-10 09:20:39 +00:00
cursor: pointer;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.pos-keyboard-key, .delete-btn {
2017-06-21 11:52:38 +00:00
border: 1px solid @border-color;
2017-03-10 09:20:39 +00:00
height:85px;
width:85px;
margin:10px 10px;
font-size:24px;
font-weight:200;
background-color: #FDFDFD;
border-color: #e8e8e8;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.numeric-keypad {
2017-06-21 11:52:38 +00:00
border: 1px solid @border-color;
2017-03-10 09:20:39 +00:00
height:69px;
width:69px;
font-size:20px;
font-weight:200;
background-color: #FDFDFD;
border-color: #e8e8e8;
margin-left:-4px;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.pos-pay {
height:69px;
width:69px;
font-size:17px;
font-weight:200;
margin-left:-4px;
}
2017-02-28 11:21:17 +00:00
2017-03-10 09:20:39 +00:00
.numeric-keypad {
height: 60px;
width: 60px;
font-size: 20px;
font-weight: 200;
border-radius: 0;
background-color: #fff;
margin-left:-4px;
@media (max-width: @screen-md) {
height: 45px;
width: 45px;
font-size: 14px;
}
@media (max-width: @screen-sm) {
height: 40px;
width: 40px;
}
2017-03-10 09:20:39 +00:00
}
2017-02-24 12:32:50 +00:00
2017-03-10 09:20:39 +00:00
.numeric_keypad {
margin-left: -15px;
2017-02-28 11:21:17 +00:00
2017-03-10 09:20:39 +00:00
& > .row > button {
border: none;
border-right: 1px solid @border-color;
border-bottom: 1px solid @border-color;
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
&:first-child {
border-left: 1px solid @border-color;
}
}
2017-02-24 12:32:50 +00:00
2017-03-10 09:20:39 +00:00
& > .row:first-child > button {
border-top: 1px solid @border-color;
}
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.pos-pay {
background-color: @brand-primary;
2017-03-06 12:31:58 +00:00
border: none;
}
2017-03-10 09:20:39 +00:00
.multimode-payments {
padding-left: 30px;
2017-03-06 12:31:58 +00:00
}
2017-03-10 09:20:39 +00:00
.payment-toolbar {
padding-right: 30px;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.list-row-head.pos-invoice-list {
border-top: 1px solid @border-color;
}
2017-03-10 09:20:39 +00:00
.modal-dialog {
width: 750px;
2017-03-10 09:20:39 +00:00
@media (max-width: @screen-xs) {
width: auto;
2017-03-10 09:20:39 +00:00
.modal-content {
height: auto;
}
}
}
@media (max-width: @screen-xs) {
2017-03-10 09:20:39 +00:00
.amount-row h3 {
font-size: 15px;
}
.pos-keyboard-key, .delete-btn {
height: 50px;
}
.multimode-payments {
padding-left: 15px;
}
.payment-toolbar {
padding-right: 15px;
}
}
2017-03-10 09:20:39 +00:00
.amount-label {
font-size: 16px;
}
2017-03-10 09:20:39 +00:00
.selected-payment-mode {
2017-06-21 11:52:38 +00:00
background-color: @light-bg;
2017-03-10 09:20:39 +00:00
cursor: pointer;
}
2017-03-10 09:20:39 +00:00
.pos-invoice-list {
padding: 15px 10px;
}
2017-03-10 09:20:39 +00:00
.write_off_amount, .change_amount {
margin: 15px;
width: 130px;
}
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.pos-list-row {
display: table;
table-layout: fixed;
width: 100%;
padding: 9px 15px;
font-size: 12px;
margin: 0px;
border-bottom: 1px solid @border-color;
2016-05-20 18:25:45 +00:00
2017-03-10 09:20:39 +00:00
.cell {
display: table-cell;
vertical-align: middle;
2017-03-10 09:20:39 +00:00
&.price-cell {
width: 50%;
}
}
2017-01-09 12:55:43 +00:00
2017-03-10 09:20:39 +00:00
.subject {
width: 40%
}
2017-01-09 12:55:43 +00:00
2017-03-10 09:20:39 +00:00
.list-row-checkbox, .list-select-all {
margin-right: 7px;
}
2017-01-09 12:55:43 +00:00
}
2017-03-10 09:20:39 +00:00
.pos-bill-header {
background-color: #f5f7fa;
border: 1px solid @border-color;
padding: 13px 15px;
2017-01-09 12:55:43 +00:00
}
2017-03-10 09:20:39 +00:00
.pos-list-row.active {
background-color: @light-yellow;
2017-01-09 12:55:43 +00:00
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.totals-area {
border-right: 1px solid @border-color;
border-left: 1px solid @border-color;
margin-bottom: 15px;
2017-03-06 12:31:58 +00:00
}
2017-03-10 09:20:39 +00:00
.tax-area .pos-list-row {
border: none;
2017-03-06 12:31:58 +00:00
}
2017-03-10 09:20:39 +00:00
.item-cart-items {
height: ~"calc(100vh - 526px)";
overflow: auto;
border: 1px solid @border-color;
border-top: none;
@media (max-width: @screen-xs) {
height: 30vh;
}
2017-03-06 12:31:58 +00:00
}
2017-03-10 09:20:39 +00:00
.no-items-message {
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.pos-list-row:last-child {
border-bottom: none;
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.form-section-heading {
padding: 0;
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.item-list {
border: 1px solid @border-color;
border-top: none;
max-height: ~"calc(100vh - 190px)";
overflow: auto;
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
@media (max-width: @screen-xs) {
max-height: initial;
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.image-field {
height: 140px;
2017-06-21 11:52:38 +00:00
2017-04-20 05:39:43 +00:00
.placeholder-text {
font-size: 50px;
}
2017-03-10 09:20:39 +00:00
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.pos-item-wrapper {
position: relative;
}
}
2017-03-06 12:31:58 +00:00
2017-03-10 09:20:39 +00:00
.pos-bill-toolbar {
margin-top: 10px;
}
2017-03-07 12:44:06 +00:00
2017-03-10 09:20:39 +00:00
.search-item .form-group {
margin: 0;
2017-03-09 09:13:37 +00:00
}
2017-03-10 09:20:39 +00:00
.item-list-area .pos-bill-header {
padding: 5px;
padding-left: 15px;
2017-03-07 12:44:06 +00:00
}
2017-03-09 09:13:37 +00:00
.pos-selected-item-action {
.pos-list-row:first-child {
padding-top: 0;
}
&> .pos-list-row {
border: none;
@media (max-width: @screen-md) {
padding: 5px 15px;
}
}
2017-03-09 09:13:37 +00:00
}
2017-03-10 09:20:39 +00:00
.edit-customer-btn {
2017-03-09 09:13:37 +00:00
position: absolute;
2017-03-10 09:20:39 +00:00
right: 57px;
top: 15px;
z-index: 100;
2017-03-09 09:13:37 +00:00
}
2017-03-10 09:20:39 +00:00
.btn-more {
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
background-color: @light-bg;
min-height: 200px;
}
2017-03-09 09:13:37 +00:00
2017-03-10 09:20:39 +00:00
.collapse-btn {
cursor: pointer;
}
2017-08-29 08:57:01 +00:00
}
.price-info {
position: absolute;
left: 0;
bottom: 0;
margin: 0 0 15px 15px;
background-color: rgba(141, 153, 166, 0.6);
padding: 5px 9px;
border-radius: 3px;
color: #fff;
}
// Leaderboard
.leaderboard {
.result {
border-top: 1px solid #d1d8dd;
}
.list-item {
padding-left: 45px;
}
.list-item_content {
padding-right: 45px;
}
Hub (#10934) * [WIP]Hub * [listing] Show items, users and item_groups * Show filters * [start] cart, api for rfq and opp * rfq working * [wip] keys * wip quotes * [hub] register/unregister * [hub] rename password to access_token, remove passed company field * [hub] publishing cases, api call wrapper * [hub] add and remove fields working * [hub] fix flags, update on client save working * [hub] new hub page, client item CUD at hub working * listing, standard rate, local site hack * item listing, item page, search, back to home * [hub] implement hub company * [hub] company filter * [hub] basic rfq-ing, item page cleanup * categories wip * [hub] use get_doc_before_save() * [hub] send opportunity message to hub, api to make locally * [hub] enqueueing in hub api request wrapper * cleanup * [hub] refactor shopping cart's product.py to reuse * sync dynamic item fields daily * Scheduler heartbeat check * [wip] hub categories * [hub] wip enqueued callbacks * [hub] outgoing messages, fixing callback loop * [hub] bug: callback save after primary save * [hub] pricing, stock, currency * [hub] replace send_hub_request with make_and_enqueue * add hub.less, refactor code * Remove template html files, add styling for hub item cards * fix paging * add breadcrumb * Add sidebar * [hub] add company page, change country * [hub] order_by filters * [hub] make hub category a tree * [hub] enqueue batched item enqueueing * [hub] requested products page * [minor] * update hub url * [fix] url * [fix] more reform * fix recursion * [hub] data migration plans as jsons * Hub register, create data connector, sync with run * [add] user registration by session user * Removed hub_message * Remove sync code from hub_settings * Remove hub methods from item.py * Update Hub Sync plan * Hub unregister * Update Hub connector on reregister * Dont delete Hub Connector on unregister * Enable hub on success response * Add new hub whitelisted methods * [hub] list working * Hub register from hub page * [hub] Add hub logo in desk icon, link to page * [hub] hide page head on empty state * [hub] make rfq * [hub] push opportunity doc, poll for opportunity docs * add fields to item mapping * update hub mappings * Make RFQ * [hub] item, home routing * Make rfq and send opportunity refactor * [hub][fix] remote lead data * images passed as base64 * set default company on register * Revert "images passed as base64" This reverts commit 0b033a5fb7072b2d39a1b87a47dc41e7af707bb4. * Add sync to hub page * Prompt for publish items to hub * add post process to hub document to lead * Rename Hub document to Hub message, create opportunity in post process
2017-10-05 05:47:30 +00:00
}