bootstrap-sass

Bootstrap shown.bs.tab event not working

拟墨画扇 提交于 2020-06-25 00:56:32
问题 I'm using the Flexy template (using bootstrap) and I can't get the shown.bs.tab event on tab to work. I've managed to make it work on JSFiddle. Here is the code I use in my template that produce nothing : <div role="tabpanel"> <ul class="nav nav-tabs" role="tablist"> <li class="active"><a id="tab1" href="#chart1" role="tab" data-toggle="tab">Tab 1</a></li> <li><a id="tab2" href="#chart2" role="tab" data-toggle="tab">Tab 2</a></li> </ul> <div class="tab-content"> <div class="tab-pane active"

Bootstrap Dropdown Not Styling Properly

人走茶凉 提交于 2020-03-03 11:34:34
问题 I'm having an issue with twitter/bootstrap dropdowns not being styled properly. I'm in Rails 3, using the bootstrap-sass gem. The dropdown functions properly, coming down when I click the button, but doesn't style. Basically it looks like this: broken When it ought to look like this: working These two screenshots were taken of different apps forked about two months ago from the same code base. They have identical custom CSS styling, of which none of it should affect the dropdown, and the

Bootstrap Dropdown Not Styling Properly

拟墨画扇 提交于 2020-03-03 11:34:05
问题 I'm having an issue with twitter/bootstrap dropdowns not being styled properly. I'm in Rails 3, using the bootstrap-sass gem. The dropdown functions properly, coming down when I click the button, but doesn't style. Basically it looks like this: broken When it ought to look like this: working These two screenshots were taken of different apps forked about two months ago from the same code base. They have identical custom CSS styling, of which none of it should affect the dropdown, and the

Bootstrap Sass with Rails 4

邮差的信 提交于 2020-01-21 06:02:42
问题 I'm trying to use bootstrap-sass (3.1.0.2) and sass-rails (4.0.1) in my rails (4.0.0) project. My application.css.scss file looks like this: /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. * * You're free to add application-wide

Bootstrap Sass Rails 4 customize styling

别说谁变了你拦得住时间么 提交于 2020-01-13 13:45:28
问题 I'm trying to customize the styling of my rails app with bootstrap Less variables available here. I am using the bootstrap Sass and I included all javascript css and fonts in my /vendor/assets . I followed Erik Minkel tutorial word for word or should I say code for code. In assets/javascript/application.js //= require jquery //= require jquery.countdown //= require bootstrap //= require jquery_ujs //= require tinymce-jquery //= require jquery.turbolinks //= require turbolinks //= require

Bootstrap Sass Rails 4 customize styling

橙三吉。 提交于 2020-01-13 13:45:11
问题 I'm trying to customize the styling of my rails app with bootstrap Less variables available here. I am using the bootstrap Sass and I included all javascript css and fonts in my /vendor/assets . I followed Erik Minkel tutorial word for word or should I say code for code. In assets/javascript/application.js //= require jquery //= require jquery.countdown //= require bootstrap //= require jquery_ujs //= require tinymce-jquery //= require jquery.turbolinks //= require turbolinks //= require

Rails 5.1.2 bootstrap icons not being served in production

℡╲_俬逩灬. 提交于 2019-12-31 05:35:28
问题 This is an Awesome place. I hope to be competent enough soon to contribute solutions. Please, somebody help!!?! I have watched hours of youtube and read every post about asset pipeline pre-compilation on the web. For whatever reason I decided to use Rails 5.1.2 and I don't know if that is the problem. glyphicons don't render on Heroku or using rails s -e production on my local ubuntu. I type rake assets:precompile RAILS_ENV=production and get I, [2018-01-01T16:05:07.261287 #4745] INFO -- :

Sass import not crawling node_modules to find appropriate package

孤者浪人 提交于 2019-12-24 01:09:39
问题 I am using bootstrap-sass. The node module is installed. I should expect I can, in any .scss file, use the below line to import into an appropriate sheet @import 'bootstrap'; My understanding is what should happen is the compiler crawls up until it finds package.json, hops into node_modules, and finds the appropriate package. Instead I am getting the below error. Error: File to import not found or unreadable: bootstrap If I replace my import with a fully qualified path as below, then

trying to import bootstrap via bootstrap-sass on heroku but getting an error

北城余情 提交于 2019-12-24 00:43:40
问题 I have a rails app and am trying to import bootstrap on heroku with bootstrap-sass following the directions from here: https://github.com/thomas-mcdonald/bootstrap-sass In my application.css, I have: @import "bootstrap"; /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can

bootstrap-3 align links and buttons at the bottom of a div

一世执手 提交于 2019-12-20 10:46:12
问题 As can be seen in the screenshot below, the links are not aligned at the bottom of the div . How do I align the buttons for edit , delete , add cart at the bottom of the div . Note I am not using a table . .bottomaligned {position:absolute; bottom:0; margin-bottom:7px; margin:7px;} .fixedheight { height: 208px; position:relative; border:1px solid; margin:7px;} The relevant bits from template rendering the page whose screenshot is shown below is pasted here. Note that using the css class=