similar to: css background image not working

Displaying 20 results from an estimated 1200 matches similar to: "css background image not working"

2012 Oct 31
5
css background not showing
Hi all, for some reason adding the following is doing nothing... .post.hover { background: FAFAFA; I''ve got this in my posts.js coffee file $ -> $(''.post'').hover (event) -> $(this).toggleClass("hover") and my index is <% @posts.each do |post| %> <div class="post"> <strong><%= post.title %></strong>
2012 Jan 05
6
assest pipeline how to exclude some css files?
In my assets I have intranet |_1.css.scss |_2.css.scss internet |_1.css.csss application.css application_internet.css application_intranet.css 1.css.scss 2.css.scss 3.css.scss intranet and internet are directories. In my layout I want to exclude the files under internet and intranet. I have created application_internet.css /* * application-internet.css * *= require_self *=
2011 Sep 13
1
Dynamic css files using scss
I''m trying change the value of a scss variable dynamically using rails 3.1. For example: In a example.css.scss $main-color: red; body { background-color: $main-color; color: #333; font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 18px; } And in the model user, I put the field color_prefered. And I want to change the value of a $main-color
2011 Sep 18
12
3.1 asset pipeline + Capistrano troubles
Hello, I''m having a bit of trouble with the asset pipeline and, I think, Capistrano. In my app layout I have: <%= stylesheet_link_tag "application", "bootstrap" %> And the relevant bits of the app dir structure are: app/assets/stylesheets/application.css.scss # Contains ''require_self'' and ''require_tree .'' as usual
2013 May 23
1
rake assets:precompile issue with JS and stylesheets files with similar name
Hi, I''ve got following two files with same names under javascripts and stylesheets directories as: - app/assets/javascripts/test_vendor.js - app/assets/stylesheets/test_vendor.scss Essentially a JS and an stylesheet files with same name. -------------------------------------------------------------- I want these files to be precompiled and served from public directory. Thus I
2012 Sep 23
6
Missing template projects/index, application/index ?
Getting this issue...even though I have my views there in both the projects and application. Also getting a routes issue "No route matches [GET] "/projects" when going to projects when I have root :to => "projects#index" defined in my routes file. Any idea? 1) Creating Projects can create a project Failure/Error: visit ''/''
2013 Mar 10
2
css url paths when moving it to a different folder
Hey. Its simple quation, but have litle problem with this. Its my path for css - assets/content/stylsheets/my.css Its path picture for background url - assets/images/picture.gif I do the following in my.css background: transparent url(../../images/picture.gif). but the path is not correct, the image is not found. I tried with one ../ and easy images/picture.gif. Not work. When i add picture in
2012 Nov 01
2
SyntaxError in Posts#index
getting this error compile error /Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:5: syntax error, unexpected ''='' ...w Goal", new_post_path, class="btn btn-success" );@output_bu... ^ /Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:7: syntax error, unexpected kDO_BLOCK, expecting kEND ''); @posts.each
2012 Sep 16
0
tutorail test writing problem
Hello, I try to follow this tutorial : http://ruby.railstutorial.org/ruby-on-rails-tutorial-book Im now at chapter 3.2.1. But the test is still failing even if I do everything according to the chapter. My code can be found here : https://github.com/roelof1967/demo_app And the faiing message is : Failures: 1) Static pages Home page should have the content ''Sample App''
2011 May 06
2
Rails 3.1(beta1) + SASS + variables
Hello all, in Rails 3.1, is it possible to define global SASS variables (and mixins) that are shared across all *.css.scss files? I am able to define SASS variables, yet they seemed to be scoped only within each individual file … On a side note -- is there a way to pass variables from my Rails app to the SASS + JS (or CoffeeScript) files? Thanks for your help. Best, Tomas -- You received
2012 May 01
1
RoR Developer
Remote work possible. Location: Columbia, SC Duration: 12+ months Rate: $60/hr Daily Responsibilities: Ruby coding, using rails, testing, generating ad hoc reports for client as needed, providing daily status updates to team, Presence on internal IM system during work hours. Required Skills : RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT, LINUX, OS X, JSON, COMMAND
2012 Nov 23
0
problem font-face routes css
Hi I have a problem with font-face routes on the server,when I open the site in windows, when I do with linux, works . both use chrome latest version. -the fonts are in /assets/fonts/ -in /assets/stylesheets/fonts.css.scss @font-face { font-family: ''OswaldLight''; src: url (''/assets/Oswald-Light-webfont.eot''); src:
2013 Oct 21
6
I think I've found a mistake in Rails tutorial
At the point of this section *http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*<http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure> clicking the "Create my account" button on the signup form shows the following image at <http://ruby.railstutorial.org/images/figures/signup_failure_rails_4.png> According to the tutorial, I must modify
2012 Feb 21
2
Asset Pipeline doubles my CSS refs?
Hi, I''m trying to properly reference a .css file. Unfortunately the asset pipeline is doubling my css references which disables my code. What gets rendered is: <link href="/assets/sincoraish-screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href="/assets/sincoraish-print.css" media="print"
2011 Nov 01
1
Rails 3.1, stylesheet assets not being reloaded correctly?
Hi, I''m working on a Rails 3.1 project at the moment and having a hard time getting the stylesheets properly loaded. My application.css.scss looks like this: /* * This is a manifest file that''ll automatically include all the stylesheets available in this directory * and any sub-directories. You''re free to add application-wide styles to this file and they''ll
2012 Feb 07
10
Ruby Developer position
Please let me know your interest in following. Location: Columbia, SC Duration: 12 months+ Rate: $65/hr 1099/c2c Required Skills: RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT ORAL AND WRITTEN COMMUNICATION SKILLS, TEST-DRIVEN DEVELOPMENT, LINUX, OS X, JSON, COMMAND LINE, SQL, SSH, HAML, SCSS Thanks Sandeep Sandeep Jain Software People Inc. www.softwarepeople.us
2011 May 27
7
Rails 3.1.rc1 + gem coffee-script - WEBrick and Unicorn hangs.
Environment: rvm ruby 1.9.2-p180 rails 3.1.rc1 Conditions: gem "coffee-script" # in Gemfile at least one file with .js.coffee (even empty inside) in app/assets Result: WEBrick or Unicorn hangs. Only kill -9 <pid> helps. P.S. What additional info should I provide? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
2012 Oct 23
2
SyntaxError in Posts#index ?
For some reason getting this... Any ideas? Extracted source (around line *#13*): 10: <%= link_to "Show", post %> | 11: <span class="admin"> 12: <%= link_to "Edit", edit_post_path(post) %> | 13: <%= link_to "Delete", post, method: :delete, data: {confirm: "Are you sure?"} %> | 14: </span> 15:
2011 Nov 28
9
CSS Problem.
Hi Everyone, I was going through the Rails tutorial from here: http://ruby.railstutorial.org/chapters/filling-in-the-layout#top I was getting this exception on my WebRick server: Started GET "/assets/blueprint/print.css" for 127.0.0.1 at 2011-11-28 14:43:00 +0530 Served asset /blueprint/print.css - 404 Not Found (0ms) ActionController::RoutingError (No route matches [GET]
2012 Aug 16
1
How to create subpages.
What I am trying to do is create subpages within the main page. So if the top navigation is - Home www.example.com/ - About www.example.com/about - Contact www.example.com/contact - Support www.example.com/support I would want a sub navigation under the pages like so; - Home www.example.com/ - About www.example.com/about ----- History www.example.com/about/history ----- Locations