jekyll-theme-hydejack 6.6.1 → 7.0.0.pre.beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +617 -17
  3. data/README.md +18 -11
  4. data/_includes/about.html +3 -2
  5. data/_includes/author.html +18 -11
  6. data/_includes/avatar-tag.html +4 -0
  7. data/_includes/body.html +21 -31
  8. data/_includes/body/menu.html +11 -0
  9. data/_includes/body/scripts.html +18 -0
  10. data/_includes/comments.html +6 -4
  11. data/_includes/footer.html +3 -5
  12. data/_includes/head.html +4 -142
  13. data/_includes/head/links.html +25 -0
  14. data/_includes/head/meta.html +30 -0
  15. data/_includes/head/scripts.html +44 -0
  16. data/_includes/head/seo-fallback.html +13 -0
  17. data/_includes/head/seo-tag.html +4 -0
  18. data/_includes/head/styles.html +24 -0
  19. data/_includes/header.txt +1 -1
  20. data/_includes/link.html +9 -2
  21. data/_includes/message.html +12 -7
  22. data/_includes/my-scripts.html +14 -5
  23. data/_includes/nav.html +20 -13
  24. data/_includes/page-style.html +33 -3
  25. data/_includes/pagination.html +8 -12
  26. data/_includes/post-list-item.html +4 -6
  27. data/_includes/post.html +20 -13
  28. data/_includes/related-posts.html +23 -0
  29. data/_includes/scripts/load-disqus.js +1 -2
  30. data/_includes/scripts/load-disqus.min.js +1 -1
  31. data/_includes/scripts/load-js-deferred.js +47 -43
  32. data/_includes/scripts/load-js-deferred.min.js +1 -1
  33. data/_includes/sidebar.html +25 -14
  34. data/_includes/social-list-item.html +1 -1
  35. data/_includes/social.html +16 -10
  36. data/_includes/srcset-img.html +5 -5
  37. data/_includes/styles/inline.scss +31 -33
  38. data/_includes/styles/style.scss +69 -55
  39. data/_includes/tag-list.html +1 -1
  40. data/_includes/templates.html +32 -0
  41. data/_layouts/about.html +10 -3
  42. data/_layouts/base.html +17 -10
  43. data/_layouts/compress.html +3 -11
  44. data/_layouts/default.html +7 -5
  45. data/_layouts/home.html +7 -5
  46. data/_layouts/list.html +10 -4
  47. data/_layouts/not-found.html +14 -5
  48. data/_layouts/page.html +1 -1
  49. data/_layouts/post.html +12 -2
  50. data/_layouts/redirect.html +1 -1
  51. data/_sass/_mixins.scss +9 -3
  52. data/_sass/_reboot-mod.scss +286 -0
  53. data/_sass/_spinner.scss +23 -80
  54. data/_sass/_syntax.scss +1 -1
  55. data/_sass/_variables.scss +9 -11
  56. data/_sass/hydejack/__inline/_avatar.scss +27 -0
  57. data/_sass/hydejack/__inline/_base.scss +99 -0
  58. data/_sass/hydejack/__inline/_break-layout.scss +12 -0
  59. data/_sass/hydejack/__inline/_content.scss +43 -0
  60. data/_sass/hydejack/__inline/_footer.scss +12 -0
  61. data/_sass/hydejack/__inline/_katex.scss +12 -0
  62. data/_sass/hydejack/__inline/_mark-external.scss +36 -0
  63. data/_sass/hydejack/__inline/_menu.scss +50 -0
  64. data/_sass/hydejack/__inline/_sidebar.scss +129 -0
  65. data/_sass/hydejack/__inline/_social.scss +42 -0
  66. data/_sass/hydejack/__link/_avatar.scss +17 -0
  67. data/_sass/hydejack/__link/_base.scss +93 -0
  68. data/_sass/hydejack/__link/_break-layout.scss +69 -0
  69. data/_sass/hydejack/__link/_content.scss +12 -0
  70. data/_sass/hydejack/__link/_footer.scss +26 -0
  71. data/_sass/hydejack/__link/_katex.scss +45 -0
  72. data/_sass/hydejack/__link/_mark-external.scss +36 -0
  73. data/_sass/hydejack/__link/_menu.scss +37 -0
  74. data/_sass/hydejack/__link/_sidebar.scss +156 -0
  75. data/_sass/hydejack/__link/_social.scss +12 -0
  76. data/_sass/hydejack/_avatar.pre.scss +18 -0
  77. data/_sass/hydejack/_base.pre.scss +133 -0
  78. data/_sass/hydejack/_break-layout.pre.scss +58 -0
  79. data/_sass/hydejack/{_content-inline.scss → _content.pre.scss} +5 -5
  80. data/_sass/hydejack/{_footer-inline.scss → _footer.pre.scss} +2 -5
  81. data/_sass/hydejack/{_katex.scss → _katex.pre.scss} +6 -3
  82. data/_sass/hydejack/_mark-external.pre.scss +25 -0
  83. data/_sass/hydejack/_menu.pre.scss +53 -0
  84. data/_sass/hydejack/_sidebar.pre.scss +188 -0
  85. data/_sass/hydejack/{_social-inline.scss → _social.pre.scss} +6 -11
  86. data/_sass/pooleparty/{_base-inline.scss → __inline/_base.scss} +15 -17
  87. data/_sass/pooleparty/__inline/_code.scss +17 -0
  88. data/_sass/pooleparty/__inline/_footer.scss +12 -0
  89. data/_sass/pooleparty/__inline/_footnotes.scss +16 -0
  90. data/_sass/pooleparty/__inline/_message.scss +26 -0
  91. data/_sass/pooleparty/__inline/_pagination.scss +17 -0
  92. data/_sass/pooleparty/__inline/_posts.scss +41 -0
  93. data/_sass/pooleparty/__inline/_related.scss +25 -0
  94. data/_sass/pooleparty/__inline/_table.scss +39 -0
  95. data/_sass/pooleparty/__inline/_type.scss +83 -0
  96. data/_sass/pooleparty/__link/_base.scss +26 -0
  97. data/_sass/pooleparty/__link/_code.scss +54 -0
  98. data/_sass/pooleparty/__link/_footer.scss +12 -0
  99. data/_sass/pooleparty/__link/_footnotes.scss +57 -0
  100. data/_sass/pooleparty/__link/_message.scss +17 -0
  101. data/_sass/pooleparty/__link/_pagination.scss +78 -0
  102. data/_sass/pooleparty/__link/_posts.scss +30 -0
  103. data/_sass/pooleparty/__link/_related.scss +14 -0
  104. data/_sass/pooleparty/{_table.scss → __link/_table.scss} +71 -46
  105. data/_sass/pooleparty/__link/_type.scss +144 -0
  106. data/_sass/pooleparty/_base.pre.scss +54 -0
  107. data/_sass/pooleparty/_code.pre.scss +43 -0
  108. data/_sass/pooleparty/_footer.pre.scss +1 -0
  109. data/_sass/pooleparty/{_footnotes.scss → _footnotes.pre.scss} +17 -4
  110. data/_sass/pooleparty/{_message-inline.scss → _message.pre.scss} +2 -0
  111. data/_sass/pooleparty/{_pagination.scss → _pagination.pre.scss} +7 -6
  112. data/_sass/pooleparty/{_posts-inline.scss → _posts.pre.scss} +16 -15
  113. data/_sass/pooleparty/{_related-inline.scss → _related.pre.scss} +5 -6
  114. data/_sass/pooleparty/_table.pre.scss +161 -0
  115. data/_sass/pooleparty/_type.pre.scss +198 -0
  116. data/assets/icomoon/fonts/icomoon.eot +0 -0
  117. data/assets/icomoon/fonts/icomoon.svg +9 -3
  118. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  119. data/assets/icomoon/fonts/icomoon.woff +0 -0
  120. data/assets/icomoon/selection.json +250 -76
  121. data/assets/icomoon/style.css +26 -8
  122. data/assets/icons/apple-touch-icon.png +0 -0
  123. data/assets/icons/favicon.ico +0 -0
  124. data/assets/icons/icon.png +0 -0
  125. data/assets/icons/icon@0,25x.png +0 -0
  126. data/assets/icons/icon@0,5x.png +0 -0
  127. data/assets/icons/icon@0,75x.png +0 -0
  128. data/assets/icons/icon@2x.png +0 -0
  129. data/assets/icons/icon@3x.png +0 -0
  130. data/assets/icons/tile-large.png +0 -0
  131. data/assets/icons/tile-medium.png +0 -0
  132. data/assets/icons/tile-small.png +0 -0
  133. data/assets/icons/tile-wide.png +0 -0
  134. data/assets/ieconfig.xml +15 -0
  135. data/assets/img/sidebar-bg.jpg +0 -0
  136. data/assets/js/hydejack.js +2 -2
  137. data/assets/manifest.json +45 -0
  138. data/assets/version.json +1 -1
  139. data/licenses/Apache-2.0.md +55 -47
  140. data/licenses/GPL-3.0.md +623 -0
  141. data/licenses/MIT.md +1 -0
  142. data/licenses/PRO.md +142 -0
  143. metadata +103 -99
  144. data/_includes/related.html +0 -41
  145. data/_includes/scripts.html +0 -17
  146. data/_sass/hydejack/_base-inline.scss +0 -143
  147. data/_sass/hydejack/_base.scss +0 -143
  148. data/_sass/hydejack/_drawer-inline.scss +0 -19
  149. data/_sass/hydejack/_drawer.scss +0 -19
  150. data/_sass/hydejack/_me-inline.scss +0 -24
  151. data/_sass/hydejack/_menu-inline.scss +0 -56
  152. data/_sass/hydejack/_menu.scss +0 -56
  153. data/_sass/hydejack/_sidebar-inline.scss +0 -118
  154. data/_sass/hydejack/_sidebar.scss +0 -115
  155. data/_sass/hydejack/_social.scss +0 -36
  156. data/_sass/hydejack/_toc.scss +0 -2
  157. data/_sass/pooleparty/_base.scss +0 -60
  158. data/_sass/pooleparty/_code.scss +0 -82
  159. data/_sass/pooleparty/_footer-inline.scss +0 -3
  160. data/_sass/pooleparty/_posts.scss +0 -41
  161. data/_sass/pooleparty/_table-inline.scss +0 -130
  162. data/_sass/pooleparty/_type-inline.scss +0 -124
  163. data/_sass/pooleparty/_type.scss +0 -124
  164. data/assets/icomoon/Read Me.txt +0 -7
  165. data/assets/icomoon/demo-files/demo.css +0 -152
  166. data/assets/icomoon/demo-files/demo.js +0 -30
  167. data/assets/icomoon/demo.html +0 -1206
  168. data/assets/img/nap.jpg +0 -0
  169. data/assets/img/projects/hyde-v1.jpg +0 -0
  170. data/assets/img/projects/hyde-v1@0,25x.jpg +0 -0
  171. data/assets/img/projects/hyde-v1@0,5x.jpg +0 -0
  172. data/assets/img/projects/hyde-v2.jpg +0 -0
  173. data/assets/img/projects/hyde-v2@0,25x.jpg +0 -0
  174. data/assets/img/projects/hyde-v2@0,5x.jpg +0 -0
  175. data/licenses/PRO-license.md +0 -147
