Emanuele Marchi 11 سال پیش
والد
کامیت
00b97d52f7

+ 2 - 0
build/css/bootstrap2/bootstrap-switch.css

@@ -432,5 +432,7 @@
   position: absolute !important;
   top: 0;
   left: 0;
+  opacity: 0;
+  filter: alpha(opacity=0);
   z-index: -1;
 }

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
build/css/bootstrap2/bootstrap-switch.min.css


+ 2 - 0
build/css/bootstrap3/bootstrap-switch.css

@@ -188,5 +188,7 @@
   position: absolute !important;
   top: 0;
   left: 0;
+  opacity: 0;
+  filter: alpha(opacity=0);
   z-index: -1;
 }

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
build/css/bootstrap3/bootstrap-switch.min.css


+ 7 - 1
docs/index.css

@@ -21,7 +21,7 @@ h1 {
 }
 
 #github {
-  display: block;
+  display: none;
   position: fixed;
   width: 150px;
   height: 150px;
@@ -36,3 +36,9 @@ h1 {
   padding-top: 40px;
   padding-bottom: 40px;
 }
+
+@media (min-width: 768px) {
+  #github {
+    display: block;
+  }
+}

+ 2 - 2
index.html

@@ -32,7 +32,7 @@
     <header class="navbar navbar-default navbar-fixed-top header" role="banner">
       <div class="container">
         <div class="row">
-          <div class="col-sm-10 col-sm-offset-1">
+          <div class="col-md-10 col-md-offset-1">
             <div class="navbar-header">
               <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#collapse">
                 <span class="sr-only">Toggle navigation</span>
@@ -97,7 +97,7 @@
     </main>
     <div class="container">
       <div class="row">
-        <div class="col-sm-10 col-sm-offset-1">
+        <div class="col-md-10 col-md-offset-1">
         <section id="getting-started" class="section">
           <div class="page-header">
             <h2><a href="#getting-started">Getting started</a></h2>

+ 1 - 0
src/less/bootstrap2/bootstrap-switch.less

@@ -182,6 +182,7 @@
     position: absolute !important;
     top: 0;
     left: 0;
+    .opacity(0);
     z-index: -1;
   }
 }

+ 1 - 0
src/less/bootstrap3/bootstrap-switch.less

@@ -190,6 +190,7 @@
     position: absolute !important;
     top: 0;
     left: 0;
+    .opacity(0);
     z-index: -1;
   }
 }

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است