Upgrade to Bootstrap 3
This commit is contained in:
parent
90e8573864
commit
a4412cb2f4
@ -1,5 +1,5 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
#Date Tue Sep 03 2013 14:40:23
|
#Date Tue Sep 03 2013 18:02:10
|
||||||
|
|
||||||
CACHE:
|
CACHE:
|
||||||
index.html
|
index.html
|
||||||
|
218
res-min/main.js
218
res-min/main.js
File diff suppressed because one or more lines are too long
@ -1309,9 +1309,6 @@ th.visible-print,td.visible-print{display:none !important}
|
|||||||
.popover[class*="tour-"] .popover-navigation *[data-role=prev].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=next].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=end].disabled{cursor:default}
|
.popover[class*="tour-"] .popover-navigation *[data-role=prev].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=next].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=end].disabled{cursor:default}
|
||||||
.popover[class*="tour-"].orphan{position:fixed;margin-top:0}
|
.popover[class*="tour-"].orphan{position:fixed;margin-top:0}
|
||||||
.popover[class*="tour-"].orphan .arrow{display:none}
|
.popover[class*="tour-"].orphan .arrow{display:none}
|
||||||
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
|
|
||||||
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px}
|
|
||||||
.popover .disabled{display:none}
|
|
||||||
body{tab-size:4}
|
body{tab-size:4}
|
||||||
#preview-contents{padding:15px;margin-bottom:50px;background-color:#edf1f3}
|
#preview-contents{padding:15px;margin-bottom:50px;background-color:#edf1f3}
|
||||||
.ui-layout-east #preview-contents{padding-left:5px}
|
.ui-layout-east #preview-contents{padding-left:5px}
|
||||||
@ -1458,10 +1455,28 @@ body{tab-size:4}
|
|||||||
.ui-layout-resizer.ui-layout-resizer-east .ui-layout-toggler-north{width:35px !important;height:60px !important}
|
.ui-layout-resizer.ui-layout-resizer-east .ui-layout-toggler-north{width:35px !important;height:60px !important}
|
||||||
.ui-layout-resizer.ui-layout-resizer-south .ui-layout-toggler-north{height:35px !important}
|
.ui-layout-resizer.ui-layout-resizer-south .ui-layout-toggler-north{height:35px !important}
|
||||||
a code{color:inherit}
|
a code{color:inherit}
|
||||||
h1{margin:30px 0 30px}
|
h1{margin:40px 0}
|
||||||
|
h2{margin:30px 0}
|
||||||
|
h3{margin:20px 0}
|
||||||
|
h4,h5,h6{margin:15px 0}
|
||||||
.toc ul{list-style-type:none}
|
.toc ul{list-style-type:none}
|
||||||
p,pre,blockquote{margin:0 0 20px}
|
p,pre,blockquote{margin:0 0 15px}
|
||||||
hr{border-top:1px solid #ddd;margin:30px 0}
|
hr{border-top:1px solid #ddd;margin:30px 0}
|
||||||
|
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
|
||||||
|
pre{padding:9.5px !important;border:1px solid #d5dde3 !important}
|
||||||
|
pre code{background-color:transparent !important}
|
||||||
|
dt,dd{margin-top:5px;margin-bottom:5px}
|
||||||
|
dd{margin-left:40px}
|
||||||
|
table{margin-bottom:20px}
|
||||||
|
table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd}
|
||||||
|
table th{font-weight:bold}
|
||||||
|
table thead th{vertical-align:bottom}
|
||||||
|
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}
|
||||||
|
table tbody+tbody{border-top:2px solid #dddddd}
|
||||||
|
blockquote{border-left-width:10px}
|
||||||
|
blockquote p{margin-bottom:15px;font-size:14px;line-height:20px}
|
||||||
|
blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}
|
||||||
|
ul,ol{margin-bottom:15px}
|
||||||
#wmd-input{-webkit-box-shadow:none;box-shadow:none}
|
#wmd-input{-webkit-box-shadow:none;box-shadow:none}
|
||||||
#wmd-input,#md-section-helper{resize:none;border:none !important}
|
#wmd-input,#md-section-helper{resize:none;border:none !important}
|
||||||
#md-section-helper{position:absolute;top:-100px;height:1px;padding:0 6px;overflow-y:scroll;z-index:-1}
|
#md-section-helper{position:absolute;top:-100px;height:1px;padding:0 6px;overflow-y:scroll;z-index:-1}
|
||||||
@ -1500,24 +1515,12 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none}
|
|||||||
.action-import-image-gplus{float:left}
|
.action-import-image-gplus{float:left}
|
||||||
.tooltip-inner{text-align:left}
|
.tooltip-inner{text-align:left}
|
||||||
.tooltip li{line-height:1.4}
|
.tooltip li{line-height:1.4}
|
||||||
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
|
|
||||||
pre{padding:9.5px !important;border:1px solid #d5dde3 !important}
|
|
||||||
pre code{background-color:transparent !important}
|
|
||||||
dt,dd{margin-top:5px;margin-bottom:5px}
|
|
||||||
dd{margin-left:40px}
|
|
||||||
table{margin-bottom:20px}
|
|
||||||
table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd}
|
|
||||||
table th{font-weight:bold}
|
|
||||||
table thead th{vertical-align:bottom}
|
|
||||||
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}
|
|
||||||
table tbody+tbody{border-top:2px solid #dddddd}
|
|
||||||
blockquote{border-left-width:10px}
|
|
||||||
blockquote p{margin-bottom:20px;font-size:14px;font-weight:300;line-height:20px}
|
|
||||||
blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}
|
|
||||||
ul,ol{margin-bottom:20px}
|
|
||||||
input[type="file"]{line-height:inherit;height:inherit;border:none !important}
|
input[type="file"]{line-height:inherit;height:inherit;border:none !important}
|
||||||
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
|
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
|
||||||
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
|
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
|
||||||
|
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
|
||||||
|
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px}
|
||||||
|
.popover .disabled{display:none}
|
||||||
div.jGrowl{z-index:1040;font-size:inherit}
|
div.jGrowl{z-index:1040;font-size:inherit}
|
||||||
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}
|
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}
|
||||||
div.jGrowl div.jGrowl-notification{min-height:80px}
|
div.jGrowl div.jGrowl-notification{min-height:80px}
|
||||||
|
@ -1309,9 +1309,6 @@ th.visible-print,td.visible-print{display:none !important}
|
|||||||
.popover[class*="tour-"] .popover-navigation *[data-role=prev].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=next].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=end].disabled{cursor:default}
|
.popover[class*="tour-"] .popover-navigation *[data-role=prev].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=next].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=end].disabled{cursor:default}
|
||||||
.popover[class*="tour-"].orphan{position:fixed;margin-top:0}
|
.popover[class*="tour-"].orphan{position:fixed;margin-top:0}
|
||||||
.popover[class*="tour-"].orphan .arrow{display:none}
|
.popover[class*="tour-"].orphan .arrow{display:none}
|
||||||
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
|
|
||||||
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px}
|
|
||||||
.popover .disabled{display:none}
|
|
||||||
body{tab-size:4}
|
body{tab-size:4}
|
||||||
#preview-contents{padding:15px;margin-bottom:50px;background-color:#f1f1f1}
|
#preview-contents{padding:15px;margin-bottom:50px;background-color:#f1f1f1}
|
||||||
.ui-layout-east #preview-contents{padding-left:5px}
|
.ui-layout-east #preview-contents{padding-left:5px}
|
||||||
@ -1458,10 +1455,28 @@ body{tab-size:4}
|
|||||||
.ui-layout-resizer.ui-layout-resizer-east .ui-layout-toggler-north{width:35px !important;height:60px !important}
|
.ui-layout-resizer.ui-layout-resizer-east .ui-layout-toggler-north{width:35px !important;height:60px !important}
|
||||||
.ui-layout-resizer.ui-layout-resizer-south .ui-layout-toggler-north{height:35px !important}
|
.ui-layout-resizer.ui-layout-resizer-south .ui-layout-toggler-north{height:35px !important}
|
||||||
a code{color:inherit}
|
a code{color:inherit}
|
||||||
h1{margin:30px 0 30px}
|
h1{margin:40px 0}
|
||||||
|
h2{margin:30px 0}
|
||||||
|
h3{margin:20px 0}
|
||||||
|
h4,h5,h6{margin:15px 0}
|
||||||
.toc ul{list-style-type:none}
|
.toc ul{list-style-type:none}
|
||||||
p,pre,blockquote{margin:0 0 20px}
|
p,pre,blockquote{margin:0 0 15px}
|
||||||
hr{border-top:1px solid #ddd;margin:30px 0}
|
hr{border-top:1px solid #ddd;margin:30px 0}
|
||||||
|
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
|
||||||
|
pre{padding:9.5px !important;border:1px solid #dddddd !important}
|
||||||
|
pre code{background-color:transparent !important}
|
||||||
|
dt,dd{margin-top:5px;margin-bottom:5px}
|
||||||
|
dd{margin-left:40px}
|
||||||
|
table{margin-bottom:20px}
|
||||||
|
table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd}
|
||||||
|
table th{font-weight:bold}
|
||||||
|
table thead th{vertical-align:bottom}
|
||||||
|
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}
|
||||||
|
table tbody+tbody{border-top:2px solid #dddddd}
|
||||||
|
blockquote{border-left-width:10px}
|
||||||
|
blockquote p{margin-bottom:15px;font-size:14px;line-height:20px}
|
||||||
|
blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}
|
||||||
|
ul,ol{margin-bottom:15px}
|
||||||
#wmd-input{-webkit-box-shadow:none;box-shadow:none}
|
#wmd-input{-webkit-box-shadow:none;box-shadow:none}
|
||||||
#wmd-input,#md-section-helper{resize:none;border:none !important}
|
#wmd-input,#md-section-helper{resize:none;border:none !important}
|
||||||
#md-section-helper{position:absolute;top:-100px;height:1px;padding:0 6px;overflow-y:scroll;z-index:-1}
|
#md-section-helper{position:absolute;top:-100px;height:1px;padding:0 6px;overflow-y:scroll;z-index:-1}
|
||||||
@ -1500,24 +1515,12 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none}
|
|||||||
.action-import-image-gplus{float:left}
|
.action-import-image-gplus{float:left}
|
||||||
.tooltip-inner{text-align:left}
|
.tooltip-inner{text-align:left}
|
||||||
.tooltip li{line-height:1.4}
|
.tooltip li{line-height:1.4}
|
||||||
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
|
|
||||||
pre{padding:9.5px !important;border:1px solid #dddddd !important}
|
|
||||||
pre code{background-color:transparent !important}
|
|
||||||
dt,dd{margin-top:5px;margin-bottom:5px}
|
|
||||||
dd{margin-left:40px}
|
|
||||||
table{margin-bottom:20px}
|
|
||||||
table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd}
|
|
||||||
table th{font-weight:bold}
|
|
||||||
table thead th{vertical-align:bottom}
|
|
||||||
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}
|
|
||||||
table tbody+tbody{border-top:2px solid #dddddd}
|
|
||||||
blockquote{border-left-width:10px}
|
|
||||||
blockquote p{margin-bottom:20px;font-size:14px;font-weight:300;line-height:20px}
|
|
||||||
blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}
|
|
||||||
ul,ol{margin-bottom:20px}
|
|
||||||
input[type="file"]{line-height:inherit;height:inherit;border:none !important}
|
input[type="file"]{line-height:inherit;height:inherit;border:none !important}
|
||||||
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
|
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
|
||||||
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
|
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
|
||||||
|
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
|
||||||
|
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px}
|
||||||
|
.popover .disabled{display:none}
|
||||||
div.jGrowl{z-index:1040;font-size:inherit}
|
div.jGrowl{z-index:1040;font-size:inherit}
|
||||||
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}
|
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}
|
||||||
div.jGrowl div.jGrowl-notification{min-height:80px}
|
div.jGrowl div.jGrowl-notification{min-height:80px}
|
||||||
|
@ -1309,9 +1309,6 @@ th.visible-print,td.visible-print{display:none !important}
|
|||||||
.popover[class*="tour-"] .popover-navigation *[data-role=prev].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=next].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=end].disabled{cursor:default}
|
.popover[class*="tour-"] .popover-navigation *[data-role=prev].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=next].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=end].disabled{cursor:default}
|
||||||
.popover[class*="tour-"].orphan{position:fixed;margin-top:0}
|
.popover[class*="tour-"].orphan{position:fixed;margin-top:0}
|
||||||
.popover[class*="tour-"].orphan .arrow{display:none}
|
.popover[class*="tour-"].orphan .arrow{display:none}
|
||||||
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
|
|
||||||
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px}
|
|
||||||
.popover .disabled{display:none}
|
|
||||||
body{tab-size:4}
|
body{tab-size:4}
|
||||||
#preview-contents{padding:15px;margin-bottom:50px;background-color:#232323}
|
#preview-contents{padding:15px;margin-bottom:50px;background-color:#232323}
|
||||||
.ui-layout-east #preview-contents{padding-left:5px}
|
.ui-layout-east #preview-contents{padding-left:5px}
|
||||||
@ -1458,10 +1455,28 @@ body{tab-size:4}
|
|||||||
.ui-layout-resizer.ui-layout-resizer-east .ui-layout-toggler-north{width:35px !important;height:60px !important}
|
.ui-layout-resizer.ui-layout-resizer-east .ui-layout-toggler-north{width:35px !important;height:60px !important}
|
||||||
.ui-layout-resizer.ui-layout-resizer-south .ui-layout-toggler-north{height:35px !important}
|
.ui-layout-resizer.ui-layout-resizer-south .ui-layout-toggler-north{height:35px !important}
|
||||||
a code{color:inherit}
|
a code{color:inherit}
|
||||||
h1{margin:30px 0 30px}
|
h1{margin:40px 0}
|
||||||
|
h2{margin:30px 0}
|
||||||
|
h3{margin:20px 0}
|
||||||
|
h4,h5,h6{margin:15px 0}
|
||||||
.toc ul{list-style-type:none}
|
.toc ul{list-style-type:none}
|
||||||
p,pre,blockquote{margin:0 0 20px}
|
p,pre,blockquote{margin:0 0 15px}
|
||||||
hr{border-top:1px solid #ddd;margin:30px 0}
|
hr{border-top:1px solid #ddd;margin:30px 0}
|
||||||
|
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
|
||||||
|
pre{padding:9.5px !important;border:1px solid #444444 !important}
|
||||||
|
pre code{background-color:transparent !important}
|
||||||
|
dt,dd{margin-top:5px;margin-bottom:5px}
|
||||||
|
dd{margin-left:40px}
|
||||||
|
table{margin-bottom:20px}
|
||||||
|
table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd}
|
||||||
|
table th{font-weight:bold}
|
||||||
|
table thead th{vertical-align:bottom}
|
||||||
|
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}
|
||||||
|
table tbody+tbody{border-top:2px solid #dddddd}
|
||||||
|
blockquote{border-left-width:10px}
|
||||||
|
blockquote p{margin-bottom:15px;font-size:14px;line-height:20px}
|
||||||
|
blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}
|
||||||
|
ul,ol{margin-bottom:15px}
|
||||||
#wmd-input{-webkit-box-shadow:none;box-shadow:none}
|
#wmd-input{-webkit-box-shadow:none;box-shadow:none}
|
||||||
#wmd-input,#md-section-helper{resize:none;border:none !important}
|
#wmd-input,#md-section-helper{resize:none;border:none !important}
|
||||||
#md-section-helper{position:absolute;top:-100px;height:1px;padding:0 6px;overflow-y:scroll;z-index:-1}
|
#md-section-helper{position:absolute;top:-100px;height:1px;padding:0 6px;overflow-y:scroll;z-index:-1}
|
||||||
@ -1500,24 +1515,12 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none}
|
|||||||
.action-import-image-gplus{float:left}
|
.action-import-image-gplus{float:left}
|
||||||
.tooltip-inner{text-align:left}
|
.tooltip-inner{text-align:left}
|
||||||
.tooltip li{line-height:1.4}
|
.tooltip li{line-height:1.4}
|
||||||
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
|
|
||||||
pre{padding:9.5px !important;border:1px solid #444444 !important}
|
|
||||||
pre code{background-color:transparent !important}
|
|
||||||
dt,dd{margin-top:5px;margin-bottom:5px}
|
|
||||||
dd{margin-left:40px}
|
|
||||||
table{margin-bottom:20px}
|
|
||||||
table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd}
|
|
||||||
table th{font-weight:bold}
|
|
||||||
table thead th{vertical-align:bottom}
|
|
||||||
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}
|
|
||||||
table tbody+tbody{border-top:2px solid #dddddd}
|
|
||||||
blockquote{border-left-width:10px}
|
|
||||||
blockquote p{margin-bottom:20px;font-size:14px;font-weight:300;line-height:20px}
|
|
||||||
blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}
|
|
||||||
ul,ol{margin-bottom:20px}
|
|
||||||
input[type="file"]{line-height:inherit;height:inherit;border:none !important}
|
input[type="file"]{line-height:inherit;height:inherit;border:none !important}
|
||||||
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
|
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
|
||||||
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
|
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
|
||||||
|
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
|
||||||
|
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px}
|
||||||
|
.popover .disabled{display:none}
|
||||||
div.jGrowl{z-index:1040;font-size:inherit}
|
div.jGrowl{z-index:1040;font-size:inherit}
|
||||||
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(86,86,86,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}
|
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(86,86,86,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}
|
||||||
div.jGrowl div.jGrowl-notification{min-height:80px}
|
div.jGrowl div.jGrowl-notification{min-height:80px}
|
||||||
|
@ -61,251 +61,142 @@ define([
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
var converter = undefined;
|
|
||||||
var ready = false; // true after initial typeset is complete
|
|
||||||
var pending = false; // true when MathJax has been requested
|
|
||||||
var preview = null; // the preview container
|
|
||||||
var inline = "$"; // the inline math delimiter
|
|
||||||
|
|
||||||
var blocks, start, end, last, braces; // used in searching for math
|
|
||||||
var math; // stores math until markdone is done
|
|
||||||
|
|
||||||
var HUB = MathJax.Hub;
|
|
||||||
|
|
||||||
//
|
|
||||||
// Runs after initial typeset
|
|
||||||
//
|
|
||||||
HUB.Queue(function() {
|
|
||||||
ready = true;
|
|
||||||
HUB.processUpdateTime = 50; // reduce update time so that we can cancel
|
|
||||||
// easier
|
|
||||||
HUB.Config({ "HTML-CSS" : { EqnChunk : 10, EqnChunkFactor : 1 }, // reduce
|
|
||||||
// chunk
|
|
||||||
// for
|
|
||||||
// more
|
|
||||||
// frequent
|
|
||||||
// updates
|
|
||||||
SVG : { EqnChunk : 10, EqnChunkFactor : 1 } });
|
|
||||||
});
|
|
||||||
|
|
||||||
//
|
|
||||||
// The pattern for math delimiters and special symbols
|
|
||||||
// needed for searching for math in the page.
|
|
||||||
//
|
|
||||||
var SPLIT = /(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[\\{}$]|[{}]|(?:\n\s*)+|@@\d+@@)/i;
|
|
||||||
|
|
||||||
//
|
|
||||||
// The math is in blocks i through j, so
|
|
||||||
// collect it into one block and clear the others.
|
|
||||||
// Replace &, <, and > by named entities.
|
|
||||||
// For IE, put <br> at the ends of comments since IE removes \n.
|
|
||||||
// Clear the current math positions and store the index of the
|
|
||||||
// math, then push the math string onto the storage array.
|
|
||||||
//
|
|
||||||
function processMath(i, j) {
|
|
||||||
var block = blocks.slice(i, j + 1).join("").replace(/&/g, "&") // use
|
|
||||||
// HTML
|
|
||||||
// entity
|
|
||||||
// for
|
|
||||||
// &
|
|
||||||
.replace(/</g, "<") // use HTML entity for <
|
|
||||||
.replace(/>/g, ">") // use HTML entity for >
|
|
||||||
;
|
|
||||||
if (HUB.Browser.isMSIE) {
|
|
||||||
block = block.replace(/(%[^\n]*)\n/g, "$1<br/>\n")
|
|
||||||
}
|
|
||||||
while (j > i) {
|
|
||||||
blocks[j] = "";
|
|
||||||
j--
|
|
||||||
}
|
|
||||||
blocks[i] = "@@" + math.length + "@@";
|
|
||||||
math.push(block);
|
|
||||||
start = end = last = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// Break up the text into its component parts and search
|
|
||||||
// through them for math delimiters, braces, linebreaks, etc.
|
|
||||||
// Math delimiters must match and braces must balance.
|
|
||||||
// Don't allow math to pass through a double linebreak
|
|
||||||
// (which will be a paragraph).
|
|
||||||
//
|
|
||||||
function removeMath(text) {
|
|
||||||
start = end = last = null; // for tracking math delimiters
|
|
||||||
math = []; // stores math strings for latter
|
|
||||||
|
|
||||||
blocks = text.replace(/\r\n?/g, "\n").split(SPLIT);
|
|
||||||
for ( var i = 1, m = blocks.length; i < m; i += 2) {
|
|
||||||
var block = blocks[i];
|
|
||||||
if (block.charAt(0) === "@") {
|
|
||||||
//
|
|
||||||
// Things that look like our math markers will get
|
|
||||||
// stored and then retrieved along with the math.
|
|
||||||
//
|
|
||||||
blocks[i] = "@@" + math.length + "@@";
|
|
||||||
math.push(block);
|
|
||||||
} else if (start) {
|
|
||||||
//
|
|
||||||
// If we are in math, look for the end delimiter,
|
|
||||||
// but don't go past double line breaks, and
|
|
||||||
// and balance braces within the math.
|
|
||||||
//
|
|
||||||
if (block === end) {
|
|
||||||
if (braces) {
|
|
||||||
last = i
|
|
||||||
} else {
|
|
||||||
processMath(start, i)
|
|
||||||
}
|
|
||||||
} else if (block.match(/\n.*\n/)) {
|
|
||||||
if (last) {
|
|
||||||
i = last;
|
|
||||||
processMath(start, i)
|
|
||||||
}
|
|
||||||
start = end = last = null;
|
|
||||||
braces = 0;
|
|
||||||
} else if (block === "{") {
|
|
||||||
braces++
|
|
||||||
} else if (block === "}" && braces) {
|
|
||||||
braces--
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
//
|
|
||||||
// Look for math start delimiters and when
|
|
||||||
// found, set up the end delimiter.
|
|
||||||
//
|
|
||||||
if (block === inline || block === "$$") {
|
|
||||||
start = i;
|
|
||||||
end = block;
|
|
||||||
braces = 0;
|
|
||||||
} else if (block.substr(1, 5) === "begin") {
|
|
||||||
start = i;
|
|
||||||
end = "\\end" + block.substr(6);
|
|
||||||
braces = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (last) {
|
|
||||||
processMath(start, last)
|
|
||||||
}
|
|
||||||
return blocks.join("");
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// Put back the math strings that were saved,
|
|
||||||
// and clear the math array (no need to keep it around).
|
|
||||||
//
|
|
||||||
function replaceMath(text) {
|
|
||||||
text = text.replace(/@@(\d+)@@/g, function(match, n) {
|
|
||||||
return math[n]
|
|
||||||
});
|
|
||||||
math = null;
|
|
||||||
return text;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// This is run to restart MathJax after it has finished
|
|
||||||
// the previous run (that may have been canceled)
|
|
||||||
//
|
|
||||||
var afterRefreshCallback = undefined;
|
|
||||||
function RestartMJ() {
|
|
||||||
pending = false;
|
|
||||||
HUB.cancelTypeset = false; // won't need to do this in the future
|
|
||||||
HUB.Queue([ "Typeset", HUB, preview ]);
|
|
||||||
HUB.Queue(afterRefreshCallback);
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// When the preview changes, cancel MathJax and restart,
|
|
||||||
// if we haven't done that already.
|
|
||||||
//
|
|
||||||
function UpdateMJ() {
|
|
||||||
// sometimes ready flag is not set already (on opera basically)
|
|
||||||
//if (!pending && ready) {
|
|
||||||
if (!pending) {
|
|
||||||
pending = true;
|
|
||||||
HUB.Cancel();
|
|
||||||
HUB.Queue(RestartMJ);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// Save the preview ID and the inline math delimiter.
|
|
||||||
// Create a converter for the editor and register a preConversion hook
|
|
||||||
// to handle escaping the math.
|
|
||||||
// Create a preview refresh hook to handle starting MathJax.
|
|
||||||
//
|
|
||||||
mathJax.onEditorConfigure = function(editorObject) {
|
mathJax.onEditorConfigure = function(editorObject) {
|
||||||
preview = document.getElementById("preview-contents");
|
preview = document.getElementById("preview-contents");
|
||||||
|
|
||||||
converter = editorObject.getConverter();
|
var converter = editorObject.getConverter();
|
||||||
converter.hooks.chain("preConversion", removeMath);
|
converter.hooks.chain("preConversion", p);
|
||||||
converter.hooks.chain("postConversion", replaceMath);
|
converter.hooks.chain("postConversion", d);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var afterRefreshCallback = undefined;
|
||||||
mathJax.onAsyncPreview = function(callback) {
|
mathJax.onAsyncPreview = function(callback) {
|
||||||
afterRefreshCallback = callback;
|
afterRefreshCallback = callback;
|
||||||
UpdateMJ();
|
j();
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
// From math.stackexchange.com...
|
||||||
// Set up MathJax to allow canceling of typesetting, if it
|
|
||||||
// doesn't already have that.
|
|
||||||
//
|
|
||||||
if (!HUB.Cancel) {
|
|
||||||
|
|
||||||
HUB.cancelTypeset = false;
|
function b(a, f, b) {
|
||||||
var CANCELMESSAGE = "MathJax Canceled";
|
var c = k.slice(a, f + 1).join("").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
||||||
|
for (h.Browser.isMSIE && (c = c.replace(/(%[^\n]*)\n/g, "$1<br/>\n")); f > a; )
|
||||||
HUB.Register
|
k[f] = "", f--;
|
||||||
.StartupHook(
|
k[a] = "@@" + m.length + "@@";
|
||||||
"HTML-CSS Jax Config",
|
b && (c = b(c));
|
||||||
function() {
|
m.push(c);
|
||||||
var HTMLCSS = MathJax.OutputJax["HTML-CSS"], TRANSLATE = HTMLCSS.Translate;
|
i = o = l = null
|
||||||
HTMLCSS.Augment({ Translate : function(script, state) {
|
|
||||||
if (HUB.cancelTypeset || state.cancelled) {
|
|
||||||
throw Error(CANCELMESSAGE)
|
|
||||||
}
|
}
|
||||||
return TRANSLATE.call(HTMLCSS, script, state);
|
function p(a) {
|
||||||
} });
|
i = o = l = null;
|
||||||
|
m = [];
|
||||||
|
var f;
|
||||||
|
/`/.test(a) ? (a = a.replace(/~/g, "~T").replace(/(^|[^\\])(`+)([^\n]*?[^`\n])\2(?!`)/gm, function(a) {
|
||||||
|
return a.replace(/\$/g, "~D")
|
||||||
|
}), f = function(a) {
|
||||||
|
return a.replace(/~([TD])/g,
|
||||||
|
function(a, c) {
|
||||||
|
return {T: "~",D: "$"}[c]
|
||||||
|
})
|
||||||
|
}) : f = function(a) {
|
||||||
|
return a
|
||||||
|
};
|
||||||
|
k = r(a.replace(/\r\n?/g, "\n"), u);
|
||||||
|
for (var a = 1, d = k.length; a < d; a += 2) {
|
||||||
|
var c = k[a];
|
||||||
|
"@" === c.charAt(0) ? (k[a] = "@@" + m.length + "@@", m.push(c)) : i ? c === o ? n ? l = a : b(i, a, f) : c.match(/\n.*\n/) ? (l && (a = l, b(i, a, f)), i = o = l = null, n = 0) : "{" === c ? n++ : "}" === c && n && n-- : c === s || "$$" === c ? (i = a, o = c, n = 0) : "begin" === c.substr(1, 5) && (i = a, o = "\\end" + c.substr(6), n = 0)
|
||||||
|
}
|
||||||
|
l && b(i, l, f);
|
||||||
|
return f(k.join(""))
|
||||||
|
}
|
||||||
|
function d(a) {
|
||||||
|
a = a.replace(/@@(\d+)@@/g, function(a, b) {
|
||||||
|
return m[b]
|
||||||
});
|
});
|
||||||
|
m = null;
|
||||||
HUB.Register.StartupHook("SVG Jax Config", function() {
|
return a
|
||||||
var SVG = MathJax.OutputJax["SVG"], TRANSLATE = SVG.Translate;
|
|
||||||
SVG.Augment({ Translate : function(script, state) {
|
|
||||||
if (HUB.cancelTypeset || state.cancelled) {
|
|
||||||
throw Error(CANCELMESSAGE)
|
|
||||||
}
|
}
|
||||||
return TRANSLATE.call(SVG, script, state);
|
function e() {
|
||||||
} });
|
q = !1;
|
||||||
|
h.cancelTypeset = !1;
|
||||||
|
h.Queue(["Typeset", h, t])
|
||||||
|
h.Queue(afterRefreshCallback);
|
||||||
|
}
|
||||||
|
function j() {
|
||||||
|
!q && g && (q = !0, h.Cancel(), h.Queue(e))
|
||||||
|
}
|
||||||
|
var g = !1, q = !1, t = null, s = "$", k, i, o, l, n, m, h = MathJax.Hub;
|
||||||
|
h.Queue(function() {
|
||||||
|
g = !0;
|
||||||
|
h.processUpdateTime = 50;
|
||||||
|
h.Config({"HTML-CSS": {EqnChunk: 10,EqnChunkFactor: 1},SVG: {EqnChunk: 10,EqnChunkFactor: 1}})
|
||||||
});
|
});
|
||||||
|
var u = /(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[\\{}$]|[{}]|(?:\n\s*)+|@@\d+@@)/i, r;
|
||||||
HUB.Register.StartupHook("TeX Jax Config", function() {
|
r = 3 === "aba".split(/(b)/).length ? function(a, f) {
|
||||||
var TEX = MathJax.InputJax.TeX, TRANSLATE = TEX.Translate;
|
return a.split(f)
|
||||||
TEX.Augment({ Translate : function(script, state) {
|
} : function(a, f) {
|
||||||
if (HUB.cancelTypeset || state.cancelled) {
|
var b = [], c;
|
||||||
throw Error(CANCELMESSAGE)
|
if (!f.global) {
|
||||||
}
|
c = f.toString();
|
||||||
return TRANSLATE.call(TEX, script, state);
|
var d = "";
|
||||||
} });
|
c = c.replace(/^\/(.*)\/([im]*)$/, function(a, c, b) {
|
||||||
|
d = b;
|
||||||
|
return c
|
||||||
});
|
});
|
||||||
|
f = RegExp(c, d + "g")
|
||||||
var PROCESSERROR = HUB.processError;
|
|
||||||
HUB.processError = function(error, state, type) {
|
|
||||||
if (error.message !== CANCELMESSAGE) {
|
|
||||||
return PROCESSERROR.call(HUB, error, state, type)
|
|
||||||
}
|
}
|
||||||
|
for (var e = f.lastIndex = 0; c = f.exec(a); )
|
||||||
|
b.push(a.substring(e, c.index)), b.push.apply(b, c.slice(1)), e = c.index + c[0].length;
|
||||||
|
b.push(a.substring(e));
|
||||||
|
return b
|
||||||
|
};
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var b = MathJax.Hub;
|
||||||
|
if (!b.Cancel) {
|
||||||
|
b.cancelTypeset = !1;
|
||||||
|
b.Register.StartupHook("HTML-CSS Jax Config", function() {
|
||||||
|
var d = MathJax.OutputJax["HTML-CSS"], e = d.Translate;
|
||||||
|
d.Augment({Translate: function(j, g) {
|
||||||
|
if (b.cancelTypeset || g.cancelled)
|
||||||
|
throw Error("MathJax Canceled");
|
||||||
|
return e.call(d, j, g)
|
||||||
|
}})
|
||||||
|
});
|
||||||
|
b.Register.StartupHook("SVG Jax Config", function() {
|
||||||
|
var d = MathJax.OutputJax.SVG, e = d.Translate;
|
||||||
|
d.Augment({Translate: function(j, g) {
|
||||||
|
if (b.cancelTypeset || g.cancelled)
|
||||||
|
throw Error("MathJax Canceled");
|
||||||
|
return e.call(d,
|
||||||
|
j, g)
|
||||||
|
}})
|
||||||
|
});
|
||||||
|
b.Register.StartupHook("TeX Jax Config", function() {
|
||||||
|
var d = MathJax.InputJax.TeX, e = d.Translate;
|
||||||
|
d.Augment({Translate: function(j, g) {
|
||||||
|
if (b.cancelTypeset || g.cancelled)
|
||||||
|
throw Error("MathJax Canceled");
|
||||||
|
return e.call(d, j, g)
|
||||||
|
}})
|
||||||
|
});
|
||||||
|
var p = b.processError;
|
||||||
|
b.processError = function(d, e, j) {
|
||||||
|
if ("MathJax Canceled" !== d.message)
|
||||||
|
return p.call(b, d, e, j);
|
||||||
MathJax.Message.Clear(0, 0);
|
MathJax.Message.Clear(0, 0);
|
||||||
state.jaxIDs = [];
|
e.jaxIDs = [];
|
||||||
state.jax = {};
|
e.jax = {};
|
||||||
state.scripts = [];
|
e.scripts = [];
|
||||||
state.i = state.j = 0;
|
e.i = e.j = 0;
|
||||||
state.cancelled = true;
|
e.cancelled = !0;
|
||||||
return null;
|
return null
|
||||||
};
|
|
||||||
|
|
||||||
HUB.Cancel = function() {
|
|
||||||
this.cancelTypeset = true
|
|
||||||
};
|
};
|
||||||
|
b.Cancel = function() {
|
||||||
|
this.cancelTypeset = !0
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
||||||
|
|
||||||
return mathJax;
|
return mathJax;
|
||||||
});
|
});
|
@ -5,23 +5,22 @@
|
|||||||
|
|
||||||
<ul class="nav pull-right">
|
<ul class="nav pull-right">
|
||||||
<li class="btn-group">
|
<li class="btn-group">
|
||||||
<button class="btn btn-default action-edit-document hide"
|
<button class="btn btn-success action-edit-document hide"
|
||||||
title="Edit this document">
|
title="Edit this document">
|
||||||
<i class="icon-pencil"></i>
|
<i class="icon-pencil"></i>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<li class="btn-group">
|
<li class="btn-group">
|
||||||
<button class="btn btn-default dropdown-toggle"
|
<button class="btn btn-success dropdown-toggle"
|
||||||
data-toggle="dropdown" title="Save this document">
|
data-toggle="dropdown" title="Save this document">
|
||||||
<i class="icon-download"></i>
|
<i class="icon-download"></i>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a class="action-download-md" href="#"><i
|
<li><a class="action-download-md" href="#">Save as
|
||||||
class="icon-download"></i> Save as Markdown</a></li>
|
Markdown</a></li>
|
||||||
<li><a class="action-download-html" href="#"><i
|
<li><a class="action-download-html" href="#">Save as HTML</a></li>
|
||||||
class="icon-download"></i> Save as HTML</a></li>
|
<li><a class="action-download-template" href="#">Save
|
||||||
<li><a class="action-download-template" href="#"><i
|
using template</a></li>
|
||||||
class="icon-download"></i> Save using template</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -39,9 +38,10 @@
|
|||||||
<div class="ui-layout-center preview-container"></div>
|
<div class="ui-layout-center preview-container"></div>
|
||||||
|
|
||||||
<div class="menu-panel collapse width">
|
<div class="menu-panel collapse width">
|
||||||
<button class="btn btn-success collapse-button action-open-stackedit" title="Open StackEdit">
|
<button class="btn btn-success collapse-button action-open-stackedit"
|
||||||
<i class="icon-left-dir"></i> <img data-stackedit-src="stackedit-64.png"
|
title="Open StackEdit">
|
||||||
width="32" height="32" />
|
<i class="icon-left-dir"></i> <img
|
||||||
|
data-stackedit-src="stackedit-64.png" width="32" height="32" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -78,8 +78,8 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>StackEdit has stopped because another instance was running in
|
<p>StackEdit has stopped because another instance was running in
|
||||||
the same browser.</p>
|
the same browser.</p>
|
||||||
<blockquote>If you want to reopen
|
<blockquote>If you want to reopen StackEdit, click on
|
||||||
StackEdit, click on "Reload".</blockquote>
|
"Reload".</blockquote>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<a href="javascript:window.location.reload();"
|
<a href="javascript:window.location.reload();"
|
||||||
|
@ -23,7 +23,7 @@ define([
|
|||||||
MAIN_URL,
|
MAIN_URL,
|
||||||
'lib/MathJax/MathJax.js?config=TeX-AMS_HTML"></script>\n',
|
'lib/MathJax/MathJax.js?config=TeX-AMS_HTML"></script>\n',
|
||||||
'</head>\n',
|
'</head>\n',
|
||||||
'<body><%= documentHTML %></body>\n',
|
'<body><div class="container"><%= documentHTML %></div></body>\n',
|
||||||
'</html>'
|
'</html>'
|
||||||
].join(""),
|
].join(""),
|
||||||
sshProxy: SSH_PROXY_URL,
|
sshProxy: SSH_PROXY_URL,
|
||||||
|
@ -103,9 +103,9 @@ define([
|
|||||||
if(importParameters === undefined) {
|
if(importParameters === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$("#preview-contents, #file-title").hide();
|
$("#preview-contents, .navbar .file-title-navbar").hide();
|
||||||
provider.importPublic(importParameters, function(error, title, content) {
|
provider.importPublic(importParameters, function(error, title, content) {
|
||||||
$("#preview-contents, #file-title").show();
|
$("#preview-contents, .navbar .file-title-navbar").show();
|
||||||
if(error) {
|
if(error) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -97,25 +97,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************
|
|
||||||
* Bootstrap tour
|
|
||||||
*********************/
|
|
||||||
|
|
||||||
.popover {
|
|
||||||
max-width: 400px;
|
|
||||||
padding: 20px;
|
|
||||||
.box-shadow(0 5px 30px rgba(0,0,0,.4));
|
|
||||||
.popover-title {
|
|
||||||
font-weight: @headings-font-weight;
|
|
||||||
font-size: 24px;
|
|
||||||
padding: 5px 15px 10px;
|
|
||||||
}
|
|
||||||
.disabled {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
tab-size: 4;
|
tab-size: 4;
|
||||||
@ -817,7 +798,19 @@ a code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 30px 0 30px;
|
margin: 40px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin: 30px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4, h5, h6 {
|
||||||
|
margin: 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc ul {
|
.toc ul {
|
||||||
@ -827,7 +820,7 @@ h1 {
|
|||||||
p,
|
p,
|
||||||
pre,
|
pre,
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 0 0 20px;
|
margin: 0 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@ -835,6 +828,78 @@ hr {
|
|||||||
margin: 30px 0;
|
margin: 30px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code, pre {
|
||||||
|
font-family: Menlo, Consolas, "Courier New", monospace;
|
||||||
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Need to force these values because of prettify
|
||||||
|
pre {
|
||||||
|
padding: ((@line-height-computed - 1) / 2) !important;
|
||||||
|
border: 1px solid @pre-border-color !important;
|
||||||
|
code {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Definition list */
|
||||||
|
dt,dd {
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
dd {
|
||||||
|
margin-left: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Table style */
|
||||||
|
table {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table th,table td {
|
||||||
|
padding: 8px;
|
||||||
|
line-height: 20px;
|
||||||
|
text-align: left;
|
||||||
|
vertical-align: top;
|
||||||
|
border-top: 1px solid #dddddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
table th {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
table thead th {
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td
|
||||||
|
{
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tbody+tbody {
|
||||||
|
border-top: 2px solid #dddddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
border-left-width: 10px;
|
||||||
|
p {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul:last-child,
|
||||||
|
ol:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ul,ol {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************
|
/*****************************
|
||||||
* Editor
|
* Editor
|
||||||
*****************************/
|
*****************************/
|
||||||
@ -1018,79 +1083,6 @@ div.dropdown-menu textarea {
|
|||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
code, pre {
|
|
||||||
font-family: Menlo, Consolas, "Courier New", monospace;
|
|
||||||
font-size: 12px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Need to force these values because of prettify
|
|
||||||
pre {
|
|
||||||
padding: ((@line-height-computed - 1) / 2) !important;
|
|
||||||
border: 1px solid @pre-border-color !important;
|
|
||||||
code {
|
|
||||||
background-color: transparent !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Definition list */
|
|
||||||
dt,dd {
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
dd {
|
|
||||||
margin-left: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Table style */
|
|
||||||
table {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
table th,table td {
|
|
||||||
padding: 8px;
|
|
||||||
line-height: 20px;
|
|
||||||
text-align: left;
|
|
||||||
vertical-align: top;
|
|
||||||
border-top: 1px solid #dddddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
table th {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
table thead th {
|
|
||||||
vertical-align: bottom;
|
|
||||||
}
|
|
||||||
|
|
||||||
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td
|
|
||||||
{
|
|
||||||
border-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
table tbody+tbody {
|
|
||||||
border-top: 2px solid #dddddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
border-left-width: 10px;
|
|
||||||
p {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 300;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul:last-child,
|
|
||||||
ol:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ul,ol {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="file"] {
|
input[type="file"] {
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
@ -1114,6 +1106,26 @@ input[type="file"] {
|
|||||||
height: 120px;
|
height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*********************
|
||||||
|
* Bootstrap tour
|
||||||
|
*********************/
|
||||||
|
|
||||||
|
.popover {
|
||||||
|
max-width: 400px;
|
||||||
|
padding: 20px;
|
||||||
|
.box-shadow(0 5px 30px rgba(0,0,0,.4));
|
||||||
|
.popover-title {
|
||||||
|
font-weight: @headings-font-weight;
|
||||||
|
font-size: 24px;
|
||||||
|
padding: 5px 15px 10px;
|
||||||
|
}
|
||||||
|
.disabled {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/********************
|
/********************
|
||||||
* jGrowl
|
* jGrowl
|
||||||
********************/
|
********************/
|
||||||
|
Loading…
Reference in New Issue
Block a user