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));

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

@ -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

@ -30,12 +30,14 @@
display: none;
}
}
@media (max-width: 480px) {
.pure-g-r > .pure-u,
.pure-g-r > [class *= "pure-u-"] {
width: 100%;
}
}
@media (max-width: 767px) {
.pure-g-r > .pure-u,
.pure-g-r > [class *= "pure-u-"] {
@ -48,6 +50,7 @@
display: none;
}
}
@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;
}

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,7 +1,4 @@
/* RESPONSIVE */
@media (max-width: 480px) {
.pure-menu-horizontal {
width: 100%;
}
@ -10,5 +7,4 @@
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;