mirror of
https://github.com/leanote/leanote-ios.git
synced 2026-01-13 06:03:40 +08:00
@@ -38,7 +38,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>95B</string>
|
||||
<string>95C</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<key>AutocorrectionType</key>
|
||||
<string>No</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>1.0 (95B)</string>
|
||||
<string>1.0 (95C)</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>Key</key>
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
html, body {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
* {
|
||||
outline: 0px solid transparent;
|
||||
/*点击没有高亮focus*/
|
||||
@@ -37,7 +42,14 @@ body {
|
||||
font-size: 14px;
|
||||
font-family:OpenSans, sans-serif;
|
||||
overflow-x: hidden;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
.ipad_body {
|
||||
padding-left: 80px;
|
||||
padding-right: 80px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
@@ -91,10 +103,6 @@ h3 {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
#left-column,
|
||||
#right-column
|
||||
{
|
||||
}
|
||||
|
||||
#wmd-input,
|
||||
#wmd-input-sub {
|
||||
@@ -285,6 +293,7 @@ span.token.p {
|
||||
display: inline-block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #f0f0f0;
|
||||
outline: 0;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -24,6 +24,11 @@
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
html, body {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
* {
|
||||
outline: 0px solid transparent;
|
||||
/*点击没有高亮focus*/
|
||||
@@ -37,7 +42,14 @@ body {
|
||||
font-size: 14px;
|
||||
font-family:OpenSans, sans-serif;
|
||||
overflow-x: hidden;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
.ipad_body {
|
||||
padding-left: 80px;
|
||||
padding-right: 80px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
@@ -91,10 +103,6 @@ h3 {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
#left-column,
|
||||
#right-column
|
||||
{
|
||||
}
|
||||
|
||||
#wmd-input,
|
||||
#wmd-input-sub {
|
||||
@@ -284,4 +292,4 @@ span.token.p {
|
||||
{
|
||||
display: inline-block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,6 +133,11 @@ var LEAMD = {
|
||||
// 绑定事件
|
||||
init: function() {
|
||||
|
||||
this.isiPad = (navigator.userAgent.match(/iPad/i) != null);
|
||||
if (this.isiPad) {
|
||||
$(document.body).addClass('ipad_body');
|
||||
}
|
||||
|
||||
// tap事件
|
||||
tapLea('#preview-contents', 'img, a', function() {
|
||||
if($(this).is('img')) {
|
||||
|
||||
Reference in New Issue
Block a user