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

328 lines
4.4 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
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;
2016-05-12 09:52:59 +00:00
border-radius-top: 4px;
border-radius-right: 4px;
2015-02-24 12:20:44 +00:00
}
.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-text {
padding: 15px 0px;
}
2015-05-27 20:48:06 +00:00
.product-label {
2016-04-20 10:50:49 +00:00
padding-bottom: 4px;
text-transform: uppercase;
font-size: 12px;
}
.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 {
padding: 30px;
margin: 0px -30px;
&:hover,
&:active,
&:focus {
background-color: @light-bg;
}
.indicator {
font-weight: inherit;
color: @text-muted;
margin-left: -15px;
}
.transaction-time {
// margin-left: 15px;
}
.items-preview,
.transaction-time {
margin-top: 5px;
}
}
// 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 {
border-top: 1px solid @border-color;
padding-top: 15px;
}
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;
.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;
}
}
.cart-items .cart-dropdown,
.item_name_dropdown {
display:none;
2016-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
}
.cart-dropdown-container {
2016-05-09 07:00:58 +00:00
width: 320px;
2016-05-02 06:13:44 +00:00
padding: 15px;
2016-05-12 09:52:59 +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-05-12 09:52:59 +00:00
2016-05-02 06:13:44 +00:00
.cart-items .cart-dropdown {
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 {
2016-05-09 07:00:58 +00:00
padding-top:25px;
2016-05-02 06:13:44 +00:00
}
.col-name-description {
margin-bottom:8px;
}
2016-05-12 09:52:59 +00:00
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;
}
@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;
}
2016-05-12 09:52:59 +00:00
.product-image-wrapper {
padding-bottom: 40px;
2016-05-02 06:13:44 +00:00
}
.featured-product-heading, .all-products {
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 12px;
2016-05-12 09:52:59 +00:00
font-weight: 500;
2016-05-02 06:13:44 +00:00
}
.all-products {
2016-05-12 09:52:59 +00:00
font-weight: 300;
2016-05-02 06:13:44 +00:00
padding-left: 25px;
padding-right: 25px;
padding-top: 10px;
padding-bottom: 10px;
}
.homepage-tagline {
font-size:40px !important;
2016-05-09 07:00:58 +00:00
}