Skip to content

Commit a6f9fbb

Browse files
committed
Updated docs for 0.29
1 parent edd7cd6 commit a6f9fbb

File tree

131 files changed

+3068
-2236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+3068
-2236
lines changed

css/react-native.css

Lines changed: 121 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,33 @@ html * {
125125
rendering-intent: auto;
126126
}
127127

128+
.example-container {
129+
position: relative;
130+
}
131+
132+
.embedded-simulator, .embedded-simulator * {
133+
box-sizing: border-box;
134+
}
135+
136+
.embedded-simulator p {
137+
text-align: center;
138+
color: #999;
139+
}
140+
141+
.embedded-simulator {
142+
width: 210px;
143+
position: absolute;
144+
right: -200px;
145+
top: 0;
146+
}
147+
148+
@media screen and (max-width: 680px) {
149+
.embedded-simulator {
150+
position: relative;
151+
right: 0;
152+
}
153+
}
154+
128155
.prism {
129156
white-space: pre-wrap;
130157
font-family: 'source-code-pro', Menlo, 'Courier New', Consolas, monospace;
@@ -377,7 +404,7 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
377404
}
378405

379406
.hero {
380-
background: #05A5D1;
407+
background: #2D2D2D;
381408
padding: 50px 0;
382409
color: #FDF3E7;
383410
font-weight: 300;
@@ -1027,21 +1054,6 @@ small code, li code, p code {
10271054
text-decoration: none !important;
10281055
}
10291056

1030-
.column-left, .column-left * {
1031-
box-sizing: border-box;
1032-
}
1033-
1034-
.column-left p {
1035-
text-align: center;
1036-
color: #999;
1037-
}
1038-
1039-
.column-left {
1040-
float: left;
1041-
padding: 20px;
1042-
width: 210px;
1043-
}
1044-
10451057
/* Modal */
10461058
.modal-backdrop {
10471059
background: rgba(0,0,0,.4);
@@ -1225,6 +1237,23 @@ div[data-twttr-id] iframe {
12251237
margin-left: 20px;
12261238
}
12271239

1240+
.methodTitle {
1241+
font-weight: bold;
1242+
font-size: 24px;
1243+
color: #2F9C0A;
1244+
}
1245+
1246+
.compactProps .methodTitle {
1247+
font-size: 14px;
1248+
margin-bottom: 0;
1249+
margin-top: 0;
1250+
}
1251+
1252+
.compactProps .methodTitle div {
1253+
font-weight: normal;
1254+
margin-left: 20px;
1255+
}
1256+
12281257
.prop {
12291258
padding: 5px 10px;
12301259
}
@@ -1243,6 +1272,16 @@ div[data-twttr-id] iframe {
12431272
font-size: 13px;
12441273
}
12451274

1275+
.methodType {
1276+
font-weight: normal;
1277+
font-size: 24px;
1278+
}
1279+
1280+
.compactProps .methodType {
1281+
font-weight: normal;
1282+
font-size: 13px;
1283+
}
1284+
12461285
.platform {
12471286
background-color: hsl(198, 100%, 87%);
12481287
border-radius: 5px;
@@ -1326,15 +1365,10 @@ div[data-twttr-id] iframe {
13261365
@media only screen
13271366
and (min-device-width: 1024px) {
13281367
.showcase {
1329-
width: 20%;
1368+
width: 25%;
13301369
}
13311370
}
13321371

1333-
.showcase:hover {
1334-
text-decoration: none;
1335-
opacity: 0.8;
1336-
}
1337-
13381372
.showcase h3 {
13391373
margin-bottom: 0px;
13401374
line-height: 20px;
@@ -1545,3 +1579,68 @@ input#algolia-doc-search:focus {
15451579
background-color: hsl(198, 100%, 96%);
15461580
color: #3B3738;
15471581
}
1582+
1583+
.params, .props
1584+
{
1585+
border-spacing: 0;
1586+
border: 0;
1587+
border-collapse: collapse;
1588+
}
1589+
1590+
.params .name, .props .name, .name code {
1591+
color: #4D4E53;
1592+
}
1593+
1594+
.params td, .params th, .props td, .props th
1595+
{
1596+
border: 1px solid #ddd;
1597+
margin: 0px;
1598+
text-align: left;
1599+
vertical-align: top;
1600+
padding: 4px 6px;
1601+
display: table-cell;
1602+
}
1603+
1604+
.params thead tr, .props thead tr
1605+
{
1606+
background-color: hsl(198, 75%, 88%);
1607+
font-weight: bold;
1608+
}
1609+
1610+
.params .params thead tr, .props .props thead tr
1611+
{
1612+
background-color: #fff;
1613+
font-weight: bold;
1614+
}
1615+
1616+
.params th, .props th { border-right: 1px solid #aaa; }
1617+
.params thead .last, .props thead .last { border-right: 1px solid #ddd; }
1618+
1619+
.params td.description > div > p:first-child,
1620+
.props td.description > div > p:first-child
1621+
{
1622+
margin-top: 0;
1623+
padding-top: 0;
1624+
}
1625+
1626+
.params td.description > p:last-child,
1627+
.props td.description > p:last-child
1628+
{
1629+
margin-bottom: 0;
1630+
padding-bottom: 0;
1631+
}
1632+
1633+
1634+
/** Web player **/
1635+
1636+
.web-player > iframe, .web-player > .prism {
1637+
display: none;
1638+
}
1639+
1640+
.web-player.desktop > iframe {
1641+
display: block;
1642+
}
1643+
1644+
.web-player.mobile > .prism {
1645+
display: block;
1646+
}

docs/accessibility.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

docs/actionsheetios.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

docs/activityindicator.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

docs/alert.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

docs/alertios.html

Lines changed: 31 additions & 20 deletions
Large diffs are not rendered by default.

docs/android-building-from-source.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

docs/android-ui-performance.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/animated.html

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

docs/animations.html

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)