PluginProbe
WPCasa – Real Estate for WordPress / 1.5.4
WPCasa – Real Estate for WordPress v1.5.4
1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.1.1 trunk 1.2.0 1.2.1 1.2.10 1.2.10.1 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.2.9.1 1.2.9.2 1.3.0 All 31 releases
wpcasa / assets / css / wpsight-print.css

wpsight-print.css in WPCasa – Real Estate for WordPress 1.5.4, at assets/css/wpsight-print.css

224 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* General
2 ================================================== */
3
4 body {
5 background: #ddd;
6 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
7 font-size: 15px;
8 line-height: 1;
9 margin-top: 4%;
10 }
11
12 body.rtl {
13 direction: rtl;
14 unicode-bidi: embed;
15 }
16
17 page[size="A4"] {
18 background: white;
19 box-shadow: 0 0 0.5cm rgba(0,0,0,0.1);
20 display: block;
21 margin: 0 auto;
22 margin-bottom: 0.5cm;
23 min-height: 29.7cm;
24 width: 21cm;
25 }
26
27 @media print {
28
29 body, page[size="A4"] {
30 margin: 0;
31 box-shadow: 0;
32 }
33
34 }
35
36 h1,
37 p {
38 margin: 0 0 20px;
39 }
40
41 img {
42 max-width: 100%;
43 height: auto;
44 }
45
46 a:link,
47 a:visited {
48 color: #333;
49 }
50
51 @media print {
52
53 a {
54 text-decoration: none;
55 }
56
57 }
58
59 .wrap {
60 padding: 20mm;
61 }
62
63 /* Actions
64 ================================================== */
65
66 .actions {
67 margin: -20px auto 40px;
68 width: 21cm;
69 }
70
71 @media print {
72
73 .actions {
74 display: none;
75 }
76
77 }
78
79 .actions a {
80 text-decoration: none;
81 }
82
83 .actions .button.printnow {
84 background-color: #13ae90;
85 -webkit-border-radius: 4px;
86 -moz-border-radius: 4px;
87 border-radius: 4px;
88 color: #fff;
89 font-size: 12px;
90 padding: 10px 15px;
91 }
92
93 /* Listing Elements
94 ================================================== */
95
96 [class*="listing-print-"] {
97 margin-bottom: 30px;
98 page-break-inside: avoid;
99 }
100
101 .wpsight-listing-price {
102 font-weight: bold;
103 }
104
105 .wpsight-label,
106 .wpsight-featured {
107 display: none;
108 }
109
110 .wpsight-alert {
111 color: red;
112 margin-bottom: 30px;
113 }
114
115 .listing-print-agent {
116 padding-top: 20px;
117 }
118
119 .listing-print-agent .alignleft {
120 max-width: 60%;
121 min-width: 50%;
122 }
123
124 .listing-print-agent .alignright {
125 max-width: 35%;
126 }
127
128 .listing-print-agent .alignleft img {
129 float: left;
130 margin: 0 10px 10px 0;
131 }
132
133 .rtl .listing-print-agent .alignleft img {
134 float: right;
135 margin-left: 10px;
136 margin-right: 0;
137 }
138
139 .listing-print-agent strong {
140 font-size: 1.5em;
141 line-height: 2;
142 }
143
144 /* Listing Details
145 ================================================== */
146
147 .wpsight-listing-details {
148 margin-right: -5%;
149 }
150
151 .rtl .wpsight-listing-details {
152 margin-left: -5%;
153 margin-right: 0;
154 }
155
156 .wpsight-listing-details .listing-details-detail {
157 border-bottom: 1px solid #ededed;
158 float: left;
159 margin-right: 5%;
160 padding: 10px 0;
161 width: 45%;
162 }
163
164 .rtl .wpsight-listing-details .listing-details-detail {
165 float: right;
166 margin-left: 5%;
167 margin-right: 0;
168 }
169
170 .wpsight-listing-details .listing-details-label {
171 display: inline-block;
172 font-weight: bold;
173 min-width: 50%;
174 }
175
176 .wpsight-listing-details .listing-details-value {
177 display: inline-block;
178 word-break: break-all;
179 }
180
181 /* Clearing
182 ================================================== */
183
184 .clearfix:before,
185 .clearfix:after {
186 content: '\0020';
187 display: block;
188 height: 0;
189 overflow: hidden;
190 visibility: hidden;
191 width: 0;
192 }
193 .clearfix:after {
194 clear: both;
195 }
196 .clearfix {
197 zoom: 1;
198 }
199
200 .clear,
201 .wrap {
202 clear: both;
203 }
204
205 /* Useful
206 ================================================== */
207
208 .alignleft {
209 float: left;
210 width: auto;
211 }
212
213 .rtl .alignleft {
214 float: right;
215 }
216
217 .alignright {
218 float: right;
219 width: auto;
220 }
221
222 .rtl .alignright {
223 float: left;
224 }