diff --git a/martor/__init__.py b/martor/__init__.py index 052ec177..0807e41e 100644 --- a/martor/__init__.py +++ b/martor/__init__.py @@ -1,4 +1,4 @@ -__VERSION__ = "1.6.43" -__RELEASE_DATE__ = "30-Mar-2024" +__VERSION__ = "1.6.44" +__RELEASE_DATE__ = "15-Apr-2024" __AUTHOR__ = "Agus Makmun (Summon Agus)" __AUTHOR_EMAIL__ = "summon.agus@gmail.com" diff --git a/martor/static/martor/css/martor-admin.min.css b/martor/static/martor/css/martor-admin.min.css index 9e65ed3f..cffb95d1 100644 --- a/martor/static/martor/css/martor-admin.min.css +++ b/martor/static/martor/css/martor-admin.min.css @@ -1,166 +1,9 @@ /** - * Name : Martor v1.6.43 + * Name : Martor v1.6.44 * Created by : Agus Makmun (Summon Agus) - * Release date : 30-Mar-2024 + * Release date : 15-Apr-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 * Repository : https://github.com/agusmakmun/django-markdown-editor + * CSS Minifier : https://www.minifier.org **/ -:root { - --primary: #79aec8; - --secondary: #417690 -} - -body { - margin: 0; - padding: 0; - font-size: 14px; - color: #333; - background: #fff -} - -#container { - -webkit-box-sizing: unset; - box-sizing: unset -} - -#branding h1 { - margin: 0 !important -} - -body, -h1, -h2, -h3, -h4, -h5, -button, -input, -optgroup, -select { - font-family: "Roboto", "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", Verdana, Arial, sans-serif -} - -h1, -h2, -h3, -h4, -h5 { - font-weight: bold !important; - line-height: unset !important -} - -h1 { - margin: 0 0 20px !important; - font-weight: 300 !important; - font-size: 20px !important; - color: #333 !important -} - -h2 { - font-size: 16px !important; - margin: 1em 0 .5em 0 !important -} - -h2.subhead { - font-weight: normal !important; - margin-top: 0 !important -} - -h3 { - font-size: 14px !important; - margin: .8em 0 .3em 0 !important; - color: #333 !important; - font-weight: bold !important -} - -h4 { - font-size: 12px !important; - margin: 1em 0 .8em 0 !important; - padding-bottom: 3px !important -} - -h5 { - font-size: 10px !important; - margin: 1.5em 0 .5em 0 !important; - color: #333 !important; - text-transform: uppercase !important; - letter-spacing: 1px !important -} - -.button, -input[type=submit], -input[type=button], -.submit-row input, -a.button { - padding: 5px 15px -} - -nav.sticky caption { - caption-side: unset -} - -.ui.tabular.menu+.attached:not(.top).segment, -.ui.tabular.menu+.attached:not(.top).segment+.attached:not(.top).segment { - width: auto -} - -fieldset .form-row>div { - width: 100% -} - -fieldset .form-row .main-martor { - display: grid !important -} - -.submit-row a.deletelink { - height: unset -} - -.table.markdown-reference h2 { - font-size: 1.5em; - background: none; - color: unset; - padding: 0; - font-weight: 300 !important -} - -.js-inline-admin-formset .form-row:not(.empty-form) { - display: revert -} - -@media (prefers-color-scheme:dark) { - body { - color: #fff; - background: #121212 !important - } - - h1, - h3, - h5 { - color: #fff !important - } - - .modal-help-guide .modal-content { - background: #121212 !important - } - - .modal-help-guide .modal-title { - color: #333 !important; - font-size: unset !important; - margin: 0 !important - } - - .modal-help-guide .table.markdown-reference { - background: #fff; - color: #fff - } - - .modal-help-guide .content { - background: #121212 !important - } - - .tab-martor-menu .item, - .martor-toolbar .ui.basic.buttons .button { - color: #fff !important - } -} +:root{--primary:#79aec8;--secondary:#417690}body{margin:0;padding:0;font-size:14px;color:#333;background:#fff}#container{-webkit-box-sizing:unset;box-sizing:unset}#branding h1{margin:0!important}body,h1,h2,h3,h4,h5,button,input,optgroup,select{font-family:"Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif}h1,h2,h3,h4,h5{font-weight:bold!important;line-height:unset!important}h1{margin:0 0 20px!important;font-weight:300!important;font-size:20px!important;color:#333!important}h2{font-size:16px!important;margin:1em 0 .5em 0!important}h2.subhead{font-weight:normal!important;margin-top:0!important}h3{font-size:14px!important;margin:.8em 0 .3em 0!important;color:#333!important;font-weight:bold!important}h4{font-size:12px!important;margin:1em 0 .8em 0!important;padding-bottom:3px!important}h5{font-size:10px!important;margin:1.5em 0 .5em 0!important;color:#333!important;text-transform:uppercase!important;letter-spacing:1px!important}.button,input[type=submit],input[type=button],.submit-row input,a.button{padding:5px 15px}nav.sticky caption{caption-side:unset}.ui.tabular.menu+.attached:not(.top).segment,.ui.tabular.menu+.attached:not(.top).segment+.attached:not(.top).segment{width:auto}fieldset .form-row>div{width:100%}fieldset .form-row .main-martor{display:grid!important}.submit-row a.deletelink{height:unset}.table.markdown-reference h2{font-size:1.5em;background:none;color:unset;padding:0;font-weight:300!important}.js-inline-admin-formset .form-row:not(.empty-form){display:revert}@media (prefers-color-scheme:dark){body{color:#fff;background:#121212!important}h1,h3,h5{color:#fff!important}.modal-help-guide .modal-content{background:#121212!important}.modal-help-guide .modal-title{color:#333!important;font-size:unset!important;margin:0!important}.modal-help-guide .table.markdown-reference{background:#fff;color:#fff}.modal-help-guide .content{background:#121212!important}.tab-martor-menu .item,.martor-toolbar .ui.basic.buttons .button{color:#fff!important}} diff --git a/martor/static/martor/css/martor.bootstrap.min.css b/martor/static/martor/css/martor.bootstrap.min.css index 9048b8f2..9497dae0 100644 --- a/martor/static/martor/css/martor.bootstrap.min.css +++ b/martor/static/martor/css/martor.bootstrap.min.css @@ -1,599 +1,9 @@ /** - * Name : Martor v1.6.43 + * Name : Martor v1.6.44 * Created by : Agus Makmun (Summon Agus) - * Release date : 30-Mar-2024 + * Release date : 15-Apr-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 * Repository : https://github.com/agusmakmun/django-markdown-editor + * CSS Minifier : https://www.minifier.org **/ -body.overflow { - overflow: hidden !important -} - -.martor { - height: 500px; - max-height: 500px -} - -.martor-field { - width: 100%; - height: 250px; - min-height: 100px -} - -.main-martor { - margin: 1em 0; - position: relative -} - -.main-martor .modal-header { - padding: 10px 1rem -} - -.main-martor .modal-header h5 { - font-size: 16px -} - -.main-martor .upload-progress { - position: absolute; - z-index: 100; - width: 100%; - height: 100%; - padding-top: 5em; - background: rgba(0, 0, 0, .85); - color: #fff -} - -.martor-toolbar { - z-index: 100 -} - -.enable-living .martor-toolbar { - position: relative -} - -.martor-toolbar .markdown-image-upload { - position: relative; - overflow: hidden -} - -.martor-toolbar .markdown-image-upload input[type=file] { - position: absolute; - top: 0; - right: 0; - min-width: 100%; - min-height: 100%; - font-size: 25px; - padding: 0 0 0 35px; - text-align: right; - filter: alpha(opacity=0); - opacity: 0; - outline: none; - cursor: inherit; - display: block -} - -.emoji-loader-init { - min-height: 200px !important; - padding-top: 4em -} - -.emoji-content-body { - font-size: 12px -} - -.insert-emoji { - cursor: pointer; - text-decoration: none -} - -.table.markdown-reference { - font-size: 12px -} - -.table.markdown-reference h1 { - font-size: 2em -} - -.table.markdown-reference h2 { - font-size: 1.5em -} - -.table.markdown-reference ol, -.table.markdown-reference ul { - padding-left: 1rem !important -} - -div.martor-preview { - padding: 1rem; - overflow: auto; - background: #fdfdfd -} - -div.martor-preview-stale { - background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #f8f8f8 10px, #f8f8f8 20px) !important -} - -.main-martor .nav-tabs { - border-bottom: 2px solid #dee2e6 -} - -.main-martor .nav-tabs .nav-link:focus, -.main-martor .nav-tabs .nav-link:hover, -.main-martor .nav-tabs .nav-link:hover { - border-color: transparent -} - -.main-martor .nav-tabs .nav-item.show .nav-link, -.main-martor .nav-tabs .nav-link.active, -.main-martor .nav-tabs .nav-link.active:hover { - border-color: transparent; - border-bottom: 2px solid #333; - color: #495057 -} - -.main-martor .tab-pane { - position: relative -} - -.icon.expand-editor { - position: absolute; - bottom: -8px; - right: 8px; - z-index: 100 -} - -.no-border { - border: none !important -} - -div.enable-living .martor-preview { - display: block !important; - opacity: unset !important; - margin-top: 1em !important; - border: 1px solid #efefef !important; - border-radius: 0.28571429rem !important -} - -div.enable-living .tab-martor-menu a.nav-link { - display: none !important -} - -.section-martor::-webkit-scrollbar-track { - -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); - border-radius: 10px; - background-color: #F5F5F5 -} - -.section-martor::-webkit-scrollbar { - height: 6px; - width: 6px; - background-color: #F5F5F5 -} - -.section-martor::-webkit-scrollbar-thumb { - border-radius: 10px; - -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); - background-color: #555 -} - -.ace_scrollbar-v { - cursor: ns-resize -} - -.main-martor-fullscreen { - background: #fff; - position: fixed; - z-index: 9999; - max-height: 100%; - height: 100%; - width: 100%; - margin: 0; - left: 0; - top: 0 -} - -.main-martor-fullscreen .fields.martor-toolbar { - border-bottom: 1px solid #ddd; - margin: 0 -} - -.main-martor-fullscreen .section-martor { - height: 90%; - position: relative -} - -.main-martor-fullscreen .martor-field, -.main-martor-fullscreen .martor-preview { - min-height: 95vh -} - -.marked-emoji, -div.martor-preview .marked-emoji { - max-width: 20px -} - -div.martor-preview { - font-size: 14px; - line-height: 1.6 -} - -div.martor-preview>*:first-child { - margin-top: 0 !important -} - -div.martor-preview>*:last-child { - margin-bottom: 20px !important -} - -div.martor-preview a.absent { - color: #c00 -} - -div.martor-preview a.anchor { - display: block; - padding-left: 30px; - margin-left: -30px; - cursor: pointer; - position: absolute; - top: 0; - left: 0; - bottom: 0 -} - -div.martor-preview h1, -div.martor-preview h2, -div.martor-preview h3, -div.martor-preview h4, -div.martor-preview h5, -div.martor-preview h6 { - margin: 20px 0 10px; - padding: 0; - font-weight: bold !important; - -webkit-font-smoothing: antialiased; - cursor: text; - position: relative; - background: none -} - -div.martor-preview h1:hover a.anchor, -div.martor-preview h2:hover a.anchor, -div.martor-preview h3:hover a.anchor, -div.martor-preview h4:hover a.anchor, -div.martor-preview h5:hover a.anchor, -div.martor-preview h6:hover a.anchor { - text-decoration: none; - line-height: 1; - padding-left: 0; - margin-left: -22px; - top: 15% -} - -div.martor-preview h1 code, -div.martor-preview h1 tt, -div.martor-preview h2 code, -div.martor-preview h2 tt, -div.martor-preview h3 code, -div.martor-preview h3 tt, -div.martor-preview h4 code, -div.martor-preview h4 tt, -div.martor-preview h5 code, -div.martor-preview h5 tt, -div.martor-preview h6 code, -div.martor-preview h6 tt { - font-size: inherit -} - -div.martor-preview h1 { - font-size: 28px !important; - color: #000 !important -} - -div.martor-preview h2 { - font-size: 24px !important; - color: #000 !important -} - -div.martor-preview h3 { - font-size: 18px !important -} - -div.martor-preview h4 { - font-size: 16px !important -} - -div.martor-preview h5 { - font-size: 14px !important; - text-transform: none !important -} - -div.martor-preview h6 { - color: #777; - font-size: 14px -} - -div.martor-preview blockquote, -div.martor-preview dl, -div.martor-preview ol, -div.martor-preview p, -div.martor-preview pre, -div.martor-preview table, -div.martor-preview ul { - margin: 15px 0 -} - -div.martor-preview hr { - background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC") repeat-x 0 0; - border: 0 none; - color: #ccc; - height: 4px; - padding: 0 -} - -div.martor-preview>h1:first-child, -div.martor-preview>h1:first-child+h2, -div.martor-preview>h2:first-child, -div.martor-preview>h3:first-child, -div.martor-preview>h4:first-child, -div.martor-preview>h5:first-child, -div.martor-preview>h6:first-child { - margin-top: 0; - padding-top: 0 -} - -div.martor-preview a:first-child h1, -div.martor-preview a:first-child h2, -div.martor-preview a:first-child h3, -div.martor-preview a:first-child h4, -div.martor-preview a:first-child h5, -div.martor-preview a:first-child h6 { - margin-top: 0; - padding-top: 0 -} - -div.martor-preview h1+p, -div.martor-preview h2+p, -div.martor-preview h3+p, -div.martor-preview h4+p, -div.martor-preview h5+p, -div.martor-preview h6+p { - margin-top: 0 -} - -div.martor-preview li p.first { - display: inline-block -} - -div.martor-preview ul li { - list-style: disc -} - -div.martor-preview ol, -div.martor-preview ul { - padding-left: 30px -} - -div.martor-preview ol.no-list, -div.martor-preview ul.no-list { - list-style-type: none; - padding: 0 -} - -div.martor-preview ol li> :first-child, -div.martor-preview ol li ul:first-of-type, -div.martor-preview ul li> :first-child, -div.martor-preview ul li ul:first-of-type { - margin-top: 0 -} - -div.martor-preview ol ol, -div.martor-preview ol ul, -div.martor-preview ul ol, -div.martor-preview ul ul { - margin-bottom: 0 -} - -div.martor-preview dl { - padding: 0 -} - -div.martor-preview dl dt { - font-size: 14px; - font-weight: bold; - font-style: italic; - padding: 0; - margin: 15px 0 5px -} - -div.martor-preview dl dt:first-child { - padding: 0 -} - -div.martor-preview dl dt> :first-child { - margin-top: 0 -} - -div.martor-preview dl dt> :last-child { - margin-bottom: 0 -} - -div.martor-preview dl dd { - margin: 0 0 15px; - padding: 0 15px -} - -div.martor-preview dl dd> :first-child { - margin-top: 0 -} - -div.martor-preview dl dd> :last-child { - margin-bottom: 0 -} - -div.martor-preview blockquote { - border-left: 4px solid #DDD; - padding: 5px 15px; - color: #777; - background-color: #fff -} - -div.martor-preview blockquote> :first-child { - margin-top: 0 -} - -div.martor-preview blockquote> :last-child { - margin-bottom: 0 -} - -div.martor-preview table th { - font-weight: bold -} - -div.martor-preview table td, -div.martor-preview table th { - border: 1px solid #ccc; - padding: 6px 13px -} - -div.martor-preview table tr { - border-top: 1px solid #ccc; - background-color: #fff -} - -div.martor-preview table tr:nth-child(2n) { - background-color: #f8f8f8 -} - -div.martor-preview img, -div.martor-preview p img { - max-width: 100%; - -moz-box-sizing: border-box; - box-sizing: border-box -} - -div.martor-preview span.frame { - display: block; - overflow: hidden -} - -div.martor-preview span.frame>span { - border: 1px solid #ddd; - display: block; - float: left; - overflow: hidden; - margin: 13px 0 0; - padding: 7px; - width: auto -} - -div.martor-preview span.frame span img { - display: block; - float: left -} - -div.martor-preview span.frame span span { - clear: both; - color: #333; - display: block; - padding: 5px 0 0 -} - -div.martor-preview span.align-center { - display: block; - overflow: hidden; - clear: both -} - -div.martor-preview span.align-center>span { - display: block; - overflow: hidden; - margin: 13px auto 0; - text-align: center -} - -div.martor-preview span.align-center span img { - margin: 0 auto; - text-align: center -} - -div.martor-preview span.align-right { - display: block; - overflow: hidden; - clear: both -} - -div.martor-preview span.align-right>span { - display: block; - overflow: hidden; - margin: 13px 0 0; - text-align: right -} - -div.martor-preview span.align-right span img { - margin: 0; - text-align: right -} - -div.martor-preview span.float-left { - display: block; - margin-right: 13px; - overflow: hidden; - float: left -} - -div.martor-preview span.float-left span { - margin: 13px 0 0 -} - -div.martor-preview span.float-right { - display: block; - margin-left: 13px; - overflow: hidden; - float: right -} - -div.martor-preview span.float-right>span { - display: block; - overflow: hidden; - margin: 13px auto 0; - text-align: right -} - -div.martor-preview code, -div.martor-preview tt { - margin: 0 2px; - padding: 0 5px; - border: 1px solid #eaeaea; - background-color: #f8f8f8; - border-radius: 3px -} - -div.martor-preview code { - white-space: nowrap -} - -div.martor-preview pre>code { - margin: 0; - padding: 0; - white-space: pre; - border: none; - background: transparent -} - -div.martor-preview .highlight pre, -div.martor-preview pre { - border: 1px solid #f0f0f0; - padding: 16px; - overflow: auto; - font-size: 85%; - line-height: 1.45; - background-color: #f6f8fa; - border-radius: 3px -} - -div.martor-preview pre code, -div.martor-preview pre tt { - margin: 0; - padding: 0; - background-color: transparent; - border: none -} +body.overflow{overflow:hidden!important}.martor{height:500px;max-height:500px}.martor-field{width:100%;height:250px;min-height:100px}.main-martor{margin:1em 0;position:relative}.main-martor .modal-header{padding:10px 1rem}.main-martor .modal-header h5{font-size:16px}.main-martor .upload-progress{position:absolute;z-index:100;width:100%;height:100%;padding-top:5em;background:rgb(0 0 0 / .85);color:#fff}.martor-toolbar{z-index:100}.enable-living .martor-toolbar{position:relative}.martor-toolbar .markdown-image-upload{position:relative;overflow:hidden}.martor-toolbar .markdown-image-upload input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:25px;padding:0 0 0 35px;text-align:right;filter:alpha(opacity=0);opacity:0;outline:none;cursor:inherit;display:block}.emoji-loader-init{min-height:200px!important;padding-top:4em}.emoji-content-body{font-size:12px}.insert-emoji{cursor:pointer;text-decoration:none}.table.markdown-reference{font-size:12px}.table.markdown-reference h1{font-size:2em}.table.markdown-reference h2{font-size:1.5em}.table.markdown-reference ol,.table.markdown-reference ul{padding-left:1rem!important}div.martor-preview{padding:1rem;overflow:auto;background:#fdfdfd}div.martor-preview-stale{background:repeating-linear-gradient(-45deg,#fff,#fff 10px,#f8f8f8 10px,#f8f8f8 20px)!important}.main-martor .nav-tabs{border-bottom:2px solid #dee2e6}.main-martor .nav-tabs .nav-link:focus,.main-martor .nav-tabs .nav-link:hover,.main-martor .nav-tabs .nav-link:hover{border-color:#fff0}.main-martor .nav-tabs .nav-item.show .nav-link,.main-martor .nav-tabs .nav-link.active,.main-martor .nav-tabs .nav-link.active:hover{border-color:#fff0;border-bottom:2px solid #333;color:#495057}.main-martor .tab-pane{position:relative}.icon.expand-editor{position:absolute;bottom:-8px;right:8px;z-index:100}.no-border{border:none!important}div.enable-living .martor-preview{display:block!important;opacity:unset!important;margin-top:1em!important;border:1px solid #efefef!important;border-radius:0.28571429rem!important}div.enable-living .tab-martor-menu a.nav-link{display:none!important}.section-martor::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgb(0 0 0 / .3);border-radius:10px;background-color:#F5F5F5}.section-martor::-webkit-scrollbar{height:6px;width:6px;background-color:#F5F5F5}.section-martor::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgb(0 0 0 / .3);background-color:#555}.ace_scrollbar-v{cursor:ns-resize}.main-martor-fullscreen{background:#fff;position:fixed;z-index:9999;max-height:100%;height:100%;width:100%;margin:0;left:0;top:0}.main-martor-fullscreen .fields.martor-toolbar{border-bottom:1px solid #ddd;margin:0}.main-martor-fullscreen .section-martor{height:90%;position:relative}.main-martor-fullscreen .martor-field,.main-martor-fullscreen .martor-preview{min-height:95vh}.marked-emoji,div.martor-preview .marked-emoji{max-width:20px}div.martor-preview{font-size:14px;line-height:1.6}div.martor-preview>*:first-child{margin-top:0!important}div.martor-preview>*:last-child{margin-bottom:20px!important}div.martor-preview a.absent{color:#c00}div.martor-preview a.anchor{display:block;padding-left:30px;margin-left:-30px;cursor:pointer;position:absolute;top:0;left:0;bottom:0}div.martor-preview h1,div.martor-preview h2,div.martor-preview h3,div.martor-preview h4,div.martor-preview h5,div.martor-preview h6{margin:20px 0 10px;padding:0;font-weight:bold!important;-webkit-font-smoothing:antialiased;cursor:text;position:relative;background:none}div.martor-preview h1:hover a.anchor,div.martor-preview h2:hover a.anchor,div.martor-preview h3:hover a.anchor,div.martor-preview h4:hover a.anchor,div.martor-preview h5:hover a.anchor,div.martor-preview h6:hover a.anchor{text-decoration:none;line-height:1;padding-left:0;margin-left:-22px;top:15%}div.martor-preview h1 code,div.martor-preview h1 tt,div.martor-preview h2 code,div.martor-preview h2 tt,div.martor-preview h3 code,div.martor-preview h3 tt,div.martor-preview h4 code,div.martor-preview h4 tt,div.martor-preview h5 code,div.martor-preview h5 tt,div.martor-preview h6 code,div.martor-preview h6 tt{font-size:inherit}div.martor-preview h1{font-size:28px!important;color:#000!important}div.martor-preview h2{font-size:24px!important;color:#000!important}div.martor-preview h3{font-size:18px!important}div.martor-preview h4{font-size:16px!important}div.martor-preview h5{font-size:14px!important;text-transform:none!important}div.martor-preview h6{color:#777;font-size:14px}div.martor-preview blockquote,div.martor-preview dl,div.martor-preview ol,div.martor-preview p,div.martor-preview pre,div.martor-preview table,div.martor-preview ul{margin:15px 0}div.martor-preview hr{background:#fff0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;border:0 none;color:#ccc;height:4px;padding:0}div.martor-preview>h1:first-child,div.martor-preview>h1:first-child+h2,div.martor-preview>h2:first-child,div.martor-preview>h3:first-child,div.martor-preview>h4:first-child,div.martor-preview>h5:first-child,div.martor-preview>h6:first-child{margin-top:0;padding-top:0}div.martor-preview a:first-child h1,div.martor-preview a:first-child h2,div.martor-preview a:first-child h3,div.martor-preview a:first-child h4,div.martor-preview a:first-child h5,div.martor-preview a:first-child h6{margin-top:0;padding-top:0}div.martor-preview h1+p,div.martor-preview h2+p,div.martor-preview h3+p,div.martor-preview h4+p,div.martor-preview h5+p,div.martor-preview h6+p{margin-top:0}div.martor-preview li p.first{display:inline-block}div.martor-preview ul li{list-style:disc}div.martor-preview ol,div.martor-preview ul{padding-left:30px}div.martor-preview ol.no-list,div.martor-preview ul.no-list{list-style-type:none;padding:0}div.martor-preview ol li>:first-child,div.martor-preview ol li ul:first-of-type,div.martor-preview ul li>:first-child,div.martor-preview ul li ul:first-of-type{margin-top:0}div.martor-preview ol ol,div.martor-preview ol ul,div.martor-preview ul ol,div.martor-preview ul ul{margin-bottom:0}div.martor-preview dl{padding:0}div.martor-preview dl dt{font-size:14px;font-weight:700;font-style:italic;padding:0;margin:15px 0 5px}div.martor-preview dl dt:first-child{padding:0}div.martor-preview dl dt>:first-child{margin-top:0}div.martor-preview dl dt>:last-child{margin-bottom:0}div.martor-preview dl dd{margin:0 0 15px;padding:0 15px}div.martor-preview dl dd>:first-child{margin-top:0}div.martor-preview dl dd>:last-child{margin-bottom:0}div.martor-preview blockquote{border-left:4px solid #DDD;padding:5px 15px;color:#777;background-color:#fff}div.martor-preview blockquote>:first-child{margin-top:0}div.martor-preview blockquote>:last-child{margin-bottom:0}div.martor-preview table th{font-weight:700}div.martor-preview table td,div.martor-preview table th{border:1px solid #ccc;padding:6px 13px}div.martor-preview table tr{border-top:1px solid #ccc;background-color:#fff}div.martor-preview table tr:nth-child(2n){background-color:#f8f8f8}div.martor-preview img,div.martor-preview p img{max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box}div.martor-preview span.frame{display:block;overflow:hidden}div.martor-preview span.frame>span{border:1px solid #ddd;display:block;float:left;overflow:hidden;margin:13px 0 0;padding:7px;width:auto}div.martor-preview span.frame span img{display:block;float:left}div.martor-preview span.frame span span{clear:both;color:#333;display:block;padding:5px 0 0}div.martor-preview span.align-center{display:block;overflow:hidden;clear:both}div.martor-preview span.align-center>span{display:block;overflow:hidden;margin:13px auto 0;text-align:center}div.martor-preview span.align-center span img{margin:0 auto;text-align:center}div.martor-preview span.align-right{display:block;overflow:hidden;clear:both}div.martor-preview span.align-right>span{display:block;overflow:hidden;margin:13px 0 0;text-align:right}div.martor-preview span.align-right span img{margin:0;text-align:right}div.martor-preview span.float-left{display:block;margin-right:13px;overflow:hidden;float:left}div.martor-preview span.float-left span{margin:13px 0 0}div.martor-preview span.float-right{display:block;margin-left:13px;overflow:hidden;float:right}div.martor-preview span.float-right>span{display:block;overflow:hidden;margin:13px auto 0;text-align:right}div.martor-preview code,div.martor-preview tt{margin:0 2px;padding:0 5px;border:1px solid #eaeaea;background-color:#f8f8f8;border-radius:3px}div.martor-preview code{white-space:nowrap}div.martor-preview pre>code{margin:0;padding:0;white-space:pre;border:none;background:#fff0}div.martor-preview .highlight pre,div.martor-preview pre{border:1px solid #f0f0f0;padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}div.martor-preview pre code,div.martor-preview pre tt{margin:0;padding:0;background-color:#fff0;border:none} diff --git a/martor/static/martor/css/martor.semantic.min.css b/martor/static/martor/css/martor.semantic.min.css index 1e146278..53fcc1fa 100644 --- a/martor/static/martor/css/martor.semantic.min.css +++ b/martor/static/martor/css/martor.semantic.min.css @@ -1,537 +1,9 @@ /** - * Name : Martor v1.6.43 + * Name : Martor v1.6.44 * Created by : Agus Makmun (Summon Agus) - * Release date : 30-Mar-2024 + * Release date : 15-Apr-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 * Repository : https://github.com/agusmakmun/django-markdown-editor + * CSS Minifier : https://www.minifier.org **/ -.submit-row a { - box-sizing: content-box -} - -body.overflow { - overflow: hidden !important -} - -.section-martor::-webkit-scrollbar-track { - -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); - border-radius: 10px; - background-color: #F5F5F5 -} - -.section-martor::-webkit-scrollbar { - height: 6px; - width: 6px; - background-color: #F5F5F5 -} - -.section-martor::-webkit-scrollbar-thumb { - border-radius: 10px; - -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); - background-color: #555 -} - -.ace_scrollbar-v { - cursor: ns-resize -} - -.main-martor {} - -.martor-toolbar { - padding: 0 0.85714286em !important 4px !important !important -} - -.martor-toolbar .ui.icon .markdown-image-upload { - position: relative; - overflow: hidden -} - -.martor-toolbar .ui.icon .markdown-image-upload input[type=file] { - position: absolute; - top: 0; - right: 0; - min-width: 100%; - min-height: 100%; - font-size: 25px; - padding: 0 0 0 35px; - text-align: right; - filter: alpha(opacity=0); - opacity: 0; - outline: none; - cursor: inherit; - display: block -} - -.emoji-loader-init { - min-height: 200px !important -} - -.insert-emoji { - cursor: pointer -} - -.main-martor-fullscreen { - background: #fff; - position: fixed; - z-index: 9999; - max-height: 100%; - height: 100%; - width: 100%; - margin: 0; - left: 0; - top: 0 -} - -.main-martor-fullscreen .fields.martor-toolbar { - border-bottom: 1px solid #ddd; - margin: 0 -} - -.main-martor-fullscreen .section-martor { - height: 90%; - position: relative -} - -.main-martor-fullscreen .martor-field, -.main-martor-fullscreen .martor-preview { - min-height: 95vh -} - -.marked-emoji, -div.martor-preview .marked-emoji { - max-width: 20px -} - -div.martor-preview { - font-size: 14px; - line-height: 1.6 -} - -div.martor-preview>*:first-child { - margin-top: 0 !important -} - -div.martor-preview>*:last-child { - margin-bottom: 20px !important -} - -div.martor-preview a.absent { - color: #c00 -} - -div.martor-preview a.anchor { - display: block; - padding-left: 30px; - margin-left: -30px; - cursor: pointer; - position: absolute; - top: 0; - left: 0; - bottom: 0 -} - -div.martor-preview h1, -div.martor-preview h2, -div.martor-preview h3, -div.martor-preview h4, -div.martor-preview h5, -div.martor-preview h6 { - margin: 20px 0 10px; - padding: 0; - font-weight: bold !important; - -webkit-font-smoothing: antialiased; - cursor: text; - position: relative; - background: none -} - -div.martor-preview h1:hover a.anchor, -div.martor-preview h2:hover a.anchor, -div.martor-preview h3:hover a.anchor, -div.martor-preview h4:hover a.anchor, -div.martor-preview h5:hover a.anchor, -div.martor-preview h6:hover a.anchor { - text-decoration: none; - line-height: 1; - padding-left: 0; - margin-left: -22px; - top: 15% -} - -div.martor-preview h1 code, -div.martor-preview h1 tt, -div.martor-preview h2 code, -div.martor-preview h2 tt, -div.martor-preview h3 code, -div.martor-preview h3 tt, -div.martor-preview h4 code, -div.martor-preview h4 tt, -div.martor-preview h5 code, -div.martor-preview h5 tt, -div.martor-preview h6 code, -div.martor-preview h6 tt { - font-size: inherit -} - -div.martor-preview h1 { - font-size: 28px !important; - color: #000 !important -} - -div.martor-preview h2 { - font-size: 24px !important; - color: #000 !important -} - -div.martor-preview h3 { - font-size: 18px !important -} - -div.martor-preview h4 { - font-size: 16px !important -} - -div.martor-preview h5 { - font-size: 14px !important; - text-transform: none !important -} - -div.martor-preview h6 { - color: #777; - font-size: 14px -} - -div.martor-preview blockquote, -div.martor-preview dl, -div.martor-preview ol, -div.martor-preview p, -div.martor-preview pre, -div.martor-preview table, -div.martor-preview ul { - margin: 15px 0 -} - -div.martor-preview hr { - background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC") repeat-x 0 0; - border: 0 none; - color: #ccc; - height: 4px; - padding: 0 -} - -div.martor-preview>h1:first-child, -div.martor-preview>h1:first-child+h2, -div.martor-preview>h2:first-child, -div.martor-preview>h3:first-child, -div.martor-preview>h4:first-child, -div.martor-preview>h5:first-child, -div.martor-preview>h6:first-child { - margin-top: 0; - padding-top: 0 -} - -div.martor-preview a:first-child h1, -div.martor-preview a:first-child h2, -div.martor-preview a:first-child h3, -div.martor-preview a:first-child h4, -div.martor-preview a:first-child h5, -div.martor-preview a:first-child h6 { - margin-top: 0; - padding-top: 0 -} - -div.martor-preview h1+p, -div.martor-preview h2+p, -div.martor-preview h3+p, -div.martor-preview h4+p, -div.martor-preview h5+p, -div.martor-preview h6+p { - margin-top: 0 -} - -div.martor-preview li p.first { - display: inline-block -} - -div.martor-preview ul li { - list-style: disc -} - -div.martor-preview ol, -div.martor-preview ul { - padding-left: 30px -} - -div.martor-preview ol.no-list, -div.martor-preview ul.no-list { - list-style-type: none; - padding: 0 -} - -div.martor-preview ol li> :first-child, -div.martor-preview ol li ul:first-of-type, -div.martor-preview ul li> :first-child, -div.martor-preview ul li ul:first-of-type { - margin-top: 0 -} - -div.martor-preview ol ol, -div.martor-preview ol ul, -div.martor-preview ul ol, -div.martor-preview ul ul { - margin-bottom: 0 -} - -div.martor-preview dl { - padding: 0 -} - -div.martor-preview dl dt { - font-size: 14px; - font-weight: bold; - font-style: italic; - padding: 0; - margin: 15px 0 5px -} - -div.martor-preview dl dt:first-child { - padding: 0 -} - -div.martor-preview dl dt> :first-child { - margin-top: 0 -} - -div.martor-preview dl dt> :last-child { - margin-bottom: 0 -} - -div.martor-preview dl dd { - margin: 0 0 15px; - padding: 0 15px -} - -div.martor-preview dl dd> :first-child { - margin-top: 0 -} - -div.martor-preview dl dd> :last-child { - margin-bottom: 0 -} - -div.martor-preview blockquote { - border-left: 4px solid #DDD; - padding: 5px 15px; - color: #777; - background-color: #fff -} - -div.martor-preview blockquote> :first-child { - margin-top: 0 -} - -div.martor-preview blockquote> :last-child { - margin-bottom: 0 -} - -div.martor-preview table th { - font-weight: bold -} - -div.martor-preview table td, -div.martor-preview table th { - border: 1px solid #ccc; - padding: 6px 13px -} - -div.martor-preview table tr { - border-top: 1px solid #ccc; - background-color: #fff -} - -div.martor-preview table tr:nth-child(2n) { - background-color: #f8f8f8 -} - -div.martor-preview img, -div.martor-preview p img { - max-width: 100%; - -moz-box-sizing: border-box; - box-sizing: border-box -} - -div.martor-preview span.frame { - display: block; - overflow: hidden -} - -div.martor-preview span.frame>span { - border: 1px solid #ddd; - display: block; - float: left; - overflow: hidden; - margin: 13px 0 0; - padding: 7px; - width: auto -} - -div.martor-preview span.frame span img { - display: block; - float: left -} - -div.martor-preview span.frame span span { - clear: both; - color: #333; - display: block; - padding: 5px 0 0 -} - -div.martor-preview span.align-center { - display: block; - overflow: hidden; - clear: both -} - -div.martor-preview span.align-center>span { - display: block; - overflow: hidden; - margin: 13px auto 0; - text-align: center -} - -div.martor-preview span.align-center span img { - margin: 0 auto; - text-align: center -} - -div.martor-preview span.align-right { - display: block; - overflow: hidden; - clear: both -} - -div.martor-preview span.align-right>span { - display: block; - overflow: hidden; - margin: 13px 0 0; - text-align: right -} - -div.martor-preview span.align-right span img { - margin: 0; - text-align: right -} - -div.martor-preview span.float-left { - display: block; - margin-right: 13px; - overflow: hidden; - float: left -} - -div.martor-preview span.float-left span { - margin: 13px 0 0 -} - -div.martor-preview span.float-right { - display: block; - margin-left: 13px; - overflow: hidden; - float: right -} - -div.martor-preview span.float-right>span { - display: block; - overflow: hidden; - margin: 13px auto 0; - text-align: right -} - -div.martor-preview code, -div.martor-preview tt { - margin: 0 2px; - padding: 0 5px; - border: 1px solid #eaeaea; - background-color: #f8f8f8; - border-radius: 3px -} - -div.martor-preview code { - white-space: nowrap -} - -div.martor-preview pre>code { - margin: 0; - padding: 0; - white-space: pre; - border: none; - background: transparent -} - -div.martor-preview .highlight pre, -div.martor-preview pre { - border: 1px solid #f0f0f0; - padding: 16px; - overflow: auto; - font-size: 85%; - line-height: 1.45; - background-color: #f6f8fa; - border-radius: 3px -} - -div.martor-preview pre code, -div.martor-preview pre tt { - margin: 0; - padding: 0; - background-color: transparent; - border: none -} - -.section-martor {} - -.section-martor div[data-tab="editor-tab-description"] { - padding: 0 !important -} - -.martor { - height: 500px; - max-height: 500px -} - -.martor-field { - width: 100%; - height: 250px; - min-height: 100px -} - -div.martor-preview { - padding: 1rem; - overflow: auto; - background: #F9F9F9 -} - -div.martor-preview-stale { - background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #f8f8f8 10px, #f8f8f8 20px) !important -} - -.icon.expand-editor { - position: absolute; - bottom: 0.8em; - right: 0 -} - -.no-border { - border: none !important -} - -div.enable-living .martor-preview { - display: block !important; - opacity: unset !important; - border: 1px solid #efefef !important; - border-radius: 0.28571429rem !important -} - -div.enable-living .tab-martor-menu a.item { - display: none !important -} +.submit-row a{box-sizing:content-box}body.overflow{overflow:hidden!important}.section-martor::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgb(0 0 0 / .3);border-radius:10px;background-color:#F5F5F5}.section-martor::-webkit-scrollbar{height:6px;width:6px;background-color:#F5F5F5}.section-martor::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgb(0 0 0 / .3);background-color:#555}.ace_scrollbar-v{cursor:ns-resize}.martor-toolbar{padding:0 0.85714286em!important4px!important!important}.martor-toolbar .ui.icon .markdown-image-upload{position:relative;overflow:hidden}.martor-toolbar .ui.icon .markdown-image-upload input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:25px;padding:0 0 0 35px;text-align:right;filter:alpha(opacity=0);opacity:0;outline:none;cursor:inherit;display:block}.emoji-loader-init{min-height:200px!important}.insert-emoji{cursor:pointer}.main-martor-fullscreen{background:#fff;position:fixed;z-index:9999;max-height:100%;height:100%;width:100%;margin:0;left:0;top:0}.main-martor-fullscreen .fields.martor-toolbar{border-bottom:1px solid #ddd;margin:0}.main-martor-fullscreen .section-martor{height:90%;position:relative}.main-martor-fullscreen .martor-field,.main-martor-fullscreen .martor-preview{min-height:95vh}.marked-emoji,div.martor-preview .marked-emoji{max-width:20px}div.martor-preview{font-size:14px;line-height:1.6}div.martor-preview>*:first-child{margin-top:0!important}div.martor-preview>*:last-child{margin-bottom:20px!important}div.martor-preview a.absent{color:#c00}div.martor-preview a.anchor{display:block;padding-left:30px;margin-left:-30px;cursor:pointer;position:absolute;top:0;left:0;bottom:0}div.martor-preview h1,div.martor-preview h2,div.martor-preview h3,div.martor-preview h4,div.martor-preview h5,div.martor-preview h6{margin:20px 0 10px;padding:0;font-weight:bold!important;-webkit-font-smoothing:antialiased;cursor:text;position:relative;background:none}div.martor-preview h1:hover a.anchor,div.martor-preview h2:hover a.anchor,div.martor-preview h3:hover a.anchor,div.martor-preview h4:hover a.anchor,div.martor-preview h5:hover a.anchor,div.martor-preview h6:hover a.anchor{text-decoration:none;line-height:1;padding-left:0;margin-left:-22px;top:15%}div.martor-preview h1 code,div.martor-preview h1 tt,div.martor-preview h2 code,div.martor-preview h2 tt,div.martor-preview h3 code,div.martor-preview h3 tt,div.martor-preview h4 code,div.martor-preview h4 tt,div.martor-preview h5 code,div.martor-preview h5 tt,div.martor-preview h6 code,div.martor-preview h6 tt{font-size:inherit}div.martor-preview h1{font-size:28px!important;color:#000!important}div.martor-preview h2{font-size:24px!important;color:#000!important}div.martor-preview h3{font-size:18px!important}div.martor-preview h4{font-size:16px!important}div.martor-preview h5{font-size:14px!important;text-transform:none!important}div.martor-preview h6{color:#777;font-size:14px}div.martor-preview blockquote,div.martor-preview dl,div.martor-preview ol,div.martor-preview p,div.martor-preview pre,div.martor-preview table,div.martor-preview ul{margin:15px 0}div.martor-preview hr{background:#fff0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;border:0 none;color:#ccc;height:4px;padding:0}div.martor-preview>h1:first-child,div.martor-preview>h1:first-child+h2,div.martor-preview>h2:first-child,div.martor-preview>h3:first-child,div.martor-preview>h4:first-child,div.martor-preview>h5:first-child,div.martor-preview>h6:first-child{margin-top:0;padding-top:0}div.martor-preview a:first-child h1,div.martor-preview a:first-child h2,div.martor-preview a:first-child h3,div.martor-preview a:first-child h4,div.martor-preview a:first-child h5,div.martor-preview a:first-child h6{margin-top:0;padding-top:0}div.martor-preview h1+p,div.martor-preview h2+p,div.martor-preview h3+p,div.martor-preview h4+p,div.martor-preview h5+p,div.martor-preview h6+p{margin-top:0}div.martor-preview li p.first{display:inline-block}div.martor-preview ul li{list-style:disc}div.martor-preview ol,div.martor-preview ul{padding-left:30px}div.martor-preview ol.no-list,div.martor-preview ul.no-list{list-style-type:none;padding:0}div.martor-preview ol li>:first-child,div.martor-preview ol li ul:first-of-type,div.martor-preview ul li>:first-child,div.martor-preview ul li ul:first-of-type{margin-top:0}div.martor-preview ol ol,div.martor-preview ol ul,div.martor-preview ul ol,div.martor-preview ul ul{margin-bottom:0}div.martor-preview dl{padding:0}div.martor-preview dl dt{font-size:14px;font-weight:700;font-style:italic;padding:0;margin:15px 0 5px}div.martor-preview dl dt:first-child{padding:0}div.martor-preview dl dt>:first-child{margin-top:0}div.martor-preview dl dt>:last-child{margin-bottom:0}div.martor-preview dl dd{margin:0 0 15px;padding:0 15px}div.martor-preview dl dd>:first-child{margin-top:0}div.martor-preview dl dd>:last-child{margin-bottom:0}div.martor-preview blockquote{border-left:4px solid #DDD;padding:5px 15px;color:#777;background-color:#fff}div.martor-preview blockquote>:first-child{margin-top:0}div.martor-preview blockquote>:last-child{margin-bottom:0}div.martor-preview table th{font-weight:700}div.martor-preview table td,div.martor-preview table th{border:1px solid #ccc;padding:6px 13px}div.martor-preview table tr{border-top:1px solid #ccc;background-color:#fff}div.martor-preview table tr:nth-child(2n){background-color:#f8f8f8}div.martor-preview img,div.martor-preview p img{max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box}div.martor-preview span.frame{display:block;overflow:hidden}div.martor-preview span.frame>span{border:1px solid #ddd;display:block;float:left;overflow:hidden;margin:13px 0 0;padding:7px;width:auto}div.martor-preview span.frame span img{display:block;float:left}div.martor-preview span.frame span span{clear:both;color:#333;display:block;padding:5px 0 0}div.martor-preview span.align-center{display:block;overflow:hidden;clear:both}div.martor-preview span.align-center>span{display:block;overflow:hidden;margin:13px auto 0;text-align:center}div.martor-preview span.align-center span img{margin:0 auto;text-align:center}div.martor-preview span.align-right{display:block;overflow:hidden;clear:both}div.martor-preview span.align-right>span{display:block;overflow:hidden;margin:13px 0 0;text-align:right}div.martor-preview span.align-right span img{margin:0;text-align:right}div.martor-preview span.float-left{display:block;margin-right:13px;overflow:hidden;float:left}div.martor-preview span.float-left span{margin:13px 0 0}div.martor-preview span.float-right{display:block;margin-left:13px;overflow:hidden;float:right}div.martor-preview span.float-right>span{display:block;overflow:hidden;margin:13px auto 0;text-align:right}div.martor-preview code,div.martor-preview tt{margin:0 2px;padding:0 5px;border:1px solid #eaeaea;background-color:#f8f8f8;border-radius:3px}div.martor-preview code{white-space:nowrap}div.martor-preview pre>code{margin:0;padding:0;white-space:pre;border:none;background:#fff0}div.martor-preview .highlight pre,div.martor-preview pre{border:1px solid #f0f0f0;padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}div.martor-preview pre code,div.martor-preview pre tt{margin:0;padding:0;background-color:#fff0;border:none}.section-martor div[data-tab="editor-tab-description"]{padding:0!important}.martor{height:500px;max-height:500px}.martor-field{width:100%;height:250px;min-height:100px}div.martor-preview{padding:1rem;overflow:auto;background:#F9F9F9}div.martor-preview-stale{background:repeating-linear-gradient(-45deg,#fff,#fff 10px,#f8f8f8 10px,#f8f8f8 20px)!important}.icon.expand-editor{position:absolute;bottom:.8em;right:0}.no-border{border:none!important}div.enable-living .martor-preview{display:block!important;opacity:unset!important;border:1px solid #efefef!important;border-radius:0.28571429rem!important}div.enable-living .tab-martor-menu a.item{display:none!important} diff --git a/martor/static/martor/js/martor.bootstrap.js b/martor/static/martor/js/martor.bootstrap.js index b3875158..ffb9ce47 100644 --- a/martor/static/martor/js/martor.bootstrap.js +++ b/martor/static/martor/js/martor.bootstrap.js @@ -1,7 +1,7 @@ /** - * Name : Martor v1.6.43 + * Name : Martor v1.6.44 * Created by : Agus Makmun (Summon Agus) - * Release date : 30-Mar-2024 + * Release date : 15-Apr-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 * Repository : https://github.com/agusmakmun/django-markdown-editor * JS Minifier : https://jscompress.com diff --git a/martor/static/martor/js/martor.bootstrap.min.js b/martor/static/martor/js/martor.bootstrap.min.js index cbdb31d1..4653fd8e 100644 --- a/martor/static/martor/js/martor.bootstrap.min.js +++ b/martor/static/martor/js/martor.bootstrap.min.js @@ -1,7 +1,7 @@ /** - * Name : Martor v1.6.43 + * Name : Martor v1.6.44 * Created by : Agus Makmun (Summon Agus) - * Release date : 30-Mar-2024 + * Release date : 15-Apr-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 * Repository : https://github.com/agusmakmun/django-markdown-editor * JS Minifier : https://jscompress.com diff --git a/martor/static/martor/js/martor.semantic.js b/martor/static/martor/js/martor.semantic.js index fe38545c..495e3725 100644 --- a/martor/static/martor/js/martor.semantic.js +++ b/martor/static/martor/js/martor.semantic.js @@ -1,7 +1,7 @@ /** - * Name : Martor v1.6.43 + * Name : Martor v1.6.44 * Created by : Agus Makmun (Summon Agus) - * Release date : 30-Mar-2024 + * Release date : 15-Apr-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 * Repository : https://github.com/agusmakmun/django-markdown-editor * JS Minifier : https://jscompress.com diff --git a/martor/static/martor/js/martor.semantic.min.js b/martor/static/martor/js/martor.semantic.min.js index 249b2263..bcbbb96d 100644 --- a/martor/static/martor/js/martor.semantic.min.js +++ b/martor/static/martor/js/martor.semantic.min.js @@ -1,7 +1,7 @@ /** - * Name : Martor v1.6.43 + * Name : Martor v1.6.44 * Created by : Agus Makmun (Summon Agus) - * Release date : 30-Mar-2024 + * Release date : 15-Apr-2024 * License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 * Repository : https://github.com/agusmakmun/django-markdown-editor * JS Minifier : https://jscompress.com