How to hide formio loader which is by default showing when a page is loaded - angular5

I have many webpages which is built on top of formio and a by default spinner is shown by default.How to hide that.
Tried couple of css as mentioned below:
.formio-loader-wrapper[_ngcontent-c9] {visibiilty :hidden !important}
.formio-loader[_ngcontent-c9] {visibiilty :hidden !important}
both were not useful

i used .loader
{ display: none !important; }
which worked for me

Related

how to disable ripple in nuxt js with vuetify?

I have created a NuxtJS project and selected Vuetify as the UI framework from default selections. I would like to disable the ripple effect on buttons and other possible vuetify components. Since there is no dedicated Vuetify.js file and all are configured in the nuxt.config.js file, I tried editing the same.
vuetify: {
button: {
disableRipple: true,
},
}
but no use. So, any help on this would be appreciated
After a long research, found out that, remove ripple effect on icon button accepted answer solved my case too. Answer maybe common but question is different 😅
In case if anything changes/for future reference,
.v-btn:before {
opacity: 0 !important;
}
.v-ripple__container {
opacity: 0 !important;
}
Thanks to Anant Vikram Singh

Vuetify not picking up styl changes

Trying to update style so that buttons are rendered with capitalised case instead of all uppercase.
vue --version is 3.5.5
Added src/stylus/main.styl
$button-text-transform = 'capitalize'
#require '~vuetify/src/stylus/app'
main.js includes:
import "./stylus/main.styl"
Problem is that the text in buttons is still uppercase:
Chrome inspect shows style:
.v-btn {
text-transform: uppercase;
}
Is there anything else I need to do for the app to pickup the styl?
EDIT:
Changed main.styl to:
#import '~vuetify/src/stylus/app'
$button-text-transform = 'capitalize'
#import '~vuetify/src/stylus/main'
Still all uppercase
In the end after investigating webpack and vue-cli all I was able to do was add to App.vue:
<style>
.v-btn {
text-transform: none;
}
</style>

Secha touch2: setting background image for form panel in tablet

Hi I am new to sencha touch2, am facing problem while setting background image. I could not see full image on Tablet, the bottom part has been cutoff.
here is my view:
Ext.define('Test.view.LoginPage', {
extend: 'Ext.form.FormPanel',
xtype: 'loginPage',
config:{
styleHtmlContent:'true',
scrollable:'false',
styleHtmlCls:'login-Cls',
html: '<img class="logo" src="resources/images/login_Landscape_BG.png"/>'
}
});
and do i need to add tablet in profiles folder as my app targets only for Tablet.
Can you please help me. Thanks
FWIW, I had to follow this suggestion:
http://www.sencha.com/forum/showthread.php?189231-Background-Image-in-form-Panel
and use this for my CSS (added the TxPanel cls to the form panel first):
.TxPanel .x-scroll-container {
background: url('img/txbackground.png') repeat center;
}
But blechhh. This is a pretty ugly hack :-P
Try this (use Style config insteat of html config):
Ext.define('Test.view.LoginPage', {
extend: 'Ext.form.FormPanel',
xtype: 'loginPage',
config:{
styleHtmlContent:'true',
scrollable:'false',
styleHtmlCls:'login-Cls',
style: 'background-image:url(resources/images/login_Landscape_BG.png);background-repeat:no-repeat;background-size:100% 100%;'
}
});
Instead of using html, you can try using style to set full background image:
style: 'background-image: url("resources/images/sesto-exterior.jpg"); background-size: 100% 100%;'

wicked_pdf footer not working

I've got little problem with wicked_pdf footer render.
Here is my render method:
def invoice
render pdf: "#{#order.number}.pdf",
footer: { html: { template: "admin/orders/invoice_footer.html" } },
margin: { bottom: 25 }
end
PDF render works OK, but there is no footer template. I tried different margins in wicked settings, but with no success.
Just had this same issue, the problem seemed to be that my wkhtmltopdf install did not generate the footers as requested.
The version I had was installed via the Ubuntu repository, I un-installed this and downloaded a pre-built version as described here and now it works fine:
https://github.com/mileszs/wicked_pdf/wiki/Getting-Started-Installing-wkhtmltopdf
I did run into the same problem and it was a problem with the partial not being rendered.
So this answer https://stackoverflow.com/a/19323701/784318 did work for me:
So I changed my code from this:
options = {
header: {html: {template: 'shared/_header', layout: nil}},
}
To this:
options = {
header: {content: render_to_string('shared/_header', layout: nil)},
}

How to change css styles of Google Plus Pages Badge?

I configuring standart badge on https://developers.google.com/+/plugins/badge/config
For it Google+ rendering iframe content.
How i can change classes styles inside iframe?
At this time it seems there is currently no way to do it. I tried editing the CSS to get rid of the annoying border and white background:
.yeb {
background-color: none !important;
border: 0px solid gainsboro !important;
}
But since the CSS is in the Google server you can't override the iFrame. It is a current feature request in the Google forums.
You can do a little trick:
The HTML for the iframe:
<div id="social_gplus_circle">
<div id="social_gplus_circle_inner"><g:plus href="https://plus.google.com/105379671042990608528" size="smallbadge"></g:plus></div>
</div>
The CSS for the trick:
#social_gplus_circle{overflow: hidden;width: 105px;height: 45px;padding-top: 7px;}
#social_gplus_circle_inner{overflow: hidden;position: relative;top: -20px;left: -130px;height: 50px;width: 276px;}
iframe{display: block!important;}
I did not made this myself, I got it from a google forum.
You can't change it , because the google plus code is not on your server.
You can only modify the iframe CSS , if your page and the iframe code is on the same server.