@@ -2,10 +2,12 @@
2
2
  layout: base
3
3
  ---
4
4
 
5
+ {% assign strings = site.data.strings %}
6
+
5
7
  <article class="page" role="article">
6
8
  <header>
7
- <h1 class="page-title">{{ page.title | default:"Home"}}</h1>
8
- {% include message.html text=page.description %}
9
+ <h1 class="page-title">{{ page.title | default:strings.home | default:"Home"}}</h1>
10
+ {% include message.html text=page.description hide=page.no_description %}
9
11
  </header>
10
12
 
11
13
  {{ content }}
@@ -13,7 +15,7 @@ layout: base
13
15
  <hr class="dingbat"/>
14
16
 
15
17
  {% if site.posts.size > 0 %}
16
- <h2 class="hr">Posts</h2>
18
+ <h2 class="hr">{{ strings.posts | default:"Posts" }}</h2>
17
19
  <ul class="related-posts">
18
20
  {% for post in site.posts limit:5 %}
19
21
  {% include post-list-item.html post=post %}
@@ -23,12 +25,12 @@ layout: base
23
25
 
24
26
  {% assign pages = site.html_pages | where:"layout","page" %}
25
27
  {% if pages.size > 0 %}
26
- <h2 class="hr">Pages</h2>
28
+ <h2 class="hr">{{ strings.pages | default:"Pages" }}</h2>
27
29
  <ul class="related-posts">
