fix css
This commit is contained in:
parent
cc2c4de595
commit
36c2de429b
1 changed files with 23 additions and 13 deletions
|
@ -21,17 +21,27 @@
|
||||||
<link rel="icon" type="image/png" sizes="512x512" href="<?=$this->get_url("public/icons/logo512.png", TRUE)?>">
|
<link rel="icon" type="image/png" sizes="512x512" href="<?=$this->get_url("public/icons/logo512.png", TRUE)?>">
|
||||||
<link rel="icon" type="image/png" sizes="640x640" href="<?=$this->get_url("public/icons/logo640.png", TRUE)?>">
|
<link rel="icon" type="image/png" sizes="640x640" href="<?=$this->get_url("public/icons/logo640.png", TRUE)?>">
|
||||||
<link rel="manifest" href="/manifest.json">
|
<link rel="manifest" href="/manifest.json">
|
||||||
<?=$this->link_css('css/main.css');?>
|
<?php
|
||||||
<?=ie($this->embed_css('css/ie/ie.css'))?>
|
/* Main CSS */
|
||||||
<?=ie_ua($this->embed_css('css/ie/ie4.css'), 4)?>
|
if (CONTEXT['app'] != 'bucket')
|
||||||
<!--[if (gt IE 5)&(lt IE 8) ]>
|
echo $this->link_css('css/main.css');
|
||||||
<?=$this->embed_css('css/ie/ie6.css')?>
|
|
||||||
<![endif]-->
|
/* IE 4-7 Styles */
|
||||||
<?php foreach($css as $file)
|
echo ie($this->embed_css('css/ie/ie.css'));
|
||||||
|
/* IE 4 Styles */
|
||||||
|
echo ie_ua($this->embed_css('css/ie/ie4.css'), 4);
|
||||||
|
/* IE 6-7 Styles */
|
||||||
|
echo '<!--[if (gt IE 5)&(lt IE 8) ]>';
|
||||||
|
echo $this->embed_css('css/ie/ie6.css');
|
||||||
|
echo '<![endif]-->';
|
||||||
|
|
||||||
|
/* CSS Files */
|
||||||
|
foreach($css as $file)
|
||||||
echo $this->embed_css($file);
|
echo $this->embed_css($file);
|
||||||
?>
|
|
||||||
<?=ie('<iframe width="0" height="0">')?>
|
/* JS Files */
|
||||||
<?php foreach($js as $file)
|
echo ie('<iframe width="0" height="0">');
|
||||||
|
foreach($js as $file)
|
||||||
echo $this->link_js($file);
|
echo $this->link_js($file);
|
||||||
|
echo ie('</iframe>');
|
||||||
?>
|
?>
|
||||||
<?=ie('</iframe>')?>
|
|
||||||
|
|
Loading…
Reference in a new issue