소스 검색

Add condition for IE < 10

boutils 10 년 전
부모
커밋
4cf63f6318
3개의 변경된 파일25개의 추가작업 그리고 0개의 파일을 삭제
  1. 0 0
      css/main.css
  2. 15 0
      css/main.less
  3. 10 0
      index.html

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
css/main.css


+ 15 - 0
css/main.less

@@ -3,6 +3,21 @@ html {
   width: 100%;
 }
 
+.ie-compatibility {
+  position: absolute;
+  width: 100%;
+  height: 100%;
+  top: 0;
+  left: 0;
+  background: #fafafa;
+  overflow: hidden;
+  z-index: 9999;
+  text-align: center;
+  vertical-align: middle;
+  padding-top: 100px;
+  font-size: 24px;
+}
+
 body {
   background-color: #333;
   background: url("../img/background.png") no-repeat top center fixed;

+ 10 - 0
index.html

@@ -60,6 +60,16 @@
     <script type = "text/javascript" src = "js/app.js"></script>
   </head>
 
+  <!--[If lte IE 9]>
+
+    <div class = "ie-compatibility">
+        Votre navigateur Internet Explorer n'est pas compatible avec notre logiciel, il vous faut au minimum Internet Explorer 10.<br><br>
+        Vous pouvez aussi télécharger un de ces navigateurs:<br><br>
+        - <a href="https://www.google.fr/intl/fr/chrome/" target = "_blank">Google Chrome</a><br>
+        - <a href="http://www.mozilla.org/download" target = "_blank">Mozilla Firefox</a>
+    </div>
+  <![endif]-->
+
   <body ng-controller = "mainController">
 
     <div class = "title">

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.