testtheme 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +107 -0
  4. data/README.md~ +111 -0
  5. data/_includes/contribute-links.html +11 -0
  6. data/_includes/doc-side-nav.html +62 -0
  7. data/_includes/doc-top-nav.html +17 -0
  8. data/_includes/figure.html +22 -0
  9. data/_includes/footer.html +51 -0
  10. data/_includes/footer.html~ +52 -0
  11. data/_includes/home.html +4 -0
  12. data/_includes/nav.html +45 -0
  13. data/_includes/nav.html~ +45 -0
  14. data/_includes/search-box.html +14 -0
  15. data/_includes/search-box.html~ +14 -0
  16. data/_includes/section-index.html +42 -0
  17. data/_layouts/about.html +12 -0
  18. data/_layouts/base.html +82 -0
  19. data/_layouts/base.html~ +82 -0
  20. data/_layouts/blog.html +17 -0
  21. data/_layouts/bugs.html +12 -0
  22. data/_layouts/community.html +12 -0
  23. data/_layouts/compress.html +10 -0
  24. data/_layouts/default.html +12 -0
  25. data/_layouts/docs.html +62 -0
  26. data/_layouts/docs.html~ +22 -0
  27. data/_layouts/faq.html +10 -0
  28. data/_layouts/landing.html +8 -0
  29. data/_layouts/post.html +26 -0
  30. data/_layouts/search-results.html +35 -0
  31. data/_layouts/troubleshooting.html +12 -0
  32. data/_sass/base/_common.scss +89 -0
  33. data/_sass/base/_config.scss +59 -0
  34. data/_sass/base/_markdown.scss +114 -0
  35. data/_sass/base/_override.scss +82 -0
  36. data/_sass/base/_reset.scss +72 -0
  37. data/_sass/base/_text.scss +46 -0
  38. data/_sass/layouts/_about.scss +2 -0
  39. data/_sass/layouts/_blog.scss +142 -0
  40. data/_sass/layouts/_bugs.scss +2 -0
  41. data/_sass/layouts/_community.scss +14 -0
  42. data/_sass/layouts/_docs.scss +42 -0
  43. data/_sass/layouts/_faq.scss +25 -0
  44. data/_sass/layouts/_landing.scss +192 -0
  45. data/_sass/layouts/_post.scss +12 -0
  46. data/_sass/layouts/_search-results.scss +11 -0
  47. data/_sass/layouts/_troubleshooting.scss +2 -0
  48. data/_sass/layouts/_welcome.scss +2 -0
  49. data/_sass/main.scss +32 -0
  50. data/_sass/materialize/components/_buttons.scss +199 -0
  51. data/_sass/materialize/components/_color.scss +412 -0
  52. data/_sass/materialize/components/_global.scss +32 -0
  53. data/_sass/materialize/components/_mixins.scss +5 -0
  54. data/_sass/materialize/components/_roboto.scss +49 -0
  55. data/_sass/materialize/components/_variables.scss +309 -0
  56. data/_sass/materialize/components/_waves.scss +173 -0
  57. data/_sass/materialize/materialize.scss +15 -0
  58. data/_sass/modules/_buttons.scss +88 -0
  59. data/_sass/modules/_contribute-links.scss +64 -0
  60. data/_sass/modules/_doc-nav.scss +111 -0
  61. data/_sass/modules/_footer.scss +114 -0
  62. data/_sass/modules/_hero.scss +34 -0
  63. data/_sass/modules/_nav.scss +83 -0
  64. data/_sass/modules/_nav.scss~ +214 -0
  65. data/_sass/modules/_search-box.scss +47 -0
  66. data/_sass/modules/_section-index.scss +22 -0
  67. data/_sass/modules/_subscribe-form.scss +47 -0
  68. data/_sass/modules/_syntax-highlighting.scss +62 -0
  69. data/_sass/modules/_toc.scss +62 -0
  70. data/_sass/pages/_about.scss +374 -0
  71. data/_sass/pages/_blog.scss +149 -0
  72. data/_sass/pages/_community.scss +119 -0
  73. data/_sass/pages/_contribute.scss +5 -0
  74. data/_sass/pages/_docs.scss +72 -0
  75. data/_sass/pages/_faq.scss +37 -0
  76. data/_sass/pages/_glossary.scss +38 -0
  77. data/_sass/pages/_landing.scss +111 -0
  78. data/assets/css/styles.scss +71 -0
  79. data/assets/fonts/roboto/Roboto-Bold.eot +0 -0
  80. data/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  81. data/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  82. data/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  83. data/assets/fonts/roboto/Roboto-Light.eot +0 -0
  84. data/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  85. data/assets/fonts/roboto/Roboto-Light.woff +0 -0
  86. data/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  87. data/assets/fonts/roboto/Roboto-Medium.eot +0 -0
  88. data/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  89. data/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  90. data/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  91. data/assets/fonts/roboto/Roboto-Regular.eot +0 -0
  92. data/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  93. data/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  94. data/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  95. data/assets/fonts/roboto/Roboto-Thin.eot +0 -0
  96. data/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  97. data/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  98. data/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  99. data/assets/img/caret-dark.svg +7 -0
  100. data/assets/img/caret.svg +7 -0
  101. data/assets/img/external-link-dark.svg +13 -0
  102. data/assets/img/external-link-icon.png +0 -0
  103. data/assets/img/external-link.svg +13 -0
  104. data/assets/img/github-dark.svg +15 -0
  105. data/assets/img/github-ribbon.svg +128 -0
  106. data/assets/img/github.png +0 -0
  107. data/assets/img/github.svg +15 -0
  108. data/assets/img/group.png +0 -0
  109. data/assets/img/hero-bg.png +0 -0
  110. data/assets/img/icon_github.svg +15 -0
  111. data/assets/img/more-arrow-dark.svg +13 -0
  112. data/assets/img/more-arrow.png +0 -0
  113. data/assets/img/more-arrow.svg +13 -0
  114. data/assets/img/slack.png +0 -0
  115. data/assets/img/stackoverflow.png +0 -0
  116. data/assets/img/x.svg +8 -0
  117. metadata +201 -0
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% include home.html %}
5
+ {% include doc-top-nav.html %}
6
+ <div class="container">
7
+ <div class="row">
8
+ <div class="col-md-11 nofloat center-block ">
9
+ <div class="row">
10
+ <div class="col-sm-3">
11
+ {% include doc-side-nav.html %}
12
+ </div>
13
+ <div class="col-sm-9 {{ page.type }}">
14
+ <div id="toc" class=""></div>
15
+ {{ content }}
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
21
+
22
+ <script src="{{home}}/js/copyToClipboard.js"></script>
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="container faq">
5
+ <div class="row">
6
+ <div class="col-sm-12 col-md-10 col-lg-7 nofloat center-block {{page.type}}">
7
+ {{ content }}
8
+ </div>
9
+ </div>
10
+ </div>
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% include home.html %}
5
+
6
+ <div class="landing">
7
+ {{ content }}
8
+ </div>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% include home.html %}
5
+
6
+ <div class="container">
7
+ <div class="row">
8
+ <div class="col-sm-12 col-md-10 col-lg-7 nofloat center-block {{page.type}}">
9
+ <article class="post-wrapper">
10
+ <h1>{{ page.title }}</h1>
11
+ <div class="postdate">
12
+ Posted on {{ page.date | date: "%A, %B %d %Y" }}.
13
+ </div>
14
+ <div class="content">
15
+ {{ content }}
16
+ </div>
17
+
18
+ {% if page.attribution %}
19
+ <div class="content-attribution">
20
+ {{ page.attribution }}
21
+ </div>
22
+ {% endif %}
23
+ </article>
24
+ </div>
25
+ </div>
26
+ </div>
@@ -0,0 +1,35 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <style>
6
+ .gsc-table-cell-snippet-close, .gsc-table-cell-snippet-open {
7
+ padding: 6px;
8
+ }
9
+
10
+ .gsc-input-box {
11
+ height: 35px;
12
+ }
13
+ </style>
14
+
15
+ <div class="container search-results">
16
+ <div class="row">
17
+ <div class="col-sm-12 col-md-10 col-lg-7 nofloat center-block {{page.type}}">
18
+ {{ content }}
19
+ </div>
20
+ </div>
21
+ </div>
22
+
23
+ <script>
24
+ function getParameterByName(name, url) {
25
+ if (!url) url = window.location.href;
26
+ name = name.replace(/[\[\]]/g, "\\$&");
27
+ var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
28
+ results = regex.exec(url);
29
+ if (!results) return null;
30
+ if (!results[2]) return '';
31
+ return decodeURIComponent(results[2].replace(/\+/g, " "));
32
+ }
33
+ var q = getParameterByName('q', window.location.href);
34
+ document.getElementsByName('q')[0].value = q;
35
+ </script>
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% include home.html %}
5
+
6
+ <div class="container troubleshooting">
7
+ <div class="row">
8
+ <div class="col-sm-12 col-md-10 col-lg-7 nofloat center-block {{page.type}}">
9
+ {{ content }}
10
+ </div>
11
+ </div>
12
+ </div>
@@ -0,0 +1,89 @@
1
+ // Shared
2
+ .vpad {
3
+ padding-top: $vpad;
4
+ }
5
+
6
+ .page-title-bar{
7
+ background-color: $thirdBrandColor;
8
+ border-top: 3px solid $lightPopBrandColor;
9
+ padding-top: 20px;
10
+ padding-bottom: 30px;
11
+
12
+ .fa {
13
+ color: $popBrandColor;
14
+ }
15
+ }
16
+
17
+ .page-spacer {
18
+ height: 100px;
19
+ }
20
+
21
+ .section {
22
+ padding: 50px 0;
23
+ position: relative;
24
+ }
25
+
26
+ .section-divider {
27
+ border-bottom: 2px solid #e3e3e3;
28
+ margin: 0;
29
+ width: 100%;
30
+ }
31
+
32
+ // Tables are table-y
33
+ table,
34
+ th,
35
+ td {
36
+ border: 1px solid lighten($textColor, 20%);
37
+ padding: 6px
38
+ }
39
+
40
+ table {
41
+ border-collapse: collapse;
42
+ }
43
+
44
+ th {
45
+ background-color: $thirdBrandColor;
46
+ }
47
+
48
+ // Tabs are tabby
49
+ .ui-widget-content {
50
+ font-size: $font-size--primary !important;
51
+ font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
52
+ color: $textColor !important;
53
+ }
54
+
55
+ .ui-widget-content a {
56
+ color: $mainBrandColor !important;
57
+ }
58
+
59
+ .ui-widget-content a:hover, a:focus {
60
+ color: $linkHoverColor !important;
61
+ }
62
+
63
+
64
+ #content-container{
65
+ /* overrides overflow:visible, which overlays on top of floating elements, i.e. the toc on /docs/reference/commands/istioctl.html */
66
+ code[class*="language-"], pre[class*="language-"]{
67
+ // z-index: -1;
68
+ }
69
+
70
+ div.toolbar {
71
+ top: -2px;
72
+ }
73
+
74
+ .toolbar-item {
75
+ a {
76
+ background-color: $mainBrandColor;
77
+ color: $white;
78
+ }
79
+ }
80
+ }
81
+
82
+ .code-block {
83
+ overflow:auto;
84
+ margin-bottom:-10px;
85
+
86
+ pre[class*="language-"] {
87
+ border-left-width: 4px;
88
+ }
89
+ }
@@ -0,0 +1,59 @@
1
+ // Font
2
+ $font-size--primary : 1rem;
3
+ $font-size--xxs : .8rem;
4
+ $font-size--xs : 1rem;
5
+ $font-size--s : 1.15rem;
6
+ $font-size--m : 1.65rem;
7
+ $font-size--l : 1.85rem;
8
+ $font-size--xl : 2rem;
9
+ $font-size--xxl : 2.5rem;
10
+
11
+ // General dimensions and spacing
12
+ $spacing--xxxxs : 4px;
13
+ $spacing--xxxs : 6px;
14
+ $spacing--xxs : 8px;
15
+ $spacing--xs : 10px;
16
+ $spacing--s : 15px;
17
+ $spacing--m : 20px;
18
+ $spacing--l : 25px;
19
+ $spacing--xl : 30px;
20
+ $spacing--xxl : 40px;
21
+ $spacing--xxxl : 50px;
22
+ $max-width : 975px;
23
+ $nav-menu-height : 90px;
24
+
25
+ // Transitions
26
+ $transition--primary : all .3s ease;
27
+ $transition--secondary : all .6s cubic-bezier(0.3, 0.9, 0.2, 1);
28
+ $transition--tertiary : all .3s cubic-bezier(0.93,0.7,0.4,0.57);
29
+ $transition-fast : all .2s ease;
30
+ $transition-slow : all 1s ease;
31
+
32
+ // Responsive
33
+ $phone-small : 320px;
34
+ $phone-medium : 480px;
35
+ $phone-large : 512px;
36
+ $phone-xlarge : 640px;
37
+ $tablet : 768px;
38
+ $desktop-small : 1024px;
39
+ $desktop-medium : 1280px;
40
+ $desktop-large : 1440px;
41
+ $mobile : $desktop-small;
42
+
43
+ @media(min-width: $desktop-large){
44
+ .container {
45
+ width: 1410px;
46
+ }
47
+ }
48
+
49
+ // Z-index
50
+ $z-below-bottom : -1;
51
+ $z-bottom : 0;
52
+ $z-middle-bottom : 5;
53
+ $z-middle : 10;
54
+ $z-middle-top : 15;
55
+ $z-top : 900;
56
+ $z-above-top : 1000;
57
+
58
+ // Helper vars
59
+ $vpad: 20px;
@@ -0,0 +1,114 @@
1
+ .markdown {
2
+ padding-bottom: 60px;
3
+
4
+ // Text Blocks
5
+ p {
6
+ margin: 10px 0;
7
+ font-weight: 300;
8
+ line-height: 1.5;
9
+ @media (min-width: $tablet) {
10
+ margin: 20px 0;
11
+ }
12
+ }
13
+
14
+ em {
15
+ font-style: italic;
16
+ }
17
+
18
+ strong {
19
+ font-weight: bold;
20
+ }
21
+
22
+ img {
23
+ width: 100%;
24
+ }
25
+
26
+ // List Items
27
+ li {
28
+ line-height: 24px;
29
+ margin: 5px;
30
+ }
31
+
32
+ // Paragraphs inside list items whether you want them or not (thanks, Markdown)
33
+ li p {
34
+ margin: 5px 0px;
35
+ }
36
+
37
+ // Lists
38
+ ol,
39
+ ul {
40
+ list-style: initial;
41
+ font-size: $font-size--primary;
42
+ font-weight: 300;
43
+ margin: 0 20px;
44
+
45
+ @media (max-width: 768px) {
46
+ //margin: 0;
47
+ }
48
+ }
49
+
50
+ ol {
51
+ list-style: decimal;
52
+ }
53
+
54
+ h1 {
55
+ color: $secondBrandColor;
56
+ }
57
+
58
+ // Section Headlines
59
+ h2 {
60
+ margin-bottom: 20px;
61
+ margin-top: 30px;
62
+ padding-bottom: 10px;
63
+ border-bottom: 1px;
64
+ border-color: $gray;
65
+ border-style: solid;
66
+ }
67
+
68
+ // Section Headlines
69
+ h3 {
70
+ color: $dark-gray;
71
+ letter-spacing: 1px;
72
+ margin-bottom: 20px;
73
+ margin-top: 30px;
74
+ }
75
+
76
+ // Section Subheadlines
77
+ h4 {
78
+ margin: 30px 0 20px;
79
+ color: $dark-gray;
80
+
81
+ // Text immediately following h4 should have same level of indention
82
+ + p {
83
+ margin: 10px 0;
84
+
85
+ @media (max-width: 768px) {
86
+ margin: 5px 0;
87
+ }
88
+ }
89
+ }
90
+
91
+ pre {
92
+ margin: 5px 25px;
93
+
94
+ @media (max-width: 768px) {
95
+ margin: 5px 0;
96
+ }
97
+ }
98
+
99
+ blockquote {
100
+ display: block;
101
+ margin-top: 1em;
102
+ margin-bottom: 1em;
103
+ margin-left: 40px;
104
+ margin-right: 40px;
105
+ background-color: $light-gray;
106
+ }
107
+
108
+ // Lead Text Block
109
+ .lead {
110
+ margin: 0 0 30px;
111
+ color: $dark-gray;
112
+ font-size: 18px;
113
+ }
114
+ }
@@ -0,0 +1,82 @@
1
+
2
+ // Override Bootstrap defaults
3
+ body {
4
+ color: $textColor;
5
+ font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
6
+ }
7
+
8
+ a {
9
+ color: $mainBrandColor;
10
+ font-weight: 500;
11
+ }
12
+
13
+ a:hover,
14
+ a:focus {
15
+ color: $linkHoverColor;
16
+ }
17
+
18
+ a.disabled {
19
+ color: #CCCCCC;
20
+ }
21
+
22
+ p,
23
+ li {line-height: 22px;}
24
+
25
+ p.note {
26
+ background-color: $thirdBrandColor;
27
+ padding: 9.5px;
28
+ }
29
+
30
+ p.note code {
31
+ background-color: $thirdBrandColor !important;
32
+ }
33
+
34
+ pre {
35
+ max-height: 500px;
36
+ }
37
+
38
+ .inverse {
39
+ background-color: $mainBrandColor;
40
+ color: white;
41
+
42
+ &.inverse-light {
43
+ background-color: $thirdBrandColor;
44
+ }
45
+
46
+ a {
47
+ color: $inverseBrandColor;
48
+ }
49
+
50
+ a:hover,
51
+ a:focus {
52
+ color: $linkHoverColor;
53
+ }
54
+ }
55
+
56
+ .nofloat {
57
+ float: none;
58
+ }
59
+
60
+ .lead {
61
+ color: $titleColor;
62
+ }
63
+
64
+ // Fix Bootstrap mobile menu colors on inverse navbar.
65
+ .navbar-toggle .icon-bar {
66
+ background-color: $inverseBrandColor;
67
+ }
68
+
69
+ figure {
70
+ text-align: center;
71
+ margin-top: 20px;
72
+ margin-bottom: 20px;
73
+
74
+ img {
75
+ max-width: 75%;
76
+ }
77
+
78
+ figcaption {
79
+ margin-top: 10px;
80
+ text-align: center;
81
+ }
82
+ }