AutorÃa | Ultima modificación | Ver Log |
/*Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.For licensing, see LICENSE.md or http://ckeditor.com/license*//*mainui.css (part of editor.css)=================================This file styles the basic structure of the CKEditor user interface - the boxthat holds everything.CKEditor offers two main editing modes. The main UI blocks that compose thesemodes are:For "Theme UI" mode, the one most generally used:+-- .cke_chrome ----------------------+|+-- .cke_inner ---------------------+||| +-- .cke_top -------------------+ |||| | | |||| +-------------------------------+ |||| +-- .cke_contents --------------+ |||| | | |||| +-------------------------------+ |||| +-- .cke_bottom ----------------+ |||| | | |||| +-------------------------------+ |||+-----------------------------------+|+-------------------------------------+For "Inline Editing" mode:+-- .cke_chrome .cke_float------------+|+-- .cke_inner ---------------------+||| +-- .cke_top -------------------+ |||| | | |||| +-------------------------------+ |||+-----------------------------------+|+-------------------------------------+Special outer level classes used in this file:.cke_hc: Available when the editor is rendered on "High Contrast".*//* The outer boundary of the interface. */.cke_chrome {/* This is <span>, so transform it into a block.*/display: block;border: 1px solid $hr-border;border-radius: $border-radius;padding: 0 3px;background: $gray-lighter;}/* The inner boundary of the interface. */.cke_inner {/* This is <span>, so transform it into a block.*/display: block;-webkit-touch-callout: none;background: transparent;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_inner {/* As we don't have blocks following top (toolbar) we suppress the paddingas the toolbar defines its own margin. */padding-bottom: 0;}.cke_top {border: 1px solid $hr-border;}}/* Make the main spaces enlarge to hold potentially floated content. */.cke_top, .cke_contents, .cke_bottom {/* These are <span>s, so transform them into blocks.*/display: block;/* Ideally this should be "auto", but it shows scrollbars in IE7. */overflow: hidden;}.cke_top, .cke_bottom {padding: 3px 0 0;background: $gray-lighter;}.cke_top {/* Allow breaking toolbars when in a narrow editor. (#9947) */white-space: normal;}.cke_contents {background-color: #fff;border: 1px solid $hr-border;border-radius: $border-radius;}.cke_bottom {position: relative;}/* On iOS we need to manually enable scrolling in the contents block. (#9945) */.cke_browser_ios .cke_contents {overflow-y: auto;-webkit-overflow-scrolling: touch;}/* The resizer is the small UI element that is rendered at the bottom rightpart of the editor. It makes is possible to resize the editor UI. */.cke_resizer {/* To avoid using images for the resizer, we create a small triangle,using some CSS magic. */width: 0;height: 0;overflow: hidden;width: 0;height: 0;overflow: hidden;border-width: 10px 10px 0 0;border-color: transparent $gray-dark transparent transparent;border-style: dashed solid dashed dashed;font-size: 0;vertical-align: bottom;margin-top: 6px;/* A margin in case of no other element in the same containerto keep a distance to the bottom edge. */margin-bottom: 2px;}.cke_hc .cke_resizer {font-size: 15px;width: auto;height: auto;border-width: 0;}.cke_resizer_ltr {cursor: se-resize;float: right;margin-right: -4px;}/* This class is added in RTL mode. This is a special case for the resizer(usually the .cke_rtl class is used), because it may not necessarily be inRTL mode if the main UI is RTL. It depends instead on the context where theeditor is inserted on. */.cke_resizer_rtl {border-width: 10px 0 0 10px;border-color: transparent transparent transparent $gray;border-style: dashed dashed dashed solid;cursor: sw-resize;float: left;margin-left: -4px;right: auto;}/* The editing area (where users type) can be rendered as an editable <div>element (e.g. divarea plugin). In that case, this is the class applied tothat element. */.cke_wysiwyg_div {display: block;height: 100%;overflow: auto;padding: 0 8px;outline-style: none;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}