Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/phui/phui-action-panel.css
12241 views
1
/**
2
* @provides phui-action-panel-css
3
*/
4
5
.phui-action-panel {
6
position: relative;
7
background-color: {$page.content};
8
border: 1px solid {$lightblueborder};
9
border-radius: 3px;
10
margin: 0 8px;
11
min-height: 108px;
12
overflow: hidden;
13
}
14
15
.device .phui-action-panel {
16
margin: 0;
17
}
18
19
.phui-action-panel-hitarea {
20
display: block;
21
}
22
23
.device-desktop .phui-action-panel-hitarea:hover {
24
text-decoration: none;
25
background-color: rgba({$alphawhite},.25);
26
}
27
28
.device-desktop .phui-action-panel-hitarea:hover .phui-icon-view {
29
margin-top: -4px;
30
transition-duration: .2s;
31
}
32
33
.phui-action-panel-table {
34
display: table;
35
height: 80px;
36
width: 100%;
37
}
38
39
.phui-action-panel-row {
40
display: table-row;
41
}
42
43
.phui-action-panel-icon {
44
width: 64px;
45
text-align: center;
46
vertical-align: middle;
47
display: table-cell;
48
}
49
50
.phui-action-panel-image {
51
width: 48px;
52
height: 48px;
53
margin: 0 auto;
54
}
55
56
.phui-action-panel-icon a {
57
display: block;
58
}
59
60
.phui-action-panel-icon a:hover .phui-icon-view,
61
.phui-action-panel-icon a:hover .phui-action-panel-bigtext {
62
color: {$blue};
63
}
64
65
.phui-action-panel-icon a:hover {
66
text-decoration: none;
67
}
68
69
.phui-action-panel-icon .phui-icon-view {
70
font-size: 36px;
71
color: {$lightbluetext};
72
}
73
74
.phui-action-panel-header {
75
padding: 8px;
76
border-bottom: 1px solid {$thinblueborder};
77
font-weight: bold;
78
white-space: nowrap;
79
overflow: hidden;
80
color: {$darkbluetext};
81
display: block;
82
}
83
84
.phui-action-panel-bigtext .phui-action-panel-subheader {
85
font-size: 28px;
86
color: {$darkbluetext};
87
text-align: center;
88
padding: 0 8px;
89
}
90
91
.phui-action-panel-subheader {
92
display: table-cell;
93
vertical-align: middle;
94
color: {$darkbluetext};
95
padding: 8px 8px 8px 0;
96
}
97
98
.phui-action-panel-subheader a {
99
text-decoraction: none;
100
}
101
102
.phui-action-panel-status {
103
padding: 8px 12px;
104
position: absolute;
105
bottom: 0;
106
left: 0;
107
right: 0;
108
}
109
110
.phui-action-panel-status:hover {
111
text-decoration: none;
112
}
113
114
/* - Red -------------------------------------------------------------------- */
115
116
.phui-action-panel-red {
117
background-color: {$sh-redbackground};
118
border-color: {$sh-redborder};
119
}
120
121
.phui-action-panel-red .phui-action-panel-icon .phui-icon-view {
122
color: {$sh-redicon};
123
}
124
125
.phui-action-panel-red .phui-action-panel-header {
126
border-color: {$sh-lightredborder};
127
}
128
129
/* - Orange ----------------------------------------------------------------- */
130
131
.phui-action-panel-orange {
132
background-color: {$sh-orangebackground};
133
border-color: {$sh-orangeborder};
134
}
135
136
.phui-action-panel-orange .phui-action-panel-icon .phui-icon-view {
137
color: {$sh-orangeicon};
138
}
139
140
.phui-action-panel-orange .phui-action-panel-header {
141
border-color: {$sh-lightorangeborder};
142
}
143
144
/* - Yellow ----------------------------------------------------------------- */
145
146
.phui-action-panel-yellow {
147
background-color: {$sh-yellowbackground};
148
border-color: {$sh-yellowborder};
149
}
150
151
.phui-action-panel-yellow .phui-action-panel-icon .phui-icon-view {
152
color: {$sh-yellowicon};
153
}
154
155
.phui-action-panel-yellow .phui-action-panel-header {
156
border-color: {$sh-lightyellowborder};
157
}
158
159
/* - Green ------------------------------------------------------------------ */
160
161
.phui-action-panel-green {
162
background-color: {$sh-greenbackground};
163
border-color: {$sh-greenborder};
164
}
165
166
.phui-action-panel-green .phui-action-panel-icon .phui-icon-view {
167
color: {$sh-greenicon};
168
}
169
170
.phui-action-panel-green .phui-action-panel-header {
171
border-color: {$sh-lightgreenborder};
172
}
173
174
/* - Blue ------------------------------------------------------------------- */
175
176
.phui-action-panel-blue {
177
background-color: {$sh-bluebackground};
178
border-color: {$sh-blueborder};
179
}
180
181
.phui-action-panel-blue .phui-action-panel-icon .phui-icon-view {
182
color: {$sh-blueicon};
183
}
184
185
.phui-action-panel-blue .phui-action-panel-header {
186
border-color: {$sh-lightblueborder};
187
}
188
189
/* - Indigo ----------------------------------------------------------------- */
190
191
.phui-action-panel-indigo {
192
background-color: {$sh-indigobackground};
193
border-color: {$sh-indigoborder};
194
}
195
196
.phui-action-panel-indigo .phui-action-panel-icon .phui-icon-view {
197
color: {$sh-indigoicon};
198
}
199
200
.phui-action-panel-indigo .phui-action-panel-header {
201
border-color: {$sh-lightindigoborder};
202
}
203
204
/* - Violet ----------------------------------------------------------------- */
205
206
.phui-action-panel-violet {
207
background-color: {$sh-violetbackground};
208
border-color: {$sh-violetborder};
209
}
210
211
.phui-action-panel-violet .phui-action-panel-icon .phui-icon-view {
212
color: {$sh-violeticon};
213
}
214
215
.phui-action-panel-violet .phui-action-panel-header {
216
border-color: {$sh-lightvioletborder};
217
}
218
219
/* - Pink ------------------------------------------------------------------- */
220
221
.phui-action-panel-pink {
222
background-color: {$sh-pinkbackground};
223
border-color: {$sh-violetborder};
224
}
225
226
.phui-action-panel-pink .phui-action-panel-icon .phui-icon-view {
227
color: {$sh-pinkicon};
228
}
229
230
.phui-action-panel-pink .phui-action-panel-header {
231
border-color: {$sh-lightpinkborder};
232
}
233
234