Less css bug & hack

The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.
Kategória: 
Gyorstippek

Nem 100% drupal téma, de mivel éppen az egyik git account igényem egy zen-less alapú starter theme, ezért talán van helye.

A lényeg, hogyha bárhol háttérképet adsz meg, a háttérkép tulajdonságait ugyanazon a szinten belül nem lehet felülírni.
Van ez a less rule, amit a sprite-okhoz használok:
[geshifilter-code].sprite(@background-position) { background: url(../images/sprite.png) no-repeat @background-position; display: block; }[/geshifilter-code]

Létrehozok vele egy képet:
[geshifilter-code].block-title { .sprite(0 -288px); }[/geshifilter-code]

Majd használom a taboknál:

[geshifilter-code].tab-style { .block-title; color: #fff; margin: 0 5px; padding: 3px 15px 2px; .border-radius(@grid-margin @grid-margin 0 0); cursor: pointer; ------------------------------ background-color: #0095b2; ------------------------------ &:hover, &:active, &.toggle-active { background-color: #E1ECF2; .border-radius(@grid-margin @grid-margin 0 0); color: @h2; } }[/geshifilter-code]

A kötőjelek közé írt background szabály egyszerűen nem érvényesül. Dízízdö bug. Ha egy szinten akarsz felülírni korábban lessben definiált background háttérszínét, nem fog menni. Próbáltam mindenhogy, megadtam a .sprite-ban, a .block-title-ben, de nem jött össze..

Aztán észrevettem, hogy alatt a &-el hozzákapcsolt szabályokban viszont működik. Nosza hát, próbáljuk ki, hogy &-el hozzákapcsoljuk a nagy büdös semmit:

[geshifilter-code]tab-style { .block-title; color: #fff; margin: 0 5px; padding: 3px 15px 2px; .border-radius(@grid-margin @grid-margin 0 0); cursor: pointer; -------------------------- & { background-color: #0095b2; } -------------------------- &:hover, &:active, &.toggle-active { background-color: #E1ECF2; .border-radius(@grid-margin @grid-margin 0 0); color: @h2; } }[/geshifilter-code]

Éééés voilá! Mondom poénból kipróbálom, nem voltam biztos, hogy működni fog, pedig de.

Hozzászólások

Szántó Gábor Drupal oldala -

Szántó Gábor Drupal oldala - Less css bug & hack http://derbfactory.net/link.php?t=0&u=35c7319e-336d-cf9f-035e-4a48015369...

Aw, this was a really nice

Aw, this was a really nice post. Spending some time and actual effort to produce a really good article… but what can I say… I procrastinate a whole lot and never
manage to get nearly anything done.

I'm amazed, I must say.

I'm amazed, I must say. Seldom do I encounter a blog that's equally educative and
amusing, and without a doubt, you've hit the nail on the head.
The problem is something which not enough folks are
speaking intelligently about. I am very happy I found this in my search for something relating to this.

Hi to all, the contents

Hi to all, the contents present at this website are actually amazing for people knowledge, well, keep up the nice work fellows.

Can I simply just say what a

Can I simply just say what a relief to uncover someone who actually knows what they're talking about on the internet. You certainly know how to bring a problem to light and make it important. More people should read this and understand this side of your story. It's surprising you are not more popular since you definitely possess the gift.|

I was suggested this website

I was suggested this website by my cousin. I am not certain whether this put up is
written by him as no one else realize such exact approximately my trouble.
You are amazing! Thank you!

Nice blog here! Also your

Nice blog here! Also your website loads up fast! What host are
you using? Can I get your affiliate link to your host?
I wish my website loaded up as fast as yours lol

When I initially commented I

When I initially commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I get
four e-mails with the same comment. Is there any way you can remove me
from that service? Thanks a lot!

I think the admin of this

I think the admin of this site is actually working hard for his web site, since here every stuff is quality based data.

Excellent beat ! I wish to

Excellent beat ! I wish to apprentice while you amend your web site, how can i subscribe for a weblog web site? The account helped me a appropriate deal. I had been a little bit familiar of this your broadcast offered brilliant clear concept|

Hi there, of course this

Hi there, of course this paragraph is genuinely nice and I have learned lot of things from it on the topic of blogging.
thanks.

We're a group of volunteers

We're a group of volunteers and starting a
brand new scheme in our community. Your web site provided us with helpful information to work on. You've done a formidable
task and our whole neighborhood can be grateful to you.

Howdy! Would you mind if I

Howdy! Would you mind if I share your blog with my myspace group? There's a lot of people that I think would really appreciate your content. Please let me know. Thank you|

I visited several web sites

I visited several web sites however the audio quality for audio songs existing at this web page is truly excellent.

Yes! Finally something about

Yes! Finally something about ig.

I simply couldn't go away

I simply couldn't go away your web site prior to suggesting that I actually enjoyed the standard info an individual supply to your guests? Is going to be again steadily in order to inspect new posts|

I have read so many content

I have read so many content on the topic of the blogger lovers but this piece of writing
is genuinely a nice post, keep it up.
Jim's San Jose Carpet Cleaning
780 S 3rd St, San Jose, CA 95112
3408-351-1063
colettemackie2641 [at] gmail [dot] com

Keep on writing, great job!

Keep on writing, great job!

What's Happening i'm new to

What's Happening i'm new to this, I stumbled upon this I have
discovered It positively helpful and it has helped me out loads.
I am hoping to give a contribution & assist other customers
like its helped me. Good job.

Good blog you have got here..

Good blog you have got here.. It's difficult to find good quality writing like yours these days. I truly appreciate individuals like you! Take care!!|

Helpful information.

Helpful information. Fortunate me I discovered your site accidentally, and I
am shocked why this twist of fate did not took place
earlier! I bookmarked it.

It's an remarkable paragraph

It's an remarkable paragraph in support of all the online viewers; they will get advantage from it I am sure.

Tremendous issues here. I am

Tremendous issues here. I am very satisfied to look your article.
Thanks a lot and I'm having a look ahead to touch you. Will you kindly drop
me a e-mail?

We absolutely love your blog

We absolutely love your blog and find most of your post's to
be just what I'm looking for. Does one offer guest writers to write content for you?
I wouldn't mind composing a post or elaborating on a few of the subjects you write
in relation to here. Again, awesome site!
Jim's San Jose Carpet Cleaning
780 S 3rd St, San Jose, CA 95112
3408-351-1063
colettemackie2641 [at] gmail [dot] com

Hello! Do you use Twitter?

Hello! Do you use Twitter? I'd like to follow you if that would be
ok. I'm absolutely enjoying your blog and look forward to new posts.

Jim's San Jose Carpet Cleaning
780 S 3rd St, San Jose, CA 95112
3408-351-1063
colettemackie2641 [at] gmail [dot] com

When I initially commented I

When I initially commented I clicked the "Notify me when new comments are added" checkbox and now
each time a comment is added I get several emails with the same comment.
Is there any way you can remove people from that service?
Thanks!

It's really a nice and

It's really a nice and helpful piece of info. I'm glad
that you simply shared this useful information with us. Please keep us up
to date like this. Thanks for sharing.

Asking questions are

Asking questions are genuinely good thing if you are not understanding anything completely, however this post gives fastidious understanding yet.|

Superb site you have here but

Superb site you have here but I was curious about if you knew of any discussion boards that cover the same topics
talked about in this article? I'd really love to be a part of online community where I can get advice from other knowledgeable people that share the same interest.
If you have any suggestions, please let me know.
Appreciate it!

Hi there exceptional website!

Hi there exceptional website! Does running a blog similar to this
take a massive amount work? I've absolutely no understanding of coding however I was hoping to start
my own blog soon. Anyhow, should you have any suggestions or tips for new blog owners please share.
I understand this is off subject but I simply wanted to ask.
Thank you!

Good post! We are linking to

Good post! We are linking to this particularly great content on our site. Keep up the good writing.|

I've been exploring for a bit

I've been exploring for a bit for any high quality articles or blog posts on this sort of space .
Exploring in Yahoo I eventually stumbled upon this website.
Reading this information So i'm glad to express that I've
a very just right uncanny feeling I found out exactly what I
needed. I such a lot indisputably will make certain to do not omit this website and give it a glance regularly.

Pretty portion of content. I

Pretty portion of content. I just stumbled upon your website and in accession capital to claim that I acquire actually loved account your blog posts. Anyway I'll be subscribing to your feeds or even I success you get entry to consistently fast.|

I think the admin of this

I think the admin of this website is really working
hard in favor of his website, as here every material is quality based
material.

I like the helpful info you

I like the helpful info you provide in your articles.
I will bookmark your weblog and check again here frequently.
I am quite sure I'll learn lots of new stuff right here!
Good luck for the next!

What's Going down i am new to

What's Going down i am new to this, I stumbled upon this I have found It absolutely helpful and it has helped me out loads.

I'm hoping to contribute & assist different customers like its aided me.
Good job.

I read this piece of writing

I read this piece of writing fully concerning the resemblance of most recent and previous
technologies, it's remarkable article.

Anaheim Divorce Lawyers in Practice
204 S Illinois St, Anaheim, CA 92805
714-410-5333
sabihafelix09835 [at] gmail [dot] com

That is really interesting,

That is really interesting, You're an overly skilled blogger. I have joined your feed and look ahead to looking for more of your wonderful post. Additionally, I have shared your site in my social networks|

I was excited to uncover this

I was excited to uncover this page. I wanted to
thank you for ones time for this particularly fantastic read!!
I definitely liked every part of it and i also have you book-marked to look at new information in your site.

Whats up are using Wordpress

Whats up are using Wordpress for your site platform?

I'm new to the blog world but I'm trying to get started
and create my own. Do you require any html coding expertise to make your own blog?
Any help would be really appreciated!

With havin so much content do

With havin so much content do you ever run into any issues
of plagorism or copyright infringement? My website has a lot of completely unique content I've either written myself or outsourced but it appears
a lot of it is popping it up all over the internet without my authorization. Do
you know any techniques to help protect against content from being
stolen? I'd truly appreciate it.

Thanks for sharing your

Thanks for sharing your thoughts on ig. Regards

Wow that was strange. I just

Wow that was strange. I just wrote an incredibly long comment but after I clicked submit my comment didn't appear. Grrrr... well I'm not writing all that over again. Anyways, just wanted to say superb blog!|

Great article! We are linking

Great article! We are linking to this particularly great content on our site.
Keep up the great writing.

Wonderful article! This is

Wonderful article! This is the kind of information that are meant to be shared
across the internet. Disgrace on the search engines for not positioning this publish
higher! Come on over and consult with my website .
Thank you =)

Great article! We will be

Great article! We will be linking to this great article on our site.
Keep up the great writing.

I love what you guys tend to

I love what you guys tend to be up too. This kind of clever work and exposure! Keep up the wonderful works guys I've included you guys to our blogroll.|

I think that what you typed

I think that what you typed was actually very logical.

But, what about this? what if you added a little content?
I am not suggesting your content isn't solid, but suppose you added a post
title that makes people want more? I mean Válasz a hozzászólásra is a little boring.

You might look at Yahoo's front page and see how they write news headlines to grab viewers interested.
You might add a video or a picture or two to get readers excited
about everything've got to say. Just my opinion, it
could make your posts a little livelier.

First off I would like to say

First off I would like to say terrific blog!
I had a quick question which I'd like to ask if
you do not mind. I was curious to find out how
you center yourself and clear your head before writing.
I have had trouble clearing my thoughts in getting my ideas out there.

I truly do take pleasure in writing however it just seems like the first 10 to 15 minutes tend to be wasted simply just
trying to figure out how to begin. Any suggestions or hints?

Cheers!

Thanks in favor of sharing

Thanks in favor of sharing such a nice idea,
post is fastidious, thats why i have read it completely

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.