Embedded CSS Framework

So you also overwrite views in the theme and leave the basic Yii web application skeleton unmodified?

Do you also place your Sass/Compass files into your theme and parse the final CSS there?

@all/devs:

Will Yii2 somehow force the usage of a (classic) theme?

Zurb Foundation 3.0 has been released http://foundation.zurb.com

(no IE7 support)

Just checked it. Well, it’s awesome!

I do. :)

Views and even widgets uses the theme directory.

It’s a lot easier to experiment with different themes when everything in ‘protected’ is agnostic to style.

As for parsing, the Yii app never knows that it was sass/compass which generated the css.

Awesome! :lol:

What I really dig is that they finally decided to use Sass - I know that they had a gem, but it was merely a translate of the static css - they didn’t take advantage of it.

I already have my own framework based on sass, but I’ll definitely use Foundation for a lot of projects now, where a custom framework isn’t necessary.

Actually it lacks some things like Icon Fonts, maybe the reason is that it isn’t the final version.

I wish it would use something like FontAwesome. ;)

Using it myself - highly recommended.

I just found icon fonts to have issues on the Android stock browser: http://code.google.com/p/android/issues/detail?id=25842

Sometimes font-faced fonts aren’t showed (you don’t see anything) and I have to make things like rotating the screen or open the “find in page” menu or go back than forward to make them appear… it’s like a rendering bug.

Foundation 3 has been released.

http://foundation.zurb.com/

Bootstrap 2.1.0 has been released http://twitter.github.com/bootstrap/

I’ve to say the number of components is impressive.

About the glyphs licensing: https://github.com/twitter/bootstrap/issues/4485

I wonder why they refuse to support multi level menus… Now included. ^^

Yes, I think foundation 3 has now a lot more of features than foundation 2.

But ie7 is not supported anymore in foundation 3

And I must say bootstrap is highly customizable.

For example when you start only with the scaffolding you have a good basis and the css is only 7kb (2.5kb gzipped)

And for your special needs in your app you can download your custom css for your application

Another one… http://kubeframework.com

Foundation 3.1 has also been released

thanks for this info . nice one too ! :lol:

I have been a big fan of Bootstrap since I learned of it just a couple months ago. I have already been using Boilerplate since version 2, and lately my designer and I have used Initializr as the base model for all our sites, as it combines Boilerplate and Bootstrap together, allowing us to take advantage of all the best features of Boilerplate - extensive htaccess standardization, superior CSS basis to the old "reset" model, HTML5 support with Modernizr backup - and everything that Bootstrap brings to the table: 12-column grid system, good CSS3 integration, responsive design.

For people concerned about Bootstrap forcing people into a mold, I would point out you can download the code in portions, and remove whatever elements you don’t want/like. You could just as easily implement Bootstrap on the Yii level with just e.g. the scaffolding, responsive, maybe some other elements like table and form presentation, navbar/breadcrumbs, dropdown and pagination, as long as you educate full-use Bootstrappers which elements are included and which are left out. Then they could fold the other elements they want back into main.css, or install it as an extension. Or even better, allow the developer to select which elements to install with the Yii application so they know and can control how much of it they want to take advantage of.

One particular reason I would prefer this over the extension method is because of my current experience with Yii-Bootstrap. It’s a great extension and I love it, but it highlights the problem with the order in which Yii loads CSS. The extension resources are stored in the assets folder, loaded last by Yii, and override whatever else you have coded except inline styles. So having Bootstrap code as an extension actually gives you FEWER options for customizing your setup.

I’m not necessarily campaigning for its inclusion as opposed to any other framework, but I’ve been happy enough with it - especially the way Initializr combines it with Boilerplate, that I’d consider it a step up from the implementation of Blueprint in the current version.

Well… being popular is one way of grading the options…

Personally, I find that Bootstrap gives me more work because I simply do not like the overall feel of it, and thus have to change it.

The same can be said about Foundation, to a lesser extent, but at least it uses Sass/Compass… :P

I’ve to say that Foundation Templates are really nice http://foundation.zurb.com/templates.php

this is a nice info , it’s pity that bootstrap has less available templates (less then 10 now)exampleApps .

It might amuse Ekerazha to learn that I’ve now switched to using Bootstrap.

All thanks to the fact that it looks better, has more tools/skins/code/tips/whatever, and because Clevertech has created YiiBooster (and YiiBoilerplate).

I don’t like LESS, but I can use it with Sass just fine, so here I am. A Bootstrap user. Like the rest of you.

<edit>

Kube is made by the guys who make Redactor.

I think I will use Kube for the frontend and Bootstrap for the backend. Win-win. :)

And Kube has a sass/compass port here: https://github.com/yckart/compass-kube