> All variables now use dashes instead of camelCase. For example, it's now @body-background instead of @bodyBackground. Not sure how I feel about this. On one hand that's a pretty large sweeping change that is going to break all my customizations. On the other, dashes look much better in css and I prefer them for class names and so on. Not even sure why, is this some sort of community standard I picked up somewhere a…
Maybe they aren't using the property of the dash character just yet, but it is special in CSS: http://stackoverflow.com/a/5598250
Bootstrap 3.0 Upcoming changes
91–100 of 149 posts
Re: Bootstrap 3.0 Upcoming changes
#92Earlier quoted context omitted.
I've always wondered why they initially chose camelCase and not dashes. I like keeping camelCase for JS only. CSS uses dashes (border-top). LESS uses dashes in its example documentation.
because you can't double click on class names that contain dashes to quickly copy and paste them into your html. - do look neater but I wont switch because it frustrates me so much to not have that simple feature!
camelCase and under_scores both select the full string as a word. But if you throw some-dashes-in-there, and you're using the keyboard, it's super fast to select just the bits of the value you want. Without the dash, you have the select a character level to modify aspects of the string, which is fairly fiddly for being such a common task.
A simple example of this being awesomely quick is adding a pre/postfix to values, eg:
@color-link @color-link-hover @color-link-active
Re: Bootstrap 3.0 Upcoming changes
#93I wish they weren't dropping IE7 support. You can make fun of "who uses that!" all you want, but we build a site that is used by government people who can't control their own computers, and our current demographics are 50% IE7! Nothing to be done, we just can't upgrade to Bootstrap 3.0. So -- if you MUST do this, at least leave the website docs up for Bootstrap 2, cause we're not going anywhere...
There's nothing wrong with intentionally staying behind -- Bootstrap 3.x features will more than likely lean a lot more heavily on CSS3/HTML5.
Re: Bootstrap 3.0 Upcoming changes
#94> All variables now use dashes instead of camelCase. For example, it's now @body-background instead of @bodyBackground. Not sure how I feel about this. On one hand that's a pretty large sweeping change that is going to break all my customizations. On the other, dashes look much better in css and I prefer them for class names and so on. Not even sure why, is this some sort of community standard I picked up somewhere a…
That or can someone write up a nice Sed script to grep through my less files and change all the variable names?
Re: Bootstrap 3.0 Upcoming changes
#95Earlier quoted context omitted.
Maybe 5% of users need to get their shit together and upgrade. :|
They can't upgrade. Hospitals and big companies lock down the computers, you can't install anything. If it comes with IE7, that's all you got. And it's not because of these companies. E.g. they need to run a specific custom version of SAP (accounting), which on turn crashes if any other browser is present. Upgrading would cost over $30M, so forget it for a while. Or the hospital needs to validate the hardware + OS +…
I know your example is exaggerated for effect, but there is (or should) be a difference between "general use" PCs in a hospital, and Patient Care / Management PCs (EHR, workflow automation, digital diagnostic imaging, pharmacy and the like). That in itself is a failling of healthcare IT policy.
Sure, your critical systems should all be be "certified", but even that is an area ripe for disruption - witness DrChrono in EHR, and I myself am working, or brainstorming on, better "field reporting" (i.e. 911 response laptops / tablets - most software in this field is horrific for usability, though admittedly there is pretty cool functionality, the ability to transmit 12-lead ECG to the hospital for prepping cath labs is fantastic) - definitely willing to talk to people interested in such a thing.
Edit: as an aside, I'm yet to see MRI software that wasn't driven by a Solaris backend, or even Irix, though that does demonstrate how this area works.
Re: Bootstrap 3.0 Upcoming changes
#96Earlier quoted context omitted.
does SASS work without installing the pre-processor? I know LESS does. I didn't think SASS did. LESS will work well enough with just the js file loaded (if a bit slower).
You still have to compile both. You shouldn't be running less.js in production.
Re: Bootstrap 3.0 Upcoming changes
#97Earlier quoted context omitted.
When was the last time anybody used FF 3.6? Serious question.
I know of a call center here in the US with 300 stations that have XP and FireFox 3.5 and they won't be upgrading anytime soon.
Re: Bootstrap 3.0 Upcoming changes
#98> Removed all color variables (e.g., @blue, @orange, etc). New, more meaningful variables are on their way (such as @state-warning-text). Hooray! Should make customization that much easier.
Re: Bootstrap 3.0 Upcoming changes
#99> Removed all color variables (e.g., @blue, @orange, etc). New, more meaningful variables are on their way (such as @state-warning-text). Hooray! Should make customization that much easier.
I'm sorry, I don't know what @state-warning-text is, googling it only seems to point to this article, could somebody explain please? thanks!
Re: Bootstrap 3.0 Upcoming changes
#100Glad they are finally using icon fonts instead of PNG. Now we can make icons any color and add drop shadows if needed.
It can be easily done (with any svg/fonts you have) using this awesome tool if you're interested: http://icomoon.io