[cleanup] website / portal css
This commit is contained in:
parent
66ee4d8cd7
commit
ac123c57f3
@ -71,10 +71,6 @@
|
|||||||
.featured-products {
|
.featured-products {
|
||||||
border-top: 1px solid #EBEFF2;
|
border-top: 1px solid #EBEFF2;
|
||||||
}
|
}
|
||||||
.transaction-list-item {
|
|
||||||
padding: 30px;
|
|
||||||
margin: 0px -30px;
|
|
||||||
}
|
|
||||||
.transaction-list-item:hover,
|
.transaction-list-item:hover,
|
||||||
.transaction-list-item:active,
|
.transaction-list-item:active,
|
||||||
.transaction-list-item:focus {
|
.transaction-list-item:focus {
|
||||||
@ -83,7 +79,6 @@
|
|||||||
.transaction-list-item .indicator {
|
.transaction-list-item .indicator {
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
color: #8D99A6;
|
color: #8D99A6;
|
||||||
margin-left: -15px;
|
|
||||||
}
|
}
|
||||||
.transaction-list-item .items-preview,
|
.transaction-list-item .items-preview,
|
||||||
.transaction-list-item .transaction-time {
|
.transaction-list-item .transaction-time {
|
||||||
@ -123,8 +118,8 @@
|
|||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
.order-container .tax-grand-total-row {
|
.order-container .tax-grand-total-row {
|
||||||
border-top: 1px solid #d1d8dd;
|
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
|
padding-bottom: 30px;
|
||||||
}
|
}
|
||||||
.order-container .tax-grand-total {
|
.order-container .tax-grand-total {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -217,6 +212,10 @@
|
|||||||
.item-group-nav-buttons {
|
.item-group-nav-buttons {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
.footer-subscribe .btn-default {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 1px solid #d1d8dd;
|
||||||
|
}
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.footer-subscribe {
|
.footer-subscribe {
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
@ -238,20 +237,3 @@
|
|||||||
.product-image-wrapper {
|
.product-image-wrapper {
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
}
|
}
|
||||||
.featured-product-heading,
|
|
||||||
.all-products {
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.5px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
.all-products {
|
|
||||||
font-weight: 300;
|
|
||||||
padding-left: 25px;
|
|
||||||
padding-right: 25px;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
}
|
|
||||||
.homepage-tagline {
|
|
||||||
font-size: 40px !important;
|
|
||||||
}
|
|
||||||
|
@ -84,9 +84,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.transaction-list-item {
|
.transaction-list-item {
|
||||||
padding: 30px;
|
|
||||||
margin: 0px -30px;
|
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus {
|
||||||
@ -96,7 +93,6 @@
|
|||||||
.indicator {
|
.indicator {
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
color: @text-muted;
|
color: @text-muted;
|
||||||
margin-left: -15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.transaction-time {
|
.transaction-time {
|
||||||
@ -155,8 +151,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tax-grand-total-row {
|
.tax-grand-total-row {
|
||||||
border-top: 1px solid @border-color;
|
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
|
padding-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tax-grand-total {
|
.tax-grand-total {
|
||||||
@ -279,6 +275,13 @@
|
|||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-subscribe {
|
||||||
|
.btn-default {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 1px solid @border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.footer-subscribe {
|
.footer-subscribe {
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
@ -305,23 +308,3 @@
|
|||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.featured-product-heading, .all-products {
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.5px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
.all-products {
|
|
||||||
font-weight: 300;
|
|
||||||
padding-left: 25px;
|
|
||||||
padding-right: 25px;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.homepage-tagline {
|
|
||||||
font-size:40px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{{ frappe.utils.format_datetime(doc.modified, "medium") }}
|
{{ frappe.utils.format_datetime(doc.modified, "medium") }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4 items-preview text-ellipsis">
|
<div class="col-sm-4 items-preview text-ellipsis small">
|
||||||
{{ doc.items_preview }}
|
{{ doc.items_preview }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-3 text-right bold">
|
<div class="col-sm-3 text-right bold">
|
||||||
|
@ -7,8 +7,10 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<div class="homepage-tagline h1 text-center">{{ homepage.tag_line or '' }}</div>
|
<div class="hero">
|
||||||
<p class="text-center">{{ homepage.description or '' }}</p>
|
<h1 class="text-center">{{ homepage.tag_line or '' }}</h1>
|
||||||
|
<p class="text-center">{{ homepage.description or '' }}</p>
|
||||||
|
</div>
|
||||||
{% if homepage.products %}
|
{% if homepage.products %}
|
||||||
<div class='featured-products-section' itemscope itemtype="http://schema.org/Product">
|
<div class='featured-products-section' itemscope itemtype="http://schema.org/Product">
|
||||||
<h5 class='featured-product-heading'>{{ _("Featured Products") }}</h5>
|
<h5 class='featured-product-heading'>{{ _("Featured Products") }}</h5>
|
||||||
@ -27,7 +29,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- TODO: remove hardcoding of /products -->
|
<!-- TODO: remove hardcoding of /products -->
|
||||||
<div class="text-center"><a href="/products" class="btn btn-primary all-products"> {{ _("View All Products") }}</a></div>
|
<div class="text-center padding">
|
||||||
|
<a href="/products" class="btn btn-primary all-products">
|
||||||
|
{{ _("View All Products") }}</a></div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@ -36,8 +40,14 @@
|
|||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
<style>
|
<style>
|
||||||
.featured-products-section {
|
.hero {
|
||||||
margin-top: 95px;
|
padding-top: 50px;
|
||||||
|
padding-bottom: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero h1 {
|
||||||
|
font-size: 40px;
|
||||||
|
font-weight: 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-login {
|
.home-login {
|
||||||
@ -47,6 +57,21 @@
|
|||||||
width: 80px;
|
width: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.featured-product-heading, .all-products {
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.all-products {
|
||||||
|
font-weight: 300;
|
||||||
|
padding-left: 25px;
|
||||||
|
padding-right: 25px;
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user