Coder Social home page Coder Social logo

jlong / sass-bootstrap-defunct Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twbs/bootstrap

2.3K 129.0 332.0 14.17 MB

This project has been superceeded by an official Bootstrap Sass port. Please use:

Home Page: https://github.com/twbs/bootstrap-sass

License: Apache License 2.0

Ruby 0.28% JavaScript 44.04% CSS 55.68%

sass-bootstrap-defunct's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sass-bootstrap-defunct's Issues

Issue's including responsive CSS with bootstrap

Sorry for the rookie question, but i'm a bit new to yo and scss in general...

I would like to use the responsive version of bootstrap, so i tried modifying my main.scss file and include @ import "bootstrap-sass/lib/responsive"; after @ import "bootstrap-sass/lib/bootstrap"; but it doesn't seem to work.

bower install sass-bootstrap not working

I get the following error when trying to install sass-bootstrap via bower.

any ideas? thanks.

`
$ bower install --save sass-bootstrap

bower cached git://github.com/jlong/sass-twitter-bootstrap.git#2.3.2
bower validate 2.3.2 against git://github.com/jlong/sass-twitter-bootstrap.git#*
bower new version for git://github.com/jlong/sass-twitter-bootstrap.git#*
bower resolve git://github.com/jlong/sass-twitter-bootstrap.git#*
bower download https://github.com/jlong/sass-twitter-bootstrap/archive/v3.0.0.tar.gz
bower extract sass-bootstrap#* archive.tar.gz
bower EACCES EACCES, rename '/var/folders/fk/yx5x295x61b57pw7__h9_tlr0000gn/T/Dappa/bower/sass-bootstrap-2385-eQGGSL'

Stack trace:
Error: EACCES, rename '/var/folders/fk/yx5x295x61b57pw7__h9_tlr0000gn/T/Dappa/bower/sass-bootstrap-2385-eQGGSL'

Console trace:
Trace
at StandardRenderer.error (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:74:17)
at Logger. (/usr/local/lib/node_modules/bower/bin/bower:109:18)
at Logger.EventEmitter.emit (events.js:93:17)
at Logger.emit (/usr/local/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
at /usr/local/lib/node_modules/bower/lib/commands/install.js:27:16
at _rejected (/usr/local/lib/node_modules/bower/node_modules/q/q.js:808:24)
at Promise.then.self.promiseDispatch.threw (/usr/local/lib/node_modules/bower/node_modules/q/q.js:834:30)
at Promise.when (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1079:31)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:752:41)
at messages (/usr/local/lib/node_modules/bower/node_modules/q/q.js:574:44)

System info:
Bower version: 1.2.7
Node version: 0.8.12
OS: Darwin 11.4.2 x64
`

Packagist.org still show old composer name

Packagist.org needs to be updated to reflect the name change in the composer manifest. it could break code that relies on install path and composer-name being in sync. Also it is not possilble to install under the name.

Form classes missing

There are some classes that exist in Bootstrap 3.0 like:

.form-control-static

but they are non-existing in the _forms.scss.

This file hasn’t been updated to the latest version.

Incompatible units with scssphp

When using the scssphp filter i get the following error when dumping the bootstrap.

[Exception]
Incompatible units: "%" and "in".: failed at *margin-left: $fluidGridGutte
rWidth - (.5 / $gridRowWidth * 100px * 1%); vendor/
mopa/bootstrap-bundle/Mopa/Bundle/BootstrapBundle/Resources/public/sass/../
../bootstrap-sass/lib/_mixins.scss on line 621

Glyphicons not working?

