diff --git a/dist/android-theme.css b/dist/android-theme.css index edc3942..cece392 100644 --- a/dist/android-theme.css +++ b/dist/android-theme.css @@ -45,12 +45,14 @@ a:active { background-color: #cecece; border: 0; border-radius: 2px; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25); } .btn:active, .btn.active { color: #222222; border: 0; background-color: #999999; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); } @@ -90,6 +92,7 @@ a:active { .btn-outlined { border: 1px solid #999999; background-color: transparent; + -webkit-box-shadow: none; box-shadow: none; } .btn-outlined.btn-primary { @@ -119,10 +122,12 @@ a:active { .btn-outlined:active { border: 1px solid #999999; background-color: #999999; + -webkit-box-shadow: none; box-shadow: none; } .btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active { color: #fff; + -webkit-box-shadow: none; box-shadow: none; } @@ -130,11 +135,13 @@ a:active { color: #33b5e5; background-color: transparent; border: none; + -webkit-box-shadow: none; box-shadow: none; } .btn-link:active, .btn-link.active { color: #1a9bcb; background-color: transparent; + -webkit-box-shadow: none; box-shadow: none; } @@ -157,6 +164,7 @@ a:active { height: 50px; background-color: #dddddd; border-bottom: 1px solid #b1b1b1; + -webkit-box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07); box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07); } .bar.bar-header-secondary { @@ -177,6 +185,7 @@ a:active { } .bar-tab .tab-item.active { color: #33b5e5; + -webkit-box-shadow: inset 0 -2px 0 #33b5e5; box-shadow: inset 0 -2px 0 #33b5e5; } .bar-tab .tab-item:active { @@ -319,6 +328,7 @@ input[type="color"], height: 40px; padding: 10px 15px; border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); } @@ -340,6 +350,7 @@ textarea, .input-group input { border: 0; border-bottom: 1px solid #d9d9d9; + -webkit-box-shadow: none; box-shadow: none; } @@ -361,6 +372,7 @@ textarea, background-color: #cecece; border: 0; border-radius: 2px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); } .segmented-control .control-item { @@ -368,6 +380,7 @@ textarea, padding-bottom: 10px; color: #222222; border-left: 1px solid #999; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); } .segmented-control .control-item:first-child { @@ -420,6 +433,7 @@ textarea, margin-left: 0; border: 1px solid #9b9b9b; border-radius: 0; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); -webkit-transform: scale(0.75); -ms-transform: scale(0.75); @@ -437,6 +451,10 @@ textarea, transform: scale(1); } +.backdrop { + background-color: none; +} + .popover .bar { border-radius: 0; } @@ -463,6 +481,7 @@ textarea, border: 1px solid #b5b5b5; border-radius: 2px; background-color: #bebebe; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .toggle:before { diff --git a/dist/ratchet.css b/dist/ratchet.css index eee5025..259f9e8 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -350,7 +350,13 @@ p { color: #777; } -.container > h1, .container > h2, .container > h3, .container > h4, .container > h5, .container > h6, .container > p { +.container > h1, +.container > h2, +.container > h3, +.container > h4, +.container > h5, +.container > h6, +.container > p { margin-left: 0; margin-right: 0; } @@ -362,7 +368,7 @@ p { margin: 0; font-size: 12px; font-weight: 400; - line-height: 1.15; + line-height: 1; color: #333; text-align: center; vertical-align: top; @@ -526,14 +532,7 @@ input[type="button"] { text-align: center; white-space: nowrap; } - -> a:not(.btn) { - display: block; - width: 100%; - height: 100%; -} - -.title a { +.title .title a { color: inherit; } @@ -549,8 +548,8 @@ input[type="button"] { } .bar-tab .tab-item { display: table-cell; - height: 50px; width: 1%; + height: 50px; vertical-align: middle; color: #929292; text-align: center; @@ -572,7 +571,7 @@ input[type="button"] { .bar .btn { position: relative; z-index: 20; - padding: 6px 12px; + padding: 6px 12px 7px; margin-top: 8px; font-weight: 400; } @@ -708,8 +707,8 @@ input[type="button"] { border-radius: 0 0 6px 6px; } -.card .table-view li:last-child { - border: 0; +.card .table-view-cell:last-child { + border-bottom: 0; } .table-view { @@ -1010,6 +1009,7 @@ select { background-color: white; border-radius: 6px; opacity: 0; + -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); -webkit-transform: translate3d(0, -15px, 0); -ms-transform: translate3d(0, -15px, 0); @@ -1047,7 +1047,7 @@ select { bottom: 0; left: 0; z-index: 15; - background-color: none; + background-color: rgba(0, 0, 0, 0.3); } .popover .btn-block { diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 30059d3..8dd60dc 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -1235,12 +1235,14 @@ hr { background-color: #cecece; border: 0; border-radius: 2px; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25); } .platform-android .btn:active, .platform-android .btn.active { color: #222222; border: 0; background-color: #999999; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); } .platform-android .btn-primary { @@ -1276,6 +1278,7 @@ hr { .platform-android .btn-outlined { border: 1px solid #999999; background-color: transparent; + -webkit-box-shadow: none; box-shadow: none; } .platform-android .btn-outlined.btn-primary { @@ -1305,21 +1308,25 @@ hr { .platform-android .btn-outlined:active { border: 1px solid #999999; background-color: #999999; + -webkit-box-shadow: none; box-shadow: none; } .platform-android .btn-outlined.btn-primary:active, .platform-android .btn-outlined.btn-positive:active, .platform-android .btn-outlined.btn-negative:active { color: #fff; + -webkit-box-shadow: none; box-shadow: none; } .platform-android .btn-link { color: #33b5e5; background-color: transparent; border: none; + -webkit-box-shadow: none; box-shadow: none; } .platform-android .btn-link:active, .platform-android .btn-link.active { color: #1a9bcb; background-color: transparent; + -webkit-box-shadow: none; box-shadow: none; } .platform-android .btn-block { @@ -1339,6 +1346,7 @@ hr { height: 50px; background-color: #dddddd; border-bottom: 1px solid #b1b1b1; + -webkit-box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07); box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07); } .platform-android .bar.bar-header-secondary { @@ -1358,6 +1366,7 @@ hr { } .platform-android .bar-tab .tab-item.active { color: #33b5e5; + -webkit-box-shadow: inset 0 -2px 0 #33b5e5; box-shadow: inset 0 -2px 0 #33b5e5; } .platform-android .bar-tab .tab-item:active { @@ -1488,6 +1497,7 @@ hr { height: 40px; padding: 10px 15px; border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); } .platform-android input[type="search"] { @@ -1505,6 +1515,7 @@ hr { .platform-android .input-group input { border: 0; border-bottom: 1px solid #d9d9d9; + -webkit-box-shadow: none; box-shadow: none; } .platform-android .input-group input:last-child { @@ -1522,6 +1533,7 @@ hr { background-color: #cecece; border: 0; border-radius: 2px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); } .platform-android .segmented-control .control-item { @@ -1529,6 +1541,7 @@ hr { padding-bottom: 10px; color: #222222; border-left: 1px solid #999; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); } .platform-android .segmented-control .control-item:first-child { @@ -1577,6 +1590,7 @@ hr { margin-left: 0; border: 1px solid #9b9b9b; border-radius: 0; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); -webkit-transform: scale(0.75); -ms-transform: scale(0.75); @@ -1593,6 +1607,9 @@ hr { -ms-transform: scale(1); transform: scale(1); } +.platform-android .backdrop { + background-color: none; +} .platform-android .popover .bar { border-radius: 0; } @@ -1617,6 +1634,7 @@ hr { border: 1px solid #b5b5b5; border-radius: 2px; background-color: #bebebe; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .platform-android .toggle:before { diff --git a/docs/dist/android-theme.css b/docs/dist/android-theme.css index edc3942..cece392 100644 --- a/docs/dist/android-theme.css +++ b/docs/dist/android-theme.css @@ -45,12 +45,14 @@ a:active { background-color: #cecece; border: 0; border-radius: 2px; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 1px rgba(0, 0, 0, 0.25); } .btn:active, .btn.active { color: #222222; border: 0; background-color: #999999; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); } @@ -90,6 +92,7 @@ a:active { .btn-outlined { border: 1px solid #999999; background-color: transparent; + -webkit-box-shadow: none; box-shadow: none; } .btn-outlined.btn-primary { @@ -119,10 +122,12 @@ a:active { .btn-outlined:active { border: 1px solid #999999; background-color: #999999; + -webkit-box-shadow: none; box-shadow: none; } .btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active { color: #fff; + -webkit-box-shadow: none; box-shadow: none; } @@ -130,11 +135,13 @@ a:active { color: #33b5e5; background-color: transparent; border: none; + -webkit-box-shadow: none; box-shadow: none; } .btn-link:active, .btn-link.active { color: #1a9bcb; background-color: transparent; + -webkit-box-shadow: none; box-shadow: none; } @@ -157,6 +164,7 @@ a:active { height: 50px; background-color: #dddddd; border-bottom: 1px solid #b1b1b1; + -webkit-box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07); box-shadow: inset 0 -2px 0 #d2d2d2, 0 3px 3px rgba(0, 0, 0, 0.07); } .bar.bar-header-secondary { @@ -177,6 +185,7 @@ a:active { } .bar-tab .tab-item.active { color: #33b5e5; + -webkit-box-shadow: inset 0 -2px 0 #33b5e5; box-shadow: inset 0 -2px 0 #33b5e5; } .bar-tab .tab-item:active { @@ -319,6 +328,7 @@ input[type="color"], height: 40px; padding: 10px 15px; border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); } @@ -340,6 +350,7 @@ textarea, .input-group input { border: 0; border-bottom: 1px solid #d9d9d9; + -webkit-box-shadow: none; box-shadow: none; } @@ -361,6 +372,7 @@ textarea, background-color: #cecece; border: 0; border-radius: 2px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); } .segmented-control .control-item { @@ -368,6 +380,7 @@ textarea, padding-bottom: 10px; color: #222222; border-left: 1px solid #999; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); } .segmented-control .control-item:first-child { @@ -420,6 +433,7 @@ textarea, margin-left: 0; border: 1px solid #9b9b9b; border-radius: 0; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); -webkit-transform: scale(0.75); -ms-transform: scale(0.75); @@ -437,6 +451,10 @@ textarea, transform: scale(1); } +.backdrop { + background-color: none; +} + .popover .bar { border-radius: 0; } @@ -463,6 +481,7 @@ textarea, border: 1px solid #b5b5b5; border-radius: 2px; background-color: #bebebe; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .toggle:before { diff --git a/docs/dist/ratchet.css b/docs/dist/ratchet.css index eee5025..259f9e8 100644 --- a/docs/dist/ratchet.css +++ b/docs/dist/ratchet.css @@ -350,7 +350,13 @@ p { color: #777; } -.container > h1, .container > h2, .container > h3, .container > h4, .container > h5, .container > h6, .container > p { +.container > h1, +.container > h2, +.container > h3, +.container > h4, +.container > h5, +.container > h6, +.container > p { margin-left: 0; margin-right: 0; } @@ -362,7 +368,7 @@ p { margin: 0; font-size: 12px; font-weight: 400; - line-height: 1.15; + line-height: 1; color: #333; text-align: center; vertical-align: top; @@ -526,14 +532,7 @@ input[type="button"] { text-align: center; white-space: nowrap; } - -> a:not(.btn) { - display: block; - width: 100%; - height: 100%; -} - -.title a { +.title .title a { color: inherit; } @@ -549,8 +548,8 @@ input[type="button"] { } .bar-tab .tab-item { display: table-cell; - height: 50px; width: 1%; + height: 50px; vertical-align: middle; color: #929292; text-align: center; @@ -572,7 +571,7 @@ input[type="button"] { .bar .btn { position: relative; z-index: 20; - padding: 6px 12px; + padding: 6px 12px 7px; margin-top: 8px; font-weight: 400; } @@ -708,8 +707,8 @@ input[type="button"] { border-radius: 0 0 6px 6px; } -.card .table-view li:last-child { - border: 0; +.card .table-view-cell:last-child { + border-bottom: 0; } .table-view { @@ -1010,6 +1009,7 @@ select { background-color: white; border-radius: 6px; opacity: 0; + -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); -webkit-transform: translate3d(0, -15px, 0); -ms-transform: translate3d(0, -15px, 0); @@ -1047,7 +1047,7 @@ select { bottom: 0; left: 0; z-index: 15; - background-color: none; + background-color: rgba(0, 0, 0, 0.3); } .popover .btn-block { diff --git a/docs/examples/app-ios-mail/inbox.html b/docs/examples/app-ios-mail/inbox.html index bc8dc9c..1db9934 100644 --- a/docs/examples/app-ios-mail/inbox.html +++ b/docs/examples/app-ios-mail/inbox.html @@ -18,11 +18,6 @@