Is that before or after? Doesn’t look much different to me.
It is not changed to “how it was before”, but a good edit to the new style.
Compared to the current new one, they are a bit sharper looking and a bit more intense on the fond and border line around the button (seen from the point of the intensity of the colors).
Not a “drastic” or extrem change, but a decent one.
I think thats better than the current one.
is there an easy way to download an old version of webmin/virtualmin?
are these button changes in webmin or virtualmin package?
I don’t like these buttons and I want to revert the CSS.
thanks
@jimr1 I read your comment earlier and yes this would work, but I was hoping to download and old version, extract the CSS and then paste it into my themes CSS in one go. ![]()
If I need to I will use you method as it will definitely work.
the css is minified so will have to decompress it first, but I have a vm with webmin on that uses an older version so I may have the minified css file for you to play with, but don’t just replace the css file as in the next theme update that would be overwritten. I’ll look a bit later
if you can sort that, it would be appreciated. I can decompress CSS easily. And yes, I will not just repalce the whole CSS ![]()
I have been restoring the working 26.22 theme.tar.gz
cd /usr/libexec/webmin
mv authentic-theme authentic-theme.bak
tar xzf /root/authentic-theme-26.22.tar.gz
systemctl restart webmin
Can do it again easily if the next update is still as weak as the preview above.
Quick Quizz:
Did you get into Webmin/Virtualmin because it looked arty or because of awesome functionality?
I don’t intend to downgrade webmin, but download the files and extract the CSS. @jimr1 is going to have a look later on for the relevant CSS file for me.
the theme also has logic/system code in it, it is not a pure theme.
Functionality of course, but the biggest filing of this platform has always been the GUI. Since I have been onboard (as a client), there has been massive improvements, but there are still lots of bugs that need fixing but it is definitely a lot better. FYI so it does not sound like hate, the staff are always fixing stuff and listening to my concerns. Just do proper bug/feature reports.
I have mentioned this before (staff please don’t hate) that the system code should be completely removed from the theme which would then allow people to design their own themes. Then people could say, why don’t you make your own theme, and then I probably would, or at least have a go ![]()
Just had a look at Dark colour scheme, buttons don’t look good to me using that either.
Just registering that I am still unhappy with the wishy-washy buttons using Light also.
Decided to learn what minified meant.
Here is the contents of “styles.css” to replace the button colours with the original block colours.
Just copy to a file called styles.css and put it in /etc/webmin/authentic-theme/
It should work straight away, or might need a hard refresh Ctrl-Shift-R
/* Restore pre-26.30 solid button colours for light palette */
/* Danger */
.btn-danger{color:#fff!important;border-color:#d43f3a!important;background-color:#d9534f!important}
.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff!important;border-color:#ac
.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disable
.btn-danger .badge{color:#d9534f!important}
/* Info */
.btn-info{color:#fff!important;border-color:#46b8da!important;background-color:#5bc0de!important}
.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff!important;border-color:#269abc!impor
.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-in
.btn-info .badge{color:#5bc0de!important}
/* Primary */
.btn-primary{color:#fff!important;border-color:#357ebd!important;background-color:#428bca!important}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff!important;border-colo
.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[di
.btn-primary .badge{color:#428bca!important}
/* Success */
.btn-success,.cke_dialog_ui_button_ok{color:#fff!important;border-color:#2c8828!important;background-color:#349e30!important}
.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success,.cke_dialog_ui_button_ok:hover,.
.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[di
.btn-success .badge{color:#5cb85c!important}
/* Warning */
.btn-warning{color:#fff!important;border-color:#eea236!important;background-color:#f0ad4e!important}
.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff!important;border-colo
.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[di
.btn-warning .badge{color:#f0ad4e!important}
/* Grey */
.btn-grey{color:#fff!important;border-color:#474747!important;background-color:#5c5c5c!important}
.btn-grey:hover,.btn-grey:focus,.btn-grey:active,.btn-grey.active,.open .dropdown-toggle.btn-grey{color:#fff!important;border-color:#474747!impor
.btn-grey.disabled,.btn-grey[disabled],fieldset[disabled] .btn-grey,.btn-grey.disabled:hover,.btn-grey[disabled]:hover,fieldset[disabled] .btn-gr
.btn-grey .badge{color:#5c5c5c!important}
/* Default */
.btn-default{border-color:var(--border-color-input)}
.btn-default:hover,.btn-default:focus{border-color:var(--border-color-input)!important;background:#f2f2f2!important}
/* Bootstrap overrides */
.table .btn-danger{color:#fff;border-color:#d43f3a;background-color:#d9534f}
.table .btn-danger .badge{color:#d9534f}
.table .btn-info{color:#fff;border-color:#46b8da;background-color:#5bc0de}
.table .btn-info .badge{color:#5bc0de}
.table .btn-primary{color:#fff;border-color:#357ebd;background-color:#428bca}
.table .btn-primary .badge{color:#428bca}
.table .btn-success{color:#fff;border-color:#2c8828;background-color:#349e30}
.table .btn-success .badge{color:#5cb85c}
.table .btn-warning{color:#fff;border-color:#eea236;background-color:#f0ad4e}
.table .btn-warning .badge{color:#f0ad4e}
This will survive theme updates and doesn’t have any effect on them.
Just delete the file if you want to go back to the Webmin colours of the day.
The theme is in Webmin, but you cannot safely run an old Webmin version (no, really, now is not the time to be rolling back to old anything…LLMs are finding security issues left and right, Webmin is not entirely immune).
If you want the old colors, use custom CSS. You do not want old software.
Oh, yeah, that’s fine. But, you can just look at the github for Authentic Theme, I’m sure it can be pulled out of there.
Edit: Oh dang. Ilia has only checked in the minified versions of everything. @Ilia source should be source. minified/bundled everything (JS and CSS) is not readable source.
See my post just above. ![]()
Yeah, soon I’ll have everything reworked, the source files available, and authentic-theme-src deleted.
Also, you can copy the styles.css to .etc/usermin/authentic-theme/styles.css to have the block colours in your Webmail.
