hide borders in pdf view

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

hide borders in pdf view

jrabasilio

Hi Alex,

I need help to hide border in orbeon fields when is print to pdf

I try this
@media print {
   .orbeon .xforms-input input {
    border-style: none !important;
   }
   
   .orbeon label, .orbeon input, .orbeon button, .orbeon select, .orbeon
textarea{
    border-style: none !important;
   }
   
   .fr-grid .xforms-label input, .fr-grid .xforms-hint input,
.fb-label-editor input[type='text'] {
    border-style: none !important;
   }
 
}

but no sucess.

Thanks


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1570810748142-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: hide borders in pdf view

Alessandro  Vernet
Administrator
Hi João,

The print view is based off the view mode, which doesn't use input fields,
or other form fields. So the CSS will look more like the one below:

@media print {
    .orbeon .xforms-field {
        border-style: none;
    }
}

You can try this in your browser by loading the review page for your form,
and with your browser Dev Tools enable the `@media print` emulation. You'll
also find more about this in the section linked below. And you'll let me
know if this works for you.

https://doc.orbeon.com/form-runner/styling/automatic-pdf#how-to-figure-out-what-css-is-applied-to-the-pdf

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1570836112182-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: hide borders in pdf view

jrabasilio
Alex,

Work fine, thanks.

João Basilio


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1571041637891-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: hide borders in pdf view

Alessandro  Vernet
Administrator
Hi João, excellent, in this case the CSS was pretty simple, and thank you for
the confirmation.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1571093749576-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet