| Line | |
|---|
| 1 | /* |
|---|
| 2 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 3 | For licensing, see LICENSE.md or http://ckeditor.com/license |
|---|
| 4 | */ |
|---|
| 5 | |
|---|
| 6 | /* |
|---|
| 7 | elementspath.css (part of editor.css) |
|---|
| 8 | ======================================= |
|---|
| 9 | |
|---|
| 10 | This file styles the "Elements Path", whith is the list of element names |
|---|
| 11 | present at the the bottom bar of the CKEditor interface. |
|---|
| 12 | |
|---|
| 13 | The following is a visual representation of its main elements: |
|---|
| 14 | |
|---|
| 15 | +-- .cke_path ---------------------------------------------------------------+ |
|---|
| 16 | | +-- .cke_path_item ----+ +-- .cke_path_item ----+ +-- .cke_path_empty ---+ | |
|---|
| 17 | | | | | | | | | |
|---|
| 18 | | +----------------------+ +----------------------+ +----------------------+ | |
|---|
| 19 | +----------------------------------------------------------------------------+ |
|---|
| 20 | */ |
|---|
| 21 | |
|---|
| 22 | /* The box that holds the entire elements path. */ |
|---|
| 23 | .cke_path |
|---|
| 24 | { |
|---|
| 25 | margin-top: 5px; |
|---|
| 26 | float: left; |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | /* Each item of the elements path. */ |
|---|
| 30 | .cke_path_item, |
|---|
| 31 | /* Empty element available at the end of the elements path, to help us keeping |
|---|
| 32 | the proper box size when the elements path is empty. */ |
|---|
| 33 | .cke_path_empty |
|---|
| 34 | { |
|---|
| 35 | display: inline-block; |
|---|
| 36 | float: left; |
|---|
| 37 | padding: 1px 4px 0; |
|---|
| 38 | color: #60676a; |
|---|
| 39 | cursor: default; |
|---|
| 40 | text-decoration: none; |
|---|
| 41 | outline: 0; |
|---|
| 42 | border: 0; |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | .cke_rtl .cke_path, |
|---|
| 46 | .cke_rtl .cke_path_item, |
|---|
| 47 | .cke_rtl .cke_path_empty |
|---|
| 48 | { |
|---|
| 49 | float: right; |
|---|
| 50 | } |
|---|
| 51 | |
|---|
| 52 | /* The items are <a> elements, so we define its hover states here. */ |
|---|
| 53 | a.cke_path_item:hover, |
|---|
| 54 | a.cke_path_item:focus, |
|---|
| 55 | a.cke_path_item:active |
|---|
| 56 | { |
|---|
| 57 | background-color: #efefef; |
|---|
| 58 | opacity: 0.7; |
|---|
| 59 | color: #000; |
|---|
| 60 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.