I updated to the latest sass-bootstrap (with bootstrap's 3.0.1 release) but I think the glyphicons broke (wrong file path in '_variables.scss'?)

Syntax error in Sass Mixin sheet?

I love this project, thank you.

In your most recent generated file _mixins.scss I think there is a syntax error.

See lines 246 and 253:
// Drop shadows
@mixin box-shadow($shadow...) {
-webkit-box-shadow: $shadow;
-moz-box-shadow: $shadow;
box-shadow: $shadow;
}

// Transitions
@mixin transition($transition...) {
-webkit-transition: $transition;
-moz-transition: $transition;
-o-transition: $transition;
transition: $transition;

I don't think ellipsis or three periods compile. Right?

Tag 3.0.0-wip Branch

Is the 3.0.0-wip branch to ready to be tagged to match the 3.0.0 release? This would be useful for Bower.

Thanks!

npm install error with phantomjs

Here's the error:

[email protected] install /Users/jimmy/Sites/index.er/public/assets/sass-bootstrap/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs
node install.js

Downloading http://phantomjs.googlecode.com/files/phantomjs-1.9.2-macosx.zip
Saving to /Users/jimmy/Sites/index.er/public/assets/sass-bootstrap/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/phantomjs/phantomjs-1.9.2-macosx.zip
Receiving...
Error requesting archive
Phantom installation failed [Error: Error with http request: { 'content-type': 'text/html; charset="utf-8"' }] Error: Error with http request: { 'content-type': 'text/html; charset="utf-8"' }
at ClientRequest. (/Users/jimmy/Sites/index.er/public/assets/sass-bootstrap/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:227:23)
at ClientRequest.g (events.js:175:14)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at HTTPParser.parserOnIncomingClient as onIncoming
at HTTPParser.parserOnHeadersComplete as onHeadersComplete
at Socket.socketOnData as ondata
at TCP.onread (net.js:525:27)
npm ERR! weird error 1
npm ERR! not ok code 0

Why does the Gruntfile use Less?

I was wondering why the Gruntfile is setup to compile Less files and not the Sass files - this is a Sass version of bootstrap, so shouldn't the Gruntfile use a Sass compiler?

Bower component

Would be very useful if sass-twitter-bootstrap was available through the front-end package manager Bower: https://github.com/twitter/bower

That way you could just do bower install sass-twitter-bootstrap and have it included in your app.

I can submit a PR for the required component.json if you're interested.

Incorrect .navbar-nav margin

In _navbar.scss:

.navbar-nav {
  margin: ($navbar-padding-vertical / 2) -$navbar-padding-horizontal;
  ...
}

In original LESS version it supposed to set both horizontal and vertical margins, but in SASS it's simply subtract values. So I think it should be:

.navbar-nav {
  margin: ($navbar-padding-vertical / 2) (-$navbar-padding-horizontal);
  ...
}

Issue with CSS compiling when running grunt dist

After cloning the repository, installing grunt-cli globally and "npm install", running "grunt dist" outputs:

Running "clean:dist" (clean) task

Running "recess:bootstrap" (recess) task

GENERAL USE: $ recess [path] [options]

OPTIONS:
  --compile
  --compress
  --config
  --format
  --includePath
  --noIDs
  --noJSPrefix
  --noOverqualifying
  --noSummary
  --noUnderscores
  --noUniversalSelectors
  --prefixWhitespace
  --strictPropertyOrder
  --stripColors
  --watch
  --zeroUnits
  --inlineImages

EXAMPLE:

  $ recess ./bootstrap.css --noIDs false

GENERAL HELP: http://git.io/recess

To sum up, CSS compiling does not work.

Recess version:

➜  sass-bootstrap git:(master) ✗ recess --version
1.1.9

Some font variables missing !default, patch inside

Some of the font variables were missing !defaults. This was fixed in bootstrap-sass locally but it looks like the fix isn't on this repo yet. Here is a patch:

From 08ec7f4936d2719a4118d6c0f38f48b93b6ca11c Mon Sep 17 00:00:00 2001
From: Thomas McDonald <[email protected]>
Date: Fri, 24 May 2013 15:34:30 +0100
Subject: [PATCH] Adds !default to some font variables where it was missing

---
 lib/_variables.scss | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/_variables.scss b/lib/_variables.scss
index a30f355..e375202 100644
--- a/lib/_variables.scss
+++ b/lib/_variables.scss
@@ -62,9 +62,9 @@ $headingsColor:         inherit !default; // empty to use BS default, $textColor
 // -------------------------
 // Based on 14px font-size and 20px line-height

-$fontSizeLarge:         $baseFontSize * 1.25; // ~18px
-$fontSizeSmall:         $baseFontSize * 0.85; // ~12px
-$fontSizeMini:          $baseFontSize * 0.75; // ~11px
+$fontSizeLarge:         $baseFontSize * 1.25 !default; // ~18px
+$fontSizeSmall:         $baseFontSize * 0.85 !default; // ~12px
+$fontSizeMini:          $baseFontSize * 0.75 !default; // ~11px

 $paddingLarge:          11px 19px !default; // 44px
 $paddingSmall:          2px 10px !default;  // 26px
-- 
1.7.11

Keep Separate copy of v.2.3.2

It would be great if there is a copy of the v.2.3.2 available in a separate branch, same as the main bootstrap repo.
We are note yet using v.3.0.0 in our work.

Row fluid mixin ?

Hi

How can i use the fluid layout with the sass version of TBS ?
Actually i test wgithout success :

.rowZone{
    //@include makeRow;
@include makeRowFluid; don't work
@include makeFluidRow; don't work
    @extend .row-fluid; no seem to work
}

thanks

How to override _variables.scss

Hi, trying to figure out a way to override _variables.scss.

Should I add a _bootstrap_overrides.scss with the overrides and import this file after

@import "variables";
@import "../../sass/bootstrap_overrides";

any better way to do this?

Collapsed navbar missing .collapsing class for transition style

Please add the following to _component-animations.scss (at the end of the file):

.collapsing
{
position: relative;
height: 0;
overflow: hidden;
@include transition(height .35s ease);
}

Otherwise the closing of the navigation bar using the button displays the links too long. As in after the dropdown has already closed.

Thanks!

ps -> Thanks for the sass translation awesome sauce!

_navs.scss causes infinite loop and memory error when compiled

I am using sass-bootstrap with with leafo/sccsphp and it appears to be breaking when including _navs.scss:

After some debugging, I've tracked it down to https://github.com/jlong/sass-bootstrap/blob/master/lib/_navs.scss#L104. Looks like extending a class with the same name as the current class causes an infinite loop:

&.nav-justified {
    @extend .nav-justified;

Not sure if this should compile and is thus an error within scssphp or if it's a bug on this end.

I know it's usually a faux pas to reference an error triggered by another library, but I figured I'd float it out here first since a fix would likely be easier from here. If it looks like an error more applicable to scssphp, then I'll kick it over there.

FWIW, I just commented line 104 to stop the breakage and it doesn't appear to impact anything.

Riddled with errors.

Guys, this project is riddled with errors.
Mixins are failing pretty hard. I'm getting alot of these errors:

Syntax error: Mixin transition takes 1 argument but 2 were passed.

Can't compile with node-sass

Any ideas why this happens?

sass.renderSync({ file: 'C:\Users\Georgios\Desktop\foo\lib\bootstrap.scss', includePaths: [ 'C:\Users\Georgios
\Desktop\foo\lib' ] });
Error: C:\Users\Georgios\Desktop\foo\lib/_mixins.scss:383: error: error reading values after opacity

sass-twitter-boostrap in Sass instead of Scss

Hey guys. I probably haven't spent enough time looking for an answer, but I actually want to use the sass-twitter-bootstrap in the Sass syntax instead of Scss.

I tried sass-convert but it broke most or all of the files because of how the comments are formatted. It looks like sass-convert doesn't deal with /* comment */ on one line after code.

Has anyone else accomplished using this with Sass instead of Scss?

sass
scss

Encoding problem in '_grid.scss'

When using compass, I've got Line 79 of _grid.scss: Invalid US-ASCII character '\xE2' and I've identified the problem to four occurrences of within comments in that file. I've tried to set @charset 'UTF-8' but still the issues persist. In the end I just replaced the offending char with normal dash and it compiles fine afterwards.

Am I doing something wrong here or it's just my PC having the wrong settings?

Thanks.

missing mixin

moxin .horizontal-three-colors was not translated from original sources (mixins.less)

Compiling with libsass fails

After updating to 3.0.1, here's the error I'm getting from sassc (libsass):

/assets/scss/bootstrap/mixins:712: error: invalid selector after ,

Any ideas on what might be wrong? Thanks!

bower ECMDERR exit code #69

I am trying to use Yeoman, and bootstrap isn't loading because of bower. When I try to install the package: bower install sass-bootstrap-compass

Search results:

sass-bootstrap git://github.com/jlong/sass-bootstrap.git
sass-bootstrap-compass git://github.com/alademann/sass-bootstrap.git
sass-bootstrap-glyphicons git://github.com/greaterweb/sass-bootstrap-glyphicons.git
chosen-sass-bootstrap git://github.com/joeylomanto/chosen-sass-bootstrap.git

$ bower install sass-bootstrap-compass
bower not-cached git://github.com/jlong/sass-bootstrap.git#~3.0.0
bower resolve git://github.com/jlong/sass-bootstrap.git#~3.0.0
bower not-cached git://github.com/Modernizr/Modernizr.git#~2.6.2
bower resolve git://github.com/Modernizr/Modernizr.git#~2.6.2
bower not-cached git://github.com/components/jquery.git#~1.10.2
bower resolve git://github.com/components/jquery.git#~1.10.2
bower not-cached git://github.com/alademann/sass-bootstrap.git#*
bower resolve git://github.com/alademann/sass-bootstrap.git#*
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/components/jquery.git", exit code of #69

Additional error details:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

when I try running sudo I get this:
bower ESUDO Cannot be run with sudo

Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.

http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814

You can however run a command with sudo using --allow-root option

I have done so with no luck. I am not sure how to fix this, but I would love a hand. Thanks in advance.

  • C

grid column resets are missing

All grid column reset classes like .col-md-offset-0 are missing in 3.0.2.

Affected:
$class: all classes (sx, sm, md and lg)
$type: pull, push and offset

They are missing in bootstrap 3.0.1 also but were added back in 3.0.2 However in sass-bootstrap 3.0.2 they are still missing.

Example:
http://jsbin.com/eSeMelU

Seems the loop index is starting with 1 instead of 0 within mixin make-grid. In mixin calc-grid there is a condition for not creating $type = width with index 0. But calc-grid will never get called with 0 at the moment.

Compass

Hi guys,

I'm just trying to use this with a Laravel 4 project, using LaravelGuard to watch/compile/minify the sass => css.

I have a application.scss and I'm trying to @import 'bootstrap'; but it fails because of compass...

any ideas how to get it sorted?

Standalone project

It would be more efficient to have this project as a standalone project.
It's a mess (git) if you want to work on the original Bootstrap (branches) and this one.

Just a suggestion

separate mixins

why not to separate mixins like this:

lib/mixins/button-variant.scss
lib/mixins/box-shadow.scss
...

each mixin in one file, so we can easy replace mixins.

README is hard to understand

I do not understand it at all.

I came here to use the sass version of twitter bootstrap, but the quick start tells me to use the original less version from twitter. I think the README needs to be improved. So why did I came here?

Warning for @extend .form-inline in navbar.scss

WARNING on line 149 of _navbar.scss: ".navbar-form" failed to @extend ".form-inline".
The selector ".form-inline" was not found.
This will be an error in future releases of Sass.
Use "@extend .form-inline !optional" if the extend should be able to fail.

Couldn't find this in previous issues. My bad if I missed something.

Update jQuery?

Would it be possible to upgrade the jQuery dependency in component.json to 1.9?

The official Bootstrap 2.3 has upgraded to jQuery 1.9

When using Bower to install the user receives a warning

Please note that
    your-webapp requires jquery ~1.9.1
    sass-bootstrap requires jquery ~1.8.0

Resolved to jquery v1.9.1, which matches the requirement defined in the project's component.json.
Conflicts may occur.

No harm comes of this but would be nice to clean up the warning

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.