Merge pull request #81 from ericf/code-formatting

Improve consistency of code formatting
This commit is contained in:
Tilo 2013-06-10 07:55:58 -07:00
commit ec4f27cc45
9 changed files with 114 additions and 123 deletions

View File

@ -22,12 +22,9 @@
transition: 0.1s linear box-shadow;
}
.pure-button-hover,
.pure-button:hover {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#00000000', GradientType=0);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.05)));
background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.05));
@ -57,7 +54,7 @@
}
.pure-button-hidden {
display:none;
display: none;
}
/* Firefox: Get rid of the inner focus border */

View File

@ -50,12 +50,13 @@
margin: 1.5em 0 0 0;
}
/* note: pure-help-inline is deprecated. Use .pure-form-message-inline instead */
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
.pure-form .pure-help-inline,
.pure-form-message-inline,
.pure-form-message {
display: block;
font-size: 80%;
padding: 0.2em 0 0.8em; /* increased bottom padding to make it group with its related input element */
/* Increased bottom padding to make it group with its related input element. */
padding: 0.2em 0 0.8em;
}
}

View File

@ -113,7 +113,7 @@
.pure-form label {
margin: 0.5em 0 0.2em;
color: #999;
font-size:90%;
font-size: 90%;
}
.pure-form fieldset {
margin: 0;
@ -152,16 +152,16 @@
.pure-form-aligned input,
.pure-form-aligned textarea,
.pure-form-aligned select,
/* note: pure-help-inline is deprecated. Use .pure-form-message-inline instead */
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
.pure-form-aligned .pure-help-inline,
.pure-form-message-inline {
display: inline-block;
*display: inline; /* IE7 inline-block hack */
*display: inline;
*zoom: 1;
vertical-align: middle;
}
/* aligned Forms */
/* Aligned Forms */
.pure-form-aligned .pure-control-group {
margin-bottom: 0.5em;
}
@ -226,7 +226,7 @@
}
/* Inline help for forms */
/* Note: pure-help-inline is deprecated. Use .pure-form-message-inline instead */
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
.pure-form .pure-help-inline,
.pure-form-message-inline {
display: inline-block;

View File

@ -19,7 +19,7 @@
max-width: 100%;
}
@media (min-width:980px) {
@media (min-width: 980px) {
.pure-visible-phone {
display: none;
}
@ -30,13 +30,15 @@
display: none;
}
}
@media (max-width:480px) {
@media (max-width: 480px) {
.pure-g-r > .pure-u,
.pure-g-r > [class *= "pure-u-"] {
width: 100%;
}
}
@media (max-width:767px) {
@media (max-width: 767px) {
.pure-g-r > .pure-u,
.pure-g-r > [class *= "pure-u-"] {
width: 100%;
@ -48,7 +50,8 @@
display: none;
}
}
@media (min-width:768px) and (max-width:979px) {
@media (min-width: 768px) and (max-width: 979px) {
.pure-hidden-tablet {
display: none;
}

View File

@ -35,7 +35,8 @@
.pure-menu li { position: relative; }
.pure-menu a, .pure-menu .pure-menu-heading {
.pure-menu a,
.pure-menu .pure-menu-heading {
display: block;
color: inherit;
line-height: 1.5em;
@ -64,7 +65,8 @@
.pure-menu-can-have-children > .pure-menu-label:after {
content: '\25B8';
float: right;
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif; /* These specific fonts have the Unicode char we need. */
/* These specific fonts have the Unicode char we need. */
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif;
margin-right: -20px;
margin-top: -1px;
}
@ -89,8 +91,8 @@
/* FIXED MENU */
.pure-menu-fixed {
position: fixed;
top:0;
left:0;
top: 0;
left: 0;
width: 100%;
}
@ -105,7 +107,7 @@
vertical-align: middle;
}
/* Submenus should still be display:block; */
/* Submenus should still be display: block; */
.pure-menu-horizontal li li {
display: block;
}
@ -116,7 +118,7 @@
}
/*Add extra padding to elements that have the arrow so that the hover looks nice */
.pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
padding-right:30px;
padding-right: 30px;
}
/* Adjusting separator for vertical menus */

View File

@ -21,7 +21,8 @@
.pure-paginator .pure-button:focus {
outline-style: none;
}
.pure-paginator .prev, .pure-paginator .next {
.pure-paginator .prev,
.pure-paginator .next {
color: #C0C1C3;
text-shadow: 0 -1px 0 rgba(0,0,0, 0.45);
}

View File

@ -1,14 +1,10 @@
/* RESPONSIVE */
@media (max-width: 480px) {
.pure-menu-horizontal {
width:100%;
width: 100%;
}
.pure-menu-children li {
display: block;
border-bottom: 1px solid black;
}
}

View File

@ -16,7 +16,6 @@
}
/* LINK STYLES */
.pure-menu a {

View File

@ -1,11 +1,3 @@
/*
* CSS TABLES
* ==========
* Simple CSS for HTML Tables
* Author: tilomitra
*/
/* foundational CSS */
.pure-table {
/* Remove spacing between table cells (from Normalize.css) */
border-collapse: collapse;
@ -46,7 +38,7 @@
/*
striping:
even - #fff (white)
odd - #edf5ff (light blue)
odd - #f2f2f2 (light gray)
*/
.pure-table td {
background-color: transparent;
@ -62,7 +54,7 @@ striping:
/* BORDERED TABLES */
.pure-table-bordered td {
border-bottom:1px solid #cbcbcb;
border-bottom: 1px solid #cbcbcb;
}
.pure-table-bordered tbody > tr:last-child td,
.pure-table-horizontal tbody > tr:last-child td {
@ -75,7 +67,7 @@ striping:
.pure-table-horizontal td,
.pure-table-horizontal th {
border-width: 0 0 1px 0;
border-bottom:1px solid #cbcbcb;
border-bottom: 1px solid #cbcbcb;
}
.pure-table-horizontal tbody > tr:last-child td {
border-bottom-width: 0;