/dev/qulogic/ckeditor: ca8d25c677c5: Remove cke_float and cke_bo...
Elliott Sales de Andrade
qulogic at pidgin.im
Fri Aug 9 03:13:29 EDT 2013
Changeset: ca8d25c677c54a1734914f1c5eb1f88df98e054c
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2013-08-07 20:27 -0400
Branch: default
URL: https://hg.pidgin.im/dev/qulogic/ckeditor/rev/ca8d25c677c5
Description:
Remove cke_float and cke_bottom styles.
Our editor will never float, and by default doesn't need a bottom bar.
diffstat:
pidgin/ckeditor/skins/pidgin/mainui.css | 58 +--------------------------------
pidgin/ckeditor/skins/pidgin/skin.js | 4 --
2 files changed, 1 insertions(+), 61 deletions(-)
diffs (98 lines):
diff --git a/pidgin/ckeditor/skins/pidgin/mainui.css b/pidgin/ckeditor/skins/pidgin/mainui.css
--- a/pidgin/ckeditor/skins/pidgin/mainui.css
+++ b/pidgin/ckeditor/skins/pidgin/mainui.css
@@ -23,19 +23,6 @@ modes are:
|| +-- .cke_contents --------------+ ||
|| | | ||
|| +-------------------------------+ ||
- || +-- .cke_bottom ----------------+ ||
- || | | ||
- || +-------------------------------+ ||
- |+-----------------------------------+|
- +-------------------------------------+
-
- For "Inline Editing" mode:
-
- +-- .cke_chrome .cke_float------------+
- |+-- .cke_inner ---------------------+|
- || +-- .cke_top -------------------+ ||
- || | | ||
- || +-------------------------------+ ||
|+-----------------------------------+|
+-------------------------------------+
@@ -70,25 +57,9 @@ Special outer level classes used in this
padding: 0;
}
-/* Added to the outer boundary of the UI when in inline editing,
- when the UI is floating. */
-.cke_float
-{
- /* Make white the space between the outer and the inner borders. */
- border: none;
-}
-
-.cke_float .cke_inner
-{
- /* As we don't have blocks following top (toolbar) we suppress the padding
- as the toolbar defines its own margin. */
- padding-bottom: 0;
-}
-
/* Make the main spaces enlarge to hold potentially floated content. */
.cke_top,
-.cke_contents,
-.cke_bottom
+.cke_contents
{
/* These are <span>s, so transform them into blocks.*/
display: block;
@@ -120,33 +91,6 @@ Special outer level classes used in this
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf');
}
-.cke_float .cke_top
-{
- border: 1px solid #b6b6b6;
- border-bottom-color: #999;
-}
-
-.cke_bottom
-{
- padding: 6px 8px 2px;
- position: relative;
-
- border-top: 1px solid #bfbfbf;
-
- -moz-box-shadow: 0 1px 0 #fff inset;
- -webkit-box-shadow: 0 1px 0 #fff inset;
- box-shadow: 0 1px 0 #fff inset;
-
- background: #cfd1cf;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#cfd1cf));
- background-image: -moz-linear-gradient(top, #ebebeb, #cfd1cf);
- background-image: -webkit-linear-gradient(top, #ebebeb, #cfd1cf);
- background-image: -o-linear-gradient(top, #ebebeb, #cfd1cf);
- background-image: -ms-linear-gradient(top, #ebebeb, #cfd1cf);
- background-image: linear-gradient(top, #ebebeb, #cfd1cf);
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf');
-}
-
/* On iOS we need to manually enable scrolling in the contents block. (#9945) */
.cke_browser_ios .cke_contents
{
diff --git a/pidgin/ckeditor/skins/pidgin/skin.js b/pidgin/ckeditor/skins/pidgin/skin.js
--- a/pidgin/ckeditor/skins/pidgin/skin.js
+++ b/pidgin/ckeditor/skins/pidgin/skin.js
@@ -72,10 +72,6 @@ CKEDITOR.skin.chameleon = (function() {
'{defaultGradient}' +
'border-bottom-color:{defaultBorder};' +
'] ' +
- '{id} .cke_bottom [' +
- '{defaultGradient}' +
- 'border-top-color:{defaultBorder};' +
- '] ' +
'{id} .cke_resizer [border-right-color:{ckeResizer}] ' +
// Dialogs.
More information about the Commits
mailing list