File: _elementspath.scss

package info (click to toggle)
request-tracker5 5.0.7%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 80,264 kB
  • sloc: javascript: 191,898; perl: 87,146; sh: 1,426; makefile: 487; python: 37; php: 15
file content (66 lines) | stat: -rw-r--r-- 1,863 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/

/*
elementspath.css (part of editor.css)
=======================================

This file styles the "Elements Path", whith is the list of element names
present at the the bottom bar of the CKEditor interface.

The following is a visual representation of its main elements:

+-- .cke_path ---------------------------------------------------------------+
| +-- .cke_path_item ----+ +-- .cke_path_item ----+ +-- .cke_path_empty ---+ |
| |                      | |                      | |                      | |
| +----------------------+ +----------------------+ +----------------------+ |
+----------------------------------------------------------------------------+
*/

/* The box that holds the entire elements path. */
.cke_path {
    float: left;
    margin: -2px 0 2px;
}

/* Each item of the elements path. */
.cke_path_item,
/* Empty element available at the end of the elements path, to help us keeping
   the proper box size when the elements path is empty. */
.cke_path_empty {
    display: inline-block;
    float: left;
    padding: 3px 4px;
    margin-right: 2px;
    cursor: default;
    text-decoration: none;
    outline: 0;
    border: 0;
    color: #4c4c4c;
    font-weight: bold;
    font-size: 11px;
}

.cke_rtl {
    .cke_path, .cke_path_item, .cke_path_empty {
        float: right;
    }
}

/* The items are <a> elements, so we define its hover states here. */
a.cke_path_item {
    &:hover, &:focus, &:active {
        background-color: #bfbfbf;
        color: #333;
        border-radius: 2px;
    }
}

.cke_hc a.cke_path_item {
    &:hover, &:focus, &:active {
        border: 2px solid;
        padding: 1px 2px;
    }
}