Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit 9fe1fba

Browse files
author
arthurzurb
committed
Foundation build to bower-foundation
1 parent e3bc6d0 commit 9fe1fba

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-6
lines changed

css/foundation.css

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/foundation.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/foundation.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/foundation/components/_forms.scss

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ $form-label-small-transform: capitalize !default;
2323
$form-label-bottom-margin: 0 !default;
2424
$input-font-family: inherit !default;
2525
$input-font-color: rgba(0,0,0,0.75) !default;
26+
$input-placeholder-font-color: #cccccc !default;
2627
$input-font-size: rem-calc(14) !default;
2728
$input-bg-color: $white !default;
2829
$input-focus-bg-color: scale-color($white, $lightness: -2%) !default;
@@ -478,10 +479,28 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
478479
height: auto;
479480
}
480481

481-
/* Not allow resize out of parent */
482-
textarea {
483-
max-width: 100%;
484-
}
482+
/* Not allow resize out of parent */
483+
textarea {
484+
max-width: 100%;
485+
}
486+
487+
// style placeholder text cross browser
488+
::-webkit-input-placeholder {
489+
color: $input-placeholder-font-color;
490+
}
491+
492+
:-moz-placeholder { /* Firefox 18- */
493+
color: $input-placeholder-font-color;
494+
}
495+
496+
::-moz-placeholder { /* Firefox 19+ */
497+
color: $input-placeholder-font-color;
498+
}
499+
500+
:-ms-input-placeholder {
501+
color: $input-placeholder-font-color;
502+
}
503+
485504

486505
/* Add height value for select elements to match text input height */
487506
select {

0 commit comments

Comments
 (0)