Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/application/pholio/pholio-edit.css
12242 views
1
/**
2
* @provides pholio-edit-css
3
*/
4
5
.pholio-uploaded-image {
6
position: relative;
7
overflow: hidden;
8
9
/* When we activate the image control to show that we're going to replace
10
it on drag-and-drop, this gives us a border which looks good without
11
crowding anything or leaving elements misaligned. */
12
border: 1px solid transparent;
13
margin: -4px -4px 12px;
14
padding: 4px;
15
}
16
17
.pholio-thumb-box {
18
margin: 2px 0;
19
float: left;
20
background: {$lightgreybackground};
21
border: 1px solid {$lightgreyborder};
22
border-radius: 3px;
23
width: 296px;
24
overflow: hidden;
25
}
26
27
.device .pholio-thumb-box {
28
width: 100%;
29
}
30
31
.device-desktop .pholio-thumb-box {
32
/* Provide room for the draggable grip. */
33
margin-left: 12px;
34
}
35
36
.device .pholio-thumb-box {
37
float: none;
38
margin: 0 auto;
39
}
40
41
.pholio-thumb-img {
42
max-width: 280px;
43
max-height: 210px;
44
padding: 8px;
45
}
46
47
.pholio-uploaded-image .pholio-thumb-img {
48
cursor: pointer;
49
}
50
51
.pholio-thumb-frame {
52
background: url('/rsrc/image/checker_lighter.png');
53
}
54
55
.device .pholio-thumb-frame {
56
width: 100%;
57
}
58
59
.pholio-thumb-title {
60
padding: 4px 8px;
61
font-weight: bold;
62
color: {$darkgreytext};
63
overflow: hidden;
64
border-bottom: 1px solid #d7d7d7;
65
}
66
67
.pholio-thumb-name {
68
line-height: 24px;
69
margin-right: 48px;
70
white-space: nowrap;
71
overflow: hidden;
72
text-overflow: ellipsis;
73
}
74
75
.pholio-thumb-title .button {
76
float: right;
77
}
78
79
.pholio-image-details {
80
margin-left: 324px;
81
}
82
83
.device .pholio-image-details {
84
margin-left: 0;
85
clear: both;
86
}
87
88
.pholio-uploaded-image .pholio-image-details .aphront-form-control {
89
padding: 0;
90
margin: 0 0 8px 0;
91
overflow: hidden;
92
}
93
94
.pholio-uploaded-image .pholio-image-details .aphront-form-label,
95
.pholio-uploaded-image .pholio-image-details .aphront-form-input {
96
display: block;
97
width: auto;
98
text-align: left;
99
padding: 0;
100
margin: 0;
101
clear: both;
102
}
103
104
.pholio-uploaded-image .pholio-image-details .aphront-form-label {
105
margin: 0 0 4px 0;
106
}
107
108
.pholio-edit-drop {
109
display: block;
110
border-width: 1px;
111
border-style: dashed;
112
border-color: {$lightgreytext};
113
text-align: center;
114
padding: 16px;
115
color: {$greytext};
116
}
117
118
.pholio-uploaded-image.pholio-drop-active,
119
.pholio-edit-drop.pholio-drop-active {
120
border-style: solid;
121
border-color: {$green};
122
background-color: {$lightgreen};
123
}
124
125
.pholio-replacing {
126
opacity: 0.5;
127
border-color: {$green};
128
background-color: {$lightgreen};
129
}
130
131
.pholio-drop-uploading {
132
padding: 24px;
133
text-align: center;
134
border: 1px solid #bbbbbb;
135
background: #fcfcfc;
136
color: {$greytext};
137
margin-bottom: 12px;
138
}
139
140
.pholio-drop-undo {
141
padding: 8px;
142
margin-bottom: 12px;
143
text-align: center;
144
color: #333333;
145
border: 1px solid {$yellow};
146
background-color: {$lightyellow};
147
}
148
149
.pholio-drop-undo a {
150
font-weight: bold;
151
}
152
153
.pholio-drag-handle {
154
position: absolute;
155
height: 100%;
156
width: 12px;
157
cursor: move;
158
background-image: url(/rsrc/image/texture/grip.png);
159
background-position: center center;
160
background-repeat: no-repeat;
161
}
162
163
.device .pholio-drag-handle {
164
display: none;
165
}
166
167