Advertisement:

Author Topic: bug in Bender main.css file: @inlcude  (Read 1514 times)

marylooo

  • Newbie
  • *
  • Posts: 16
bug in Bender main.css file: @inlcude
« on: October 11, 2013, 05:51:30 am »
There is a bug in Bender's main.css file.

It exists on the Osclass demo site, and in the latest version of Osclass (3.2.1).

You can see a picture of it in the screenshot.

Someone wrote @inlcude in the main.css file.  I think they meant to write @include. The typo might have resulted in SASS not processing the statement as they expected (I assume it is a remnant of SASS code).

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: bug in Bender main.css file: @inlcude
« Reply #1 on: October 11, 2013, 06:21:29 am »
thanks ;D

marylooo

  • Newbie
  • *
  • Posts: 16
Re: bug in Bender main.css file: @inlcude
« Reply #2 on: October 11, 2013, 06:53:15 am »
I think you can do the following to fix this bug in your local installation.

1. Open oc-content/themes/bender/css/main.css in a text editor.

2. Search for the text: @inlcude tab-focus;.

3. Erase that text. Replace it with the following:

Code: [Select]
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;

Those 3 lines of CSS code are what the SASS mixin named "tab-focus" contains, according to the repository on Github. What I don't know is what the heck difference this code makes. :) I just noticed the bug while debugging something else and figured I'd fix it if it were simple.

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: bug in Bender main.css file: @inlcude
« Reply #3 on: October 14, 2013, 03:19:28 pm »
Hi @marylooo,

Thanks for reporting I created a new issue on github

https://github.com/osclass/Osclass/issues/1062

Regards