I am building a Shiny app and have been looking into editing the bootstrap themes.
I am using the latest version of Shiny (0.9.1), which I have noticed uses bootstrap version 2.3.2 (see here), which is deprecated (see here).
Among other changes, version 3 of bootstrap has integrated the bootstrap-responsive.css into bootstrap.css, and the same for the .min files.
Is there a way of forcing Shiny to use the latest bootstrap? I'm rolling the app across different machines and a Linux server, so would like to minimise custom changes which could break elsewhere.
Shiny will use Bootstrap 3 after version 0.10.2.2. For now, you can try the development version: https://github.com/rstudio/shiny
Related
I'm working on a cross-platform command line app that converts a user's text files into HTML output (similar to Markdown), and I want to provide the users an option to customize the output style with SASS/Less. Is there any CSS preprocessor/compiler library out there that I can use to compile stylesheets at runtime?
LibSASS requires installing things on Linux, which I'm trying to avoid because this needs to be a simple "one-click, run anywhere" utility without any dependencies apart from .NET Core. If I remember correctly, it also had conflicts when trying to import multiple platform NuGet packages in the same project.
I started with dotless but I've already stumbled on like 3 serious bugs and that project hasn't been updated since 2018 so I don't think they're getting fixed anytime soon. And I don't want to tie my project to a dead library for a pretty central functionality.
Looks like SharpScss is what I'm looking for. By adding
<PropertyGroup>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
</PropertyGroup>
to the project file, the SASS parsing runs in both Windows and Linux (haven't tested on OSX) without having to install or configure anything.
I am extremely new to making gtk 3 themes, and I have created a theme that is working with any app that is using titlebars, but any gnome app (such as shotwell, or rhythmbox) is ignoring the theme completely. I have determined it is due to the gnome apps using header-bars rather than title bars, but the header-bars will not using background-color or any other css attribute other than background-image. Any help is appreciated
Because gnome apps partly use default system user interface, which maybe different from gtk3, you need to change settings both in apps (if any) and in the system - gnome settings. It depends from app to app.
I am using the latest visualstudio that comes with an older version of bootstrap 3 (when I choose the application template).
I tried to manually copy the lib files in the root folder of the new bootstrap 4 and the intellisense does not recognize it. Also the styles are not applied.
I tried installing the bootstrap package 4 (but it says incompatible) but nothing happen.
Which are the steps to have a fully working version of the new bootstrap on VS?
There's an older question on StackOverflow which could contain the answer to your question.
If you didn't do already, give it a try: Can you make visual studio scaffold etc. with bootstrap 4 in .NET MVC templates?
I am developing an hybrid mobile app with Meteor and Cordova, and in order to have a native look I want to use two different stylesheets: Bootstrap material design for android and Ratchet for IOS.
What is the simplest way to conditionally include the respective css and javascript files? i.e. the command:
meteor run ios
should generate an app with the ios css, while:
meteor run android
should generate the app with android css.
If there is no simple way, is the Meteor team working on this issue?
This is what the merges-folder is for. Take a look at the documentation. Just search for Using merges to Customize Each Platform...
Purchased a theme for my new app, which is entirely based on LESS. However, Meteor is not recognizing the #varable variables in the LESS files. I have over 100+ such files and these error lines span for that long as well.
Is there anything that I'm doing wrong here by assuming Meteor will compile all the files because the layout isn't working correctly and these LESS file problems are the reason. Anything I can do to fix this problem?
Please check if the version of less used in your purchased theme is compatible with the version of Meteor that your app is using. I had a similar issue recently where my purchased theme used an older version of less which was not compatible with Meteor 1.2. So, when I updated my app to the latest version of Meteor, my app layout was messed up as the less files were not properly interpreted. Please see Breaking changes in Meteor 1.2 - point 3 under Build tool and package improvements
Just my $0.02