Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opacity for placeholder in Firefox #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ README.md file is automatically generated.
**[Documentation](#documentation) |**

---
### Current version: v3.0.2 (2014-06-26)
### Current version: v3.0.2 (2015-01-17)

## What's new?
* Compiling LESS Hat is much more faster (up to 60× times).
Expand All @@ -25,7 +25,7 @@ README.md file is automatically generated.
* A lot of bug fixes...

## Intro
Why LESS Hat? In August 2012, while we were developing and extending [CSS Hat](http://www.csshat.com) for LESS we needed universal mixins. Unfortunately, none of available were good enough that would satisfy our needs and that’s why we created new custom ones on our own, which have become the most popular mixin library for the whole LESS CSS.
Why LESS Hat? In August 2012, while we were developing and extending [CSS Hat](www.csshat.com) for LESS we needed universal mixins. Unfortunately, none of available were good enough that would satisfy our needs and that’s why we created new custom ones on our own, which have become the most popular mixin library for the whole LESS CSS.

After a year, there is a new, **completely rewritten 3.0 version** that brings 86 great mixins, robust workflow for editing, testing and creating new mixins.

Expand Down Expand Up @@ -816,7 +816,7 @@ Also LESS Hat adds `background-clip: padding-box`, because it fixes problem with
### <a name="border-bottom-right-radius"></a> &#8226; border-bottom-right-radius
**Summary:**

The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.
The border-bottom-right-radius CSS property sets the rounding of the bottom-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

Resources: **[WebPlatform](http://docs.webplatform.org/wiki/css/properties/border-radius)**, **[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius)**

Expand Down
10 changes: 9 additions & 1 deletion build/lesshat-prefixed.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Handcrafted by Petr Brzek, lesshat.com
// Works great with CSS Hat csshat.com

// version: v3.0.2 (2014-06-26)
// version: v3.0.2 (2015-01-17)

// TABLE OF MIXINS:
// align-content
Expand Down Expand Up @@ -551,9 +551,13 @@
}
@{element}:-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
@{element}::-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
@{element}:-ms-input-placeholder {
color: @color;
Expand All @@ -565,9 +569,13 @@
}
&:-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
&::-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
&:-ms-input-placeholder {
color: @color;
Expand Down
10 changes: 9 additions & 1 deletion build/lesshat.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Handcrafted by Petr Brzek, lesshat.com
// Works great with CSS Hat csshat.com

// version: v3.0.2 (2014-06-26)
// version: v3.0.2 (2015-01-17)

// TABLE OF MIXINS:
// align-content
Expand Down Expand Up @@ -551,9 +551,13 @@
}
@{element}:-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
@{element}::-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
@{element}:-ms-input-placeholder {
color: @color;
Expand All @@ -565,9 +569,13 @@
}
&:-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
&::-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
&:-ms-input-placeholder {
color: @color;
Expand Down
8 changes: 8 additions & 0 deletions mixins/placeholder/placeholder.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
}
@{element}:-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
@{element}::-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
@{element}:-ms-input-placeholder {
color: @color;
Expand All @@ -19,9 +23,13 @@
}
&:-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
&::-moz-placeholder {
color: @color;
-moz-opacity: 1;
opacity: 1;
}
&:-ms-input-placeholder {
color: @color;
Expand Down