creating some testing docs and refined buttons and tabs

This commit is contained in:
Dave Gamache
2011-05-07 21:28:35 -07:00
parent e9ba01df76
commit e4ff97ce7a
21 changed files with 985 additions and 125 deletions

View File

@ -124,31 +124,46 @@
/* #Buttons
================================================== */
.button {
background: #222;
display: inline-block;
padding: 9px 34px 11px;
color: #fff !important;
text-decoration: none;
font-weight: bold;
line-height: 1;
position: relative;
cursor: pointer;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
font-size: 12px;
line-height: 12px;
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
border: none;
margin-bottom: 20px;
}
.button.square {
-moz-border-radius: none;
-webkit-border-radius: none;
border-radius: none; }
a.button,
button {
background: #eee; /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
background: linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
border: 1px solid #aaa;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
padding: 4px 12px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #444;
display: inline-block;
font-size: 11px;
font-weight: bold;
text-decoration: none;
text-shadow: 0 1px rgba(255, 255, 255, .75);
cursor: pointer;
margin-bottom: 20px;
line-height: 21px; }
a.button:hover,
button:hover {
color: #222;
background: #eee; /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
background: linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
border: 1px solid #888;
border-top: 1px solid #aaa;
border-left: 1px solid #aaa; }
.button.full-width {
width: 100%;
@ -156,19 +171,6 @@
padding-right: 0 !important;
text-align: center; }
/* Sizes ---------- */
.small.button { font-size: 11px; padding: 8px 20px 10px; }
.medium.button { font-size: 12px; }
.large.button { font-size: 18px; padding: 11px 48px 13px; }
/* Types ---------- */
.secondary.button { background-color: #aaa; font-size: 11px; }
/* Hovers ---------- */
.button:hover { background-color: #000; }
.secondary.button:hover { background-color: #777; }
/* #Tabs (activate in app.js)
================================================== */
@ -189,7 +191,7 @@
text-decoration: none;
width: auto;
height: 29px;
padding: 0px 16px;
padding: 0px 20px;
line-height: 30px;
border: solid 1px #ddd;
border-width: 1px 0 0 1px;
@ -259,7 +261,8 @@
display: block;
margin-bottom: 20px;
background: #fff; }
input:focus {
input:focus,
textarea:focus {
border: 1px solid #aaa;
color: #444;
-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);

View File

@ -52,6 +52,9 @@ which applies to mobile as well.*/
.container .fifteen.columns { width: 880px; }
.container .sixteen.columns { width: 940px; }
.container .one-third.column { width: 300px; }
.container .two-thirds.column { width: 620px; }
/* Offsets */
.container .offset-by-one { padding-left: 60px; }
.container .offset-by-two { padding-left: 120px; }
@ -71,80 +74,6 @@ which applies to mobile as well.*/
/* #Responsive: Fluid Grid for Downscaling
================================================== */
/* NOTE: Cannot be used with nested columns. */
/*
@media screen and (min-device-width: 789px) and (max-width: 959px) {
.fluid960.container {
width: 100%;
min-width: 320px; }
.fluid960.container .column,
.fluid960.container .columns { margin-left: 1%; margin-right: 1%; }
.fluid960.container .one.column { width: 4.25%; }
.fluid960.container .two.columns { width: 10.5%; }
.fluid960.container .three.columns { width: 16.75%; }
.fluid960.container .four.columns { width: 23%; }
.fluid960.container .five.columns { width: 29.25%; }
.fluid960.container .six.columns { width: 35.5%; }
.fluid960.container .seven.columns { width: 41.75%; }
.fluid960.container .eight.columns { width: 48%; }
.fluid960.container .nine.columns { width: 54.25%; }
.fluid960.container .ten.columns { width: 60.5%; }
.fluid960.container .eleven.columns { width: 66.75%; }
.fluid960.container .twelve.columns { width: 73%; }
.fluid960.container .thirteen.columns { width: 79.25%; }
.fluid960.container .fourteen.columns { width: 85.5%; }
.fluid960.container .fifteen.columns { width: 91.75%; }
.fluid960.container .sixteen.columns { width: 98%; }
}
*/
/* #Responsive: Fully Fluid Grid
================================================== */
/* NOTE: Cannot be used with nested columns. */
/*
.fluid.container {
width: 100%;
min-width: 320px; }
.fluid.container .column,
.fluid.container .columns { margin-left: 1%; margin-right: 1%; }
.fluid.container .one.column { width: 4.25%; }
.fluid.container .two.columns { width: 10.5%; }
.fluid.container .three.columns { width: 16.75%; }
.fluid.container .four.columns { width: 23%; }
.fluid.container .five.columns { width: 29.25%; }
.fluid.container .six.columns { width: 35.5%; }
.fluid.container .seven.columns { width: 41.75%; }
.fluid.container .eight.columns { width: 48%; }
.fluid.container .nine.columns { width: 54.25%; }
.fluid.container .ten.columns { width: 60.5%; }
.fluid.container .eleven.columns { width: 66.75%; }
.fluid.container .twelve.columns { width: 73%; }
.fluid.container .thirteen.columns { width: 79.25%; }
.fluid.container .fourteen.columns { width: 85.5%; }
.fluid.container .fifteen.columns { width: 91.75%; }
.fluid.container .sixteen.columns { width: 98%; }
*/
/* #Responsive: Go Mobile
================================================== */
/* NOTE: These styles mimic mobile styles in browser */
/* #Responsive: iPad Portrait
================================================== */
@ -174,6 +103,9 @@ which applies to mobile as well.*/
.container .fifteen.columns { width: 700px; }
.container .sixteen.columns { width: 748px; }
.container .one-third.column { width: 236px; }
.container .two-thirds.column { width: 492px; }
/* Offsets */
.container .offset-by-one { padding-left: 48px; }
.container .offset-by-two { padding-left: 96px; }
@ -217,7 +149,9 @@ which applies to mobile as well.*/
.container .thirteen.columns,
.container .fourteen.columns,
.container .fifteen.columns,
.container .sixteen.columns { width: 300px; }
.container .sixteen.columns,
.container .one-third.column,
.container .two-thirds.column { width: 300px; }
/* Offsets */
.container .offset-by-one,
@ -263,7 +197,9 @@ which applies to mobile as well.*/
.container .thirteen.columns,
.container .fourteen.columns,
.container .fifteen.columns,
.container .sixteen.columns { width: 420px; }
.container .sixteen.columns,
.container .one-third.column,
.container .two-thirds.column { width: 420px; }
}