Browse Source

fixing block buttons to use width 100%.

pull/366/head
connors 11 years ago
parent
commit
58dbcc116e
  1. 2
      dist/ratchet.css
  2. 2
      dist/ratchet.min.css
  3. 3
      docs/assets/css/docs.css
  4. 2
      docs/dist/ratchet.css
  5. 2
      docs/dist/ratchet.min.css
  6. 2
      sass/buttons.scss
  7. 25
      sass/docs.scss

2
dist/ratchet.css vendored

@ -367,6 +367,7 @@ p {
color: #333;
text-align: center;
vertical-align: top;
white-space: nowrap;
cursor: pointer;
background-color: white;
border: 1px solid #ccc;
@ -443,6 +444,7 @@ p {
.btn-block {
display: block;
width: 100%;
padding: 15px 0;
margin-bottom: 10px;
font-size: 18px;

2
dist/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

3
docs/assets/css/docs.css

@ -838,7 +838,8 @@ code {
}
#blockButtonsInDevice .btn-block {
margin: 10px;
width: 300px;
margin: 10px auto;
}
#segmentedControlsInDevice .segmented-control {

2
docs/dist/ratchet.css vendored

@ -367,6 +367,7 @@ p {
color: #333;
text-align: center;
vertical-align: top;
white-space: nowrap;
cursor: pointer;
background-color: white;
border: 1px solid #ccc;
@ -443,6 +444,7 @@ p {
.btn-block {
display: block;
width: 100%;
padding: 15px 0;
margin-bottom: 10px;
font-size: 18px;

2
docs/dist/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

2
sass/buttons.scss

@ -13,6 +13,7 @@
color: #333;
text-align: center;
vertical-align: top;
white-space: nowrap;
cursor: pointer;
background-color: $chrome-color;
border: 1px solid #ccc;
@ -117,6 +118,7 @@
// Block level buttons (full width buttons)
.btn-block {
display: block;
width: 100%;
padding: 15px 0;
margin-bottom: 10px;
font-size: 18px;

25
sass/docs.scss

@ -98,8 +98,8 @@ body {
@include transform(translateX(-50%));
// Use a thinner weight on retina
@media
(-webkit-min-device-pixel-ratio: 2),
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
font-weight: 100;
}
@ -133,10 +133,10 @@ body {
display: block;
padding: 20px 15px;
font-size: 22px;
// Use a thinner weight on retina
@media
(-webkit-min-device-pixel-ratio: 2),
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
font-weight: 100;
}
@ -393,8 +393,8 @@ body {
font-weight: 300;
// Use a thinner weight on retina
@media
(-webkit-min-device-pixel-ratio: 2),
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
font-weight: 100;
}
@ -440,14 +440,14 @@ body {
color: #777;
// Use a thinner weight on retina
@media
(-webkit-min-device-pixel-ratio: 2),
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
font-weight: 100;
}
}
// Desktop: Section headings
// Desktop: Section headings
@media screen and (min-width: 768px) {
.section-heading {
margin-top: 50px;
@ -859,7 +859,8 @@ code {
}
}
#blockButtonsInDevice .btn-block {
margin: 10px;
width: 300px;
margin: 10px auto;
}
//Segmented Control
@ -1143,7 +1144,7 @@ hr {
.device {
background-position-x: -395px;
.device-content {
background-color: #efeff4;
}

Loading…
Cancel
Save