aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style.reel/style.css
blob: 66c25fe0e3240f890bfaf0970392ecc59e42cf72 (plain)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/* <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> */

/* ------------------------
  Style item container styles
------------------------  */
.style-item {
    border-bottom: 1px solid rgba(0,0,0,0);
    cursor: url(/js/../images/tools/hand_down.png), default;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.style-item:hover {
    border-right: 3px double #999;
    margin-right: 3px;
}

/* ------------------------
  Checkbox
------------------------   */

.style-item input {
    height: 10px;
    width: 10px;
    margin: 0 6px;
    visibility: hidden;
}
.style-item:hover input, .style-item-disabled input {
    visibility: visible;
}
.style-item-disabled {
    opacity: .5;
}

/* ------------------------
  Property/value styles
------------------------   */

.css-property, .css-value {
    border: 1px solid rgba(0,0,0,0);
    border-radius: 2px;
    cursor: pointer;
    margin: 0;
    outline: none;
    padding: 0 2px;
}
.css-property:hover, .css-value:hover {
    background-color: #FFDECC;
}
.css-property:after {
    color: #333;
    content: ":";
}
.css-value:after {
    content: ";";
}
.css-property {
    display: inline-block;
    color: rgb(200,0,0);
    max-width: 68%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.css-value {
    display: inline;
}

/* ------------------------
  Editable Styles
------------------------   */

.style-item .editable {
    background-color: transparent;
    border: 1px solid #999;
    box-shadow: 1px 1px 1px #CCC;
    color: #333;
    cursor: text;
    display: inline-block;
    margin-right: 7px;
    max-width: none;
    overflow: visible;
    -webkit-user-select: text;
}
.style-item .editable:after {
    position: relative;
    margin-right: -7px;
    right: -1px;
}

/* ------------------------
  Drag/Drop Styles
------------------------   */

.style-item.dragged {
    background: none;
    border-right-style: none;
    opacity: .85;
}
.style-item.dragging {
    background-color: #f2f2f2;
    opacity: .55;
}
.style-item.drag-enter {
    border-bottom: 1px solid #CCC;
}