28
30
  {% for page in pages limit:5 %}
29
31
  {% if page.layout == 'page' %}
30
32
  <li class="h4">
31
- <a href="{{ page.url | relative_url }}" data-flip="title">
33
+ <a href="{{ page.url | relative_url }}" class="flip-title">
32
34
  <span>{{ page.title }}</span>
33
35
  </a>
34
36
  </li>
@@ -17,19 +17,25 @@ layout: base
17
17
  {% if page.title.size > 0 %}
18
18
  <header>
19
19
  <h1 class="page-title">{{ page.title }}</h1>
20
- {% include message.html text=page.description %}
20
+ {% include message.html text=page.description hide=page.no_description %}
21
21
  </header>
22
22
  <hr class="sr-only"/>
23
23
  {% endif %}
24
24
 
25
+ {{ content }}
26
+
27
+ {% assign date_formats = site.data.strings.date_formats %}
28
+ {% assign list_group_by = date_formats.list_group_by | default:"%Y" %}
29
+ {% assign list_entry = date_formats.list_entry | default:"%d %b" %}
30
+
25
31
  {% for post in posts %}
26
- {% assign currentdate = post.date | date: "%Y" %}
32
+ {% assign currentdate = post.date | date:list_group_by %}
27
33
  {% if currentdate != date %}
