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

345 lines
4.6 KiB
Plaintext
Raw Normal View History

2015-02-24 12:20:44 +00:00
@border-color: #d1d8dd;
2016-04-22 13:23:21 +00:00
@light-border-color: #EBEFF2;
@text-muted: #8D99A6;
@light-bg: #fafbfc;
2015-02-24 12:20:44 +00:00
.web-long-description {
font-size: 18px;
line-height: 200%;
}
2016-04-22 13:23:21 +00:00
2016-10-04 06:10:22 +00:00
.web-page-content {
margin-bottom: 30px;
}
2015-02-24 12:20:44 +00:00
.item-stock {
margin-bottom: 10px !important;
}
.product-link {
display: block;
text-align: center;
}
@media (max-width: 767px) {
.product-image {
height: 0px;
padding: 0px 0px 100%;
overflow: hidden;
}
}
.product-image-square {
width: 100%;
height: 0;
padding: 50% 0px;
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
}
.product-image.missing-image {
.product-image-square;
position: relative;
2016-04-22 13:23:21 +00:00
background-color: @light-border-color;
2015-02-24 12:20:44 +00:00
}
.product-image.missing-image .octicon {
font-size: 32px;
color: @border-color;
}
.product-search {
margin-bottom: 15px;
}
2015-05-27 20:48:06 +00:00
@media (max-width: 767px) {
.product-search {
width: 100%;
}
}
2016-04-20 10:50:49 +00:00
.borderless td, .borderless th {
border-bottom: 1px solid @light-border-color;
padding-left:0px !important;
line-height: 1.8em !important;
}
.item-desc {
border-top: 2px solid @light-border-color;
padding-top:10px;
}
2016-04-22 09:09:02 +00:00
.featured-products {
border-top: 1px solid @light-border-color;
}
2016-04-22 13:23:21 +00:00
.transaction-list-item {
.indicator {
font-weight: inherit;
color: @text-muted;
}
.transaction-time {
margin-top: 5px;
}
2017-01-10 09:16:45 +00:00
2016-04-22 13:23:21 +00:00
}
// order.html
.transaction-subheading {
.indicator {
font-weight: inherit;
color: @text-muted;
}
}
.order-container {
margin: 50px 0px;
.order-item-header .h6 {
padding: 7px 15px;
}
.order-items {
margin: 30px 0px 0px;
}
.order-item-table {
margin: 0px -15px;
}
.order-item-header {
border-bottom: 1px solid #d1d8dd;
}
.order-image-col {
padding-right: 0px;
}
.order-image {
max-width: 55px;
max-height: 55px;
margin-top: -5px;
}
.order-taxes {
margin-top: 30px;
.row {
margin-top: 15px;
}
}
.tax-grand-total-row {
padding-top: 15px;
2016-05-20 11:06:56 +00:00
padding-bottom: 30px;
2016-04-22 13:23:21 +00:00
}
2016-05-12 09:52:59 +00:00
.tax-grand-total {
display: inline-block;
font-size: 16px;
font-weight: bold;
margin-top: 5px;
}
2016-04-22 13:23:21 +00:00
}
2016-05-02 06:13:44 +00:00
.cart-container {
margin: 50px 0px;
2016-09-13 09:07:09 +00:00
2016-06-22 10:16:38 +00:00
.checkout {
margin-bottom:15px;
}
2016-05-02 06:13:44 +00:00
.cart-item-header .h6 {
padding: 7px 15px;
}
.cart-items {
margin: 30px 0px 0px;
}
.cart-item-table {
margin: 0px -15px;
}
.cart-item-header {
border-bottom: 1px solid #d1d8dd;
}
.cart-image-col {
padding-right: 0px;
}
.cart-image {
max-width: 55px;
max-height: 55px;
margin-top: -5px;
}
.cart-taxes {
margin-top: 30px;
.row {
margin-top: 15px;
}
}
.tax-grand-total-row {
border-top: 1px solid @border-color;
padding-top: 15px;
}
2016-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
.cart-addresses {
margin-top: 50px;
}
}
2016-06-22 10:16:38 +00:00
.cart-items-dropdown .cart-dropdown,
2016-05-02 06:13:44 +00:00
.item_name_dropdown {
2016-06-22 10:16:38 +00:00
display: none;
2016-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
}
2016-06-22 10:16:38 +00:00
2016-05-02 06:13:44 +00:00
.cart-dropdown-container {
2016-06-22 10:16:38 +00:00
width: 400px;
2016-05-02 06:13:44 +00:00
padding: 15px;
2016-09-13 09:07:09 +00:00
2016-05-02 06:13:44 +00:00
.item-price {
display: block !important;
padding-bottom: 10px;
}
2016-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
.cart-item-header {
border-bottom: 1px solid #d1d8dd;
}
2016-09-13 09:07:09 +00:00
2016-06-22 10:16:38 +00:00
.cart-items-dropdown {
max-height: 350px;
}
2016-09-13 09:07:09 +00:00
2016-06-22 10:16:38 +00:00
.cart-items-dropdown .cart-dropdown {
2016-05-02 06:13:44 +00:00
display:block;
margin-top:15px;
}
2016-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
.item_name_dropdown {
display:block;
}
2016-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
.item-description,
.cart-items .checkout,
.item_name_and_description {
display: none;
}
2016-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
.checkout-btn {
padding-bottom:25px;
2016-05-02 06:13:44 +00:00
}
.col-name-description {
margin-bottom:8px;
}
2016-06-22 10:16:38 +00:00
}
2016-05-12 09:52:59 +00:00
2016-06-22 10:16:38 +00:00
.number-spinner {
width:100px;
margin-top:5px;
}
.cart-btn {
border-color: #ccc;
}
.cart-qty {
text-align:center;
2016-05-02 06:13:44 +00:00
}
.product-list-link {
.row {
border-bottom: 1px solid @light-border-color;
}
.row:hover {
background-color: @light-bg;
}
.row > div {
padding-top: 15px;
padding-bottom: 15px;
}
}
.product-list-link:first-child .row {
border-top: 1px solid @light-border-color;
}
.item-group-nav-buttons {
margin-top: 15px;
}
2016-05-20 11:06:56 +00:00
.footer-subscribe {
.btn-default {
background-color: transparent;
border: 1px solid @border-color;
}
}
@media (min-width: 992px) {
.footer-subscribe {
max-width: 350px;
}
}
2016-05-02 06:13:44 +00:00
.item-group-content {
margin-top: 30px;
}
2016-05-12 09:52:59 +00:00
.product-image-img {
2016-05-02 06:13:44 +00:00
border: 1px solid @light-border-color;
border-radius: 3px;
}
2016-05-12 09:52:59 +00:00
.product-text {
2016-05-02 06:13:44 +00:00
border-top: 1px solid @light-border-color;
padding: 15px;
word-wrap: break-word;
height: 75px;
display: block; /* Fallback for non-webkit */
display: -webkit-box;
max-width: 100%;
margin: 0 auto;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
2016-05-02 06:13:44 +00:00
}
2016-05-12 09:52:59 +00:00
.product-image-wrapper {
padding-bottom: 40px;
}
.duration-bar {
display: inline-block;
color: white;
background: #8FD288;
padding: 3px;
}
.duration-invisible {
visibility: hidden;
}
.duration-value {
float: right;
}
.bar-outer-text {
color: #8FD288;
background: none;
float: none;
border: none;
2017-02-14 11:47:28 +00:00
}
.bom-spec {
margin-bottom: 20px;
2016-06-22 10:16:38 +00:00
}