@crazycells said in CSS code customization for the link preview plugin:
does OGProxy show the pdf previews as well?
Not yet, but it could with a bit of additional code.
@downpw Expected, because the CSS class is :focus
so on mouseout
event, the focus is lost and the CSS will no longer apply. This is why you (probably) need jQuery
Nope, I donโt think so because I havenโt got the problem on an another themes and here too
@downpw Can you provide the same example with another theme ?
@downpw So (for example) do you want the Discard button to turn red if you you click Confirm, or am I off track here ? Not entirely sure what youโre after
@phenomlab Never mind already found the right CSS property would be nice
@downpw Do you mean this one
button.btn.btn-default.composer-discard:focus {
background: red;
}
Or another ?
@phenomlab Another I think
It seem to be a btn-default problem
@downpw Think I might have it
.composer-discard:disabled {
background: red !important;
}
@downpw said in [NODEBB] Help for my custom CSS:
But if you have the same for Login button, I take
Use this
button#login {
background: green;
border: 1px solid green;
}
@phenomlab said in [NODEBB] Help for my custom CSS:
@downpw Think I might have it
.composer-discard:disabled { background: red !important; }
Thatโs works too
Other things, I would like to change progress bar color of Windows alert like welcome message, palcement user banner etcโฆ:
@phenomlab No idea ?
@downpw yes, Iโve done the same on sudonix but not in front of a pc presently. If you switch to dark mode on this platform, youโll see the changes i made to the alert message.
I see how to change background color, text color, border color but not the progress bar with transition value.
Itโs too fast to see the code on console
I see this in โelement styleโ :
transition: width 5450ms linear 0s, background-color 5450ms ease-in 0s;
But I donโt no what to do with this
@downpw Seems like itโs contained in this block
<div id="alert_button_1643376464937" class="alert alert-dismissable alert-success clearfix animate" component="toaster/toast" timeoutid="172" style="transition: width 5450ms linear 0s, background-color 5450ms ease-in 0s;">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">ร</button>
<strong>Welcome Back phenomlab!</strong>
<p>You have successfully logged in</p>
</div>
For info, you can actually pause the execution of Javascript as follows
Open Developer tools, Go to Sources tab and keep it ready
Now, go back and perform the actions on the App to get it to the state where it needs to be frozen.
Click on the โPause Script Executionโ button (first button in the list of buttons on the right corner of Sources tab) to pause the page.
This will force the debugger to pause the execution, meaning youโll see the below
This will then allow you to expose the elements you need
Yeah I test that and I find and modify these code :
.alert-window .alert {
background-color: black;
color: aqua;
}
.alert-window .alert.alert-success {
color: aqua;
border-color: aqua;
}
.alert-window .alert.animate.alert-success::before {
background-color: red !important;
}
.alert-window .alert.animate::before {
width: calc(100% + 50px);
}
For example, what i want here are just have animate progress bar on red but doesnโt work, sheโs black.
I close the topic on nodebb communauty. no one respond
@downpw said in [NODEBB] Help for my custom CSS:
no one respond
Only me
Iโll have a look this weekend to see if I can identify the js class but I do think this is based off another CSS value and an alpha rgba used as an overlay.