28
34
  {% unless forloop.first %}</ul>{% endunless %}
29
- <h2 id="y{{post.date | date: "%Y"}}" class="hr">{{ currentdate }}</h2>
35
+ <h2 id="{{ list_group_by | slugify }}-{{ currentdate | slugify }}" class="hr">{{ currentdate }}</h2>
30
36
  <ul class="related-posts">
31
37
  {% assign date = currentdate %}
32
38
  {% endif %}
33
- {% include post-list-item.html post=post format="%d %b" %}
39
+ {% include post-list-item.html post=post format=list_entry %}
34
40
  {% if forloop.last %}</ul>{% endif %}
35
41
  {% endfor %}
@@ -2,10 +2,19 @@
2
2
  layout: base
3
3
  ---
4
4
 
5
+ {% assign strings = site.data.strings %}
6
+
5
7
  <div class="page">
6
- <h1 class="page-title">{{ page.title | default: "404: Page Not Found" }}</h1>
7
- <p class="lead">
8
- Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
9
- <a href="{{ '/' | relative_url }}">Head back home</a> to try finding it again.
10
- </p>
8
+ <h1 class="page-title">{{ page.title | default:strings.not_found.title | default: "404: Page Not Found" }}</h1>
9
+ {% assign test = page.content | strip_newlines %}
10
+ {% if test != "" %}
11
+ {{ content }}
12
+ {% else %}
13
+ {% capture home_link %}<a href="{{ '/' | relative_url }}">{{ strings.not_found.home_link | default:"Head back home" }}</a>{% endcapture %}
14
+ {% assign text = strings.not_found.message
15
+ | default:"Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <!--home_link--> to try finding it again." %}
16
+ <p class="lead">
17
+ {{ text | replace:"<!--home_link-->", home_link }}
18
+ </p>
19
+ {% endif %}
11
20
  </div>
