-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lots of improvements to the structure. Bower and Composer support.
- Loading branch information
Showing
18 changed files
with
919 additions
and
873 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "pform", | ||
"version": "3.2", | ||
"main": "css/pform.css", | ||
"ignore": [ | ||
"*.html", | ||
"composer.json", | ||
"includes" | ||
], | ||
"keywords": [ | ||
"form layout", | ||
"html", | ||
"css" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "sciactive/pform", | ||
"description": "Pixel perfect CSS form layouts.", | ||
"version": "3.2", | ||
"type": "library", | ||
"keywords": [ | ||
"form layout", | ||
"html", | ||
"css" | ||
], | ||
"homepage": "http://sciactive.com/pform/", | ||
"time": "2014-12-21", | ||
"license": "LGPL", | ||
"authors": [ | ||
{ | ||
"name": "Hunter Perrin", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/hperrin", | ||
"role": "Developer" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/sciactive/pform/issues", | ||
"wiki": "https://github.com/sciactive/pform/wiki", | ||
"source": "https://github.com/sciactive/pform" | ||
}, | ||
"archive": { | ||
"exclude": ["*.html", "bower.json", "includes"] | ||
} | ||
} |
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
PForm 3.1 | ||
PForm 3.2 | ||
license: http://www.gnu.org/licenses/gpl.html | ||
license: http://www.gnu.org/licenses/lgpl.html | ||
|
@@ -8,180 +8,210 @@ author: Hunter Perrin <[email protected]> | |
copyright: SciActive.com | ||
link: http://sciactive.com/pform/ | ||
*/ | ||
|
||
.pf-form:after, | ||
.pf-form fieldset:after { | ||
content: "."; | ||
display: block; | ||
height: 0; | ||
clear: both; | ||
content: "."; | ||
visibility: hidden; | ||
} | ||
|
||
.pf-form fieldset { | ||
padding: 5.6px 10px 12px; | ||
border: 1px solid #cccccc; | ||
} | ||
|
||
.pf-form fieldset.pf-group { | ||
display: block; | ||
clear: left; | ||
margin-bottom: 25px; | ||
clear: left; | ||
} | ||
|
||
.pf-form .pf-clearing { | ||
clear: both; | ||
height: 1px; | ||
clear: both; | ||
} | ||
|
||
.pf-form .pf-element { | ||
float: left; | ||
clear: left; | ||
padding-bottom: 25px; | ||
clear: left; | ||
} | ||
|
||
.pf-form .pf-element.pf-full-width { | ||
width: 100%; | ||
} | ||
|
||
.pf-form .pf-element .pf-label, | ||
.pf-form .pf-element .pf-note { | ||
width: 180px; | ||
float: left; | ||
width: 180px; | ||
} | ||
|
||
.pf-form .pf-element .pf-note { | ||
margin-top: .5em; | ||
clear: left; | ||
font-size: 75%; | ||
opacity: .8; | ||
} | ||
|
||
.pf-form .pf-element .pf-required { | ||
color: #ff0000; | ||
} | ||
|
||
.pf-form .pf-element .pf-completed, | ||
.pf-form .pf-element.pf-completed .pf-required { | ||
color: #00cc00; | ||
} | ||
|
||
.pf-form .pf-element .pf-field { | ||
float: none; | ||
margin-left: 15px; | ||
} | ||
|
||
.pf-form .pf-element .pf-field.pf-full-width { | ||
display: block; | ||
margin-left: 195px; | ||
} | ||
|
||
.pf-form .pf-element .pf-group { | ||
margin-left: 180px; | ||
display: block; | ||
margin-left: 180px; | ||
} | ||
|
||
.pf-form .pf-element .pf-group .pf-note { | ||
display: inline; | ||
width: auto; | ||
margin-top: 0; | ||
text-align: left; | ||
clear: none; | ||
text-align: left; | ||
} | ||
|
||
.pf-form.pf-labels-right .pf-label, | ||
.pf-form .pf-labels-right .pf-label, | ||
.pf-form.pf-labels-right .pf-note, | ||
.pf-form .pf-labels-right .pf-note { | ||
text-align: right; | ||
} | ||
|
||
.pf-form .pf-labels-right.pf-note, | ||
.pf-form .pf-labels-right.pf-label { | ||
text-align: right; | ||
} | ||
|
||
.pf-form.pf-labels-left .pf-label, | ||
.pf-form .pf-labels-left .pf-label, | ||
.pf-form.pf-labels-left .pf-note, | ||
.pf-form .pf-labels-left .pf-note { | ||
text-align: left; | ||
} | ||
|
||
.pf-form .pf-labels-left.pf-note, | ||
.pf-form .pf-labels-left.pf-label { | ||
text-align: left; | ||
} | ||
|
||
.pf-form .pf-buttons { | ||
clear: both; | ||
padding-bottom: 0; | ||
padding-left: 175px; | ||
clear: both; | ||
} | ||
|
||
.pf-form .pf-buttons.pf-centered { | ||
width: 100%; | ||
padding-left: 0; | ||
text-align: center; | ||
} | ||
|
||
.pf-form .pf-buttons .pf-button { | ||
float: none; | ||
margin-left: 20px; | ||
margin-bottom: 20px; | ||
margin-left: 20px; | ||
} | ||
|
||
.pf-form .pf-heading { | ||
width: 100%; | ||
border-bottom: 1px solid #cccccc; | ||
padding-bottom: 0; | ||
margin-bottom: 20px; | ||
border-bottom: 1px solid #cccccc; | ||
} | ||
|
||
.pf-form.pf-layout-block .pf-element .pf-label, | ||
.pf-form .pf-layout-block .pf-element .pf-label, | ||
.pf-form .pf-element.pf-layout-block .pf-label, | ||
.pf-form.pf-layout-block .pf-element .pf-note, | ||
.pf-form .pf-layout-block .pf-element .pf-note, | ||
.pf-form .pf-element.pf-layout-block .pf-note { | ||
width: auto; | ||
float: none; | ||
display: block; | ||
float: none; | ||
width: auto; | ||
margin-bottom: 5px; | ||
} | ||
|
||
.pf-form.pf-layout-block .pf-element .pf-group, | ||
.pf-form .pf-layout-block .pf-element .pf-group, | ||
.pf-form .pf-element.pf-layout-block .pf-group { | ||
margin-left: 0; | ||
} | ||
|
||
.pf-form.pf-layout-block .pf-element .pf-group .pf-note, | ||
.pf-form .pf-layout-block .pf-element .pf-group .pf-note, | ||
.pf-form .pf-element.pf-layout-block .pf-group .pf-note { | ||
display: inline; | ||
width: auto; | ||
margin-top: 0; | ||
text-align: left; | ||
clear: none; | ||
text-align: left; | ||
} | ||
|
||
.pf-form.pf-layout-block .pf-element .pf-field, | ||
.pf-form .pf-layout-block .pf-element .pf-field, | ||
.pf-form .pf-element.pf-layout-block .pf-field { | ||
float: none; | ||
margin-left: 0; | ||
} | ||
|
||
.pf-form.pf-layout-block .pf-element .pf-field.pf-full-width, | ||
.pf-form .pf-layout-block .pf-element .pf-field.pf-full-width, | ||
.pf-form .pf-element.pf-layout-block .pf-field.pf-full-width { | ||
display: block; | ||
margin-left: 0; | ||
} | ||
|
||
.pf-form.pf-layout-block .pf-buttons, | ||
.pf-form .pf-layout-block .pf-buttons, | ||
.pf-form .pf-buttons.pf-layout-block { | ||
padding-left: 0; | ||
margin-left: -20px; | ||
} | ||
|
||
@media print { | ||
.pf-form { | ||
display: block; | ||
} | ||
} | ||
|
||
@media (max-width: 480px) { | ||
.pf-form { | ||
display: block; | ||
} | ||
.pf-form .pf-element { | ||
float: none; | ||
clear: left; | ||
margin-bottom: 10px; | ||
clear: left; | ||
} | ||
.pf-form .pf-element.pf-full-width .pf-full-width { | ||
padding-right: .2em; | ||
} | ||
.pf-form .pf-element .pf-label, | ||
.pf-form .pf-element .pf-note { | ||
text-align: left; | ||
display: block; | ||
float: none; | ||
width: auto; | ||
display: block; | ||
margin-bottom: .1em; | ||
text-align: left; | ||
} | ||
.pf-form .pf-element .pf-field { | ||
margin-top: 5px; | ||
|
@@ -190,8 +220,8 @@ link: http://sciactive.com/pform/ | |
margin-left: 0; | ||
} | ||
.pf-form .pf-element .pf-group { | ||
margin-left: 0 !important; | ||
display: block; | ||
margin-left: 0 !important; | ||
} | ||
.pf-form .pf-buttons { | ||
padding-left: 0; | ||
|
@@ -200,6 +230,7 @@ link: http://sciactive.com/pform/ | |
margin-top: 5px; | ||
} | ||
} | ||
|
||
@media (min-width: 481px) and (max-width: 767px) { | ||
.pf-form .pf-element .pf-label, | ||
.pf-form .pf-element .pf-note { | ||
|
@@ -226,6 +257,7 @@ link: http://sciactive.com/pform/ | |
margin-left: -15px; | ||
} | ||
} | ||
|
||
@media (min-width: 1281px) and (max-width: 1839px) { | ||
.pf-form .pf-element .pf-label, | ||
.pf-form .pf-element .pf-note { | ||
|
@@ -252,6 +284,7 @@ link: http://sciactive.com/pform/ | |
margin-left: -20px; | ||
} | ||
} | ||
|
||
@media (min-width: 1840px) { | ||
.pf-form .pf-element .pf-label, | ||
.pf-form .pf-element .pf-note { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.