Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/phui/workboards/phui-workcard.css
12242 views
1
/**
2
* @provides phui-workcard-view-css
3
*/
4
5
.phui-workcard.phui-oi {
6
background-color: {$page.content};
7
border-radius: 3px;
8
margin-bottom: 8px;
9
border-left-width: 4px;
10
box-sizing: border-box;
11
}
12
13
.phui-workcard .phui-oi-name {
14
padding-bottom: 4px;
15
}
16
17
.phui-workcard .phui-oi-content {
18
margin-top: 0;
19
}
20
21
.phui-workcard .phui-oi-frame {
22
border-top-right-radius: 3px;
23
border-bottom-right-radius: 3px;
24
border-color: {$thinblueborder};
25
border-bottom-color: {$lightblueborder};
26
}
27
28
.phui-workcard.phui-oi .phui-oi-objname {
29
-webkit-touch-callout: text;
30
-webkit-user-select: text;
31
-khtml-user-select: text;
32
-moz-user-select: text;
33
-ms-user-select: text;
34
user-select: text;
35
}
36
37
.phui-workcard .phui-oi-link {
38
white-space: normal;
39
40
/* See T13413. This works around a Chrome 77 rendering engine freeze. */
41
word-wrap: normal;
42
43
font-weight: normal;
44
color: {$blacktext};
45
margin-left: 2px;
46
}
47
48
.phui-oi-disabled.phui-workcard {
49
background-color: rgba({$alphawhite},.67);
50
}
51
52
.phui-oi-disabled.phui-workcard .phui-oi-link {
53
color: {$greytext};
54
}
55
56
.device-desktop .phui-workcard .phui-oi-with-1-actions
57
.phui-oi-content-box {
58
margin-right: 0;
59
overflow: hidden;
60
}
61
62
.phui-workcard .phui-oi-objname {
63
vertical-align: top;
64
}
65
66
.device-desktop .phui-workcard .phui-list-item-icon {
67
display: none;
68
}
69
70
.phui-workcard.phui-oi .phui-list-item-href {
71
height: 24px;
72
width: 24px;
73
}
74
75
.device-desktop .phui-workcard.phui-oi:hover
76
.phui-list-item-href {
77
background: #fff;
78
opacity: .7;
79
}
80
81
.device-desktop .phui-workcard.phui-oi
82
.phui-list-item-href:hover {
83
background: {$sh-bluebackground};
84
opacity: 1;
85
}
86
87
.device-desktop .phui-workcard.draggable-card {
88
cursor: grab;
89
}
90
91
.jx-dragging .phui-workcard.draggable-card {
92
cursor: grabbing;
93
}
94
95
.device-desktop .phui-workcard.undraggable-card {
96
cursor: not-allowed;
97
}
98
99
.device-desktop .phui-workcard.phui-oi.not-editable:hover {
100
background: {$sh-redbackground};
101
}
102
103
.device-desktop .phui-workcard.phui-oi.not-editable:hover
104
.phui-list-item-href {
105
border-radius: 3px;
106
background: {$red};
107
}
108
109
.device-desktop .phui-workcard.phui-oi.not-editable:hover
110
.phui-list-item-href .phui-icon-view {
111
color: #fff;
112
}
113
114
.phui-workcard.phui-oi:hover .phui-list-item-icon {
115
display: block;
116
}
117
118
.phui-workcard .phui-oi-attributes {
119
margin-right: 12px;
120
}
121
122
.phui-workpanel-view .drag-ghost {
123
margin-bottom: 8px;
124
}
125
126
.phui-workcard .phui-oi-cover-image {
127
display: block;
128
padding: 8px 8px 0 8px;
129
width: 263px;
130
}
131
132
.phui-workcard.phui-oi.phui-workcard-upload-target {
133
background-color: {$sh-greenbackground};
134
}
135
136
.phui-oi-list-view .phui-workcard:last-child {
137
margin-bottom: 0;
138
}
139
140
.phui-workcard .phui-oi-attribute-spacer {
141
display: none;
142
}
143
144
.phui-workcard .phui-workcard-points {
145
margin: 0 4px 2px 0;
146
display: inline-block;
147
}
148
149
.phui-workcard .phui-oi-attribute {
150
display: inline;
151
}
152
153
154
/* - Draggable Colors --------------------------------------------------------*/
155
156
.phui-workcard.phui-oi.drag-clone {
157
box-shadow: {$dropshadow};
158
background-color: {$sh-greybackground};
159
}
160
161
.phui-workcard.phui-oi.drag-clone .phui-list-item-href {
162
display: none;
163
}
164
165
.phui-workcard.drag-clone.phui-oi-bar-color-red {
166
background-color: {$sh-redbackground};
167
}
168
169
.phui-workcard.drag-clone.phui-oi-bar-color-orange {
170
background-color: {$sh-orangebackground};
171
}
172
173
.phui-workcard.drag-clone.phui-oi-bar-color-yellow {
174
background-color: {$sh-yellowbackground};
175
}
176
177
.phui-workcard.drag-clone.phui-oi-bar-color-green {
178
background-color: {$sh-greenbackground};
179
}
180
181
.phui-workcard.drag-clone.phui-oi-bar-color-blue {
182
background-color: {$sh-bluebackground};
183
}
184
185
.phui-workcard.drag-clone.phui-oi-bar-color-indigo {
186
background-color: {$sh-indigobackground};
187
}
188
189
.phui-workcard.drag-clone.phui-oi-bar-color-violet {
190
background-color: {$sh-violetbackground};
191
}
192
193
.phui-workcard.drag-clone.phui-oi-bar-color-pink {
194
background-color: {$sh-pinkbackground};
195
}
196
197
.phui-workcard.drag-clone.phui-oi-bar-color-sky {
198
background-color: {$sh-bluebackground};
199
}
200
201