Browse Source

Merge pull request #89 from markdotto/patch-1

CSS tweaks: comments, reset, and more
pull/97/head
Dave Gamache 12 years ago
parent
commit
2437229067
  1. 8
      dist/ratchet.css
  2. 15
      docs/css/docs.css
  3. 6
      lib/css/base.css
  4. 2
      lib/css/forms.css

8
dist/ratchet.css vendored

@ -126,11 +126,11 @@ a {
bottom: 0; bottom: 0;
left: 0; left: 0;
overflow: auto; overflow: auto;
background: #fff; background-color: #fff;
-webkit-transition-property: top, bottom; -webkit-transition-property: top, bottom;
transition-property: top, bottom; transition-property: top, bottom;
-webkit-transition-duration: .2s, .2s; -webkit-transition-duration: .2s, .2s;
transition-duration: .2s, .2s; transition-duration: .2s, .2s;
-webkit-transition-timing-function: linear, linear; -webkit-transition-timing-function: linear, linear;
transition-timing-function: linear, linear; transition-timing-function: linear, linear;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
@ -637,7 +637,7 @@ input[type="color"],
height: 40px; height: 40px;
padding: 10px; padding: 10px;
margin-bottom: 10px; margin-bottom: 10px;
background: #fff; background-color: #fff;
border: 1px solid rgba(0, 0, 0, .2); border: 1px solid rgba(0, 0, 0, .2);
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 1px rgba(255, 255, 255, .2), inset 0 1px 1px rgba(0, 0, 0, .1); box-shadow: 0 1px 1px rgba(255, 255, 255, .2), inset 0 1px 1px rgba(0, 0, 0, .1);

15
docs/css/docs.css

@ -7,7 +7,7 @@ body {
font-size: 14px; font-size: 14px;
line-height: 1.6; line-height: 1.6;
color: #333; color: #333;
background: #fff; background-color: #fff;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
} }
@ -16,14 +16,6 @@ body {
/* Typography /* Typography
-------------------------------------------------- */ -------------------------------------------------- */
em {
font-style: italic;
}
strong {
font-weight: bold;
}
hr { hr {
height: 0; height: 0;
margin: 10px 0 30px; margin: 10px 0 30px;
@ -44,6 +36,7 @@ h6 {
/* Docs structural styles /* Docs structural styles
-------------------------------------------------- */ -------------------------------------------------- */
.docs-outer-wrapper { .docs-outer-wrapper {
position: relative; position: relative;
} }
@ -359,7 +352,7 @@ h6 {
.iphone .list a[data-transition="slide-out"] { .iphone .list a[data-transition="slide-out"] {
padding: 0; padding: 0;
display: inline; display: inline;
margin: 0; margin: 0;
color: #0882f0; color: #0882f0;
} }
@ -1074,7 +1067,7 @@ h6 {
[class*="bar-"] { [class*="bar-"] {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
} }
.bar-title, .bar-title,
.tab-inner { .tab-inner {
display: -moz-box; display: -moz-box;
-moz-box-orient: horizontal; -moz-box-orient: horizontal;

6
lib/css/base.css

@ -118,11 +118,11 @@ a {
bottom: 0; bottom: 0;
left: 0; left: 0;
overflow: auto; overflow: auto;
background: #fff; background-color: #fff;
-webkit-transition-property: top, bottom; -webkit-transition-property: top, bottom;
transition-property: top, bottom; transition-property: top, bottom;
-webkit-transition-duration: .2s, .2s; -webkit-transition-duration: .2s, .2s;
transition-duration: .2s, .2s; transition-duration: .2s, .2s;
-webkit-transition-timing-function: linear, linear; -webkit-transition-timing-function: linear, linear;
transition-timing-function: linear, linear; transition-timing-function: linear, linear;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;

2
lib/css/forms.css

@ -32,7 +32,7 @@ input[type="color"],
height: 40px; height: 40px;
padding: 10px; padding: 10px;
margin-bottom: 10px; margin-bottom: 10px;
background: #fff; background-color: #fff;
border: 1px solid rgba(0, 0, 0, .2); border: 1px solid rgba(0, 0, 0, .2);
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 1px rgba(255, 255, 255, .2), inset 0 1px 1px rgba(0, 0, 0, .1); box-shadow: 0 1px 1px rgba(255, 255, 255, .2), inset 0 1px 1px rgba(0, 0, 0, .1);

Loading…
Cancel
Save