-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fullscreen Support #99
Merged
Merged
Changes from 23 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d372d5d
Added resize option to preview container
f90f2c4
Create bootstrap-markdown.kr.js
ssinss 6d3b429
Russian localization
2de3d26
Ukrainian localization
98e0da3
Update bootstrap-markdown.ua.js
3e0b9ef
Removed the import dependency for twitter bootstrap. fixes #71
64a8cb6
Add .gitignore
futhr f5beffd
Update copyright year.
futhr 7893ac2
Add Swedish locale.
futhr e4056d2
Add Norwegian locale.
futhr 96ec372
JS hinted locales.
futhr 7b3b01a
Fixes typo numeric to number.
futhr c0d771d
Bump minor version
toopay 852580f
Fullscreen support
lodev09 ce29b92
Less fix
lodev09 e5bc00d
Less fix
lodev09 4877d8b
Less fix
lodev09 87818b1
Less fix
lodev09 c9e9180
Less fix
lodev09 b4a9a60
Less fix
lodev09 e0fa23c
Less fix
lodev09 d437b56
Less fix
lodev09 8f5dfbf
Less fix
lodev09 1cd70e1
Merge remote-tracking branch 'upstream/master'
lodev09 87ea84c
Reset
lodev09 37e369c
Rebase & PR
lodev09 ecc7aba
Fullscreen Icon support
lodev09 feee3e6
Fullscreen Theme definition
lodev09 1946177
e.preventDefault()
lodev09 9a610bf
CSS and Other stuff
lodev09 3d167be
Revert theme definition
lodev09 7abe4ce
exit fullscreen on escape added
lodev09 2ed4268
Escape key fix
lodev09 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bower_components | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,180 @@ | ||
.md-editor{display:block;border:1px solid #ddd}.md-editor>.md-header,.md-editor .md-footer{display:block;padding:6px 4px;background:#fff}.md-editor>.md-header{margin: 0;}.md-editor>.md-preview{background:#fff;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;min-height:10px;overflow:auto}.md-editor>textarea{font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:14px;outline:0;outline:thin dotted \9;margin:0;display:block;padding:0;width:100%;border:0;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;border-radius:0;box-shadow:none;background:#eee}.md-editor>textarea:focus{box-shadow:none;background:#fff}.md-editor.active{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,0.6)} | ||
/** | ||
* Bootstrap-Markdown.less | ||
* | ||
* @author Taufan Aditya @taufanaditya | ||
* @copyright 2013 Taufan Aditya | ||
*/ | ||
.md-editor { | ||
display: block; | ||
border: 1px solid #dddddd; | ||
} | ||
.md-editor > .md-header, | ||
.md-editor .md-footer { | ||
display: block; | ||
padding: 6px 4px; | ||
background: #f5f5f5; | ||
} | ||
.md-editor > .md-header { | ||
margin: 0; | ||
} | ||
.md-editor > .md-preview { | ||
background: #ffffff; | ||
border-top: 1px dashed #dddddd; | ||
border-bottom: 1px dashed #dddddd; | ||
min-height: 10px; | ||
overflow: auto; | ||
} | ||
.md-editor > textarea { | ||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace; | ||
font-size: 14px; | ||
outline: 0; | ||
outline: thin dotted \9; | ||
/* IE6-9 */ | ||
margin: 0; | ||
display: block; | ||
padding: 0; | ||
width: 100%; | ||
border: 0; | ||
border-top: 1px dashed #dddddd; | ||
border-bottom: 1px dashed #dddddd; | ||
border-radius: 0; | ||
box-shadow: none; | ||
background: #eeeeee; | ||
} | ||
.md-editor > textarea:focus { | ||
box-shadow: none; | ||
background: #ffffff; | ||
} | ||
.md-editor.active { | ||
border-color: #66afe9; | ||
outline: 0; | ||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); | ||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); | ||
} | ||
.md-editor .md-controls { | ||
float: right; | ||
padding: 3px; | ||
} | ||
.md-editor .md-controls .md-control { | ||
right: 5px; | ||
color: #bebebe; | ||
padding: 3px 3px 3px 10px; | ||
} | ||
.md-editor .md-controls .md-control:hover { | ||
color: #333; | ||
} | ||
.md-editor.md-fullscreen-mode { | ||
width: 100%; | ||
height: 100%; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
z-index: 99999; | ||
padding: 60px 30px 15px; | ||
background: #fff !important; | ||
border: 0 !important; | ||
} | ||
.md-editor.md-fullscreen-mode.theme-dark { | ||
background: #1d1f21 !important; | ||
} | ||
.md-editor.md-fullscreen-mode.theme-dark .md-fullscreen-controls a { | ||
color: #a4b1b1; | ||
} | ||
.md-editor.md-fullscreen-mode.theme-dark .md-fullscreen-controls a:hover { | ||
color: #dbe0e0; | ||
text-shadow: 0 0 10px #000; | ||
} | ||
.md-editor.md-fullscreen-mode.theme-dark .md-preview, | ||
.md-editor.md-fullscreen-mode.theme-dark .md-input, | ||
.md-editor.md-fullscreen-mode.theme-dark .md-input:hover, | ||
.md-editor.md-fullscreen-mode.theme-dark .md-input:active, | ||
.md-editor.md-fullscreen-mode.theme-dark .md-input:focus { | ||
color: #dbe0e0; | ||
background: #1d1f21 !important; | ||
} | ||
.md-editor.md-fullscreen-mode.theme-dark .btn:hover, | ||
.md-editor.md-fullscreen-mode.theme-dark .btn:focus, | ||
.md-editor.md-fullscreen-mode.theme-dark .btn.active, | ||
.md-editor.md-fullscreen-mode.theme-dark .btn:active { | ||
color: #dbe0e0; | ||
text-shadow: 0 0 10px #000; | ||
} | ||
.md-editor.md-fullscreen-mode .md-footer { | ||
display: none; | ||
} | ||
.md-editor.md-fullscreen-mode .md-input, | ||
.md-editor.md-fullscreen-mode .md-preview { | ||
margin: 0 auto !important; | ||
height: 100% !important; | ||
font-size: 20px !important; | ||
padding: 20px !important; | ||
color: #999; | ||
line-height: 1.6em !important; | ||
resize: none !important; | ||
box-shadow: none !important; | ||
background: #fff !important; | ||
border: 0 !important; | ||
} | ||
.md-editor.md-fullscreen-mode .md-preview { | ||
color: #333; | ||
overflow: auto; | ||
} | ||
.md-editor.md-fullscreen-mode .md-input:hover, | ||
.md-editor.md-fullscreen-mode .md-input:focus { | ||
color: #333; | ||
background: #fff !important; | ||
} | ||
.md-editor.md-fullscreen-mode .md-header { | ||
background: none; | ||
text-align: center; | ||
position: fixed; | ||
width: 100%; | ||
top: 20px; | ||
} | ||
.md-editor.md-fullscreen-mode .btn-group { | ||
float: none; | ||
} | ||
.md-editor.md-fullscreen-mode .btn { | ||
border: 0; | ||
background: none; | ||
color: #b3b3b3; | ||
} | ||
.md-editor.md-fullscreen-mode .btn:hover, | ||
.md-editor.md-fullscreen-mode .btn:focus, | ||
.md-editor.md-fullscreen-mode .btn.active, | ||
.md-editor.md-fullscreen-mode .btn:active { | ||
box-shadow: none; | ||
color: #333; | ||
} | ||
.md-editor.md-fullscreen-mode .md-fullscreen-controls { | ||
position: absolute; | ||
top: 20px; | ||
right: 20px; | ||
text-align: right; | ||
z-index: 1002; | ||
display: block; | ||
} | ||
.md-editor.md-fullscreen-mode .md-fullscreen-controls a { | ||
color: #b3b3b3; | ||
clear: right; | ||
margin: 10px; | ||
width: 30px; | ||
height: 30px; | ||
text-align: center; | ||
} | ||
.md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover { | ||
color: #333; | ||
text-decoration: none; | ||
} | ||
.md-editor.md-fullscreen-mode .md-editor { | ||
height: 100% !important; | ||
position: relative; | ||
} | ||
.md-editor .md-fullscreen-controls { | ||
display: none; | ||
} | ||
.md-nooverflow { | ||
overflow: hidden; | ||
position: fixed; | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also add the other supported icon libs like fontawesome and fontawesome v3 like the rest of the buttons
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I was thinking of that too.