@@ -5,7 +5,7 @@ layout: base
5
5
  <article class="page" role="article">
6
6
  <header>
7
7
  <h1 class="page-title">{{ page.title }}</h1>
8
- {% include message.html text=page.description %}
8
+ {% include message.html text=page.description hide=page.no_description %}
9
9
  </header>
10
10
 
11
11
  {{ content }}
@@ -4,6 +4,16 @@ layout: base
4
4
 
5
5
  {% include post.html post=page link_title=false %}
6
6
 
7
- {% include about.html %}
7
+ <hr class="dingbat related" />
8
8
 
9
- {% include related.html post=page %}
9
+ {% assign addons = site.hydejack.post_addons %}
10
+ {% unless addons %}{% assign addons = "about,newsletter,related,random" | split:"," %}{% endunless %}
11
+ {% for addon in addons %}
12
+ {% case addon %}
13
+ {% when 'about' %}
14
+ {% include about.html %}
15
+ {% when 'related' %}
16
+ {% include related-posts.html post=post %}
17
+ {% else %}
18
+ {% endcase %}
19
+ {% endfor %}
@@ -3,6 +3,6 @@ layout: base
3
3
  ---
4
4
 
5
5
  <div class="page">
6
- <h1 class="page-title">Redirecting...</h1>
6
+ <h1 class="page-title">{{ site.data.strings.redirecting | default:"Redirecting…" }}</h1>
7
7
  <p class="lead"><a href="{{ page.redirect.to }}">{{ page.redirect.to }}</a></p>
8
8
  </div>
