Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$border-radius-base is undefined #57

Closed
mjgiarlo opened this issue Jan 11, 2015 · 5 comments
Closed

$border-radius-base is undefined #57

mjgiarlo opened this issue Jan 11, 2015 · 5 comments
Milestone

Comments

@mjgiarlo
Copy link
Member

I've got a vanilla Sufia install that I'm running under RAILS_ENV=production, and when I run the assets:precompile task, I see the following error:

mjg@beacon:~/workspace/druw (master[2.1.5@druw]⚡ )$ RAILS_ENV=production rake --trace assets:precompile
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
Sass::SyntaxError: Undefined variable: "$border-radius-base".
  (in /home/mjg/.rvm/gems/ruby-2.1.5@druw/gems/hydra-editor-1.0.0.rc2/app/assets/stylesheets/hydra-editor/multi_value_fields.scss:35)
/home/mjg/.rvm/gems/ruby-2.1.5@druw/gems/hydra-editor-1.0.0.rc2/app/assets/stylesheets/hydra-editor/multi_value_fields.scss:35

I see that this variable is declared in bootstrap-sass 3.3.1.0 in assets/stylesheets/bootstrap/_variables.scss, and this version of bootstrap-sass is in my bundle, FWIW.

@jcoyne
Copy link
Member

jcoyne commented Jan 12, 2015

Did this fix it? #56

@mjgiarlo
Copy link
Member Author

Indeed, this is fixed by #56. Thx, @jcoyne

@jcoyne
Copy link
Member

jcoyne commented Jan 12, 2015

I'm still having this problem:

Undefined variable: "$border-radius-base".
  (in /Users/justin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bundler/gems/hydra-editor-584304b5d839/app/assets/stylesheets/hydra-editor/hydra-editor.scss:35)

@jcoyne jcoyne reopened this Jan 12, 2015
@jcoyne
Copy link
Member

jcoyne commented Jan 13, 2015

The problem occurs when I have application.css like this:

 *= require blacklight
 *= require hydra-editor/hydra-editor

But I can fix it by removing hydra-editor from application.css and adding this line to blacklight.scss:

@import 'hydra-editor/multi_value_fields';

@mjgiarlo
Copy link
Member Author

I'll add this tidbit to the 6.0.0 release notes, unless you're going to put a fix into the hydra-editor codebase that obviates that.

@jrgriffiniii jrgriffiniii added this to the 5.0.x series milestone Jul 26, 2019
@mjgiarlo mjgiarlo closed this as completed Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants