Clean inline css found in chapter and grant for loops! (#13038)

* Clean inline css found in chapter and grant for loops!

* Remove redundant css

* remove unwanted ide files and append gitignore

* remove unnecessary line from build.json

* restore import for variable.less

* remove kdev from gitignore
This commit is contained in:
Raghavendra Kamath 2018-02-23 14:34:44 +05:30 committed by Faris Ansari
parent 5b9f3b0cd3
commit 1a9388acbb
4 changed files with 8 additions and 89 deletions

View File

@ -65,7 +65,4 @@
<p style="margin: 20px 0 30px;"><a href="/non_profit/join-chapter?name={{ name }}" class='btn btn-primary'>Join this Chapter</a></p> <p style="margin: 20px 0 30px;"><a href="/non_profit/join-chapter?name={{ name }}" class='btn btn-primary'>Join this Chapter</a></p>
<p style="margin: 20px 0 30px;"><a href="/non_profit/leave-chapter?name={{ name }}" class=''>Leave this Chapter</a></p> <p style="margin: 20px 0 30px;"><a href="/non_profit/leave-chapter?name={{ name }}" class=''>Leave this Chapter</a></p>
{% endblock %} {% endblock %}
<!-- this is a sample default web page template -->

View File

@ -19,51 +19,7 @@
</span> </span>
<!-- Assignment of value to global variable not working in jinja --> <!-- Assignment of value to global variable not working in jinja -->
</p> </p>
<p>{{ html2text(doc.introduction[:200]) }}{% if introduction|len > 200 %}...{% endif %}</p> <p>{{ html2text(doc.introduction) | truncate (200) }}</p>
</a> </a>
</div> </div>
{% endif %} {% endif %}
<!-- this is a sample default list template -->
<style type="text/css">
.label {
font-weight: normal;
background-color: #d1d8dd;
font-size: 13px;
padding: 3px 7px;
margin-right: 10px;
}
.with-border {
border: 1px solid #d1d8dd;
border-radius: 3px;
padding: 15px;
margin-bottom: 30px;
}
.with-border h3 {
margin-top: 0px;
}
a {
color: #5E64FF;
}
.clickable a {
color: #161c23;
}
.with-border.clickable:hover {
border-color: #36414C;
background-color: #fafbfc;
}
.with-border a, .with-border a:hover {
text-decoration: none;
}
</style>

View File

@ -60,3 +60,9 @@
<p><br><a href="/my-grant?new=1" class='btn btn-primary'>Post a New Grant</a></p> <p><br><a href="/my-grant?new=1" class='btn btn-primary'>Post a New Grant</a></p>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block style %}
<link type="text/css" rel="stylesheet" href="/assets/css/non-profits.css">
<style>
{% if style is defined %}{{ style }}{% endif %}
</style>
{% endblock %}

View File

@ -9,43 +9,3 @@
</a> </a>
</div> </div>
{% endif %} {% endif %}
<style type="text/css">
.label {
font-weight: normal;
background-color: #d1d8dd;
font-size: 13px;
padding: 3px 7px;
margin-right: 10px;
}
.with-border {
border: 1px solid #d1d8dd;
border-radius: 3px;
padding: 15px;
margin-bottom: 30px;
}
.with-border h3 {
margin-top: 0px;
}
a {
color: #5E64FF;
}
.clickable a {
color: #161c23;
}
.with-border.clickable:hover {
border-color: #36414C;
background-color: #fafbfc;
}
.with-border a, .with-border a:hover {
text-decoration: none;
}
</style>