Zotonic
Zotonic
zotonic@conference.zotonic.com
Tuesday, 4 September 2012< ^ >
arjan has set the subject to: Zotonic - the Erlang CMS
Room Configuration

GMT+2
[08:10:40] Marc Worrell joins the room
[08:19:01] Ilya Rezvov leaves the room: Replaced by new connection
[08:19:02] Ilya Rezvov joins the room
[08:50:32] Ilya Rezvov leaves the room
[08:59:29] arjan joins the room
[09:02:40] kaos joins the room
[09:56:13] Ilya Rezvov joins the room
[10:56:03] kaos leaves the room
[10:58:53] kaos joins the room
[11:39:46] kaos leaves the room
[11:50:21] kaos joins the room
[13:45:10] arjan leaves the room
[14:28:58] arjan joins the room
[14:34:31] arjan leaves the room
[14:37:33] arjan joins the room
[16:32:15] <Marc Worrell> i don't know about the coffee script - maybe Arjan knows
[16:32:54] <Marc Worrell> I am wondering about the best way to use Twitter Bootstrap CSS in a project - as they always come out with new versions and we need an override of some styles in it.
[16:42:10] <kaos> doesn't it work in css to have your overrides in a file included after bootstrap?
[16:42:16] arjan leaves the room
[16:43:00] <Marc Worrell> sometimes it is difficult to remove a style - so basically you are correcting what was defined before
[16:43:14] <Marc Worrell> like all those gradients and rounded corners
[16:43:29] <Ilya Rezvov> !important :)
[16:43:46] <Ilya Rezvov> or #id .btn { }
[16:44:45] <Marc Worrell> but when that rounded corner (or gradient) is added, then you have to reset it (with all variations) to the non-rounded version again.
[16:45:09] <Marc Worrell> would be nice if we can download a tailored version, and then remember the url of that version for re-downloads.
[16:52:08] <Marc Worrell> must be a common problem - somebody must have solved this :)
[16:52:47] <kaos> related question: http://stackoverflow.com/questions/1046872/how-can-i-disable-inherited-css-styles
[16:58:50] <Ilya Rezvov> bad ugly solution
[16:59:52] <Marc Worrell> yep, there must be a better wat
[16:59:53] <Marc Worrell> way
[17:00:02] <Marc Worrell> it is mostly about keeping your changes merged
[17:00:02] <Ilya Rezvov> redefine property by stronger rule better solution
[17:00:15] <Ilya Rezvov> i bad understand current problem
[17:00:26] <Marc Worrell> my problem is:
[17:00:39] <Marc Worrell> 1. I have a twitter bootstrap based project
[17:00:45] <Marc Worrell> 2. I need modifications to the css
[17:00:57] <Marc Worrell> 3. How do I merge a new twitter bootstrap version?
[17:01:11] <Marc Worrell> (because they have browser related fixes)
[17:01:40] <Ilya Rezvov> how u define rules in your project?
[17:01:47] <Marc Worrell> I want to keep the css maintainable into the future
[17:02:07] <Marc Worrell> it is more like paddings etc that are different than the default twitter css
[17:02:30] <Ilya Rezvov> we use BEM notation in Yandex
[17:02:41] <Marc Worrell> BEM?
[17:02:47] <Ilya Rezvov> i try find description on english now
[17:02:52] <Marc Worrell> ok :-)
[17:03:06] <Ilya Rezvov> http://bem.github.com/bem-method/pages/beginning/beginning.en.html
[17:03:37] <Marc Worrell> bookmarked :)
[17:04:35] <Ilya Rezvov> u can redefine bootstrap rules
[17:04:44] <Ilya Rezvov> add #html id to html tag
[17:05:16] <Ilya Rezvov> and use it in your rules which redefined bootstrap
[17:05:17] <Marc Worrell> hmmm, indeed it might be better to have the whole css file split into the blocks
[17:05:41] <Marc Worrell> thing is crazy big now (as it comes from twitter)
[17:05:55] <Ilya Rezvov> BEM is amazing methodology
[17:06:32] <Ilya Rezvov> it preaches such way for writing css rules
[17:07:08] <Ilya Rezvov> in my project i have one directory for each block
[17:07:36] <Ilya Rezvov> and it contains css rules, js code and images for it block
[17:08:15] <Ilya Rezvov> it is easy to transfer block from the project to another
[17:08:39] <Marc Worrell> yes, that is what you really want - a nice block building kit
[17:08:56] <Marc Worrell> wondering if we can apply that to zotonic with the tpls/js/etc
[17:09:20] <Ilya Rezvov> i think about porting our bem-tools to zotonic module
[17:09:52] <Ilya Rezvov> but i don't have enough expirience yet
[17:10:24] <Marc Worrell> maybe you can write up what you are thinking about and what is needed - then we can take a look how it could fit.
[17:10:44] <Marc Worrell> because there is a problem that screams for a solution
[17:10:49] <Ilya Rezvov> https://github.com/bem/bem-tools
[17:11:02] <Marc Worrell> (also see the posts of Lloyd about templates etc)
[17:11:08] <Ilya Rezvov> it is our tools for writing apps in BEM-notation
[17:12:02] <Ilya Rezvov> https://github.com/bem/bem-bl
[17:12:18] <Ilya Rezvov> this is public blocks example
[17:13:07] <Marc Worrell> also bookmarked - i have some reading to do :p
[17:13:39] <Marc Worrell> see how we can apply BEM to Bootstrap and Zotonic
[17:14:41] <Marc Worrell> (and then take over Yandex with Zotonic - the hidden agenda to world domination)
[17:14:56] <Ilya Rezvov> :)
[17:15:15] <Ilya Rezvov> yandex is NL company :)
[17:15:58] <Marc Worrell> LOL
[17:16:08] <Ilya Rezvov> our main company registered in NL :)
[17:16:11] <Marc Worrell> i see it, registered in The Hague
[17:16:13] <Marc Worrell> weird
[17:16:39] <Marc Worrell> why is that?
[17:16:51] <Marc Worrell> and an NV - so unlimited
[17:17:30] <Marc Worrell> then we can always start our world domination in The Hague
[17:18:33] <Ilya Rezvov> cofounder yandex is NL citizen
[17:18:51] <Marc Worrell> that explains
[17:18:58] <Ilya Rezvov> when yandex was creating
[17:19:00] <Marc Worrell> nice move, is a big company now
[17:19:09] <Ilya Rezvov> russia was very unstable for buisnes
[17:19:46] <Ilya Rezvov> it is highly unstable now :)
[17:20:00] <Marc Worrell> LOL
[17:20:17] <Marc Worrell> only when you become very big
[17:51:01] <Ilya Rezvov> i will try to fly to Amsterdam on new year holiday :)
[18:09:36] Ilya Rezvov leaves the room
[18:12:30] arjan joins the room
[18:17:46] arjan leaves the room
[18:43:32] arjan joins the room
[18:44:49] arjan leaves the room
[19:44:22] arjan joins the room
[19:47:37] arjan leaves the room
[19:52:56] arjan joins the room
[19:54:16] arjan leaves the room
[19:54:37] arjan joins the room
[20:05:25] arjan leaves the room
[22:11:16] Ilya Rezvov joins the room
[22:16:38] kaos leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!