UNPKG

framework7

Version:

Full featured mobile HTML framework for building iOS & Android apps

1,847 lines 622 kB
/** * Framework7 3.6.0 * Full featured mobile HTML framework for building iOS & Android apps * http://framework7.io/ * * Copyright 2014-2018 Vladimir Kharlampidi * * Released under the MIT License * * Released on: December 7, 2018 */ html, body, .framework7-root { position: relative; height: 100%; width: 100%; overflow-x: hidden; } body { margin: 0; padding: 0; font-size: 14px; width: 100%; background: #fff; overflow: hidden; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; } .framework7-root { overflow: hidden; -webkit-box-sizing: border-box; box-sizing: border-box; } .framework7-initializing *, .framework7-initializing *:before, .framework7-initializing *:after { -webkit-transition-duration: 0ms !important; transition-duration: 0ms !important; } /* a, button, input, textarea, .link, .button, label, .sortable-handler { touch-action: manipulation; -ms-touch-action: manipulation; } */ @media (width: 1024px) and (height: 691px) and (orientation: landscape) { html, body, .framework7-root { height: 671px; } } @media (width: 1024px) and (height: 692px) and (orientation: landscape) { html, body, .framework7-root { height: 672px; } } * { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-touch-callout: none; } a, input, textarea, select { outline: 0; } a { cursor: pointer; text-decoration: none; } p { margin: 1em 0; } .disabled { opacity: 0.55 !important; pointer-events: none !important; } .md body { font-family: Roboto, Noto, Helvetica, Arial, sans-serif; color: #212121; line-height: 1.5; } .md .ios-only, .md .if-ios { display: none !important; } .md a { color: #2196f3; } .md .theme-dark { color: rgba(255, 255, 255, 0.87); } .md .color-theme-red a { color: #f44336; } .md .color-theme-green a { color: #4caf50; } .md .color-theme-blue a { color: #2196f3; } .md .color-theme-pink a { color: #e91e63; } .md .color-theme-yellow a { color: #ffeb3b; } .md .color-theme-orange a { color: #ff9800; } .md .color-theme-gray a { color: #9e9e9e; } .md .color-theme-white a { color: #ffffff; } .md .color-theme-black a { color: #000000; } .md a.color-red { color: #f44336; } .md a.color-green { color: #4caf50; } .md a.color-blue { color: #2196f3; } .md a.color-pink { color: #e91e63; } .md a.color-yellow { color: #ffeb3b; } .md a.color-orange { color: #ff9800; } .md a.color-gray { color: #9e9e9e; } .md a.color-white { color: #ffffff; } .md a.color-black { color: #000000; } /* === Statusbar === */ .statusbar { position: absolute; left: 0; top: 0; width: 100%; z-index: 10000; -webkit-box-sizing: border-box; box-sizing: border-box; display: none; } html.device-ios .statusbar, html.ios:not(.device-ios):not(.device-android) .statusbar { height: 20px; } html.device-android .statusbar, html.md:not(.device-ios):not(.device-android) .statusbar { height: 24px; } html.device-ios.device-iphone-x .statusbar { height: constant(safe-area-inset-top); height: env(safe-area-inset-top); } html.with-statusbar .statusbar { display: block; } html.with-statusbar.device-ios .framework7-root, html.with-statusbar.ios:not(.device-ios):not(.device-android) .framework7-root { padding-top: 20px; } html.with-statusbar.device-android .framework7-root, html.with-statusbar.md:not(.device-ios):not(.device-android) .framework7-root { padding-top: 24px; } html.with-statusbar.device-iphone-x .framework7-root { padding-top: constant(safe-area-inset-top); padding-top: env(safe-area-inset-top); } .md .statusbar { background: #0a6ebd; } .md .color-theme-red .statusbar { background: #d2190b; } .md .color-theme-green .statusbar { background: #357a38; } .md .color-theme-blue .statusbar { background: #0a6ebd; } .md .color-theme-pink .statusbar { background: #aa1145; } .md .color-theme-yellow .statusbar { background: #eed500; } .md .color-theme-orange .statusbar { background: #b36a00; } .md .color-theme-gray .statusbar { background: #787878; } .md .color-theme-white .statusbar { background: #d9d9d9; } .md .color-theme-black .statusbar { background: #000000; } /* === Views === */ .views, .view { position: relative; height: 100%; z-index: 5000; overflow: hidden; -webkit-box-sizing: border-box; box-sizing: border-box; } /* === Pages === */ .pages { position: relative; width: 100%; height: 100%; overflow: hidden; } .page { -webkit-box-sizing: border-box; box-sizing: border-box; position: absolute; left: 0; top: 0; width: 100%; height: 100%; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .page.stacked { display: none; } .page-previous { pointer-events: none; } .page-content { overflow: auto; -webkit-overflow-scrolling: touch; -webkit-box-sizing: border-box; box-sizing: border-box; height: 100%; position: relative; z-index: 1; } .md .page-shadow-effect { position: absolute; top: 0; width: 16px; bottom: 0; z-index: -1; content: ''; opacity: 0; right: 100%; background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), color-stop(10%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(0, 0, 0, 0.01)), to(rgba(0, 0, 0, 0.2))); background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.2) 100%); background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.2) 100%); } .md .page-opacity-effect { position: absolute; left: 0; top: 0; background: rgba(0, 0, 0, 0.1); width: 100%; bottom: 0; content: ''; opacity: 0; z-index: 10000; } .md .page { background: #fff; } .md .page-next { -webkit-transform: translate3d(0, 56px, 0); transform: translate3d(0, 56px, 0); opacity: 0; pointer-events: none; } .md .page-next.page-next-on-right { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); } .md .page-transitioning, .md .page-transitioning .page-shadow-effect, .md .page-transitioning .page-opacity-effect { -webkit-transition-duration: 250ms; transition-duration: 250ms; } .md .page-transitioning-swipeback, .md .page-transitioning-swipeback .page-shadow-effect, .md .page-transitioning-swipeback .page-opacity-effect { -webkit-transition-duration: 400ms; transition-duration: 400ms; } .md .router-transition-forward .page, .md .router-transition-backward .page { pointer-events: none; } .md .router-transition-css-forward .page-next { -webkit-animation: md-page-next-to-current 250ms forwards; animation: md-page-next-to-current 250ms forwards; } .md .router-transition-css-forward .page-current { -webkit-animation: none; animation: none; } .md .router-transition-css-backward .page-current { -webkit-animation: md-page-current-to-next 250ms forwards; animation: md-page-current-to-next 250ms forwards; } .md .router-transition-css-backward .page-previous { -webkit-animation: none; animation: none; } .md .theme-dark .page, .page.md .theme-dark { background: #171717; } @-webkit-keyframes md-page-next-to-current { from { -webkit-transform: translate3d(0, 56px, 0); transform: translate3d(0, 56px, 0); opacity: 0; } to { -webkit-transform: translate3d(0, 0px, 0); transform: translate3d(0, 0px, 0); opacity: 1; } } @keyframes md-page-next-to-current { from { -webkit-transform: translate3d(0, 56px, 0); transform: translate3d(0, 56px, 0); opacity: 0; } to { -webkit-transform: translate3d(0, 0px, 0); transform: translate3d(0, 0px, 0); opacity: 1; } } @-webkit-keyframes md-page-current-to-next { from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } to { -webkit-transform: translate3d(0, 56px, 0); transform: translate3d(0, 56px, 0); opacity: 0; } } @keyframes md-page-current-to-next { from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } to { -webkit-transform: translate3d(0, 56px, 0); transform: translate3d(0, 56px, 0); opacity: 0; } } /* === Link === */ .link, .tab-link { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-align-content: center; -ms-flex-line-pack: center; align-content: center; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); z-index: 1; } .md .link i + span, .md .link i + i, .md .link span + i, .md .link span + span { margin-left: 8px; } /* === Navbar === */ .navbar { position: relative; left: 0; top: 0; width: 100%; z-index: 500; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .navbar b { font-weight: 500; } .navbar a.link { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .navbar .title, .navbar .left, .navbar .right { position: relative; z-index: 1; } .navbar .title { text-align: center; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-flex-shrink: 10; -ms-flex-negative: 10; flex-shrink: 10; font-weight: 500; display: inline-block; } .navbar .subtitle { display: block; } .navbar .left, .navbar .right { -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .navbar .right:first-child { position: absolute; height: 100%; } .navbar-inner { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; } .navbar-inner.stacked { display: none; } .views > .navbar, .view > .navbar, .page > .navbar { position: absolute; } .md .navbar { height: 56px; background: #2196f3; color: #fff; font-size: 20px; } .md .navbar:after { content: ''; position: absolute; right: 0; width: 100%; top: 100%; bottom: auto; height: 10px; pointer-events: none; background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), color-stop(40%, rgba(0, 0, 0, 0.1)), color-stop(50%, rgba(0, 0, 0, 0.05)), color-stop(80%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); } .md .navbar.no-shadow:after { display: none; } .md .navbar a { color: inherit; } .md .navbar a.link { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; padding: 0 16px; min-width: 48px; height: 56px; line-height: 56px; } .md .navbar a.link:before { content: ''; width: 152%; height: 152%; position: absolute; left: -26%; top: -26%; background-image: -webkit-radial-gradient(center, circle, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%); background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%); background-repeat: no-repeat; background-position: center; background-size: 100% 100%; opacity: 0; pointer-events: none; -webkit-transition-duration: 600ms; transition-duration: 600ms; } .md .navbar a.link.active-state:before { opacity: 1; -webkit-transition-duration: 150ms; transition-duration: 150ms; } .md .navbar a.icon-only { min-width: 0; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; } .md .navbar .title { margin: 0 16px; line-height: 1.2; text-align: left; } .md .navbar .subtitle { line-height: 1.2; font-size: 14px; font-weight: normal; color: rgba(255, 255, 255, 0.85); } .md .navbar .right { margin-left: auto; } .md .navbar .right:first-child { right: 16px; } .md .navbar-inner { -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; overflow: hidden; } .md .page-with-subnavbar .navbar-inner { overflow: visible; } .md .navbar ~ * .page-content, .md .navbar ~ .page-content { padding-top: 56px; } @media (min-width: 768px) { .md .navbar { height: 64px; } .md .navbar a.link { height: 64px; line-height: 64px; } .md .navbar ~ * .page-content, .md .navbar ~ .page-content { padding-top: 64px; } } .md .navbar-transitioning { -webkit-transition-duration: 400ms; transition-duration: 400ms; } .md .navbar-hidden { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } .md .navbar-hidden:after { display: none; } .md .color-theme-red .navbar, .md .color-theme-red.navbar { background: #f44336; } .md .color-theme-green .navbar, .md .color-theme-green.navbar { background: #4caf50; } .md .color-theme-blue .navbar, .md .color-theme-blue.navbar { background: #2196f3; } .md .color-theme-pink .navbar, .md .color-theme-pink.navbar { background: #e91e63; } .md .color-theme-yellow .navbar, .md .color-theme-yellow.navbar { background: #ffeb3b; } .md .color-theme-orange .navbar, .md .color-theme-orange.navbar { background: #ff9800; } .md .color-theme-gray .navbar, .md .color-theme-gray.navbar { background: #9e9e9e; } .md .color-theme-white .navbar, .md .color-theme-white.navbar { background: #ffffff; } .md .color-theme-black .navbar, .md .color-theme-black.navbar { background: #000000; } .md .navbar.color-red { background: #f44336; } .md .navbar.color-green { background: #4caf50; } .md .navbar.color-blue { background: #2196f3; } .md .navbar.color-pink { background: #e91e63; } .md .navbar.color-yellow { background: #ffeb3b; } .md .navbar.color-orange { background: #ff9800; } .md .navbar.color-gray { background: #9e9e9e; } .md .navbar.color-white { background: #ffffff; } .md .navbar.color-black { background: #000000; } @media (orientation: landscape) { .md.device-iphone-x .ios-left-edge .navbar-inner, .md.device-iphone-x .ios-edges .navbar-inner, .md.device-iphone-x .popup .navbar-inner, .md.device-iphone-x .sheet-modal .navbar-inner, .md.device-iphone-x .panel-left .navbar-inner { padding-left: constant(safe-area-inset-left); padding-left: env(safe-area-inset-left); } .md.device-iphone-x .ios-right-edge .navbar-inner, .md.device-iphone-x .ios-edges .navbar-inner, .md.device-iphone-x .popup .navbar-inner, .md.device-iphone-x .sheet-modal .navbar-inner, .md.device-iphone-x .panel-right .navbar-inner { padding-right: constant(safe-area-inset-right); padding-right: env(safe-area-inset-right); } } /* === Toolbar === */ .toolbar { width: 100%; position: relative; margin: 0; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; z-index: 500; -webkit-box-sizing: border-box; box-sizing: border-box; left: 0; } .toolbar b { font-weight: 500; } .toolbar a { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-flex-shrink: 1; -ms-flex-negative: 1; flex-shrink: 1; position: relative; white-space: nowrap; text-overflow: ellipsis; } .toolbar a.link { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .toolbar i.icon { display: block; } .toolbar-inner { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-align-content: center; -ms-flex-line-pack: center; align-content: center; } .views > .tabbar, .views > .tabbar-labels { z-index: 5001; } .tabbar a.link, .tabbar-labels a.link { line-height: 1.4; } .tabbar a.tab-link, .tabbar-labels a.tab-link, .tabbar a.link, .tabbar-labels a.link { height: 100%; width: 100%; -webkit-box-sizing: border-box; box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .tabbar-labels a.tab-link, .tabbar-labels a.link { height: 100%; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } .tabbar-labels a.tab-link .tabbar-label, .tabbar-labels a.link .tabbar-label { display: block; line-height: 1; margin: 0; position: relative; text-overflow: ellipsis; white-space: nowrap; } .tabbar-scrollable .toolbar-inner { overflow: auto; -webkit-overflow-scrolling: touch; } .tabbar-scrollable .toolbar-inner::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; -webkit-appearance: none; opacity: 0 !important; } .tabbar-scrollable a.tab-link, .tabbar-scrollable a.link { width: auto; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; } .views > .toolbar, .view > .toolbar, .page > .toolbar { position: absolute; } .md .toolbar { background: #2196f3; height: 48px; color: #fff; font-size: 14px; top: 0; } .md .toolbar:after { content: ''; position: absolute; right: 0; width: 100%; top: 100%; bottom: auto; height: 10px; pointer-events: none; background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), color-stop(40%, rgba(0, 0, 0, 0.1)), color-stop(50%, rgba(0, 0, 0, 0.05)), color-stop(80%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); } .md .toolbar.no-shadow:after { display: none; } .md .toolbar a { color: #fff; } .md .toolbar a.link { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; padding: 0 16px; min-width: 48px; line-height: 48px; height: 48px; } .md .toolbar a.link:before { content: ''; width: 152%; height: 152%; position: absolute; left: -26%; top: -26%; background-image: -webkit-radial-gradient(center, circle, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%); background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%); background-repeat: no-repeat; background-position: center; background-size: 100% 100%; opacity: 0; pointer-events: none; -webkit-transition-duration: 600ms; transition-duration: 600ms; } .md .toolbar a.link.active-state:before { opacity: 1; -webkit-transition-duration: 150ms; transition-duration: 150ms; } .md .toolbar a.link i + span, .md .toolbar a.link i + i, .md .toolbar a.link span + i, .md .toolbar a.link span + span { margin-left: 8px; } .md .toolbar a.icon-only { min-width: 0; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; } .md .toolbar-inner { overflow: hidden; } .md .tabbar a.link, .md .tabbar-labels a.link, .md .tabbar a.tab-link, .md .tabbar-labels a.tab-link { padding-left: 0; padding-right: 0; font-size: 14px; text-transform: uppercase; font-weight: 500; letter-spacing: 0.03em; } .md .tabbar i.icon, .md .tabbar-labels i.icon { height: 24px; } .md .tabbar a.tab-link, .md .tabbar-labels a.tab-link { -webkit-transition-duration: 300ms; transition-duration: 300ms; overflow: hidden; color: rgba(255, 255, 255, 0.7); position: relative; } .md .tabbar a.tab-link.tab-link-active, .md .tabbar-labels a.tab-link.tab-link-active, .md .tabbar a.tab-link.active-state, .md .tabbar-labels a.tab-link.active-state { color: #ffffff; } .md .tabbar .tab-link-highlight, .md .tabbar-labels .tab-link-highlight { position: absolute; bottom: 0; height: 2px; background: #fff; -webkit-transition-duration: 300ms; transition-duration: 300ms; left: 0; } .md .toolbar-bottom-md, .md .messagebar { top: auto !important; bottom: 0 !important; } .md .toolbar-bottom-md:after, .md .messagebar:after { content: ''; position: absolute; right: 0; width: 100%; bottom: 100%; height: 10px; top: auto; pointer-events: none; background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.3)), color-stop(40%, rgba(0, 0, 0, 0.1)), color-stop(50%, rgba(0, 0, 0, 0.05)), color-stop(80%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))); background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); } .md .toolbar-bottom-md .tab-link-highlight, .md .messagebar .tab-link-highlight { bottom: auto; top: 0; } .md .tabbar-labels { height: 72px; } .md .tabbar-labels a.tab-link, .md .tabbar-labels a.link { padding-top: 12px; padding-bottom: 12px; } .md .tabbar-labels .tabbar-label { margin-top: 10px; max-width: 100%; overflow: hidden; } .md .tabbar-labels.toolbar-bottom-md { height: 56px; } .md .tabbar-labels.toolbar-bottom-md a.tab-link, .md .tabbar-labels.toolbar-bottom-md a.link { padding-top: 7px; padding-bottom: 7px; } .md .tabbar-labels.toolbar-bottom-md .tabbar-label { text-transform: none; line-height: 1.2; font-weight: normal; letter-spacing: 0; } .md .tabbar-scrollable .toolbar-inner { overflow: auto; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; } .md .tabbar-scrollable a.tab-link, .md .tabbar-scrollable a.link { padding: 0 16px; } .md .toolbar:not(.toolbar-bottom-md):not(.messagebar) ~ * .page-content, .md .toolbar:not(.toolbar-bottom-md):not(.messagebar) ~ .page-content { padding-top: 48px; } .md .toolbar.tabbar-labels:not(.toolbar-bottom-md) ~ * .page-content, .md .toolbar.tabbar-labels:not(.toolbar-bottom-md) ~ .page-content { padding-top: 72px; } .md .toolbar-hidden { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } .md .toolbar-hidden:after { display: none; } .md .toolbar-hidden.toolbar-bottom-md, .md .toolbar-hidden.messagebar { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } .md .navbar + .toolbar:not(.toolbar-bottom-md):not(.messagebar) { top: 56px; } .md .navbar + .toolbar:not(.toolbar-bottom-md):not(.messagebar) ~ * .page-content, .md .navbar + .toolbar:not(.toolbar-bottom-md):not(.messagebar) ~ .page-content { padding-top: 104px; } .md .navbar + .toolbar.tabbar-labels:not(.toolbar-bottom-md) ~ * .page-content, .md .navbar + .toolbar.tabbar-labels:not(.toolbar-bottom-md) ~ .page-content { padding-top: 128px; } .md .navbar + .toolbar-hidden:not(.toolbar-bottom-md):not(.messagebar) { -webkit-transform: translate3d(0, -104px, 0); transform: translate3d(0, -104px, 0); } .md .navbar + .toolbar-hidden.tabbar-labels:not(.toolbar-bottom-md) { -webkit-transform: translate3d(0, -128px, 0); transform: translate3d(0, -128px, 0); } .md .navbar.navbar-hidden + .toolbar:not(.toolbar-bottom-md):not(.messagebar):not(.toolbar-hidden) { -webkit-transform: translate3d(0, -56px, 0); transform: translate3d(0, -56px, 0); } @media (min-width: 768px) { .md .navbar + .toolbar:not(.toolbar-bottom-md):not(.messagebar) { top: 64px; } .md .navbar + .toolbar:not(.toolbar-bottom-md):not(.messagebar) ~ * .page-content, .md .navbar + .toolbar:not(.toolbar-bottom-md):not(.messagebar) ~ .page-content { padding-top: 112px; } .md .navbar + .toolbar.tabbar-labels:not(.toolbar-bottom-md) ~ * .page-content, .md .navbar + .toolbar.tabbar-labels:not(.toolbar-bottom-md) ~ .page-content { padding-top: 136px; } .md .navbar.navbar-hidden + .toolbar:not(.toolbar-bottom-md):not(.messagebar):not(.toolbar-hidden) { -webkit-transform: translate3d(0, -64px, 0); transform: translate3d(0, -64px, 0); } .md .navbar + .toolbar-hidden:not(.toolbar-bottom-md):not(.messagebar) { -webkit-transform: translate3d(0, -112px, 0); transform: translate3d(0, -112px, 0); } .md .navbar + .toolbar-hidden.tabbar-labels:not(.toolbar-bottom-md):not(.messagebar) { -webkit-transform: translate3d(0, -136px, 0); transform: translate3d(0, -136px, 0); } } .md .toolbar-bottom-md ~ * .page-content, .md .toolbar-bottom-md ~ .page-content, .md .messagebar ~ * .page-content, .md .messagebar ~ .page-content { padding-bottom: 48px; } .md .toolbar-bottom-md.tabbar-labels ~ * .page-content, .md .toolbar-bottom-md.tabbar-labels ~ .page-content { padding-bottom: 56px; } .md .toolbar-transitioning, .md .navbar-transitioning + .toolbar { -webkit-transition-duration: 400ms; transition-duration: 400ms; } .md .color-theme-red .toolbar:not(.messagebar), .md .color-theme-red.toolbar:not(.messagebar) { background: #f44336; } .md .color-theme-green .toolbar:not(.messagebar), .md .color-theme-green.toolbar:not(.messagebar) { background: #4caf50; } .md .color-theme-blue .toolbar:not(.messagebar), .md .color-theme-blue.toolbar:not(.messagebar) { background: #2196f3; } .md .color-theme-pink .toolbar:not(.messagebar), .md .color-theme-pink.toolbar:not(.messagebar) { background: #e91e63; } .md .color-theme-yellow .toolbar:not(.messagebar), .md .color-theme-yellow.toolbar:not(.messagebar) { background: #ffeb3b; } .md .color-theme-orange .toolbar:not(.messagebar), .md .color-theme-orange.toolbar:not(.messagebar) { background: #ff9800; } .md .color-theme-gray .toolbar:not(.messagebar), .md .color-theme-gray.toolbar:not(.messagebar) { background: #9e9e9e; } .md .color-theme-white .toolbar:not(.messagebar), .md .color-theme-white.toolbar:not(.messagebar) { background: #ffffff; } .md .color-theme-black .toolbar:not(.messagebar), .md .color-theme-black.toolbar:not(.messagebar) { background: #000000; } .md .toolbar:not(.messagebar).color-red { background: #f44336; } .md .toolbar:not(.messagebar).color-green { background: #4caf50; } .md .toolbar:not(.messagebar).color-blue { background: #2196f3; } .md .toolbar:not(.messagebar).color-pink { background: #e91e63; } .md .toolbar:not(.messagebar).color-yellow { background: #ffeb3b; } .md .toolbar:not(.messagebar).color-orange { background: #ff9800; } .md .toolbar:not(.messagebar).color-gray { background: #9e9e9e; } .md .toolbar:not(.messagebar).color-white { background: #ffffff; } .md .toolbar:not(.messagebar).color-black { background: #000000; } .md.device-iphone-x .views > .toolbar:first-child:not(.toolbar-bottom-md), .md.device-iphone-x .view > .toolbar:first-child:not(.toolbar-bottom-md), .md.device-iphone-x .page > .toolbar:first-child:not(.toolbar-bottom-md), .md.device-iphone-x .popup > .toolbar:first-child:not(.toolbar-bottom-md), .md.device-iphone-x .panel > .toolbar:first-child:not(.toolbar-bottom-md), .md.device-iphone-x .login-screen > .toolbar:first-child:not(.toolbar-bottom-md) { height: calc(48px + constant(safe-area-inset-top)); height: calc(48px + env(safe-area-inset-top)); } .md.device-iphone-x .views > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .view > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .page > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .popup > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .panel > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .login-screen > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner { height: auto; } .md.device-iphone-x .views > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .view > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .page > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .popup > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .panel > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner, .md.device-iphone-x .login-screen > .toolbar:first-child:not(.toolbar-bottom-md) .toolbar-inner { bottom: 0; top: constant(safe-area-inset-top); top: env(safe-area-inset-top); } .md.device-iphone-x .views > .toolbar:first-child:not(.toolbar-bottom-md).tabbar-labels, .md.device-iphone-x .view > .toolbar:first-child:not(.toolbar-bottom-md).tabbar-labels, .md.device-iphone-x .page > .toolbar:first-child:not(.toolbar-bottom-md).tabbar-labels, .md.device-iphone-x .popup > .toolbar:first-child:not(.toolbar-bottom-md).tabbar-labels, .md.device-iphone-x .panel > .toolbar:first-child:not(.toolbar-bottom-md).tabbar-labels, .md.device-iphone-x .login-screen > .toolbar:first-child:not(.toolbar-bottom-md).tabbar-labels { height: calc(72px + constant(safe-area-inset-top)); height: calc(72px + env(safe-area-inset-top)); } .md.device-iphone-x .views > .toolbar-bottom-md, .md.device-iphone-x .view > .toolbar-bottom-md, .md.device-iphone-x .page > .toolbar-bottom-md, .md.device-iphone-x .popup > .toolbar-bottom-md, .md.device-iphone-x .panel > .toolbar-bottom-md, .md.device-iphone-x .login-screen > .toolbar-bottom-md { height: calc(48px + constant(safe-area-inset-bottom)); height: calc(48px + env(safe-area-inset-bottom)); } .md.device-iphone-x .views > .toolbar-bottom-md .toolbar-inner, .md.device-iphone-x .view > .toolbar-bottom-md .toolbar-inner, .md.device-iphone-x .page > .toolbar-bottom-md .toolbar-inner, .md.device-iphone-x .popup > .toolbar-bottom-md .toolbar-inner, .md.device-iphone-x .panel > .toolbar-bottom-md .toolbar-inner, .md.device-iphone-x .login-screen > .toolbar-bottom-md .toolbar-inner { height: auto; top: 0; bottom: constant(safe-area-inset-bottom); bottom: env(safe-area-inset-bottom); } .md.device-iphone-x .views > .toolbar-bottom-md.tabbar-labels, .md.device-iphone-x .view > .toolbar-bottom-md.tabbar-labels, .md.device-iphone-x .page > .toolbar-bottom-md.tabbar-labels, .md.device-iphone-x .popup > .toolbar-bottom-md.tabbar-labels, .md.device-iphone-x .panel > .toolbar-bottom-md.tabbar-labels, .md.device-iphone-x .login-screen > .toolbar-bottom-md.tabbar-labels { height: calc(56px + constant(safe-area-inset-bottom)); height: calc(56px + env(safe-area-inset-bottom)); } .md.device-iphone-x .toolbar-bottom-md ~ * .page-content, .md.device-iphone-x .toolbar-bottom-md ~ .page-content, .md.device-iphone-x .messagebar ~ * .page-content, .md.device-iphone-x .messagebar ~ .page-content { padding-bottom: calc(48px + constant(safe-area-inset-bottom)); padding-bottom: calc(48px + env(safe-area-inset-bottom)); } .md.device-iphone-x .toolbar-bottom-md.tabbar-labels ~ * .page-content, .md.device-iphone-x .toolbar-bottom-md.tabbar-labels ~ .page-content { padding-bottom: calc(56px + constant(safe-area-inset-bottom)); padding-bottom: calc(56px + env(safe-area-inset-bottom)); } @media (orientation: landscape) { .md.device-iphone-x .ios-left-edge .toolbar-inner, .md.device-iphone-x .ios-edges .toolbar-inner, .md.device-iphone-x .popup .toolbar-inner, .md.device-iphone-x .sheet-modal .toolbar-inner, .md.device-iphone-x .panel-left .toolbar-inner { padding-left: constant(safe-area-inset-left); padding-left: env(safe-area-inset-left); } .md.device-iphone-x .ios-right-edge .toolbar-inner, .md.device-iphone-x .ios-edges .toolbar-inner, .md.device-iphone-x .popup .toolbar-inner, .md.device-iphone-x .sheet-modal .toolbar-inner, .md.device-iphone-x .panel-right .toolbar-inner { padding-right: constant(safe-area-inset-right); padding-right: env(safe-area-inset-right); } } /* === Subnavbar === */ .subnavbar { width: 100%; position: absolute; left: 0; top: 0; z-index: 500; -webkit-box-sizing: border-box; box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } .subnavbar .title { position: relative; overflow: hidden; text-overflow: ellpsis; white-space: nowrap; } .subnavbar .left, .subnavbar .right { -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } .subnavbar .right:first-child { position: absolute; height: 100%; } .subnavbar-inner { width: 100%; height: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; overflow: hidden; } .subnavbar-inner.stacked { display: none; } .navbar .subnavbar { top: 100%; } .views > .navbar, .view > .navbar, .page > .navbar { position: absolute; } .md .subnavbar { height: 48px; background: #2196f3; color: #fff; } .md .subnavbar:after { content: ''; position: absolute; right: 0; width: 100%; top: 100%; bottom: auto; height: 10px; pointer-events: none; background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), color-stop(40%, rgba(0, 0, 0, 0.1)), color-stop(50%, rgba(0, 0, 0, 0.05)), color-stop(80%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%); } .md .subnavbar.no-shadow:after { display: none; } .md .subnavbar .title { margin: 0 16px; font-size: 20px; line-height: 48px; display: inline-block; text-align: left; font-weight: 500; } .md .subnavbar .title:first-child { margin-left: 56px; } .md .subnavbar .right { margin-left: auto; } .md .subnavbar .right:first-child { right: 16px; } .md .subnavbar a { color: inherit; } .md .subnavbar a.link { line-height: 48px; height: 48px; min-width: 48px; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; padding: 0 16px; } .md .subnavbar a.link:before { content: ''; width: 152%; height: 152%; position: absolute; left: -26%; top: -26%; background-image: -webkit-radial-gradient(center, circle, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%); background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%); background-repeat: no-repeat; background-position: center; background-size: 100% 100%; opacity: 0; pointer-events: none; -webkit-transition-duration: 600ms; transition-duration: 600ms; } .md .subnavbar a.link.active-state:before { opacity: 1; -webkit-transition-duration: 150ms; transition-duration: 150ms; } .md .subnavbar a.icon-only { -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; min-width: 0; } .md .subnavbar-inner { padding: 0 16px; } .md .subnavbar-inner > a.link:first-child { margin-left: -16px; } .md .subnavbar-inner > a.link:last-child { margin-right: -16px; } .md .subnavbar ~ * .page-content, .md .subnavbar ~ .page-content, .md .page-with-subnavbar .page-content { padding-top: 48px; } .md .navbar ~ .subnavbar ~ .page-content, .md .navbar ~ .subnavbar ~ * .page-content, .md .page-with-subnavbar .navbar ~ * .page-content, .md .page-with-subnavbar .navbar ~ .page-content { padding-top: 104px; } @media (min-width: 768px) { .md .navbar ~ .subnavbar ~ .page-content, .md .navbar ~ .subnavbar ~ * .page-content, .md .page-with-subnavbar .navbar ~ * .page-content, .md .page-with-subnavbar .navbar ~ .page-content { padding-top: 112px; } } .md .navbar ~ .subnavbar, .md .navbar ~ * .subnavbar, .md .page-with-subnavbar .navbar ~ .subnavbar, .md .page-with-subnavbar .navbar ~ * .subnavbar { top: 56px; } @media (min-width: 768px) { .md .navbar ~ .subnavbar, .md .navbar ~ * .subnavbar, .md .page-with-subnavbar .navbar ~ .subnavbar, .md .page-with-subnavbar .navbar ~ * .subnavbar { top: 64px; } } .md .color-theme-red .subnavbar, .md .color-theme-red.subnavbar { background: #f44336; } .md .color-theme-green .subnavbar, .md .color-theme-green.subnavbar { background: #4caf50; } .md .color-theme-blue .subnavbar, .md .color-theme-blue.subnavbar { background: #2196f3; } .md .color-theme-pink .subnavbar, .md .color-theme-pink.subnavbar { background: #e91e63; } .md .color-theme-yellow .subnavbar, .md .color-theme-yellow.subnavbar { background: #ffeb3b; } .md .color-theme-orange .subnavbar, .md .color-theme-orange.subnavbar { background: #ff9800; } .md .color-theme-gray .subnavbar, .md .color-theme-gray.subnavbar { background: #9e9e9e; } .md .color-theme-white .subnavbar, .md .color-theme-white.subnavbar { background: #ffffff; } .md .color-theme-black .subnavbar, .md .color-theme-black.subnavbar { background: #000000; } .md .subnavbar.color-red { background: #f44336; } .md .subnavbar.color-green { background: #4caf50; } .md .subnavbar.color-blue { background: #2196f3; } .md .subnavbar.color-pink { background: #e91e63; } .md .subnavbar.color-yellow { background: #ffeb3b; } .md .subnavbar.color-orange { background: #ff9800; } .md .subnavbar.color-gray { background: #9e9e9e; } .md .subnavbar.color-white { background: #ffffff; } .md .subnavbar.color-black { background: #000000; } @media (orientation: landscape) { .md.device-iphone-x .ios-left-edge .subnavbar-inner, .md.device-iphone-x .ios-edges .subnavbar-inner, .md.device-iphone-x .popup .subnavbar-inner, .md.device-iphone-x .sheet-modal .subnavbar-inner, .md.device-iphone-x .panel-left .subnavbar-inner { padding-left: calc(16px + constant(safe-area-inset-left)); padding-left: calc(16px + env(safe-area-inset-left)); } .md.device-iphone-x .ios-right-edge .subnavbar-inner, .md.device-iphone-x .ios-edges .subnavbar-inner, .md.device-iphone-x .popup .subnavbar-inner, .md.device-iphone-x .sheet-modal .subnavbar-inner, .md.device-iphone-x .panel-right .subnavbar-inner { padding-right: calc(16px + constant(safe-area-inset-right)); padding-right: calc(16px + env(safe-area-inset-right)); } } /* === Content Block === */ .block { -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; z-index: 1; } .block.no-hairlines:before, .block.no-hairlines ul:before, .md .block.no-hairlines-md:before, .md .block.no-hairlines-md ul:before, .ios .block.no-hairlines-ios:before, .ios .block.no-hairlines-ios ul:before { display: none !important; } .block.no-hairlines:after, .block.no-hairlines ul:after, .md .block.no-hairlines-md:after, .md .block.no-hairlines-md ul:after, .ios .block.no-hairlines-ios:after, .ios .block.no-hairlines-ios ul:after { display: none !important; } .block.no-hairline-top:before, .block.no-hairline-top ul:before, .md .block.no-hairline-top-md:before, .md .block.no-hairline-top-md ul:before, .ios .block.no-hairline-top-ios:before, .ios .block.no-hairline-top-ios ul:before { display: none !important; } .block.no-hairline-bottom:after, .block.no-hairline-bottom ul:after, .md .block.no-hairline-bottom-md:after, .md .block.no-hairline-bottom-md ul:after, .ios .block.no-hairline-bottom-ios:after, .ios .block.no-hairline-bottom-ios ul:after { display: none !important; } .block > h1:first-child, .block > h2:first-child, .block > h3:first-child, .block > h4:first-child, .block > p:first-child { margin-top: 0; } .block > h1:last-child, .block > h2:last-child, .block > h3:last-child, .block > h4:last-child, .block > p:last-child { margin-bottom: 0; } .block-title { position: relative; overflow: hidden; margin: 0; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; line-height: 1; } .block-strong.inset { border-radius: 7px; } .block-strong.inset:before { display: none !important; } .block-strong.inset:after { display: none !important; } .block-footer, .block-header { font-size: 14px; } .block-footer ul:first-child, .block-header ul:first-child, .block-footer p:first-child, .block-header p:first-child, .block-footer h1:first-child, .block-header h1:first-child, .block-footer h2:first-child, .block-header h2:first-child, .block-footer h3:first-child, .block-header h3:first-child, .block-footer h4:first-child, .block-header h4:first-child { margin-top: 0; } .block-footer ul:last-child, .block-header ul:last-child, .block-footer p:last-child, .block-header p:last-child, .block-footer h1:last-child, .block-header h1:last-child, .block-footer h2:last-child, .block-header h2:last-child, .block-footer h3:last-child, .block-header h3:last-child, .block-footer h4:last-child, .block-header h4:last-child { margin-bottom: 0; } .block-footer ul:first-child:last-child, .block-header ul:first-child:last-child, .block-footer p:first-child:last-child, .block-header p:first-child:last-child, .block-footer h1:first-child:last-child, .block-header h1:first-child:last-child, .block-footer h2:first-child:last-child, .block-header h2:first-child:last-child, .block-footer h3:first-child:last-child, .block-header h3:first-child:last-child, .block-footer h4:first-child:last-child, .block-header h4:first-child:last-child { margin-top: 0; margin-bottom: 0; } .block-header { margin-bottom: 10px; } .block-footer { margin-top: 10px; } @media (min-width: 768px) { .block-strong.tablet-inset:before { display: none !important; } .block-strong.tablet-inset:after { display: none !important; } } .md .block { margin: 32px 0; padding: 0 16px; } .md .block-title { color: rgba(0, 0, 0, 0.54); margin: 32px 16px 16px; line-height: 16px; font-weight: 500; } .md .block-title + .list, .md .block-title + .block, .md .block-title + .card, .md .block-title + .timeline, .md .block-title + .block-header { margin-top: 0px; } .md .block-strong { padding: 16px; } .md .block-strong:before { content: ''; position: absolute; background-color: rgba(0, 0, 0, 0.12); display: block; z-index: 15; top: 0; right: auto; bottom: auto; left: 0; height: 1px; width: 100%; -webkit-transform-origin: 50% 0%; transform-origin: 50% 0%; } .md.device-pixel-ratio-2 .block-strong:before { -webkit-transform: scaleY(0.5); transform: scaleY(0.5); } .md.device-pixel-ratio-3 .block-strong:before { -webkit-transform: scaleY(0.33); transform: scaleY(0.33); } .md .block-strong:after { content: ''; position: absolute; background-color: rgba(0, 0, 0, 0.12); display: block; z-index: 15; top: auto; right: auto; bottom: 0; left: 0; height: 1px; width: 100%; -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; } .md.device-pixel-ratio-2 .block-strong:after { -webkit-transform: scaleY(0.5); transform: scaleY(0.5); } .md.device-pixel-ratio-3 .block-strong:after { -webkit-transform: scaleY(0.33); transform: scaleY(0.33); } .md .block.inset { margin-left: 16px; margin-right: 16px; } .md .block-strong.inset { border-radius: 4px; } .md .block-header, .md .block-footer { padding: 0 16px; color: rgba(0, 0, 0, 0.54); } .md .block .block-header, .md .block .block-footer { padding: 0; } .md .block-header { margin-top: 32px; } .md .block-header + .list, .md .block-header + .block, .md .block-header + .card, .md .block-header + .timeline { margin-top: 10px; } .md .block-footer { margin-bottom: 32px; } .md .list .block-header, .md .block .block-header, .md .card .block-header, .md .timeline .block-header { margin-top: 0; } .md .list .block-footer, .md .block .block-footer, .md .card .block-footer, .md .timeline .block-footer { margin-bottom: 0; } .md .list + .block-footer, .md .block + .block-footer, .md .card + .block-footer, .md .timeline + .block-footer { margin-top: -22px; } .md .block + .block-footer { margin-top: -22px; margin-bottom: 32px; } @media (min-width: 768px) { .md .block.tablet-inset { margin-left: 16px; margin-right: 16px; border-radius: 4px; } .md .block-strong.tablet-inset { border-radius: 4px; } } .md .theme-dark .block-title { color: #fff; } .md .theme-dark .block-header, .md .theme-dark .block-footer { color: rgba(255, 255, 255, 0.54); } @media (orientation: landscape) { .md.device-iphone-x .ios-left-edge .block:not(.inset):not(.tablet-inset):not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .ios-edges .block:not(.inset):not(.tablet-inset):not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .popup .block:not(.inset):not(.tablet-inset):not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .sheet-modal .block:not(.inset):not(.tablet-inset):not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .panel-left .block:not(.inset):not(.tablet-inset):not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .ios-left-edge .block-header, .md.device-iphone-x .ios-edges .block-header, .md.device-iphone-x .popup .block-header, .md.device-iphone-x .sheet-modal .block-header, .md.device-iphone-x .panel-left .block-header, .md.device-iphone-x .ios-left-edge .block-footer, .md.device-iphone-x .ios-edges .block-footer, .md.device-iphone-x .popup .block-footer, .md.device-iphone-x .sheet-modal .block-footer, .md.device-iphone-x .panel-left .block-footer { padding-left: calc(16px + constant(safe-area-inset-left)); padding-left: calc(16px + env(safe-area-inset-left)); } .md.device-iphone-x .ios-left-edge .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-header, .md.device-iphone-x .ios-edges .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-header, .md.device-iphone-x .popup .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-header, .md.device-iphone-x .sheet-modal .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-header, .md.device-iphone-x .panel-left .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-header, .md.device-iphone-x .ios-left-edge .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-footer, .md.device-iphone-x .ios-edges .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-footer, .md.device-iphone-x .popup .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-footer, .md.device-iphone-x .sheet-modal .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-footer, .md.device-iphone-x .panel-left .block:not(.no-ios-edges):not(.no-ios-left-edge) .block-footer { padding-left: 0; } .md.device-iphone-x .ios-left-edge .block.inset:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .ios-edges .block.inset:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .popup .block.inset:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .sheet-modal .block.inset:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .panel-left .block.inset:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .ios-left-edge .block-title:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .ios-edges .block-title:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .popup .block-title:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .sheet-modal .block-title:not(.no-ios-edges):not(.no-ios-left-edge), .md.device-iphone-x .panel-left .block-title:not(.no-ios-edges)