.docs-demo-device { width: 370px; margin-left: auto; margin-right: auto; position: absolute; top: 0; background: #111; z-index: 1000; margin-top: 20px; margin-bottom: 10px; padding-bottom: 200px; } .docs-demo-device:not(.docs-inline-device) { display: none; } .docs-demo-device:not(.docs-inline-device).visible { display: block; } .docs-demo-device.docs-demo-device-ios { padding: 80px 15px; border-radius: 55px; box-shadow: 0 0 0 5px #aaa; } .docs-demo-device.docs-demo-device-ios iframe { width: 340px; height: 548px; } .docs-demo-device.docs-demo-device-ios:after { content: ""; position: absolute; width: 50px; height: 50px; left: 50%; margin-left: -25px; bottom: 20px; border-radius: 100%; box-sizing: border-box; border: 3px solid #333; } .docs-demo-device.docs-demo-device-ios:before { content: ""; width: 60px; height: 10px; border-radius: 10px; position: absolute; left: 50%; margin-left: -30px; background: #333; top: 50px; } .docs-demo-device.docs-demo-device-android { padding: 30px 10px 60px; border-radius: 30px; box-shadow: 0 0 0 2px #aaa; } .docs-demo-device.docs-demo-device-android .docs-demo-device-iframe { border-radius: 12px; } .docs-demo-device.docs-demo-device-android iframe { width: 360px; height: 600px; } .docs-demo-device.docs-demo-device-android:before { content: ""; width: 60px; height: 5px; border-radius: 10px; position: absolute; left: 50%; margin-left: -30px; background: #333; top: 12px; } .docs-demo-device.docs-demo-device-android .docs-demo-device-android-buttons { position: absolute; left: 0; bottom: 0; width: 100%; height: 60px; line-height: 60px; text-align: center; font-size: 0; } .docs-demo-device.docs-demo-device-android .docs-demo-device-android-buttons > div { margin: 0 30px; } .docs-demo-device.docs-demo-device-android .circle, .docs-demo-device.docs-demo-device-android .square, .docs-demo-device.docs-demo-device-android .triangle { display: inline-block; vertical-align: middle; } .docs-demo-device.docs-demo-device-android .circle, .docs-demo-device.docs-demo-device-android .square { width: 20px; height: 20px; border: 2px solid #666; } .docs-demo-device.docs-demo-device-android .circle { border-radius: 50%; } .docs-demo-device.docs-demo-device-android .square { border-radius: 2px; } .docs-demo-device.docs-demo-device-android .triangle { width: 0; height: 0; display: inline-block; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 20px solid #666; position: relative; transform: rotate(-90deg); border-radius: 2px; } .docs-demo-device.docs-demo-device-android .triangle:after { content: ""; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 14px solid #000; position: absolute; left: 0; top: 4px; transform: translate(-50%, 0%); border-radius: 2px; } .docs-demo-device .docs-demo-device-buttons { position: absolute; left: 50%; bottom: 100%; margin-bottom: 10px; height: 20px; line-height: 20px; font-size: 0; white-space: nowrap; transform: translateX(-50%); } .docs-demo-device .docs-demo-device-buttons a { width: 80px; background: #f3f3f3; color: #555; display: inline-block; font-size: 14px; font-weight: 500; text-align: center; transition: 200ms; cursor: pointer; text-decoration: none; } .docs-demo-device .docs-demo-device-buttons a:first-child { border-radius: 10px 0 0 10px; } .docs-demo-device .docs-demo-device-buttons a:last-child { border-radius: 0 10px 10px 0; } .docs-demo-device .docs-demo-device-buttons a:hover { background: rgba(238, 53, 15, 0.1); } .docs-demo-device .docs-demo-device-buttons a.active { background-color: #ee350f; color: #fff; } .docs-demo-device .docs-demo-device-iframe { position: relative; overflow: hidden; } .docs-demo-device iframe { border: none; margin: 0; padding: 0; display: block; border-radius: 4px; overflow: hidden; } .docs-demo-device .fade-overlay { background: #fff; position: absolute; left: 0; top: 0; width: 100%; height: 100%; visibility: hidden; opacity: 0; transition: 200ms; pointer-events: none; z-index: 100; } .docs-demo-device .fade-overlay.visible { transition: 0ms; opacity: 1; visibility: visible; } .docs-demo-device.docs-inline-device { width: 340px; position: relative; }