http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/_sass/_gridism.scss ---------------------------------------------------------------------- diff --git a/avatica/site/_sass/_gridism.scss b/avatica/site/_sass/_gridism.scss new file mode 100644 index 0000000..40d2163 --- /dev/null +++ b/avatica/site/_sass/_gridism.scss @@ -0,0 +1,124 @@ +/* + * Gridism + * A simple, responsive, and handy CSS grid by @cobyism + * https://github.com/cobyism/gridism + */ + +/* Preserve some sanity */ +.grid, +.unit { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +/* Set up some rules to govern the grid */ +.grid { + display: block; + clear: both; +} +.grid .unit { + float: left; + width: 100%; + padding: 10px; +} + +/* This ensures the outer gutters are equal to the (doubled) inner gutters. */ +.grid .unit:first-child { padding-left: 20px; } +.grid .unit:last-child { padding-right: 20px; } + +/* Nested grids already have padding though, so letâs nuke it */ +.unit .unit:first-child { padding-left: 0; } +.unit .unit:last-child { padding-right: 0; } +.unit .grid:first-child > .unit { padding-top: 0; } +.unit .grid:last-child > .unit { padding-bottom: 0; } + +/* Let people nuke the gutters/padding completely in a couple of ways */ +.no-gutters .unit, +.unit.no-gutters { + padding: 0 !important; +} + +/* Wrapping at a maximum width is optional */ +.wrap .grid, +.grid.wrap { + max-width: 978px; + margin: 0 auto; +} + +/* Width classes also have shorthand versions numbered as fractions + * For example: for a grid unit 1/3 (one third) of the parent width, + * simply apply class="w-1-3" to the element. */ +.grid .whole, .grid .w-1-1 { width: 100%; } +.grid .half, .grid .w-1-2 { width: 50%; } +.grid .one-third, .grid .w-1-3 { width: 33.3332%; } +.grid .two-thirds, .grid .w-2-3 { width: 66.6665%; } +.grid .one-quarter, +.grid .one-fourth, .grid .w-1-4 { width: 25%; } +.grid .three-quarters, +.grid .three-fourths, .grid .w-3-4 { width: 75%; } +.grid .one-fifth, .grid .w-1-5 { width: 20%; } +.grid .two-fifths, .grid .w-2-5 { width: 40%; } +.grid .three-fifths, .grid .w-3-5 { width: 60%; } +.grid .four-fifths, .grid .w-4-5 { width: 80%; } +.grid .golden-small, .grid .w-g-s { width: 38.2716%; } /* Golden section: smaller piece */ +.grid .golden-large, .grid .w-g-l { width: 61.7283%; } /* Golden section: larger piece */ + +/* Clearfix after every .grid */ +.grid { + *zoom: 1; +} +.grid:before, .grid:after { + display: table; + content: ""; + line-height: 0; +} +.grid:after { + clear: both; +} + +/* Utility classes */ +.align-center { text-align: center; } +.align-left { text-align: left; } +.align-right { text-align: right; } +.pull-left { float: left; } +.pull-right { float: right; } + +/* A property for a better rendering of images in units: in + this way bigger pictures are just resized if the unit + becomes smaller */ +.unit img { + max-width: 100%; +} + +/* Responsive Stuff */ +@media screen and (max-width: 568px) { + /* Stack anything that isnât full-width on smaller screens + and doesn't provide the no-stacking-on-mobiles class */ + .grid:not(.no-stacking-on-mobiles) > .unit { + width: 100% !important; + padding-left: 20px; + padding-right: 20px; + } + .unit .grid .unit { + padding-left: 0px; + padding-right: 0px; + } + + /* Sometimes, you just want to be different on small screens */ + .center-on-mobiles { + text-align: center !important; + } + .hide-on-mobiles { + display: none !important; + } +} + +/* Expand the wrap a bit further on larger screens */ +@media screen and (min-width: 1180px) { + .wider .grid, + .grid.wider { + max-width: 1180px; + margin: 0 auto; + } +}
http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/_sass/_mixins.scss ---------------------------------------------------------------------- diff --git a/avatica/site/_sass/_mixins.scss b/avatica/site/_sass/_mixins.scss new file mode 100644 index 0000000..5b9bb43 --- /dev/null +++ b/avatica/site/_sass/_mixins.scss @@ -0,0 +1,38 @@ +@mixin box-shadow($shadow...) { + -webkit-box-shadow: $shadow; + -moz-box-shadow: $shadow; + box-shadow: $shadow; +} + +@mixin border-radius($radius...) { + -webkit-border-radius: $radius; + -moz-border-radius: $radius; + border-radius: $radius; +} + +@mixin border-top-left-radius($radius...) { + -webkit-border-top-left-radius: $radius; + -moz-border-radius-topleft: $radius; + border-top-left-radius: $radius; +} + +@mixin border-top-right-radius($radius...) { + -webkit-border-top-right-radius: $radius; + -moz-border-radius-topright: $radius; + border-top-right-radius: $radius; +} + +@mixin transition($transition...) { + -webkit-transition: $transition; + -moz-transition: $transition; + -o-transition: $transition; + transition: $transition; +} + +@mixin user-select($select...) { + -webkit-user-select: $select; /* Chrome all / Safari all */ + -moz-user-select: $select; /* Firefox all */ + -ms-user-select: $select; /* IE 10+ */ + -o-user-select: $select; + user-select: $select; +} http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/_sass/_normalize.scss ---------------------------------------------------------------------- diff --git a/avatica/site/_sass/_normalize.scss b/avatica/site/_sass/_normalize.scss new file mode 100644 index 0000000..f6e0b65 --- /dev/null +++ b/avatica/site/_sass/_normalize.scss @@ -0,0 +1 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{ color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/_sass/_pygments.scss ---------------------------------------------------------------------- diff --git a/avatica/site/_sass/_pygments.scss b/avatica/site/_sass/_pygments.scss new file mode 100644 index 0000000..2858bcd --- /dev/null +++ b/avatica/site/_sass/_pygments.scss @@ -0,0 +1,78 @@ +.highlight { + .hll { background-color: #ffffcc } + .c { color: #87ceeb} /* Comment */ + .err { color: #ffffff} /* Error */ + .g { color: #ffffff} /* Generic */ + .k { color: #f0e68c} /* Keyword */ + .l { color: #ffffff} /* Literal */ + .n { color: #ffffff} /* Name */ + .o { color: #ffffff} /* Operator */ + .x { color: #ffffff} /* Other */ + .p { color: #ffffff} /* Punctuation */ + .cm { color: #87ceeb} /* Comment.Multiline */ + .cp { color: #cd5c5c} /* Comment.Preproc */ + .c1 { color: #87ceeb} /* Comment.Single */ + .cs { color: #87ceeb} /* Comment.Special */ + .gd { color: #0000c0; font-weight: bold; background-color: #008080 } /* Generic.Deleted */ + .ge { color: #c000c0; text-decoration: underline} /* Generic.Emph */ + .gr { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Error */ + .gh { color: #cd5c5c} /* Generic.Heading */ + .gi { color: #ffffff; background-color: #0000c0 } /* Generic.Inserted */ + span.go { color: #add8e6; font-weight: bold; background-color: #4d4d4d } /* Generic.Output, qualified with span to prevent applying this style to the Go language, see #1153. */ + .gp { color: #ffffff} /* Generic.Prompt */ + .gs { color: #ffffff} /* Generic.Strong */ + .gu { color: #cd5c5c} /* Generic.Subheading */ + .gt { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Traceback */ + .kc { color: #f0e68c} /* Keyword.Constant */ + .kd { color: #f0e68c} /* Keyword.Declaration */ + .kn { color: #f0e68c} /* Keyword.Namespace */ + .kp { color: #f0e68c} /* Keyword.Pseudo */ + .kr { color: #f0e68c} /* Keyword.Reserved */ + .kt { color: #bdb76b} /* Keyword.Type */ + .ld { color: #ffffff} /* Literal.Date */ + .m { color: #ffffff} /* Literal.Number */ + .s { color: #ffffff} /* Literal.String */ + .na { color: #ffffff} /* Name.Attribute */ + .nb { color: #ffffff} /* Name.Builtin */ + .nc { color: #ffffff} /* Name.Class */ + .no { color: #ffa0a0} /* Name.Constant */ + .nd { color: #ffffff} /* Name.Decorator */ + .ni { color: #ffdead} /* Name.Entity */ + .ne { color: #ffffff} /* Name.Exception */ + .nf { color: #ffffff} /* Name.Function */ + .nl { color: #ffffff} /* Name.Label */ + .nn { color: #ffffff} /* Name.Namespace */ + .nx { color: #ffffff} /* Name.Other */ + .py { color: #ffffff} /* Name.Property */ + .nt { color: #f0e68c} /* Name.Tag */ + .nv { color: #98fb98} /* Name.Variable */ + .ow { color: #ffffff} /* Operator.Word */ + .w { color: #ffffff} /* Text.Whitespace */ + .mf { color: #ffffff} /* Literal.Number.Float */ + .mh { color: #ffffff} /* Literal.Number.Hex */ + .mi { color: #ffffff} /* Literal.Number.Integer */ + .mo { color: #ffffff} /* Literal.Number.Oct */ + .sb { color: #ffffff} /* Literal.String.Backtick */ + .sc { color: #ffffff} /* Literal.String.Char */ + .sd { color: #ffffff} /* Literal.String.Doc */ + .s2 { color: #ffffff} /* Literal.String.Double */ + .se { color: #ffffff} /* Literal.String.Escape */ + .sh { color: #ffffff} /* Literal.String.Heredoc */ + .si { color: #ffffff} /* Literal.String.Interpol */ + .sx { color: #ffffff} /* Literal.String.Other */ + .sr { color: #ffffff} /* Literal.String.Regex */ + .s1 { color: #ffffff} /* Literal.String.Single */ + .ss { color: #ffffff} /* Literal.String.Symbol */ + .bp { color: #ffffff} /* Name.Builtin.Pseudo */ + .vc { color: #98fb98} /* Name.Variable.Class */ + .vg { color: #98fb98} /* Name.Variable.Global */ + .vi { color: #98fb98} /* Name.Variable.Instance */ + .il { color: #ffffff} /* Literal.Number.Integer.Long */ + .bash .nv { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/_sass/_style.scss ---------------------------------------------------------------------- diff --git a/avatica/site/_sass/_style.scss b/avatica/site/_sass/_style.scss new file mode 100644 index 0000000..14d9723 --- /dev/null +++ b/avatica/site/_sass/_style.scss @@ -0,0 +1,989 @@ +/* Base */ + +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +body { + font: 300 21px Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif; + color: #ddd; + background-color: #333; + border-top: 5px solid #33adff; + @include box-shadow(inset 0 3px 30px rgba(0,0,0,.3)); + text-shadow: 0 1px 3px rgba(0,0,0,.5); + -webkit-font-feature-settings: "kern" 1; + -moz-font-feature-settings: "kern" 1; + -o-font-feature-settings: "kern" 1; + font-feature-settings: "kern" 1; + font-kerning: normal; +} + +.clear { + display: block; +} + +.clear:after { + content: " "; + display: block; + height: 0; + clear: both; + visibility: hidden; +} + +/* Sections */ + +header, +section, +footer { + float: left; + width: 100%; + clear: both; +} + +/* Header */ + +header { + + h1, + nav { display: inline-block; } + +} + +nav { + + ul { + padding: 0; + margin: 0; + } + + li { display: inline-block; } +} + +.main-nav { + margin-top: 52px; + + li { + margin-right: 10px; + + a { + @include border-radius(5px); + font-weight: 900; + font-size: 14px; + padding: 0.5em 1em; + text-shadow: none; + text-transform: uppercase; + @include transition(all .25s); + + &:hover { + background-color: #252525; + @include box-shadow(inset 0 1px 3px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.1)); + text-shadow: 0 1px 3px rgba(0,0,0,.5); + } + } + + &.current { + + a { + background-color: #33adff; + color: #222; + @include box-shadow(inset 0 1px 0 rgba(255,255,255,.5), 0 1px 5px rgba(0,0,0,.5)); + text-shadow: 0 1px 0 rgba(255,255,255,.3); + } + } + } +} + +.mobile-nav { + + ul { + overflow: hidden; + width: 100%; + display: table; + } + + a { + float: left; + width: 100%; + background-color: #333; + color: #33adff; + text-align: center; + text-transform: uppercase; + font-size: 14px; + font-weight: 900; + padding: 5px; + @include border-radius(5px); + } + + li { + display: table-cell; + width: 20%; + padding: 8px 2px; + } + + .current { + + a { + background-color: #33adff; + color: #222; + @include box-shadow(inset 0 1px 0 rgba(255,255,255,.5), 0 1px 5px rgba(0,0,0,.5)); + text-shadow: 0 1px 0 rgba(255,255,255,.3); + } + } +} + +/* + * This code is courtesy Ben Balter, modified by Parker Moore. + * http://ben.balter.com/2014/03/13/pages-anchor-links/ + */ +.header-link { + position: relative; + left: 0.5em; + opacity: 0; + font-size: 0.8em; + @include transition(opacity 0.2s ease-in-out 0.1s); +} +h2:hover .header-link, +h3:hover .header-link, +h4:hover .header-link, +h5:hover .header-link, +h6:hover .header-link { + opacity: 1; +} + +@media (max-width: 768px) { + .main-nav ul { + text-align: right; + } +} +@media (max-width: 830px) { + .main-nav { + .show-on-mobiles { display: inline; } + .hide-on-mobiles { display: none; } + } +} + +/* Footer */ + +footer { + background-color: #212121; + font-size: 16px; + padding-bottom: 5px; + padding-left: 5px; + padding-right: 5px; + color: #c0c0c0; + margin-top: 40px; + + a { + color: #fff; + + &:hover { + + img { opacity: 1; } + } + } + + .align-right { + + p { display: inline-block; } + } + + img { + display: inline-block; + position: relative; + top: 8px; + margin-left: 5px; + opacity: .8; + padding: 1px; + @include transition(opacity .2s); + } +} + +@media (max-width: 568px) { + footer { + .one-third p { margin-bottom: 0; } + .two-thirds p { margin-top: -20px; } + } +} + +/* Intro */ + +.intro { + + .unit { padding: 10px 0 40px; } + + p { + font-size: 1.75em; + line-height: 1em; + margin: 0; + } +} + +@media (min-width: 569px) { + .intro p { font-size: 3.2em; } +} + +/* Quickstart */ + +.quickstart { + background-color: #3F1F1F; + color: #fff; + margin: 60px 0; + @include box-shadow(inset 0 3px 10px rgba(0,0,0,.4)); + + .content { padding: 0; } + + h3 { + font-size: 24px; + line-height: 24px; + margin-top: 20px; + text-shadow: 0 1px 3px rgba(0,0,0,.8); + } + + .code { + font-size: 12px; + display: block; + margin: 0 0 -30px; + } +} + +@media (min-width: 768px) { + .quickstart { + + .code { + font-size: 18px; + margin: -30px 0; + float: right; + } + + h3 { + margin: 50px 0 0; + text-align: center; + } + } +} + +/* Code */ + +.quickstart { + + .code { + display: block; + padding: 0; + font-family: Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace; + line-height: 1.3em; + + .title { + display: block; + text-align: center; + margin: 0 20px; + padding: 5px 0; + @include border-radius(5px 5px 0 0); + @include box-shadow(0 3px 10px rgba(0,0,0,.5)); + font: 400 16px/24px 'Helvetica Neue', Helvetica, Arial, sans-serif; + color: #444; + text-shadow: 0 1px 0 rgba(255,255,255,.5); + background-color: #f7f7f7; + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjclIiBzdG9wLWNvbG9yPSIjY2ZjZmNmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2FhYWFhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), color-stop(7%, #cfcfcf), to(#aaaaaa)); + background-image: -webkit-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%); + background-image: -moz-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%); + background-image: -o-linear-gradient(top, #f7f7f7 0%, #cfcfcf 7%, #aaaaaa 100%); + background-image: linear-gradient(top, #f7f7f7 0%,#cfcfcf 7%,#aaaaaa 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#aaaaaa',GradientType=0 ); + border-bottom: 1px solid #111; + } + + .shell { + padding: 20px; + text-shadow: none; + margin: 0 20px; + background-color: #171717; + @include border-radius(0 0 5px 5px); + @include box-shadow(0 5px 30px rgba(0,0,0,.3)); + } + + .line { + display: block; + margin: 0; + padding: 0; + + span { display: inline-block; } + } + + .path { + color: #87ceeb; + @include user-select(none); + } + + .prompt { + color: #cd5c5c; + -webkit-user-select: none; /* Chrome all / Safari all */ + -moz-user-select: none; /* Firefox all */ + -ms-user-select: none; /* IE 10+ */ + -o-user-select: none; + user-select: none; + } + + .command { color: #f0e68c; } + + .output { color: #888; } + } +} + +@media (min-width: 768px) { + .free-hosting { + + img { + float: left; + margin: -20px -30px -30px -50px; + width: 300px; + height: 251px; + } + + .pane-content { + margin-top: 35px; + padding-right: 30px; + } + + p, + a { font-size: 18px; } + + .pane:after { + content: " "; + float: right; + background: url(../img/footer-arrow.png) top left no-repeat; + width: 73px; + height: 186px; + position: absolute; + right: 0; + bottom: -30px; + } + } +} + +/* Article - Used for both docs and news */ + + +article { + background-color: #444; + @include border-radius(10px); + padding: 20px; + margin: 0 10px; + @include box-shadow(0 3px 10px rgba(0,0,0,.1)); + font-size: 16px; +} + +@media (max-width: 480px) { + article ul { padding-left: 20px; } +} + +@media (max-width: 568px) { + article { margin: 0; } +} + +@media (min-width: 768px) { + article { + padding: 40px 40px 30px; + font-size: 21px; + } +} + +/* Right-side nav - used by both docs and news */ + +aside { + padding-top: 30px; + + h4 { + text-transform: uppercase; + font-size: 14px; + font-weight: 700; + padding: 0 0 10px 30px; + margin-left: -30px; + display: inline-block; + border-bottom: 1px solid #ff0; + } + + ul { + padding-left: 0; + + &:first-child { margin-top: 0; } + } + + li { + list-style-type: none; + + a { + font-size: 16px; + position: relative + } + + &.current a:before { + content: ""; + border-color: transparent transparent transparent #444; + border-style: solid; + border-width: 10px; + width: 0; + height: 0; + position: absolute; + top: 0; + left: -30px; + } + } +} + +/* Documentation */ + +.docs { + + article { min-height: 800px; } + + .content { padding: 0; } +} + +.section-nav { + text-align: center; + padding-top: 40px; + position: relative; + background: url(../img/article-footer.png) top center no-repeat; + margin: 40px -20px 10px; + + > div { width: 49.5%; } + + a, + span { + color: #fff; + font-size: 16px; + text-transform: uppercase; + font-weight: 700; + padding: 8px 12px 10px; + @include border-radius(5px); + /*border: 1px solid #333;*/ + @include box-shadow(0 1px 3px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.5)); + background-color: #767676; + } + + a:hover { + color: #fff; + background-color: #888; + } + + .next, + .prev { position: relative; } + + .next:after, + .prev:before { + font-size: 36px; + color: #222; + font-weight: 900; + text-shadow: 0 1px 0 rgba(255,255,255,.4); + position: absolute; + top: -7px; + } + + .next:after { + content: '\203A'; + right: 10px; + } + + .prev:before { + content: '\2039'; + left: 10px; + } + + .prev, + .prev:hover { padding-left: 30px; } + + .next, + .next:hover { padding-right: 30px; } + + .disabled { + opacity: .5; + cursor: default; + } +} + +.improve { + padding-top: 25px; + font-size: 16px; + a { + color: #999; + } +} + +.docs-nav-mobile select { + color: #000; + width: 100%; +} + +/* News */ + +article h2:first-child { margin-top: 0; } + +.post-category, +.post-meta { + display: inline-block; + vertical-align: middle; + font-size: .8em; +} + +.post-category { + display: inline-block; + margin-left: -30px; + padding: 6px 10px 8px; + padding-left: 50px; + @include border-radius(0 5px 5px 0); + position: relative; + @include box-shadow(0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3)); + background-color: #9e2812; + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzllMjgxMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZjBkMGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background-image: -webkit-gradient(linear, left top, left bottom, from(#9e2812), to(#6f0d0d)); + background-image: -webkit-linear-gradient(top, #9e2812 0%, #6f0d0d 100%); + background-image: -moz-linear-gradient(top, #9e2812 0%, #6f0d0d 100%); + background-image: -o-linear-gradient(top, #9e2812 0%, #6f0d0d 100%); + background-image: linear-gradient(to bottom, #9e2812 0%,#6f0d0d 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 ); + + &:before { + content: ""; + position: absolute; + top: -10px; + left: 0; + border-color: transparent #6f0d0d #6f0d0d transparent; + border-style: solid; + border-width: 5px; + width: 0; + height: 0; + } +} + +.post-content img { max-width: 100% } + +.label { + float: left; + text-transform: uppercase; + font-weight: 700; + text-shadow: 0 -1px 0 rgba(0,0,0,.5); +} + +@media (max-width: 568px) { + .post-category { padding-left: 30px; } +} + +@media (min-width: 768px) { + .post-category { margin-left: -50px; } +} + +.avatar { + @include border-radius(3px); + display: inline-block; + vertical-align: middle; +} + +.post-meta { + padding: 5px 0; + color: #c0c0c0; + font-weight: 600; + text-shadow: 0 -1px 0 #000; +} + +.post-date, +.post-author { margin-left: 10px; } + +.news article + article { + margin-top: -10px; + @include border-radius(0 0 10px 10px); + border-top: 1px solid #555; + @include box-shadow(0 -1px 0 #2f2f2f); +} + +/* Code Highlighting */ + + +pre, +code { + white-space: pre; + display: inline-block; + margin: 0; + font: 14px/1.8em Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace; + padding: 0 0.5em; +} + +@media (min-width: 768px) { + pre, code { font-size: 16px; } +} + +.highlight, +p > pre, +p > code, +p > nobr > code, +li > code, +h5 > code, +.note > code { + background-color: #2b2b2b; + color: #fff; + @include border-radius(5px); + @include box-shadow(inset 0 1px 10px rgba(0,0,0,.3), + 0 1px 0 rgba(255,255,255,.1), + 0 -1px 0 rgba(0,0,0,.5)); +} + +.note code { + background-color: #333; + background-color: rgba(0,0,0,0.2); + margin-left: 2.5px; + margin-right: 2.5px; + font-size: 0.8em; +} + +.highlight { + margin: 1em 0; + padding: 10px 0; + width: 100%; + overflow: auto; +} + +/* HTML Elements */ + +h1, h2, h3, h4, h5, h6 { margin: 0; } + +a { + color: #33adff; + text-decoration: none; + @include transition(all .25s); + + &:hover { color: #33adff; } +} + +strong { font-weight: 700; } + +p { line-height: 1.5em; } + +.left { float: left; } +.right { float: right; } +.align-right { text-align: right; } +.align-left { text-align: left; } +.align-center { text-align: center; } + +/* Article HTML */ + +article { + + h2, h3, h4, h5, h6 { margin: 1em 0; } + + h4 { color: #fff; } + + ul li { + + p { margin: 0; } + + blockquote { margin: 10px 0; } + } + + ul li, + ol li { + line-height: 1.5em; + margin-bottom: 0.5em; + } + +} + +h5, h6 { + font-size: 1em; + font-style: italic; +} + +blockquote { + border-left: 2px solid #777; + padding-left: 20px; + font-style: italic; + font-size: 18px; + font-weight: 500; +} + + +/* Tables */ + +table { + width: 100%; + background-color: #555; + margin: .5em 0; + @include border-radius(5px); + @include box-shadow(0 1px 3px rgba(0,0,0,.3)); +} + +thead { + @include border-top-left-radius(5px); + @include border-top-right-radius(5px); + color: #fff; + background-color: #3a3a3a; + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNhM2EzYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxZTFlMWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background-image: -webkit-gradient(linear, left top, left bottom, from(#3a3a3a), to(#1e1e1e)); + background-image: -webkit-linear-gradient(top, #3a3a3a 0%, #1e1e1e 100%); + background-image: -moz-linear-gradient(top, #3a3a3a 0%, #1e1e1e 100%); + background-image: -o-linear-gradient(top, #3a3a3a 0%, #1e1e1e 100%); + background-image: linear-gradient(to bottom, #3a3a3a 0%,#1e1e1e 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a3a3a', endColorstr='#1e1e1e',GradientType=0 ); + + th { + position: relative; + @include box-shadow(inset 0 1px 0 rgba(255,255,255,.1)); + + &:first-child { + @include border-top-left-radius(5px); + } + + &:last-child { + @include border-top-right-radius(5px); + } + } +} + +td { padding: .5em .75em; } + +td p { margin: 0; } + +th { + text-transform: uppercase; + font-size: 16px; + padding: .5em .75em; + text-shadow: 0 -1px 0 rgba(0,0,0,.9); + color: #888; +} + +tbody td { + border-top: 1px solid #747474; + border-top: 1px solid rgba(0,0,0,.1); + @include box-shadow(inset 0 1px 0 rgba(255,255,255,.1)); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); + background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.1)), to(rgba(255,255,255,0))); + background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); + background-image: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); + background-image: -o-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); + background-image: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%,rgba(255,255,255,0) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1affffff', endColorstr='#00ffffff',GradientType=0 ); + + p { + font-size: 16px; + + code { font-size: 14px; } + } +} + +code.option, +th .option, +code.filter, +th .filter { + color: #50B600; +} + +code.flag, +th .flag, +code.output, +th .output { + color: #049DCE; +} + +code.option, +code.flag, +code.filter, +code.output { + margin-bottom: 2px; +} + +/* Note types */ + +.note { + margin: 30px 0; + margin-left: -30px; + padding: 20px 20px 24px; + padding-left: 50px; + @include border-radius(0 5px 5px 0); + position: relative; + @include box-shadow(0 1px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.3)); + background-color: #7e6d42; + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdlNmQ0MiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1YzRlMzUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background-image: -webkit-gradient(linear, left top, left bottom, from(#7e6d42), to(#5c4e35)); + background-image: -webkit-linear-gradient(top, #7e6d42 0%, #5c4e35 100%); + background-image: -moz-linear-gradient(top, #7e6d42 0%, #5c4e35 100%); + background-image: -o-linear-gradient(top, #7e6d42 0%, #5c4e35 100%); + background-image: linear-gradient(to bottom, #7e6d42 0%,#5c4e35 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7e6d42', endColorstr='#5c4e35',GradientType=0 ); +} + +@media (max-width: 568px) { + .note { margin-right: -30px; } +} + +@media (min-width: 768px) { + .note { margin-left: -50px; } +} + +.configtable { + font-size: 14px; +} + +.note { + &:before { + content: ""; + position: absolute; + top: -10px; + left: 0; + border-color: transparent #222 #222 transparent; + border-style: solid; + border-width: 5px; + width: 0; + height: 0; + } + + h5, + p { + margin: 0; + color: #fff; + } + + h5 { + line-height: 1.5em; + font-weight: 900; + font-style: normal; + } + + p { + font-weight: 400; + font-size: .75em; + } + + &:after { + content: '\2605'; + color: #33adff; + position: absolute; + top: 14px; + left: 14px; + font-size: 28px; + font-weight: 700; + text-shadow: 0 -1px 0 rgba(0,0,0,.5); + } +} + +.info { + background-color: #0389aa; + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAzODlhYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDYxN2YiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background-image: -webkit-gradient(linear, left top, left bottom, from(#0389aa), to(#00617f)); + background-image: -webkit-linear-gradient(top, #0389aa 0%, #00617f 100%); + background-image: -moz-linear-gradient(top, #0389aa 0%, #00617f 100%); + background-image: -o-linear-gradient(top, #0389aa 0%, #00617f 100%); + background-image: linear-gradient(to bottom, #0389aa 0%,#00617f 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0389aa', endColorstr='#00617f',GradientType=0 ); +} + +.warning { + background-color: #9e2812; + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzllMjgxMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZjBkMGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background-image: -webkit-gradient(linear, left top, left bottom, from(#9e2812), to(#6f0d0d)); + background-image: -webkit-linear-gradient(top, #9e2812 0%, #6f0d0d 100%); + background-image: -moz-linear-gradient(top, #9e2812 0%, #6f0d0d 100%); + background-image: -o-linear-gradient(top, #9e2812 0%, #6f0d0d 100%); + background-image: linear-gradient(to bottom, #9e2812 0%,#6f0d0d 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 ); +} + +.unreleased { + background-color: #cd9239; + background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NkOTIzOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhMjc1MjgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(205,146,57,1)), to(rgba(162,117,40,1))); + background-image: -webkit-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%); + background-image: -moz-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%); + background-image: -o-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%); + background-image: linear-gradient(to bottom, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cd9239', endColorstr='#a27528',GradientType=0 ); +} + +.info:before { border-color: transparent #00617f #00617f transparent; } + +.warning:before { border-color: transparent #6f0d0d #6f0d0d transparent; } + +.unreleased:before { border-color: transparent #664719 #664719 transparent; } + +.info:after { + content: '\24D8'; + color: #fff; + position: absolute; + top: 15px; + left: 15px; + font-size: 28px; + font-weight: 700; + text-shadow: 0 -1px 0 rgba(0,0,0,.5); +} + +.warning:after { + content: '\203C'; + color: #33adff; + position: absolute; + top: 15px; + left: 15px; + font-size: 32px; + font-weight: 700; + text-shadow: 0 -1px 0 rgba(0,0,0,.5); +} + +.unreleased:after { + content: '\2692'; + color: #2b2a12; + position: absolute; + top: 8px; + left: 15px; + font-size: 38px; + font-weight: 700; + text-shadow: 0 1px 0 rgba(255,255,255,.25); +} + +/* Responsive tables */ + +@media (max-width: 768px) { + .mobile-side-scroller { + overflow-x: scroll; + margin: 0 -40px; + padding: 0 10px; + } +} + + +.show-on-mobiles { + display: none; +} + +@media screen and (max-width: 568px) { + .show-on-mobiles { + display: block !important; + } + a .show-on-mobiles { + display: inline !important; + } +} + + +/* Helper class taken from Bootstrap. + Hides an element to all devices except screen readers. +*/ +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +#poweredby { + float: right; + text-align: right; + width: 200px; + height: 87px; +} + +#resources { + background-color: #000; +} http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/community/index.md ---------------------------------------------------------------------- diff --git a/avatica/site/community/index.md b/avatica/site/community/index.md new file mode 100644 index 0000000..b0c9fdb --- /dev/null +++ b/avatica/site/community/index.md @@ -0,0 +1,116 @@ +--- +layout: page +title: Community +--- +<!-- +{% comment %} +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +--> + +* TOC +{:toc} + +# Project Members + +Name (Apache ID) | Github | Org | Role +:--------------- | :----- | :-- | :--- +{% for c in site.data.contributors %} {{ c.name }} (<a href="http://people.apache.org/committer-index#{{ c.apacheId }}">{{ c.apacheId }}</a>) | <a href="http://github.com/{{ c.githubId }}"><img width="64" src="{% unless c.avatar %}http://github.com/{{ c.githubId }}.png{% else %}{{ c.avatar }}{% endunless %}"></a> | {{ c.org }} | {{ c.role }} +{% endfor %} + +# Mailing Lists + +There are several development mailing lists for Calcite: + +* [[email protected]](mailto:[email protected]) - Development discussions + [[archive](https://mail-archives.apache.org/mod_mbox/calcite-dev/)] +* [[email protected]](mailto:[email protected]) - Bug tracking + [[archive](https://mail-archives.apache.org/mod_mbox/calcite-issues/)] +* [[email protected]](mailto:[email protected]) - Git tracking + [[archive](https://mail-archives.apache.org/mod_mbox/calcite-commits/)] + +You can subscribe to the lists by sending email to +*list*[email protected] and unsubscribe by sending email to +*list*[email protected]. + +# Help + +Need help with Calcite? Try these resources: + +* **Mailing Lists**. + The best option is to send email to the developers list + [[email protected]](mailto:[email protected]). All + of the historic traffic is available in the + [archive](http://mail-archives.apache.org/mod_mbox/calcite-dev/). To + subscribe to the user list, please send email to + [[email protected]](mailto:[email protected]). +* **Bug Reports**. + Please file any issues you encounter or fixes you'd like on the + [Calcite Jira](https://issues.apache.org/jira/browse/CALCITE). We welcome + patches! +* **StackOverflow**. + [StackOverflow](http://stackoverflow.com) is a wonderful resource for + any developer. Take a look over there to see if someone has answered + your question. +* **Browse the code**. + One of the advantages of open source software is that you can browse the code. + The code is available on [github](https://github.com/apache/calcite/tree/master). + +# Talks + +Want to learn more about Calcite? + +Watch some presentations and read through some slide decks about Calcite. + +## Apache Calcite: One planner fits all + +Voted [Best Lightning Talk at XLDB-2015](http://www.xldb.org/archives/2015/05/best-lightning-talks-selected/); +[[video](https://www.youtube.com/watch?v=5_MyORYjq3w)], +[[slides](http://www.slideshare.net/julianhyde/apache-calcite-one-planner-fits-all)]. + +{% oembed https://www.youtube.com/watch?v=5_MyORYjq3w %} + +## Why you care about relational algebra (even though you didn't know it) + +Washington DC, April 2015; +[[slides](http://www.slideshare.net/julianhyde/calcite-algebraedw2015)]. + +<iframe src="//www.slideshare.net/slideshow/embed_code/key/vfVDu6y1mAM5Dl" width="629" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> + +## Apache Calcite overview + +Apache Kylin meetup, 2014; +[[slides](http://www.slideshare.net/julianhyde/apache-calcite-overview)]. + +<iframe src="//www.slideshare.net/slideshow/embed_code/key/fCGsAedsQiq53V" width="629" height="354" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> + +## Streaming SQL + +At Samza meetup, Mountain View, CA, 2016 +[[video](http://www.ustream.tv/recorded/83322450#to00:55:48)], +[[slides](http://www.slideshare.net/julianhyde/streaming-sql)]. + +<iframe src="//www.slideshare.net/slideshow/embed_code/key/rzaptOy3H8K6Gz" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> + +## More talks + +* <a href="https://github.com/julianhyde/share/blob/master/slides/hive-cbo-seattle-2014.pdf?raw=true">Cost-based optimization in Hive 0.14</a> (Seattle, 2014) +* <a href="https://github.com/julianhyde/share/blob/master/slides/dmmq-summit-2014.pdf?raw=true">Discardable, in-memory materialized query for Hadoop</a> (<a href="https://www.youtube.com/watch?v=CziGOa8GXqI">video</a>) (Hadoop Summit, 2014) +* <a href="https://github.com/julianhyde/share/blob/master/slides/hive-cbo-summit-2014.pdf?raw=true">Cost-based optimization in Hive</a> (<a href="https://www.youtube.com/watch?v=vpG5noIbEFs">video</a>) (Hadoop Summit, 2014) +* <a href="https://github.com/julianhyde/share/blob/master/slides/optiq-nosql-now-2013.pdf?raw=true">SQL Now!</a> (NoSQL Now! conference, 2013) +* <a href="https://github.com/julianhyde/share/blob/master/slides/optiq-richrelevance-2013.pdf?raw=true">SQL on Big Data using Optiq</a> (2013) +* <a href="https://github.com/julianhyde/share/blob/master/slides/optiq-drill-user-group-2013.pdf?raw=true">Drill / SQL / Optiq</a> (2013) +* <a href="http://www.slideshare.net/julianhyde/how-to-integrate-splunk-with-any-data-solution">How to integrate Splunk with any data solution</a> (Splunk User Conference, 2012) http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/css/screen.scss ---------------------------------------------------------------------- diff --git a/avatica/site/css/screen.scss b/avatica/site/css/screen.scss new file mode 100644 index 0000000..2eff7f8 --- /dev/null +++ b/avatica/site/css/screen.scss @@ -0,0 +1,9 @@ +--- +--- + +@import "mixins"; +@import "normalize"; +@import "gridism"; +@import "pygments"; +@import "font-awesome"; +@import "style"; http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/develop/index.md ---------------------------------------------------------------------- diff --git a/avatica/site/develop/index.md b/avatica/site/develop/index.md new file mode 100644 index 0000000..c2b11f3 --- /dev/null +++ b/avatica/site/develop/index.md @@ -0,0 +1,117 @@ +--- +layout: page +title: Developing Calcite +--- +<!-- +{% comment %} +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +--> + +Want to help add a feature or fix a bug? + +* TOC +{:toc} + +## Source code + +You can get the source code by +[downloading a release]({{ site.baseurl }}/downloads) +or from source control. + +Calcite uses git for version control. The canonical source is in +[Apache](https://git-wip-us.apache.org/repos/asf/calcite.git), +but most people find the +[Github mirror](https://github.com/apache/calcite) more +user-friendly. + +## Download source, build, and run tests + +Prerequisites are git, maven (3.2.1 or later) and Java (JDK 1.7 or +later, 1.8 preferred) on your path. + +Create a local copy of the git repository, `cd` to its root directory, +then build using maven: + +{% highlight bash %} +$ git clone git://github.com/apache/calcite.git +$ cd calcite +$ mvn install +{% endhighlight %} + +The HOWTO describes how to +[build from a source distribution]({{ site.baseurl }}/docs/howto.html#building-from-a-source-distribution), +[run more or fewer tests]({{ site.baseurl }}/docs/howto.html#running-tests) and +[run integration tests]({{ site.baseurl }}/docs/howto.html#running-integration-tests). + +## Contributing + +We welcome contributions. + +If you are planning to make a large contribution, talk to us first! It +helps to agree on the general approach. Log a +[JIRA case](https://issues.apache.org/jira/browse/CALCITE) for your +proposed feature or start a discussion on the dev list. + +Fork the github repository, and create a branch for your feature. + +Develop your feature and test cases, and make sure that +`mvn install` succeeds. (Run extra tests if your change warrants it.) + +Commit your change to your branch, and use a comment that starts with +the JIRA case number, like this: + +{% highlight text %} +[CALCITE-345] AssertionError in RexToLixTranslator comparing to date literal +{% endhighlight %} + +If your change had multiple commits, use `git rebase -i master` to +squash them into a single commit, and to bring your code up to date +with the latest on the main line. + +Then push your commit(s) to github, and create a pull request from +your branch to the calcite master branch. Update the JIRA case +to reference your pull request, and a committer will review your +changes. + +## Continuous Integration Testing + +Calcite has a collection of Jenkins jobs on ASF-hosted infrastructure. +They are all organized in a single view and available at +[https://builds.apache.org/view/A-D/view/Calcite/](https://builds.apache.org/view/A-D/view/Calcite/). + +## Getting started + +Calcite is a community, so the first step to joining the project is to introduce yourself. +Join the [developers list](http://mail-archives.apache.org/mod_mbox/calcite-dev/) +and send an email. + +If you have the chance to attend a [meetup](http://www.meetup.com/Apache-Calcite/), +or meet [members of the community](http://calcite.apache.org/develop/#project-members) +at a conference, that's also great. + +Choose an initial task to work on. It should be something really simple, +such as a bug fix or a [Jira task that we have labeled +"newbie"](https://issues.apache.org/jira/issues/?jql=labels%20%3D%20newbie%20%26%20project%20%3D%20Calcite%20%26%20status%20%3D%20Open). +Follow the [contributing guidelines](#contributing) to get your change committed. + +After you have made several useful contributions we may +[invite you to become a committer](https://community.apache.org/contributors/). +We value all contributions that help to build a vibrant community, not just code. +You can contribute by testing the code, helping verify a release, +writing documentation or the web site, +or just by answering questions on the list. + http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/doap_calcite.rdf ---------------------------------------------------------------------- diff --git a/avatica/site/doap_calcite.rdf b/avatica/site/doap_calcite.rdf new file mode 100644 index 0000000..46204e9 --- /dev/null +++ b/avatica/site/doap_calcite.rdf @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl"?> +<rdf:RDF xml:lang="en" + xmlns="http://usefulinc.com/ns/doap#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:asfext="http://projects.apache.org/ns/asfext#" + xmlns:foaf="http://xmlns.com/foaf/0.1/"> +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + <Project rdf:about="https://calcite.apache.org"> + <created>2015-05-27</created> + <license rdf:resource="http://spdx.org/licenses/Apache-2.0" /> + <name>Apache Calcite</name> + <homepage rdf:resource="https://calcite.apache.org" /> + <asfext:pmc rdf:resource="https://calcite.apache.org" /> + <shortdesc>A dynamic data management framework.</shortdesc> + <description>Calcite is a framework for writing data management + systems. It converts queries, represented in relational algebra, + into an efficient executable form using pluggable query + transformation rules. There is an optional SQL parser and JDBC + driver. Calcite does not store data or have a preferred execution + engine. Data formats, execution algorithms, planning rules, + operator types, metadata, and cost model are added at runtime as + plugins.</description> + <bug-database rdf:resource="https://issues.apache.org/jira/browse/CALCITE" /> + <mailing-list rdf:resource="https://calcite.apache.org/develop" /> + <download-page rdf:resource="https://calcite.apache.org/downloads" /> + <programming-language>Java</programming-language> + <category rdf:resource="http://projects.apache.org/category/big-data" /> + <category rdf:resource="http://projects.apache.org/category/hadoop" /> + <category rdf:resource="http://projects.apache.org/category/sql" /> + <repository> + <GitRepository> + <location rdf:resource="https://git-wip-us.apache.org/repos/asf/calcite.git"/> + <browse rdf:resource="https://github.com/apache/calcite"/> + </GitRepository> + </repository> + <maintainer> + <foaf:Person> + <foaf:name>Julian Hyde</foaf:name> + <foaf:mbox rdf:resource="mailto:[email protected]"/> + </foaf:Person> + </maintainer> + </Project> +</rdf:RDF> http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/downloads/index.md ---------------------------------------------------------------------- diff --git a/avatica/site/downloads/index.md b/avatica/site/downloads/index.md new file mode 100644 index 0000000..7faead0 --- /dev/null +++ b/avatica/site/downloads/index.md @@ -0,0 +1,100 @@ +--- +layout: page +title: Downloads +--- + +<!-- +{% comment %} +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +--> + +Calcite is released as a source artifact, and also through Maven. + +# Source releases + +Release | Date | Commit | Download +:--------------- | :--------- | :------- | :------- +{% for post in site.categories.release %}{% comment %} +{% endcomment %}{% if post.fullVersion %}{% comment %} +{% endcomment %}{% assign v = post.fullVersion %}{% comment %} +{% endcomment %}{% else %}{% comment %} +{% endcomment %}{% capture v %}apache-calcite-{{ post.version }}{% endcapture %}{% comment %} +{% endcomment %}{% endif %}{% comment %} +{% endcomment %}{% if forloop.index0 < 1 %}{% comment %} +{% endcomment %}{% capture p %}http://www.apache.org/dyn/closer.lua?filename=calcite/{{ v }}{% endcapture %}{% comment %} +{% endcomment %}{% assign q = "&action=download" %}{% comment %} +{% endcomment %}{% assign d = "https://www.apache.org/dist" %}{% comment %} +{% endcomment %}{% elsif forloop.rindex < 8 %}{% comment %} +{% endcomment %}{% capture p %}http://archive.apache.org/dist/incubator/calcite/{{ v }}{% endcapture %}{% comment %} +{% endcomment %}{% assign q = "" %}{% comment %} +{% endcomment %}{% assign d = "https://archive.apache.org/dist/incubator" %}{% comment %} +{% endcomment %}{% else %}{% comment %} +{% endcomment %}{% capture p %}http://archive.apache.org/dist/calcite/{{ v }}{% endcapture %}{% comment %} +{% endcomment %}{% assign q = "" %}{% comment %} +{% endcomment %}{% assign d = "https://archive.apache.org/dist" %}{% comment %} +{% endcomment %}{% endif %}{% comment %} +{% endcomment %}<a href="{{ site.baseurl }}/docs/history.html#{{ post.tag }}">{{ post.version }}</a>{% comment %} +{% endcomment %} | {{ post.date | date_to_string }}{% comment %} +{% endcomment %} | <a href="https://github.com/apache/calcite/commit/{{ post.sha }}">{{ post.sha }}</a>{% comment %} +{% endcomment %} | <a href="{{ p }}/{{ v }}-src.tar.gz{{ q }}">tar</a>{% comment %} +{% endcomment %} (<a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.tar.gz.md5">md5</a>{% comment %} +{% endcomment %} <a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.tar.gz.asc">pgp</a>){% comment %} +{% endcomment %} {% raw %}<br>{% endraw %}{% comment %} +{% endcomment %} <a href="{{ p }}/{{ v }}-src.zip{{ q }}">zip</a>{% comment %} +{% endcomment %} (<a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.zip.md5">md5</a>{% comment %} +{% endcomment %} <a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.zip.asc">pgp</a>){% comment %} +{% endcomment %} +{% endfor %} + +Choose a source distribution in either *tar* or *zip* format, +and [verify](http://www.apache.org/dyn/closer.cgi#verify) +using the corresponding *pgp* signature (using the committer file in +[KEYS](http://www.apache.org/dist/calcite/KEYS)). +If you cannot do that, the *md5* hash file may be used to check that the +download has completed OK. + +For fast downloads, current source distributions are hosted on mirror servers; +older source distributions are in the +[archive](http://archive.apache.org/dist/calcite/) +or [incubator archive](http://archive.apache.org/dist/incubator/calcite/). +If a download from a mirror fails, retry, and the second download will likely +succeed. + +For security, hash and signature files are always hosted at +[Apache](https://www.apache.org/dist). + +# Maven artifacts + +Add the following to the dependencies section of your `pom.xml` file: + +{% for post in site.categories.release limit:1 %} +{% assign current_release = post %} +{% endfor %} + +{% highlight xml %} +<dependencies> + <dependency> + <groupId>org.apache.calcite</groupId> + <artifactId>calcite-core</artifactId> + <version>{{ current_release.version }}</version> + </dependency> +</dependencies> +{% endhighlight %} + +Also include `<dependency>` elements for any extension modules you +need: `calcite-mongodb`, `calcite-spark`, `calcite-splunk`, and so +forth. http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/favicon.ico ---------------------------------------------------------------------- diff --git a/avatica/site/favicon.ico b/avatica/site/favicon.ico new file mode 100644 index 0000000..47d4618 Binary files /dev/null and b/avatica/site/favicon.ico differ http://git-wip-us.apache.org/repos/asf/calcite/blob/5cee486f/avatica/site/fonts/fontawesome-webfont.eot ---------------------------------------------------------------------- diff --git a/avatica/site/fonts/fontawesome-webfont.eot b/avatica/site/fonts/fontawesome-webfont.eot new file mode 100755 index 0000000..84677bc Binary files /dev/null and b/avatica/site/fonts/fontawesome-webfont.eot differ
