diff --git a/css/react-native.css b/css/react-native.css index 111ced51d76..af9dc958bbc 100644 --- a/css/react-native.css +++ b/css/react-native.css @@ -185,15 +185,13 @@ html * { .container { padding-top: 50px; - min-width: 960px; + min-width: 1160px; } .wrap { - width: 960px; - margin-left: auto; - margin-right: auto; - padding-left: 20px; - padding-right: 20px; + max-width: 1260px; + margin: 0 auto; + padding: 0 20px; } .skinnyWrap { @@ -363,7 +361,7 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li font-size: 14px; float: left; width: 210px; - margin-top: 5px; + margin: 5px 48px 0 0; } .nav-docs ul { @@ -550,7 +548,7 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li float: right; } -footer { +footer.wrap { font-size: 13px; font-weight: 600; padding-top: 36px; @@ -699,7 +697,7 @@ figure { } .inner-content { - float: right; + float: left; width: 650px; } @@ -845,6 +843,91 @@ small code, li code, p code { text-decoration: none !important; } +.column-left, .column-left * { + box-sizing: border-box; +} + +.column-left p { + text-align: center; + color: #999; +} + +.column-left { + float: left; + padding: 20px; + width: 210px; +} + +/* Modal */ +.modal-backdrop { + background: rgba(0,0,0,.4); + display: none; + height: 100%; + left: 0; + overflow: auto; + position: fixed; + top: 0; + width: 100%; + z-index: 9900; +} + +.modal { + background: #F6F6F6; + bottom: 0; + box-shadow: 2px 2px 4px 0 rgba(0,0,0,.11); + display: none; + border-radius: 10px; + height: 95%; + left: 0; + margin: auto; + max-height: 620px; + max-width: 460px; + overflow: auto; + position: fixed; + right: 0; + top: 0; + width: 80%; + z-index: 9999; +} + +.modal-open { + display: block; +} + +.modal-content { + padding: 40px 24px 24px 24px; + position: relative; +} + +.modal-content iframe { + margin: 0 auto; +} + +.modal-button-open { + text-align: center; +} + +.modal-button-close { + background: transparent; + border-radius: 0 0 0 4px; + border: 0; + color: #555; + font-size: 1.2em; + font-weight: bolder; + line-height: 32px; + margin: 0; + padding: 0 12px; + position: absolute; + right: 0; + top: 0; +} + .modal-button-close:active, + .modal-button-close:focus, + .modal-button-close:hover { + background: #EAF8FD; + outline: none; + } + @media screen and (max-width: 960px) { .nav-main { position: static; diff --git a/docs/accessibility.html b/docs/accessibility.html index 817449e8248..fc1f91a9e4a 100644 --- a/docs/accessibility.html +++ b/docs/accessibility.html @@ -38,7 +38,7 @@ <CustomRadioButton accessibleComponentType={this.state.radioButton} - onPress={this._onPress}/>
In the above example we've created a custom radio button that now behaves like a native one. More specifically, TalkBack now correctly announces changes to the radio button selection.
To enable VoiceOver, go to the Settings app on your iOS device. Tap General, then Accessibility. There you will find many tools that people use to use to make their devices more usable, such as bolder text, increased contrast, and VoiceOver.
To enable VoiceOver, tap on VoiceOver under "Vision" and toggle the switch that appears at the top.
At the very bottom of the Accessibility settings, there is an "Accessibility Shortcut". You can use this to toggle VoiceOver by triple clicking the Home button.