X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=blobdiff_plain;f=afb-client%2Fbower_components%2Ftether%2Fdocs%2Fcss%2Fintro.css;fp=afb-client%2Fbower_components%2Ftether%2Fdocs%2Fcss%2Fintro.css;h=46a9ce977a9ce4f3ff5f55d287f36d8e045ae18c;hp=0000000000000000000000000000000000000000;hb=5b1e6cc132f44262a873fa8296a2a3e1017b0278;hpb=f7d2f9ac4168ee5064580c666d508667a73cefc0 diff --git a/afb-client/bower_components/tether/docs/css/intro.css b/afb-client/bower_components/tether/docs/css/intro.css new file mode 100644 index 0000000..46a9ce9 --- /dev/null +++ b/afb-client/bower_components/tether/docs/css/intro.css @@ -0,0 +1,219 @@ +@charset "UTF-8"; +*, *:after, *:before { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + +body { + position: relative; } + +.yellow-box { + width: 100px; + height: 100px; + background-color: #ffee88; + pointer-events: none; } + +.green-box { + margin-top: 65px; + margin-left: 100px; + width: 200px; + height: 50px; + background-color: #44ee99; } + .no-green .green-box { + display: none; } + +.scroll-box { + height: 150px; + border: 10px solid #eeeeee; + background: #fbfbfb; + overflow: auto; + position: relative; } + +.scroll-content { + height: 2000px; + width: 2000px; + padding: 910px 809px; } + +pre.pre-with-output { + margin: 0; + width: 50%; + float: left; } + pre.pre-with-output code mark { + background: #b8daff; + color: black; } + +p, h2, h3 { + clear: both; } + +output { + display: block; + position: relative; + width: 50%; + float: right; + margin-bottom: 15px; } + output.scroll-page .scroll-box { + overflow: hidden; } + output.scroll-page:after { + content: "↕ scroll the page ↕"; } + output:after { + content: "↕ scroll this area ↕"; + position: absolute; + bottom: 25px; + width: 100%; + text-align: center; + font-size: 16px; + font-variant: small-caps; + color: #777777; + opacity: 1; + transition: opacity 0.2s; } + output.scrolled:after { + opacity: 0; } + output[deactivated], output[activated] { + cursor: pointer; } + output[deactivated] .scroll-box, output[activated] .scroll-box { + pointer-events: none; } + output[deactivated]:after, output[activated]:after { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + opacity: 1; + content: "Click To Show"; + background-color: #aaaaaa; + border-left: 10px solid #eeeeee; + color: white; + font-size: 24px; + font-variant: normal; + padding-top: 80px; } + output[activated]:after { + content: "Click To Hide"; } + output[activated].visible-enabled:after { + height: 35px; + padding-top: 5px; } + +.attachment-mark, .tether-marker-dot { + position: relative; } + .attachment-mark:after, .tether-marker-dot:after { + content: "A"; + width: 10px; + height: 10px; + background-color: red; + display: inline-block; + line-height: 10px; + font-size: 9px; + color: white; + text-align: center; + position: absolute; } + +span.attachment-mark:after, span.tether-marker-dot:after { + position: relative; + top: -1px; + margin-right: 1px; } + +.tether-marker-dot { + position: absolute; } + .tether-marker-dot:after { + top: -5px; + left: -5px; } + +.tether-target-marker { + position: absolute; } + div.tether-target-attached-left .tether-target-marker { + left: 0; } + div.tether-target-attached-top .tether-target-marker { + top: 0; } + div.tether-target-attached-bottom .tether-target-marker { + bottom: 0; } + div.tether-target-attached-right .tether-target-marker { + right: 0; } + div.tether-target-attached-center .tether-target-marker { + left: 50%; } + +.tether-element-marker { + position: absolute; } + div.tether-element-attached-left .tether-element-marker { + left: 0; } + div.tether-element-attached-top .tether-element-marker { + top: 0; } + div.tether-element-attached-bottom .tether-element-marker { + bottom: 0; } + div.tether-element-attached-right .tether-element-marker { + right: 0; } + div.tether-element-attached-center .tether-element-marker { + left: 50%; } + +.tether-element-attached-middle .tether-element-marker { + top: 50px; } + +.tether-target-attached-middle .tether-target-marker { + top: 25px; } + +.tether-element { + position: relative; } + .tether-element.tether-pinned-left { + box-shadow: inset 2px 0 0 0 red; } + .tether-element.tether-pinned-right { + box-shadow: inset -2px 0 0 0 red; } + .tether-element.tether-pinned-top { + box-shadow: inset 0 2px 0 0 red; } + .tether-element.tether-pinned-bottom { + box-shadow: inset 0 -2px 0 0 red; } + +.tether-target { + position: relative; } + +.tether-element.tether-out-of-bounds[data-example="hide"] { + display: none; } + +[data-example^="optimizer"].lang-javascript { + /* This should just be a `code` selector, but sass doesn't allow that with & */ + min-height: 220px; } +[data-example^="optimizer"].tether-element:before { + margin-top: 26px; + display: block; + text-align: center; + content: "I'm in the body"; + line-height: 1.2; + font-size: 15px; + padding: 4px; + color: #666666; } +[data-example^="optimizer"] .scroll-box .tether-element:before { + content: "I'm in my scroll parent!"; } + +.tether-element[data-example="scroll-visible"] { + height: 30px; } + .tether-element[data-example="scroll-visible"] .tether-marker-dot { + display: none; } + +.hs-doc-content h2.projects-header { + text-align: center; + font-weight: 300; } + +.projects-paragraph { + text-align: center; } + .projects-paragraph a { + display: -moz-inline-stack; + display: inline-block; + vertical-align: middle; + *vertical-align: auto; + zoom: 1; + *display: inline; + text-align: center; + margin-right: 30px; + color: inherit; } + .projects-paragraph a span { + display: -moz-inline-stack; + display: inline-block; + vertical-align: middle; + *vertical-align: auto; + zoom: 1; + *display: inline; + margin-bottom: 20px; + font-size: 20px; + color: inherit; + font-weight: 300; } + .projects-paragraph a img { + display: block; + max-width: 100%; + width: 100px; }