@@ -1,8 +1,14 @@
1
- @mixin pre() {
1
+ @mixin pre($padding: 1rem) {
2
2
  margin-left: -1rem;
3
3
  margin-right: -1rem;
4
- padding: 1rem;
5
- background-color: $gray-bg;
4
+ padding: $padding;
5
+ background-color: $code-bg;
6
+
7
+ @media print {
8
+ width: 100%!important;
9
+ page-break-inside: avoid;
10
+ break-inside: avoid-page;
11
+ }
6
12
  }
7
13
 
8
14
  @mixin aspect-ratio($width, $height) {
@@ -0,0 +1,286 @@
1
+ // Reboot
2
+ //
3
+ // Normalization of HTML elements, manually forked from Normalize.css to remove
4
+ // styles targeting irrelevant browsers while applying new styles.
5
+ //
6
+ // Normalize is licensed MIT. https://github.com/necolas/normalize.css
7
+
8
+
9
+ // Document
10
+ //
11
+ // 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
12
+ // 2. Change the default font family in all browsers.
13
+ // 3. Correct the line height in all browsers.
14
+ // 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
15
+ // 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so
16
+ // we force a non-overlapping, non-auto-hiding scrollbar to counteract.
17
+ // 6. Change the default tap highlight to be completely transparent in iOS.
18
+
19
+ *,
20
+ *::before,
21
+ *::after {
22
+ box-sizing: border-box; // 1
23
+ }
24
+
25
+ html {
26
+ -webkit-text-size-adjust: 100%; // 4
27
+ -ms-text-size-adjust: 100%; // 4
28
+ -ms-overflow-style: scrollbar; // 5
29
+ -webkit-tap-highlight-color: rgba(0,0,0,0); // 6
30
+ }
31
+
32
+ // IE10+ doesn't honor `<meta name="viewport">` in some cases.
33
+ @at-root {
34
+ @-ms-viewport { width: device-width; }
35
+ }
36
+
37
+ // Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
38
+ article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
39
+ display: block;
40
+ }
41
+
42
+ // Suppress the focus outline on elements that cannot be accessed via keyboard.
43
+ // This prevents an unwanted focus outline from appearing around elements that
44
+ // might still respond to pointer events.
45
+ //
46
+ // Credit: https://github.com/suitcss/base
47
+ [tabindex="-1"]:focus {
48
+ outline: none !important;
49
+ }
50
+
51
+ // Abbreviations
52
+ //
53
+ // 1. Remove the bottom border in Firefox 39-.
54
+ // 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
55
+ // 3. Add explicit cursor to indicate changed behavior.
56
+ // 4. Duplicate behavior to the data-* attribute for our tooltip plugin
57
+
58
+ abbr[title],
59
+ abbr[data-original-title] { // 4
60
+ text-decoration: underline; // 2
61
+ text-decoration: underline dotted; // 2
62
+ cursor: help; // 3
63
+ border-bottom: 0; // 1
64
+ }
65
+
66
+ address {
67
+ margin-bottom: 1rem;
68
+ font-style: normal;
69
+ line-height: inherit;
70
+ }
71
+
72
+ //
73
+ // Images and content
74
+ //
75
+
76
+ img {
77
+ vertical-align: middle;
78
+ border-style: none; // Remove the border on images inside links in IE 10-.
79
+ }
80
+
81
+ svg:not(:root) {
82
+ overflow: hidden; // Hide the overflow in IE
83
+ }
84
+
85
+
86
+ // Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
87
+ //
88
+ // In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
89
+ // DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present.
90
+ // However, they DO support removing the click delay via `touch-action: manipulation`.
91
+ // See:
92
+ // * https://getbootstrap.com/docs/4.0/content/reboot/#click-delay-optimization-for-touch
93
+ // * http://caniuse.com/#feat=css-touch-action
94
+ // * https://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay
95
+
96
+ a,
97
+ area,
98
+ button,
99
+ [role="button"],
100
+ input:not([type=range]),
101
+ label,
102
+ select,
103
+ summary,
104
+ textarea {
105
+ touch-action: manipulation;
106
+ }
107
+
108
+ //
109
+ // Figures
110
+ //
111
+
112
+ figure {
113
+ // Apply a consistent margin strategy (matches our type styles).
114
+ margin: 0 0 1rem;
115
+ }
116
+
117
+ //
118
+ // Forms
119
+ //
120
+
121
+ label {
122
+ // Allow labels to use `margin` for spacing.
123
+ display: inline-block;
124
+ margin-bottom: .25rem;
125
+ }
126
+
127
+ // Work around a Firefox/IE bug where the transparent `button` background
128
+ // results in a loss of the default `button` focus styles.
129
+ //
130
+ // Credit: https://github.com/suitcss/base/
131
+ button:focus {
132
+ outline: 1px dotted;
133
+ outline: 5px auto -webkit-focus-ring-color;
134
+ }
135
+
136
+ input,
137
+ button,
138
+ select,
139
+ optgroup,
140
+ textarea {
141
+ margin: 0; // Remove the margin in Firefox and Safari
142
+ font-family: inherit;
143
+ font-size: inherit;
144
+ line-height: inherit;
145
+ }
146
+
147
+ button,
148
+ input {
149
+ overflow: visible; // Show the overflow in Edge
150
+ }
151
+
152
+ button,
153
+ select {
154
+ text-transform: none; // Remove the inheritance of text transform in Firefox
155
+ }
156
+
157
+ // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
158
+ // controls in Android 4.
159
+ // 2. Correct the inability to style clickable types in iOS and Safari.
160
+ button,
161
+ html [type="button"], // 1
162
+ [type="reset"],
163
+ [type="submit"] {
164
+ -webkit-appearance: button; // 2
165
+ }
166
+
167
+ // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
168
+ button::-moz-focus-inner,
169
+ [type="button"]::-moz-focus-inner,
170
+ [type="reset"]::-moz-focus-inner,
171
+ [type="submit"]::-moz-focus-inner {
172
+ padding: 0;
173
+ border-style: none;
174
+ }
175
+
176
+ input[type="radio"],
177
+ input[type="checkbox"] {
178
+ box-sizing: border-box; // 1. Add the correct box sizing in IE 10-
179
+ padding: 0; // 2. Remove the padding in IE 10-
180
+ }
181
+
182
+
183
+ input[type="date"],
184
+ input[type="time"],
185
+ input[type="datetime-local"],
186
+ input[type="month"] {
187
+ // Remove the default appearance of temporal inputs to avoid a Mobile Safari
188
+ // bug where setting a custom line-height prevents text from being vertically
189
+ // centered within the input.
190
+ // See https://bugs.webkit.org/show_bug.cgi?id=139848
191
+ // and https://github.com/twbs/bootstrap/issues/11266
192
+ -webkit-appearance: listbox;
193
+ }
194
+
195
+ textarea {
196
+ overflow: auto; // Remove the default vertical scrollbar in IE.
197
+ // Textareas should really only resize vertically so they don't break their (horizontal) containers.
198
+ resize: vertical;
199
+ }
200
+
201
+ fieldset {
202
+ // Browsers set a default `min-width: min-content;` on fieldsets,
203
+ // unlike e.g. `<div>`s, which have `min-width: 0;` by default.
204
+ // So we reset that to ensure fieldsets behave more like a standard block element.
205
+ // See https://github.com/twbs/bootstrap/issues/12359
206
+ // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
207
+ min-width: 0;
208
+ // Reset the default outline behavior of fieldsets so they don't affect page layout.
209
+ padding: 0;
210
+ margin: 0;
211
+ border: 0;
212
+ }
213
+
214
+ // 1. Correct the text wrapping in Edge and IE.
215
+ // 2. Correct the color inheritance from `fieldset` elements in IE.
216
+ legend {
217
+ display: block;
218
+ width: 100%;
219
+ max-width: 100%; // 1
220
+ padding: 0;
221
+ margin-bottom: .5rem;
222
+ font-size: 1.5rem;
223
+ line-height: inherit;
224
+ color: inherit; // 2
225
+ white-space: normal; // 1
226
+ }
227
+
228
+ progress {
229
+ vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.
230
+ }
231
+
232
+ // Correct the cursor style of increment and decrement buttons in Chrome.
233
+ [type="number"]::-webkit-inner-spin-button,
234
+ [type="number"]::-webkit-outer-spin-button {
235
+ height: auto;
236
+ }
237
+
238
+ [type="search"] {
239
+ // This overrides the extra rounded corners on search inputs in iOS so that our
240
+ // `.form-control` class can properly style them. Note that this cannot simply
241
+ // be added to `.form-control` as it's not specific enough. For details, see
242
+ // https://github.com/twbs/bootstrap/issues/11586.
243
+ outline-offset: -2px; // 2. Correct the outline style in Safari.
244
+ -webkit-appearance: none;
245
+ }
246
+
247
+ //
248
+ // Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
249
+ //
250
+
251
+ [type="search"]::-webkit-search-cancel-button,
252
+ [type="search"]::-webkit-search-decoration {
253
+ -webkit-appearance: none;
254
+ }
255
+
256
+ //
257
+ // 1. Correct the inability to style clickable types in iOS and Safari.
258
+ // 2. Change font properties to `inherit` in Safari.
259
+ //
260
+
261
+ ::-webkit-file-upload-button {
262
+ font: inherit; // 2
263
+ -webkit-appearance: button; // 1
264
+ }
265
+
266
+ //
267
+ // Correct element displays
268
+ //
269
+
270
+ output {
271
+ display: inline-block;
272
+ }
273
+
274
+ summary {
275
+ display: list-item; // Add the correct display in all browsers
276
+ }
277
+
278
+ template {
279
+ display: none; // Add the correct display in IE
280
+ }
281
+
282
+ // Always hide an element with the `hidden` HTML attribute (from PureCSS).
283
+ // Needed for proper display in IE 10-.
284
+ [hidden] {
285
+ display: none !important;
286
+ }
@@ -1,87 +1,30 @@
1
- .sk-folding-cube {
2
- margin: 20px auto;
3
- width: 40px;
4
- height: 40px;
5
- position: relative;
6
- -webkit-transform: rotateZ(45deg);
7
- transform: rotateZ(45deg);
1
+ .loading > [class*="icon-"] {
2
+ display: inline-block;
3
+ -webkit-animation: rotate 2s infinite linear both;
4
+ animation: rotate 2s infinite linear both;
5
+ -webkit-transform-origin: 50% 50%;
6
+ -ms-transform-origin: 50% 50%;
7
+ transform-origin: 50% 50%;
8
8
  }
9
9
 
10
- .sk-folding-cube .sk-cube {
11
- float: left;
12
- width: 50%;
13
- height: 50%;
14
- position: relative;
15
- -webkit-transform: scale(1.1);
16
- -ms-transform: scale(1.1);
17
- transform: scale(1.1);
18
- }
19
- .sk-folding-cube .sk-cube:before {
20
- content: '';
21
- position: absolute;
22
- top: 0;
23
- left: 0;
24
- width: 100%;
25
- height: 100%;
26
- background-color: $gray;
27
- -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
28
- animation: sk-foldCubeAngle 2.4s infinite linear both;
29
- -webkit-transform-origin: 100% 100%;
30
- -ms-transform-origin: 100% 100%;
31
- transform-origin: 100% 100%;
32
- }
33
- .sk-folding-cube .sk-cube2 {
34
- -webkit-transform: scale(1.1) rotateZ(90deg);
35
- transform: scale(1.1) rotateZ(90deg);
36
- }
37
- .sk-folding-cube .sk-cube3 {
38
- -webkit-transform: scale(1.1) rotateZ(180deg);
39
- transform: scale(1.1) rotateZ(180deg);
40
- }
41
- .sk-folding-cube .sk-cube4 {
42
- -webkit-transform: scale(1.1) rotateZ(270deg);
43
- transform: scale(1.1) rotateZ(270deg);
44
- }
45
- .sk-folding-cube .sk-cube2:before {
46
- -webkit-animation-delay: 0.3s;
47
- animation-delay: 0.3s;
48
- }
49
- .sk-folding-cube .sk-cube3:before {
50
- -webkit-animation-delay: 0.6s;
51
- animation-delay: 0.6s;
52
- }
53
- .sk-folding-cube .sk-cube4:before {
54
- -webkit-animation-delay: 0.9s;
55
- animation-delay: 0.9s;
56
- }
57
- @-webkit-keyframes sk-foldCubeAngle {
58
- 0%, 10% {
59
- -webkit-transform: perspective(140px) rotateX(-180deg);
60
- transform: perspective(140px) rotateX(-180deg);
61
- opacity: 0;
62
- } 25%, 75% {
63
- -webkit-transform: perspective(140px) rotateX(0deg);
64
- transform: perspective(140px) rotateX(0deg);
65
- opacity: 1;
66
- } 90%, 100% {
67
- -webkit-transform: perspective(140px) rotateY(180deg);
68
- transform: perspective(140px) rotateY(180deg);
69
- opacity: 0;
10
+ @-webkit-keyframes rotate {
11
+ 0% {
12
+ -webkit-transform: rotateZ(0);
13
+ transform: rotateZ(0);
14
+ }
15
+ 100% {
16
+ -webkit-transform: rotateZ(360deg);
17
+ transform: rotateZ(360deg);
70
18
  }
71
19
  }
72
20
 
73
- @keyframes sk-foldCubeAngle {
74
- 0%, 10% {
75
- -webkit-transform: perspective(140px) rotateX(-180deg);
76
- transform: perspective(140px) rotateX(-180deg);
77
- opacity: 0;
78
- } 25%, 75% {
79
- -webkit-transform: perspective(140px) rotateX(0deg);
80
- transform: perspective(140px) rotateX(0deg);
81
- opacity: 1;
82
- } 90%, 100% {
83
- -webkit-transform: perspective(140px) rotateY(180deg);
84
- transform: perspective(140px) rotateY(180deg);
85
- opacity: 0;
21
+ @keyframes rotate {
22
+ 0% {
23
+ -webkit-transform: rotateZ(0);
24
+ transform: rotateZ(0);
25
+ }
26
+ 100% {
27
+ -webkit-transform: rotateZ(360deg);
28
+ transform: rotateZ(360deg);
86
29
  }
87
30
  }