mirror of
https://github.com/codex-team/editor.js
synced 2024-06-23 16:00:44 +02:00
quotes css updated
This commit is contained in:
parent
29cb83dfc4
commit
f942dcadd2
|
@ -148,7 +148,7 @@
|
||||||
quote : {
|
quote : {
|
||||||
type : 'withPhoto',
|
type : 'withPhoto',
|
||||||
text : 'git — распределенная система контроля версий файлов.<br> «Распределенная» значит, что каждый репозиторий содержит всю историю изменений, и из него можно развернуть полноценную рабочую копию проекта.',
|
text : 'git — распределенная система контроля версий файлов.<br> «Распределенная» значит, что каждый репозиторий содержит всю историю изменений, и из него можно развернуть полноценную рабочую копию проекта.',
|
||||||
photo : '../img/01.jpg',
|
photo : '',
|
||||||
author : '',
|
author : '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -47,19 +47,19 @@
|
||||||
padding: 4.5em 6.5em !important;
|
padding: 4.5em 6.5em !important;
|
||||||
}
|
}
|
||||||
.quoteStyle-withPhoto--photo {
|
.quoteStyle-withPhoto--photo {
|
||||||
width: 90px;
|
width: 80px;
|
||||||
height: 90px;
|
height: 80px;
|
||||||
border: 1px solid #8E8E8E;
|
border: 1px solid #8E8E8E;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 30px;
|
margin-right: 33px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quoteStyle-withPhoto--author {
|
.quoteStyle-withPhoto--author {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #000;
|
color: #000;
|
||||||
letter-spacing: 0px;
|
/*letter-spacing: 0px;*/
|
||||||
outline: none;
|
outline: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
font-weight: regular;
|
font-weight: regular;
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
color: #818BA1;
|
color: #818BA1;
|
||||||
letter-spacing: 0px;
|
/*letter-spacing: 0px;*/
|
||||||
outline: none;
|
outline: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
|
@ -201,7 +201,7 @@ var quoteTools = {
|
||||||
quote = quoteTools.ui.makeBlock('DIV', ['quoteStyle-withPhoto--quote', 'ce_quote--text'])
|
quote = quoteTools.ui.makeBlock('DIV', ['quoteStyle-withPhoto--quote', 'ce_quote--text'])
|
||||||
|
|
||||||
/* Default Image src */
|
/* Default Image src */
|
||||||
photo.src = data.photo || '../img/01.jpg';
|
photo.src = data.photo || 'plugins/ceditor-tool-quote/img/codex.png';
|
||||||
|
|
||||||
/* make author block contentEditable */
|
/* make author block contentEditable */
|
||||||
author.contentEditable = 'true';
|
author.contentEditable = 'true';
|
||||||
|
|
BIN
plugins/ceditor-tool-quote/img/codex.png
Normal file
BIN
plugins/ceditor-tool-quote/img/codex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
plugins/ceditor-tool-quote/img/upload.png
Normal file
BIN
plugins/ceditor-tool-quote/img/upload.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in a new issue