mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Simplify javascript code for expanding lists and blocks
Move styles to CSS stylesheets by using a class Use a single function for all expanding boxes and lists Separate CSS code for IE8 compatibility
This commit is contained in:
parent
e7c9164b7d
commit
b27bcaf626
4 changed files with 144 additions and 107 deletions
|
@ -12,6 +12,7 @@
|
|||
{% capture metadescription %}{% translate metadescription %}{% endcapture %}{% if metadescription != '' %}<meta name="description" content="{{ metadescription }}">{% endif %}
|
||||
{% lesscss main.less %}
|
||||
<!--[if lt IE 8]>{% lesscss ie.css %}<script type="text/javascript" src="/js/ie.js"></script><![endif]-->
|
||||
<!--[if IE 8]>{% lesscss ie8.less %}<![endif]-->
|
||||
{% if page.lang == 'ar' or page.lang == 'fa' %}{% lesscss rtl.less %}{% endif %}
|
||||
{% if page.lang == 'bg' or page.lang == 'el' or page.lang == 'ko' or page.lang == 'hi' or page.lang == 'pl' or page.lang == 'sl' or page.lang == 'ro' or page.lang == 'ru' or page.lang == 'tr' or page.lang == 'uk' or page.lang == 'zh_CN' or page.lang == 'zh_TW' %}{% lesscss sans.less %}{% endif %}
|
||||
<script type="text/javascript" src="/js/base.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue