We are currently running bootstrap 2.3 in our application of over 400 html files. We decided the best way to upgrade to twitter bootstrap 3.0 without having to change all of our html files would be to include a .less file that references all the changes from 2.3 to 3.0. For Example: span6 in 3.0 is now col-md-6. Does anyone have a file that embeds all the old properties into a .less file that we could reference?
Actually, changing over isn't that bad. I have done this on a couple sites using find/sed (I'm on a Mac) by simply updating the old classes to the new. It will get the bulk of the upgrade done quickly.
Use this page for reference on which classes you need to update: http://upgrade-bootstrap.bootply.com/
Related
I have done the suggested scaffold operation to create the Identity source folders in my MVC 2.1 application. Prior the Bootstrap 4 CSS was working fine. Now, after the scaffold, it seems to be ignoring it and I can't figure out why.
Has anyone else run into this issue?
Okay, I think I figured this out. Not sure why I didn't check this before, but I copied the Bootstrap 4 CSS and JS files to the wrong folder. Now that they are in the correct place, the CSS is working.
I am new to composer.
I am trying to add CSS booststrap tp my laravel 5.1 project
To download the framework This is the command that I used
composer require twbs/bootstrap
But I can't find the css files in my laravel project.
Is there another step that I will need to make the CSS booststrap part of my project?
Maybe this has changed since Laravel 5.0, but bootstrap is included by default in the default app.blade.php view.
That may help you, but if you want the css files to also be local, check in the /vendor directory or public/css one.
I am working on a rails app and I would like to include some custom css files inside my rails application. I would like to separate out the css from bootstrap and the css that I wrote. Could I just put the custom css files inside vendor/assets/bower_components folder in my own css folder?
Is there anything else that I need to do for my css files to be picked up?
There are several ways you can achieve bower functionality in a Rails application.
Although having said that, I'm not sure about your wanting to use it on your custom.css file. The file itself will work just as well if you keep it in your app/assets/stylesheets folder, which will concatenate it to the asset pipeline
Bower-Rails
You'll may wish to consider using bower-rails, which seems to just give you the ability to use bower within your Rails app. This seems to be specifically for helping you keep your dependencies up to date:
Dependency file is bower.json in Rails root dir or Bowerfile if you
use DSL. Check out changelog for the latest changes and releases.
RailsAssets
Another amazing piece of functionality we found recently is "RailsAssets"
This works really well (we use it in production), as it keeps your dependent assets completely up to date. You can use it very simply:
#Gemfile
source https://rails-assets.org
gem 'rails-assets-BOWER_PACKAGE_NAME'
#app/assets/javascripts/application.js
//= require BOWER_PACKAGE_NAME
When running bundle update, this will then give you the ability to update your assets in line with your app!
I have recently upgraded to VS2012 and have a small issue. All our sass files are checked into source control and the corresponding css file gets generated when the project is built (the css file is never part of source control). with VS2012, as soon as i edit the sass file, a css file is created under the sass file (nested under it) and the project file is checked out. I do not want this as we don't need to check in the css file.
Is there an option i can set to avoid this ? Had a quick look under tools ->options but didnt see anything
The only plugin we have installed is Mindscape Web Workbench free version.
Thank you for any advice.
So the Web Workbench plugin was automatically modifying the project file and including the following under my scss files. This was still present even when i disabled and removed the plugin. There's no option to disable this function in Web Workbench, so i wont be using it anymore.
<Compile>True</Compile>
<Minify>True</Minify>
<CompileStyle>Nested</CompileStyle>
<DebugInfo>False</DebugInfo>
Using SassyStudio now which is nice and simple.Has the option to disable auto css creation and project adding etc.
Hope this explanation can help someone else.
I'm using jgGrid 3.5 in my ASP.NET application. I would like to upgrade it to the new 3.6.
Is it enough just to replace the jqGrid JS file? Or are there any other changes I need to make in my code?
Now that 3.6 has been officially released the upgrade is easy - just drop the files from the js and css directories into your application. Of course you should then re-test your app to make sure nothing was changed/broken, just in case...
I just replaced, dev files from latest:
http://github.com/tonytomov/jqGrid/commits/jqgrid36
be aware of file: jquery.jqGrid.js which loads modules.
besides, jQgrid uses jQuery 1.3.2 + jQuery UI 1.7.2