Browse Source

adding the iphone5c

pull/249/head
connors 11 years ago
parent
commit
5303958102
  1. 7
      docs-assets/css/docs.css
  2. BIN
      docs-assets/img/iphone5c.png
  3. 0
      docs-assets/img/iphone5s.png
  4. 9
      lib/sass/docs.scss

7
docs-assets/css/docs.css

@ -538,9 +538,11 @@ hr {
height: 813px; height: 813px;
margin-left: -13px; margin-left: -13px;
font-family: "Helvetica Neue", sans-serif; font-family: "Helvetica Neue", sans-serif;
background-image: url("../img/iphone.png"); background-image: url("../img/iphone5c.png");
background-size: 100%; background-size: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
-webkit-transition: background-image 0.1s linear;
transition: background-image 0.1s linear;
} }
.device.device-fixed { .device.device-fixed {
position: fixed; position: fixed;
@ -1163,6 +1165,9 @@ hr {
-webkit-transform: translate3d(-20%, 0, 0); -webkit-transform: translate3d(-20%, 0, 0);
transform: translate3d(-20%, 0, 0); transform: translate3d(-20%, 0, 0);
} }
.platform-ios .device {
background-image: url("../img/iphone5s.png");
}
.platform-ios .device .device-content { .platform-ios .device .device-content {
background-color: #efeff4; background-color: #efeff4;
} }

BIN
docs-assets/img/iphone5c.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

0
docs-assets/img/iphone.png → docs-assets/img/iphone5s.png

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

9
lib/sass/docs.scss

@ -585,9 +585,10 @@ hr {
height: 813px; height: 813px;
margin-left: -13px; margin-left: -13px;
font-family: "Helvetica Neue", sans-serif; font-family: "Helvetica Neue", sans-serif;
background-image: url("../img/iphone.png"); background-image: url("../img/iphone5c.png");
background-size: 100%; background-size: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
@include transition(background-image .1s linear);
&.device-fixed { &.device-fixed {
position: fixed; position: fixed;
@ -769,9 +770,13 @@ hr {
.platform-ios { .platform-ios {
@import "theme-ios.scss"; @import "theme-ios.scss";
.device .device-content { .device {
background-image: url("../img/iphone5s.png");
.device-content {
background-color: #efeff4; background-color: #efeff4;
} }
}
} }
.platform-android { .platform-android {
@import "theme-android.scss"; @import "theme-android.scss";

Loading…
Cancel
Save