You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by am...@apache.org on 2017/05/29 09:54:24 UTC
[61/65] [abbrv] cayenne-website git commit: Major cleanup. Add proper
jekyll headers everywhere, rename files,
remove a couple of ancient ant build script instructions. Everything is now
working. Not pretty, but working.
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/mixins/_text-hide.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/mixins/_text-hide.scss b/assets/css/_sass/bootstrap/mixins/_text-hide.scss
new file mode 100644
index 0000000..52a38a9
--- /dev/null
+++ b/assets/css/_sass/bootstrap/mixins/_text-hide.scss
@@ -0,0 +1,8 @@
+// CSS image replacement
+@mixin text-hide() {
+ font: 0/0 a;
+ color: transparent;
+ text-shadow: none;
+ background-color: transparent;
+ border: 0;
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/mixins/_text-truncate.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/mixins/_text-truncate.scss b/assets/css/_sass/bootstrap/mixins/_text-truncate.scss
new file mode 100644
index 0000000..5a40bf5
--- /dev/null
+++ b/assets/css/_sass/bootstrap/mixins/_text-truncate.scss
@@ -0,0 +1,8 @@
+// Text truncate
+// Requires inline-block or block for proper styling
+
+@mixin text-truncate() {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_background.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_background.scss b/assets/css/_sass/bootstrap/utilities/_background.scss
new file mode 100644
index 0000000..b158979
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_background.scss
@@ -0,0 +1,21 @@
+//
+// Contextual backgrounds
+//
+
+.bg-inverse {
+ background-color: $brand-inverse;
+}
+
+.bg-faded {
+ background-color: $gray-lightest;
+}
+
+@include bg-variant('.bg-primary', $brand-primary);
+
+@include bg-variant('.bg-success', $brand-success);
+
+@include bg-variant('.bg-info', $brand-info);
+
+@include bg-variant('.bg-warning', $brand-warning);
+
+@include bg-variant('.bg-danger', $brand-danger);
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_clearfix.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_clearfix.scss b/assets/css/_sass/bootstrap/utilities/_clearfix.scss
new file mode 100644
index 0000000..e92522a
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_clearfix.scss
@@ -0,0 +1,3 @@
+.clearfix {
+ @include clearfix();
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_display.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_display.scss b/assets/css/_sass/bootstrap/utilities/_display.scss
new file mode 100644
index 0000000..d74049b
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_display.scss
@@ -0,0 +1,13 @@
+//
+// Display utilities
+//
+
+.d-block {
+ display: block !important;
+}
+.d-inline-block {
+ display: inline-block !important;
+}
+.d-inline {
+ display: inline !important;
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_flex.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_flex.scss b/assets/css/_sass/bootstrap/utilities/_flex.scss
new file mode 100644
index 0000000..502885a
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_flex.scss
@@ -0,0 +1,37 @@
+// Flex variation
+//
+// Custom styles for additional flex alignment options.
+
+@if $enable-flex {
+ @each $breakpoint in map-keys($grid-breakpoints) {
+ // Flex column reordering
+ @include media-breakpoint-up($breakpoint) {
+ .flex-#{$breakpoint}-first { order: -1; }
+ .flex-#{$breakpoint}-last { order: 1; }
+ .flex-#{$breakpoint}-unordered { order: 0; }
+ }
+
+ // Alignment for every item
+ @include media-breakpoint-up($breakpoint) {
+ .flex-items-#{$breakpoint}-top { align-items: flex-start; }
+ .flex-items-#{$breakpoint}-middle { align-items: center; }
+ .flex-items-#{$breakpoint}-bottom { align-items: flex-end; }
+ }
+
+ // Alignment per item
+ @include media-breakpoint-up($breakpoint) {
+ .flex-#{$breakpoint}-top { align-self: flex-start; }
+ .flex-#{$breakpoint}-middle { align-self: center; }
+ .flex-#{$breakpoint}-bottom { align-self: flex-end; }
+ }
+
+ // Horizontal alignment of item
+ @include media-breakpoint-up($breakpoint) {
+ .flex-items-#{$breakpoint}-left { justify-content: flex-start; }
+ .flex-items-#{$breakpoint}-center { justify-content: center; }
+ .flex-items-#{$breakpoint}-right { justify-content: flex-end; }
+ .flex-items-#{$breakpoint}-around { justify-content: space-around; }
+ .flex-items-#{$breakpoint}-between { justify-content: space-between; }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_pulls.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_pulls.scss b/assets/css/_sass/bootstrap/utilities/_pulls.scss
new file mode 100644
index 0000000..7fec56c
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_pulls.scss
@@ -0,0 +1,13 @@
+@each $breakpoint in map-keys($grid-breakpoints) {
+ @include media-breakpoint-up($breakpoint) {
+ .pull-#{$breakpoint}-left {
+ @include pull-left();
+ }
+ .pull-#{$breakpoint}-right {
+ @include pull-right();
+ }
+ .pull-#{$breakpoint}-none {
+ float: none !important;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_screenreaders.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_screenreaders.scss b/assets/css/_sass/bootstrap/utilities/_screenreaders.scss
new file mode 100644
index 0000000..9f26fde
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_screenreaders.scss
@@ -0,0 +1,11 @@
+//
+// Screenreaders
+//
+
+.sr-only {
+ @include sr-only();
+}
+
+.sr-only-focusable {
+ @include sr-only-focusable();
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_spacing.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_spacing.scss b/assets/css/_sass/bootstrap/utilities/_spacing.scss
new file mode 100644
index 0000000..b7ff044
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_spacing.scss
@@ -0,0 +1,43 @@
+// Width
+
+.w-100 { width: 100% !important; }
+
+// Margin and Padding
+
+.m-x-auto {
+ margin-right: auto !important;
+ margin-left: auto !important;
+}
+
+@each $prop, $abbrev in (margin: m, padding: p) {
+ @each $size, $lengths in $spacers {
+ $length-x: map-get($lengths, x);
+ $length-y: map-get($lengths, y);
+
+ .#{$abbrev}-a-#{$size} { #{$prop}: $length-y $length-x !important; } // a = All sides
+ .#{$abbrev}-t-#{$size} { #{$prop}-top: $length-y !important; }
+ .#{$abbrev}-r-#{$size} { #{$prop}-right: $length-x !important; }
+ .#{$abbrev}-b-#{$size} { #{$prop}-bottom: $length-y !important; }
+ .#{$abbrev}-l-#{$size} { #{$prop}-left: $length-x !important; }
+
+ // Axes
+ .#{$abbrev}-x-#{$size} {
+ #{$prop}-right: $length-x !important;
+ #{$prop}-left: $length-x !important;
+ }
+ .#{$abbrev}-y-#{$size} {
+ #{$prop}-top: $length-y !important;
+ #{$prop}-bottom: $length-y !important;
+ }
+ }
+}
+
+// Positioning
+
+.pos-f-t {
+ position: fixed;
+ top: 0;
+ right: 0;
+ left: 0;
+ z-index: $zindex-navbar-fixed;
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_text.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_text.scss b/assets/css/_sass/bootstrap/utilities/_text.scss
new file mode 100644
index 0000000..901f771
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_text.scss
@@ -0,0 +1,51 @@
+//
+// Text
+//
+
+// Alignment
+
+.text-justify { text-align: justify !important; }
+.text-nowrap { white-space: nowrap !important; }
+.text-truncate { @include text-truncate; }
+
+// Responsive alignment
+
+@each $breakpoint in map-keys($grid-breakpoints) {
+ @include media-breakpoint-up($breakpoint) {
+ .text-#{$breakpoint}-left { text-align: left !important; }
+ .text-#{$breakpoint}-right { text-align: right !important; }
+ .text-#{$breakpoint}-center { text-align: center !important; }
+ }
+}
+
+// Transformation
+
+.text-lowercase { text-transform: lowercase !important; }
+.text-uppercase { text-transform: uppercase !important; }
+.text-capitalize { text-transform: capitalize !important; }
+
+// Weight and italics
+
+.font-weight-normal { font-weight: normal; }
+.font-weight-bold { font-weight: bold; }
+.font-italic { font-style: italic; }
+
+// Contextual colors
+
+@include text-emphasis-variant('.text-muted', $text-muted);
+
+@include text-emphasis-variant('.text-primary', $brand-primary);
+
+@include text-emphasis-variant('.text-success', $brand-success);
+
+@include text-emphasis-variant('.text-info', $brand-info);
+
+@include text-emphasis-variant('.text-warning', $brand-warning);
+
+@include text-emphasis-variant('.text-danger', $brand-danger);
+
+// Misc
+
+.text-hide {
+ @include text-hide();
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/_sass/bootstrap/utilities/_visibility.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/bootstrap/utilities/_visibility.scss b/assets/css/_sass/bootstrap/utilities/_visibility.scss
new file mode 100644
index 0000000..6389167
--- /dev/null
+++ b/assets/css/_sass/bootstrap/utilities/_visibility.scss
@@ -0,0 +1,57 @@
+// scss-lint:disable ImportantRule
+
+//
+// Visibility utilities
+//
+
+.invisible {
+ visibility: hidden !important;
+}
+
+// Responsive visibility utilities
+
+@each $bp in map-keys($grid-breakpoints) {
+ .hidden-#{$bp}-up {
+ @include media-breakpoint-up($bp) {
+ display: none !important;
+ }
+ }
+ .hidden-#{$bp}-down {
+ @include media-breakpoint-down($bp) {
+ display: none !important;
+ }
+ }
+}
+
+
+// Print utilities
+//
+// Media queries are placed on the inside to be mixin-friendly.
+
+.visible-print-block {
+ display: none !important;
+
+ @media print {
+ display: block !important;
+ }
+}
+.visible-print-inline {
+ display: none !important;
+
+ @media print {
+ display: inline !important;
+ }
+}
+.visible-print-inline-block {
+ display: none !important;
+
+ @media print {
+ display: inline-block !important;
+ }
+}
+
+.hidden-print {
+ @media print {
+ display: none !important;
+ }
+}
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/css/main.scss
----------------------------------------------------------------------
diff --git a/assets/css/main.scss b/assets/css/main.scss
new file mode 100644
index 0000000..6c66037
--- /dev/null
+++ b/assets/css/main.scss
@@ -0,0 +1,13 @@
+---
+---
+
+@charset "utf-8";
+
+$basePath: '{{ site.baseurl }}';
+@import "settings";
+
+// Import partials from `sass_dir` (defaults to `_sass`)
+@import "bootstrap/bootstrap";
+@import "bootstrap/bootstrap-grid";
+@import "bootstrap-slider/bootstrap-slider";
+@import "bootstrap-toggle";
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f540ddfb/assets/fonts/glyphicons-halflings-regular.eot
----------------------------------------------------------------------
diff --git a/assets/fonts/glyphicons-halflings-regular.eot b/assets/fonts/glyphicons-halflings-regular.eot
new file mode 100644
index 0000000..b93a495
Binary files /dev/null and b/assets/fonts/glyphicons-halflings-regular.eot differ