PluginProbe
Document Embedder – let visitors read files without downloading / 2.1.2
Document Embedder – let visitors read files without downloading v2.1.2
2.3.1 2.3.0 2.2.1 2.2.0 2.1.2 2.1.1 trunk 1.0 1.1 1.2 1.3 1.7.4 1.7.6 1.7.9 1.8.1 1.8.2 1.8.3 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 2.0.0 2.0.1 2.0.2 All 30 releases
document-emberdder / assets / css / style.css

style.css in Document Embedder – let visitors read files without downloading 2.1.2, at assets/css/style.css

273 lines 4.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ShortCode After Title */
2 .ppv_shortcode {
3 margin-top: 16px;
4 display: flex;
5 align-items: center;
6 gap: 10px;
7 background: white;
8 padding-left: 10px;
9 }
10
11 .ppv_shortcode .shortcode_copy {
12 display: inline-block;
13 padding: 6px 10px;
14 font-family: monospace;
15 font-size: 13px;
16 background: #f6f7f7;
17 border: 1px solid #dcdcde;
18 border-radius: 4px;
19 cursor: pointer;
20 transition: 0.15s ease;
21 }
22
23 .ppv_shortcode .shortcode_copy:hover {
24 background-color: #f0f0f1;
25 border-color: #2271b1;
26 }
27
28 .ppv_shortcode .shortcode_desc {
29 font-size: 16px;
30 font-weight: bold;
31 color: #646970;
32 }
33
34 /* ShortCode Column */
35 .bplde_front_shortcode input {
36 cursor: pointer;
37 }
38
39 .bplde_front_shortcode {
40 position: relative;
41 display: inline-block;
42 }
43
44 .bplde_front_shortcode .htooltip {
45 visibility: hidden;
46 width: 140px;
47 background-color: #555;
48 color: #fff;
49 text-align: center;
50 border-radius: 6px;
51 padding: 5px;
52 position: absolute;
53 z-index: 1;
54 bottom: 150%;
55 left: 50%;
56 margin-left: -75px;
57 opacity: 0;
58 transition: opacity 0.3s;
59 }
60
61 .bplde_front_shortcode .htooltip::after {
62 content: "";
63 position: absolute;
64 top: 100%;
65 left: 50%;
66 margin-left: -5px;
67 border-width: 5px;
68 border-style: solid;
69 border-color: #555 transparent transparent transparent;
70 }
71
72 .bplde_front_shortcode:hover .htooltip {
73 visibility: visible;
74 opacity: 1;
75 }
76
77 /* Upgrade Notice */
78 .bplde_upgrade_notice {
79 border: 1px solid #ccc;
80 background: linear-gradient(#fefefe, #f5f5f5);
81 padding: 15px;
82 border-radius: 5px;
83 margin-bottom: 15px;
84 margin-top: 35px;
85 margin-right: 20px;
86 display: flex;
87 justify-content: space-between;
88 align-items: center;
89 }
90
91 .bplde_upgrade_notice .flex {
92 display: flex;
93 align-items: center;
94 gap: 10px;
95 }
96
97 .bplde_upgrade_notice a.button {
98 background: #f19610fa;
99 border: none;
100 padding: 4px 15px;
101 font-weight: 500;
102 display: flex;
103 align-items: center;
104 gap: 8px;
105 cursor: pointer;
106 text-transform: uppercase;
107 font-size: 13px;
108 }
109
110 .bplde_upgrade_notice a.button:hover,
111 .bplde_upgrade_notice a.button:focus,
112 .bplde_upgrade_notice a.button:active {
113 background: #d5840e;
114 border: none;
115 box-shadow: none;
116 }
117
118 @media (max-width: 1320px) {
119 .bplde_upgrade_notice {
120 display: none;
121 }
122 }
123
124 /* Pro Field CSS */
125 .bplde-field-title {
126 display: flex;
127 justify-content: space-between;
128 align-items: center;
129 }
130
131 .bplde-field-title h4 {
132 margin: 0;
133 }
134
135 .bplde-field-title span {
136 color: #fff;
137 background: #146ef5;
138 padding: 3px 10px;
139 border-radius: 3px;
140 height: fit-content;
141 }
142 /* Opacity rules for lock fields */
143 .bplde-lock-field.section:not(.has-doc) {
144 opacity: 0.5;
145 }
146
147 .bplde-lock-field:not(.section):not(.has-doc) .csf-fieldset {
148 opacity: 0.5;
149 }
150
151 .bplde-lock-field.has-doc .csf-title,
152 .bplde-lock-field.has-doc .csf-fieldset .csf-before-text,
153 .bplde-lock-field.has-doc .csf-fieldset input {
154 opacity: 0.5;
155 }
156
157 .csf-field.bplde-lock-field:hover::after {
158 display: block;
159 }
160
161 .csf-field.bplde-lock-field::before {
162 display: block;
163 width: 85%;
164 height: 100%;
165 content: "";
166 position: absolute;
167 z-index: 999;
168 overflow: hidden;
169 top: 0;
170 left: 0;
171 }
172
173 .csf-field.bplde-lock-field::after {
174 display: none;
175 content: "";
176 width: 85%;
177 height: 100%;
178 position: absolute;
179 z-index: 9999999;
180 }
181 .csf-field.bplde-lock-field.has-doc {
182 opacity: 1 !important;
183 }
184
185 /* For Documentation link */
186 .bplde-doc-link {
187 width: fit-content;
188 height: fit-content;
189 position: absolute;
190 z-index: 999;
191 top: 30%;
192 right: 6px;
193 margin-right: 30px;
194 display: inline-block;
195 padding: 6px 10px;
196 border: 1px solid #146ef5;
197 background: #fff;
198 color: #146ef5;
199 text-decoration: none;
200 font-weight: 500;
201 border-radius: 4px;
202 transition: all 0.3s ease;
203 }
204
205 .bplde-doc-link:hover {
206 background: #146ef5;
207 color: #fff;
208 }
209
210 /* Metabox Upgrade Section */
211 .bplde-metabox-upgrade-section {
212 display: flex;
213 align-items: center;
214 justify-content: center;
215 gap: 10px;
216 }
217
218 .button.button-bplugins {
219 background: #146ef5;
220 color: #fff;
221 }
222
223 .button.button-bplugins:hover,
224 .button.button-bplugins:focus,
225 .button.button-bplugins:active {
226 background: #0b50b8;
227 color: #fff;
228 }
229
230
231 .csf-field #picker_container {
232 display: flex;
233 justify-content: center;
234 gap: 20px;
235 }
236
237 .dropbox-dropin-btn,
238 .dropbox-dropin-btn-default {
239 padding: 15px !important;
240 display: flex !important;
241 margin: 0 !important;
242 border: 1px solid #267ffc !important;
243 justify-content: center !important;
244 align-items: center !important;
245 font-size: 14px !important;
246 }
247
248 .google-drive-picker-btn {
249 padding: 13px;
250 border: 1px solid #267ffc;
251 display: flex;
252 justify-content: center;
253 font-size: 16px;
254 align-items: center;
255 cursor: pointer;
256 }
257
258 .dropbox-dropin-btn .dropin-btn-status {
259 height: 18px;
260 }
261
262 /* Upgrade Button Design */
263 .fs-submenu-item.document-emberdder.pricing.upgrade-mode {
264 background: #8c74fd;
265 border-radius: 3px;
266 color: #fff;
267 display: inline-block;
268 padding: 6px 40px 6px 15px;
269 }
270
271 .fs-submenu-item.document-emberdder.pricing.upgrade-mode {
272 color: white;
273 }