creating a new architecture based on quill
This commit is contained in:
1 parent
f719cb2989
commit
2038e07a60
15 files changed
-470
No files matched your search
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
|
Before Width: | Height: | Size: 306 KiB After Width: | Height: | Size: 306 KiB |
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,457 +0,0 @@
|
||||
/*!
|
||||
*
|
||||
* jQuery TE 1.4.0 , http://jqueryte.com/
|
||||
* Copyright (C) 2013, Fatih Koca (fattih@fattih.com), (http://jqueryte.com/about)
|
||||
|
||||
* jQuery TE is provided under the MIT LICENSE.
|
||||
*
|
||||
*/
|
||||
|
||||
/* editor's general field */
|
||||
.jqte {
|
||||
margin:30px 0;
|
||||
border:#000 1px solid;
|
||||
border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;
|
||||
box-shadow:0 0 3px #999; -webkit-box-shadow:0 0 3px #999; -moz-box-shadow:0 0 3px #999;
|
||||
overflow:hidden;
|
||||
transition:box-shadow 0.4s, border 0.4s; -webkit-transition:-webkit-box-shadow 0.4s, border 0.4s; -moz-transition:-moz-box-shadow 0.4s, border 0.4s; -o-transition:-o-box-shadow 0.4s, border 0.4s;
|
||||
}
|
||||
.jqte * {
|
||||
color:#333;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:14px;
|
||||
}
|
||||
.jqte_focused {
|
||||
border-color:#00AAE7;
|
||||
box-shadow:0 0 10px #00BDFF; -webkit-box-shadow:0 0 10px #00BDFF; -moz-box-shadow:0 0 10px #00BDFF;
|
||||
}
|
||||
/* toolbar */
|
||||
.jqte_toolbar {
|
||||
overflow:auto;
|
||||
padding:3px 4px;
|
||||
background:#EEE;
|
||||
border-bottom:#BBB 1px solid;
|
||||
}
|
||||
.jqte_tool {
|
||||
float:left;
|
||||
margin:0;
|
||||
padding:0;
|
||||
cursor:pointer;
|
||||
}
|
||||
.jqte_tool, .jqte_tool_icon, .jqte_tool_label {
|
||||
border:#EEE 1px solid;
|
||||
border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px
|
||||
}
|
||||
.jqte_hiddenField {
|
||||
display:none
|
||||
}
|
||||
.jqte_tool_icon {
|
||||
display:block;
|
||||
width:22px;
|
||||
height:22px;
|
||||
background:url(../images/jquery-te.png) no-repeat
|
||||
}
|
||||
.jqte_tool.jqte_tool_1 .jqte_tool_label {
|
||||
position:relative;
|
||||
display:block;
|
||||
padding:3px;
|
||||
width:70px;
|
||||
height:16px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.jqte_tool.jqte_tool_1 .jqte_tool_text {
|
||||
font:bold 13px Arial,sans-serif;
|
||||
color:#222;
|
||||
}
|
||||
.jqte_tool.jqte_tool_1 .jqte_tool_icon {
|
||||
position:absolute;
|
||||
top:10px;
|
||||
right:2px;
|
||||
width:6px;
|
||||
height:4px;
|
||||
background-position:-19px -23px;
|
||||
border:none;
|
||||
border-radius:none; -webkit-border-radius:none; -moz-border-radius:none
|
||||
}
|
||||
.jqte_tool.jqte_tool_2 .jqte_tool_icon {
|
||||
background-position:0 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_3 .jqte_tool_icon {
|
||||
background-position:-22px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_4 .jqte_tool_icon {
|
||||
background-position:-44px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_5 .jqte_tool_icon {
|
||||
background-position:-66px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_6 .jqte_tool_icon {
|
||||
background-position:-88px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_7 .jqte_tool_icon {
|
||||
background-position:-110px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_8 .jqte_tool_icon {
|
||||
background-position:-132px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_9 .jqte_tool_icon {
|
||||
background-position:-154px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_10 .jqte_tool_icon {
|
||||
background-position:-176px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_11 .jqte_tool_icon {
|
||||
background-position:-198px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_12 .jqte_tool_icon {
|
||||
background-position:-220px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_13 .jqte_tool_icon {
|
||||
background-position:-242px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_14 .jqte_tool_icon {
|
||||
background-position:-264px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_15 .jqte_tool_icon {
|
||||
background-position:-286px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_16 .jqte_tool_icon {
|
||||
background-position:-308px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_17 .jqte_tool_icon {
|
||||
background-position:-330px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_18 .jqte_tool_icon {
|
||||
background-position:-352px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_19 .jqte_tool_icon {
|
||||
background-position:-374px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_20 .jqte_tool_icon {
|
||||
background-position:-396px 0
|
||||
}
|
||||
.jqte_tool.jqte_tool_21 .jqte_tool_icon {
|
||||
background-position:-418px 0
|
||||
}
|
||||
.jqte_tool:hover {
|
||||
background-color:#FFF;
|
||||
border-color:#FFF
|
||||
}
|
||||
.jqte_tool:hover .jqte_tool_icon, .jqte_tool:hover .jqte_tool_label {
|
||||
border:#AAA 1px solid
|
||||
}
|
||||
.jqte_tool:active .jqte_tool_icon, .jqte_tool:active .jqte_tool_label {
|
||||
border:#777 1px solid
|
||||
}
|
||||
.jqte_tool.jqte_tool_1:hover .jqte_tool_icon, .jqte_tool.jqte_tool_1:active .jqte_tool_icon {
|
||||
border:none
|
||||
}
|
||||
.jqte_tool_depressed {
|
||||
background-color:#DDD;
|
||||
border-color:#CCC
|
||||
}
|
||||
.jqte_tool_depressed .jqte_tool_icon {
|
||||
border-color:#AAA
|
||||
}
|
||||
.jqte_tool_depressed:hover {
|
||||
background-color:#EEE
|
||||
}
|
||||
/* link form area */
|
||||
.jqte_linkform {
|
||||
padding:5px 10px;
|
||||
background:#DDD;
|
||||
border-bottom:#BBB 1px solid;
|
||||
}
|
||||
.jqte_linktypeselect {
|
||||
position:relative;
|
||||
float:left;
|
||||
width:130px;
|
||||
background:#EEE;
|
||||
cursor:pointer
|
||||
}
|
||||
.jqte_linktypeselect:Active {
|
||||
background:#FFF
|
||||
}
|
||||
.jqte_linktypeview {
|
||||
padding:3px 5px;
|
||||
border:#333 1px solid;
|
||||
color:#777;
|
||||
border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
|
||||
outline:none
|
||||
}
|
||||
.jqte_linktypetext {
|
||||
font-size:12px;
|
||||
}
|
||||
.jqte_linktypearrow {
|
||||
position:absolute;
|
||||
bottom:8px; right:6px;
|
||||
width:7px;
|
||||
height:6px;
|
||||
margin:0 auto;
|
||||
background:url(../images/jquery-te.png) -7px -23px no-repeat;
|
||||
}
|
||||
.jqte_linktypes {
|
||||
display:none;
|
||||
position:absolute;
|
||||
top:22px; left:1px;
|
||||
width:125px;
|
||||
background:#FFF;
|
||||
border:#333 1px solid;
|
||||
box-shadow:0 1px 4px #AAA; -webkit-box-shadow:0 1px 4px #AAA; -moz-box-shadow:0 1px 4px #AAA
|
||||
}
|
||||
.jqte_linktypes a {
|
||||
display:block;
|
||||
padding:4px 5px;
|
||||
font-size:12px;
|
||||
}
|
||||
.jqte_linktypes a:hover {
|
||||
background:#DDD
|
||||
}
|
||||
.jqte_linkinput {
|
||||
float:left;
|
||||
margin:0 5px;
|
||||
padding:3px 5px;
|
||||
width:300px;
|
||||
background:#EEE;
|
||||
border:#333 1px solid;
|
||||
color:#777;
|
||||
font-size:12px;
|
||||
border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
|
||||
outline:none;
|
||||
}
|
||||
.jqte_linkinput:focus, .jqte_linkinput:hover {
|
||||
background:#FFF;
|
||||
border-color:#000;
|
||||
}
|
||||
.jqte_linkbutton {
|
||||
float:left;
|
||||
padding:3px 12px;
|
||||
background:#AAA;
|
||||
border:#333 1px solid;
|
||||
color:#FFF;
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
cursor:pointer;
|
||||
border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
|
||||
box-shadow:inset 0 1px #EEE; -webkit-box-shadow:inset 0 1px #EEE; -moz-box-shadow:inset 0 1px #EEE;
|
||||
}
|
||||
.jqte_linkbutton:hover {
|
||||
background:#A1A1A1
|
||||
}
|
||||
.jqte_linkbutton:active {
|
||||
box-shadow:inset 0 1px #CCC; -webkit-box-shadow:inset 0 1px #CCC; -moz-box-shadow:inset 0 1px #CCC;
|
||||
background:#888;
|
||||
}
|
||||
|
||||
/* text format menu */
|
||||
.jqte_formats {
|
||||
display:none;
|
||||
position:absolute;
|
||||
width:180px;
|
||||
oveflow-x:hidden;
|
||||
overflow-y:auto;
|
||||
background:#FFF;
|
||||
border:#AAA 1px solid;
|
||||
box-shadow:0 0 5px #AAA; -webkit-box-shadow:0 0 5px #AAA; -moz-box-shadow:0 0 5px #AAA;
|
||||
z-index:100;
|
||||
}
|
||||
.jqte_format {
|
||||
display:block;
|
||||
padding:4px 7px;
|
||||
font-size:13px
|
||||
}
|
||||
.jqte_format:hover {
|
||||
background:#DDD
|
||||
}
|
||||
.jqte_format_1, .jqte_format_2, .jqte_format_3, .jqte_format_4, .jqte_format_5, .jqte_format_6 {
|
||||
font-weight:bold
|
||||
}
|
||||
.jqte_format_1 {
|
||||
font-size:22px
|
||||
}
|
||||
.jqte_format_2 {
|
||||
font-size:20px
|
||||
}
|
||||
.jqte_format_3 {
|
||||
font-size:18px
|
||||
}
|
||||
.jqte_format_4 {
|
||||
font-size:16px
|
||||
}
|
||||
.jqte_format_5 {
|
||||
font-size:14px
|
||||
}
|
||||
.jqte_format_6 {
|
||||
font-size:12px
|
||||
}
|
||||
.jqte_format_7 {
|
||||
font-family:"Courier New", Courier, monospace
|
||||
}
|
||||
|
||||
/* font size menu */
|
||||
.jqte_fontsizes {
|
||||
display:none;
|
||||
position:absolute;
|
||||
width:180px;
|
||||
height:198px;
|
||||
oveflow-x:hidden;
|
||||
overflow-y:auto;
|
||||
background:#FFF;
|
||||
border:#AAA 1px solid;
|
||||
box-shadow:0 0 5px #AAA; -webkit-box-shadow:0 0 5px #AAA; -moz-box-shadow:0 0 5px #AAA
|
||||
}
|
||||
.jqte_fontsize {
|
||||
display:block;
|
||||
padding:3px 7px;
|
||||
}
|
||||
.jqte_fontsize:hover {
|
||||
background:#DDD
|
||||
}
|
||||
|
||||
/* color pallette */
|
||||
.jqte_cpalette {
|
||||
display:none;
|
||||
position:absolute;
|
||||
padding:6px;
|
||||
width:144px;
|
||||
background:#FFF;
|
||||
border:#AAA 1px solid;
|
||||
box-shadow:0 0 5px #AAA; -webkit-box-shadow:0 0 5px #AAA; -moz-box-shadow:0 0 5px #AAA
|
||||
}
|
||||
.jqte_color {
|
||||
display:block;
|
||||
float:left;
|
||||
width:16px;
|
||||
height:16px;
|
||||
border:#FFF 1px solid;
|
||||
}
|
||||
.jqte_color:hover {
|
||||
border-color:#000
|
||||
}
|
||||
.jqte_colorSeperator {
|
||||
float:none;
|
||||
clear:both;
|
||||
height:7px;
|
||||
}
|
||||
|
||||
/* editor area */
|
||||
.jqte_editor, .jqte_source {
|
||||
padding:10px;
|
||||
background:#FFF;
|
||||
min-height:100px;
|
||||
max-height:900px;
|
||||
overflow:auto;
|
||||
outline:none;
|
||||
word-wrap:break-word; -ms-word-wrap:break-word;
|
||||
resize:vertical
|
||||
}
|
||||
.jqte_editor div, .jqte_editor p {
|
||||
margin:0 0 7px
|
||||
}
|
||||
.jqte_editor a:link, .jqte_editor a:link * {
|
||||
color:#0066FF !important;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.jqte_editor blockquote {
|
||||
margin-top:0;
|
||||
margin-bottom:7px
|
||||
}
|
||||
.jqte_editor img {
|
||||
float:left;
|
||||
margin:0 10px 5px 0
|
||||
}
|
||||
.jqte_editor a[jqte-setlink], .jqte_editor a[jqte-setlink] * {
|
||||
background:#3297FD !important;
|
||||
color:#FFF !important
|
||||
}
|
||||
.jqte_editor h1, .jqte_editor h2, .jqte_editor h3, .jqte_editor h4, .jqte_editor h5, .jqte_editor h6, .jqte_editor pre {
|
||||
display:block;
|
||||
margin:0 0 3px;
|
||||
}
|
||||
.jqte_editor h1, .jqte_editor h1 * {
|
||||
font-size:26px
|
||||
}
|
||||
.jqte_editor h2, .jqte_editor h2 * {
|
||||
font-size:24px
|
||||
}
|
||||
.jqte_editor h3, .jqte_editor h3 * {
|
||||
font-size:22px
|
||||
}
|
||||
.jqte_editor h4, .jqte_editor h4 * {
|
||||
font-size:20px
|
||||
}
|
||||
.jqte_editor h5, .jqte_editor h5 * {
|
||||
font-size:18px
|
||||
}
|
||||
.jqte_editor h6, .jqte_editor h6 * {
|
||||
font-size:15px
|
||||
}
|
||||
.jqte_editor pre, .jqte_editor pre * {
|
||||
font-family:"Courier New", Courier, monospace
|
||||
}
|
||||
|
||||
/* source area */
|
||||
.jqte_source, .jqte_source textarea {
|
||||
background:#FFF1E8
|
||||
}
|
||||
.jqte_source textarea {
|
||||
margin:0 !important;
|
||||
padding:0 !important;
|
||||
display:block !important;
|
||||
width:100% !important;
|
||||
min-height:100px;
|
||||
font-family:Courier, Arial, sans-serif !important;
|
||||
font-weight:normal;
|
||||
font-size:15px;
|
||||
overflow:hidden !important;
|
||||
outline:none;
|
||||
resize:none;
|
||||
}
|
||||
.jqte_source textarea, .jqte_source textarea:focus {
|
||||
css_shadow:none !important;
|
||||
background:none !important;
|
||||
border:none !important;
|
||||
}
|
||||
|
||||
/* title box */
|
||||
.jqte_title {
|
||||
display:none;
|
||||
position:absolute;
|
||||
z-index:9999;
|
||||
}
|
||||
.jqte_titleArrow {
|
||||
position:relative;
|
||||
}
|
||||
.jqte_titleArrowIcon {
|
||||
width:7px;
|
||||
height:6px;
|
||||
margin:0 auto;
|
||||
background:url(../images/jquery-te.png) 0 -23px no-repeat;
|
||||
}
|
||||
.jqte_titleText {
|
||||
padding:5px 7px;
|
||||
margin-top:0;
|
||||
min-width:5px;
|
||||
min-height:1px;
|
||||
max-width:400px;
|
||||
background:#000;
|
||||
border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
|
||||
word-wrap:break-word; -ms-word-wrap:break-word
|
||||
}
|
||||
.jqte_titleText, .jqte_titleText * {
|
||||
color:#FFF;
|
||||
font-size:11px
|
||||
}
|
||||
|
||||
/* placeholder */
|
||||
.jqte_placeholder {
|
||||
position:relative;
|
||||
display:none;
|
||||
}
|
||||
.jqte_placeholder_text {
|
||||
position:absolute;
|
||||
top:43px;
|
||||
left:10px;
|
||||
font-size:14px;
|
||||
color:#CCC;
|
||||
}
|
||||
File renamed without changes.
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
/** Trumbowyg v2.0.0-beta.4 - A lightweight WYSIWYG editor - alex-d.github.io/Trumbowyg - License MIT - Author : Alexandre Demode (Alex-D) / alex-d.fr */
|
||||
.trumbowyg-box *,.trumbowyg-box ::after,.trumbowyg-box ::before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.trumbowyg-box,.trumbowyg-editor{display:block;position:relative;border:1px solid #DDD;width:96%;min-height:300px;margin:17px auto}.trumbowyg-box .trumbowyg-editor{margin:0 auto}.trumbowyg-box.trumbowyg-fullscreen{background:#FEFEFE}.trumbowyg-editor,.trumbowyg-textarea{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1% 2%;min-height:300px;width:100%;border-style:none;resize:none;outline:0}.trumbowyg-box-blur .trumbowyg-editor *{color:transparent!important;text-shadow:0 0 7px #333}.trumbowyg-box-blur .trumbowyg-editor img{opacity:.2}.trumbowyg-textarea{position:relative;display:block;overflow:auto;border:none;white-space:normal;font-size:14px;font-family:Inconsolata,Consolas,Courier,"Courier New",sans-serif;line-height:18px}.trumbowyg-box.trumbowyg-editor-visible .trumbowyg-textarea{position:absolute;top:37px;height:1px!important;width:25%;min-height:0!important;padding:0!important;background:0 0;opacity:0}.trumbowyg-box.trumbowyg-editor-hidden .trumbowyg-textarea{display:block}.trumbowyg-box.trumbowyg-editor-hidden .trumbowyg-editor{display:none}.trumbowyg-editor[contenteditable=true]:empty:before{content:attr(placeholder);color:#999}.trumbowyg-button-pane{position:relative;width:100%;background:#ecf0f1;border-bottom:1px solid #d7e0e2;margin:0;padding:0;list-style-type:none;line-height:10px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.trumbowyg-button-pane li{display:inline-block;text-align:center;overflow:hidden;padding:0!important}.trumbowyg-button-pane li.trumbowyg-separator{width:1px;background:#d7e0e2;margin:0 5px;height:35px}.trumbowyg-button-pane.trumbowyg-disable li:not(.trumbowyg-not-disable) button:not(.trumbowyg-active){opacity:.2;cursor:default}.trumbowyg-button-pane.trumbowyg-disable li.trumbowyg-separator{background:#e3e9eb}.trumbowyg-button-pane li button{padding:1px 6px!important}.trumbowyg-button-pane li button.trumbowyg-active,.trumbowyg-button-pane li.trumbowyg-not-disable button:focus,.trumbowyg-button-pane li.trumbowyg-not-disable button:hover,.trumbowyg-button-pane:not(.trumbowyg-disable) li button:focus,.trumbowyg-button-pane:not(.trumbowyg-disable) li button:hover{background-color:#FFF;outline:0}.trumbowyg-button-pane li .trumbowyg-open-dropdown:after{display:block;content:" ";position:absolute;top:25px;right:3px;height:0;width:0;border:3px solid transparent;border-top-color:#555}.trumbowyg-button-pane .trumbowyg-buttons-right{float:right;width:auto}.trumbowyg-button-pane .trumbowyg-buttons-right button{float:left}.trumbowyg-dropdown{width:200px;border:1px solid #ecf0f1;padding:5px 0;border-top:none;background:#FFF;margin-left:-1px;-webkit-box-shadow:rgba(0,0,0,.1) 0 2px 3px;box-shadow:rgba(0,0,0,.1) 0 2px 3px}.trumbowyg-dropdown button{display:block;width:100%;height:35px;line-height:35px;text-decoration:none;background:#FFF;padding:0 14px;color:#333!important;border:none;cursor:pointer;text-align:left;font-size:15px;-webkit-transition:all .15s;transition:all .15s}.trumbowyg-dropdown button:focus,.trumbowyg-dropdown button:hover{background:#ecf0f1}.trumbowyg-modal{position:absolute;top:0;left:50%;margin-left:-260px;width:520px;height:350px;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.trumbowyg-modal-box{position:absolute;top:0;left:50%;margin-left:-250px;width:500px;padding-bottom:45px;z-index:1;background-color:#FFF;text-align:center;font-size:14px;-webkit-box-shadow:rgba(0,0,0,.2) 0 2px 3px;box-shadow:rgba(0,0,0,.2) 0 2px 3px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.trumbowyg-modal-box .trumbowyg-modal-title{font-size:24px;font-weight:700;margin:0 0 20px;padding:15px 0 13px;display:block;border-bottom:1px solid #EEE;color:#333;background:#fbfcfc}.trumbowyg-modal-box .trumbowyg-progress{width:100%;background:red;height:3px;position:absolute;top:58px}.trumbowyg-modal-box .trumbowyg-progress .trumbowyg-progress-bar{background:#2BC06A;height:100%;-webkit-transition:width .15s linear;transition:width .15s linear}.trumbowyg-modal-box label{display:block;position:relative;margin:15px 12px;height:27px;line-height:27px;overflow:hidden}.trumbowyg-modal-box label .trumbowyg-input-infos{display:block;text-align:left;height:25px;line-height:25px;-webkit-transition:all .15;transition:all .15}.trumbowyg-modal-box label .trumbowyg-input-infos span{display:block;color:#69878e;background-color:#fbfcfc;border:1px solid #DEDEDE;padding:0 7px;width:137px}.trumbowyg-modal-box label .trumbowyg-input-infos span.trumbowyg-msg-error{color:#e74c3c}.trumbowyg-modal-box label.trumbowyg-input-error input,.trumbowyg-modal-box label.trumbowyg-input-error textarea{border:1px solid #e74c3c}.trumbowyg-modal-box label.trumbowyg-input-error .trumbowyg-input-infos{margin-top:-27px}.trumbowyg-modal-box label input{position:absolute;top:0;right:0;heLine truncated
|
||||
Reference in new issue
Block a user