Przeglądaj źródła

first draft of the theme

Karathan 6 lat temu
rodzic
commit
431087dd44
65 zmienionych plików z 11165 dodań i 0 usunięć
  1. 50
    0
      config/config.yml
  2. 17
    0
      content/_meta.md
  3. 11
    0
      content/index.md
  4. 13
    0
      content/literature/index.md
  5. 12
    0
      content/test.md
  6. 63
    0
      themes/stellar/LICENSE.txt
  7. 31
    0
      themes/stellar/README.txt
  8. 4
    0
      themes/stellar/assets/css/font-awesome.min.css
  9. BIN
      themes/stellar/assets/css/images/overlay.png
  10. 3764
    0
      themes/stellar/assets/css/main.css
  11. 18
    0
      themes/stellar/assets/css/noscript.css
  12. BIN
      themes/stellar/assets/fonts/FontAwesome.otf
  13. BIN
      themes/stellar/assets/fonts/fontawesome-webfont.eot
  14. 2671
    0
      themes/stellar/assets/fonts/fontawesome-webfont.svg
  15. BIN
      themes/stellar/assets/fonts/fontawesome-webfont.ttf
  16. BIN
      themes/stellar/assets/fonts/fontawesome-webfont.woff
  17. BIN
      themes/stellar/assets/fonts/fontawesome-webfont.woff2
  18. 2
    0
      themes/stellar/assets/js/breakpoints.min.js
  19. 2
    0
      themes/stellar/assets/js/browser.min.js
  20. 2
    0
      themes/stellar/assets/js/jquery.min.js
  21. 2
    0
      themes/stellar/assets/js/jquery.scrollex.min.js
  22. 2
    0
      themes/stellar/assets/js/jquery.scrolly.min.js
  23. 128
    0
      themes/stellar/assets/js/main.js
  24. 587
    0
      themes/stellar/assets/js/util.js
  25. 51
    0
      themes/stellar/assets/sass/base/_page.scss
  26. 76
    0
      themes/stellar/assets/sass/base/_reset.scss
  27. 216
    0
      themes/stellar/assets/sass/base/_typography.scss
  28. 101
    0
      themes/stellar/assets/sass/components/_actions.scss
  29. 34
    0
      themes/stellar/assets/sass/components/_box.scss
  30. 109
    0
      themes/stellar/assets/sass/components/_button.scss
  31. 60
    0
      themes/stellar/assets/sass/components/_features.scss
  32. 220
    0
      themes/stellar/assets/sass/components/_form.scss
  33. 130
    0
      themes/stellar/assets/sass/components/_icon.scss
  34. 22
    0
      themes/stellar/assets/sass/components/_icons.scss
  35. 60
    0
      themes/stellar/assets/sass/components/_image.scss
  36. 94
    0
      themes/stellar/assets/sass/components/_list.scss
  37. 31
    0
      themes/stellar/assets/sass/components/_row.scss
  38. 104
    0
      themes/stellar/assets/sass/components/_section.scss
  39. 93
    0
      themes/stellar/assets/sass/components/_spotlight.scss
  40. 108
    0
      themes/stellar/assets/sass/components/_statistics.scss
  41. 114
    0
      themes/stellar/assets/sass/components/_table.scss
  42. 60
    0
      themes/stellar/assets/sass/layout/_footer.scss
  43. 116
    0
      themes/stellar/assets/sass/layout/_header.scss
  44. 99
    0
      themes/stellar/assets/sass/layout/_main.scss
  45. 96
    0
      themes/stellar/assets/sass/layout/_nav.scss
  46. 21
    0
      themes/stellar/assets/sass/layout/_wrapper.scss
  47. 223
    0
      themes/stellar/assets/sass/libs/_breakpoints.scss
  48. 90
    0
      themes/stellar/assets/sass/libs/_functions.scss
  49. 149
    0
      themes/stellar/assets/sass/libs/_html-grid.scss
  50. 63
    0
      themes/stellar/assets/sass/libs/_mixins.scss
  51. 60
    0
      themes/stellar/assets/sass/libs/_vars.scss
  52. 376
    0
      themes/stellar/assets/sass/libs/_vendor.scss
  53. 70
    0
      themes/stellar/assets/sass/main.scss
  54. 28
    0
      themes/stellar/assets/sass/noscript.scss
  55. 390
    0
      themes/stellar/elements.html
  56. 92
    0
      themes/stellar/generic.twig
  57. 16
    0
      themes/stellar/images/logo.svg
  58. BIN
      themes/stellar/images/pic01.jpg
  59. BIN
      themes/stellar/images/pic02.jpg
  60. BIN
      themes/stellar/images/pic03.jpg
  61. BIN
      themes/stellar/images/pic04.jpg
  62. BIN
      themes/stellar/images/pic05.jpg
  63. BIN
      themes/stellar/images/pic06.jpg
  64. 98
    0
      themes/stellar/index.html.txt
  65. 116
    0
      themes/stellar/index.twig

+ 50
- 0
config/config.yml Wyświetl plik

@@ -0,0 +1,50 @@
1
+##
2
+# Basic
3
+#
4
+site_title: Stellar Dev                    # The title of your website
5
+base_url: ~                         # Pico will try to guess its base URL, if this fails, override it here
6
+                                    #     Example: http://example.com/pico/
7
+rewrite_url: true                   # A boolean (true or false) indicating whether URL rewriting is forced
8
+timezone: UTC                       # Your PHP installation might require you to manually specify a timezone
9
+
10
+##
11
+# Theme
12
+#
13
+theme: stellar                      # The name of your custom theme
14
+theme_url: ~                        # Pico will try to guess the URL to the themes dir of your installation
15
+                                    #     If this fails, override it here. Example: http://example.com/pico/themes/
16
+theme_config:
17
+    widescreen: false               # Default theme: Use more horicontal space (i.e. make the site container wider)
18
+twig_config:
19
+    cache: false                    # Enable Twig template caching by specifying a path to a writable directory
20
+    autoescape: false               # Let Twig escape variables by default
21
+    debug: false                    # Enable Twig's debugging mode
22
+
23
+##
24
+# Content
25
+#
26
+date_format: %D %T                  # Pico's default date format
27
+                                    #     See http://php.net/manual/en/function.strftime.php for more info
28
+pages_order_by_meta: author         # Sort pages by meta value "author" (set "pages_order_by" to "meta")
29
+pages_order_by: alpha               # Change how Pico sorts pages ("alpha" for alphabetical order, "date", or "meta")
30
+pages_order: asc                    # Sort pages in ascending ("asc") or descending ("desc") order
31
+content_dir: content/               # The path to Pico's content directory
32
+content_ext: .md                    # The file extension of your Markdown files
33
+content_config:
34
+    extra: true                     # Use the Parsedown Extra parser to support extended markup
35
+                                    #     See https://michelf.ca/projects/php-markdown/extra/ for more info
36
+    breaks: false                   # A boolean indicating whether breaks in the markup should be reflected in the
37
+                                    #     parsed contents of the page
38
+    escape: false                   # Escape HTML markup in your content files; don't confuse this with some sort of
39
+                                    #     safe mode, enabling this doesn't allow you to process untrusted user input!
40
+    auto_urls: true                 # Automatically link URLs found in your markup
41
+
42
+##
43
+# Plugins
44
+#
45
+DummyPlugin.enabled: false          # Force the plugin "DummyPlugin" to be disabled
46
+
47
+##
48
+# Custom
49
+#
50
+my_custom_setting: Hello World!     # You can access custom settings in themes using {{ config.my_custom_setting }}

+ 17
- 0
content/_meta.md Wyświetl plik

@@ -0,0 +1,17 @@
1
+---
2
+social:
3
+    - title: "Gitea"
4
+      url: "https://gitlab.karathan.at"
5
+      icon: "fa-github alt"
6
+    - title: "Facebook"
7
+      url: "https://facebook.com"
8
+      icon: "fa-facebook alt"
9
+AddressStreet: "Strozzigasse 36"
10
+AddressTown: "Wien"
11
+AddressZip: "1080"
12
+AddressCountry: "Österreich"
13
+Phone: "+43 650 55 96 688"
14
+Email: "philipp@karathan.at"
15
+SloganTitle: "Slogan"
16
+Slogan: "Eisiger Wind trägt mein Lied über's Feld"
17
+---

+ 11
- 0
content/index.md Wyświetl plik

@@ -0,0 +1,11 @@
1
+---
2
+Title: Welcome
3
+Main: True
4
+Section: WelcomeSection
5
+Image: pic02.jpg
6
+ActionName: Email Me
7
+ActionTarget: literature
8
+ActionPrimary: True
9
+---
10
+
11
+Just some more text to have more than just a single line going y'all dev bastards know your stuff! No hate tho' - I'm a dev too so it's cool, amiright, lel.

+ 13
- 0
content/literature/index.md Wyświetl plik

@@ -0,0 +1,13 @@
1
+---
2
+Title: Test
3
+Description: Testing the description
4
+Main: True
5
+Section: testSection
6
+Image: pic04.jpg
7
+ActionName: Email Me
8
+ActionTarget: mailto:karathan@karathan.at
9
+ActionPrimary: True
10
+Template: generic
11
+---
12
+
13
+Some more testing

+ 12
- 0
content/test.md Wyświetl plik

@@ -0,0 +1,12 @@
1
+---
2
+Title: Test
3
+Description: Testing the description
4
+Main: True
5
+Section: testSection
6
+Image: pic02.jpg
7
+ActionName: Email Me
8
+ActionTarget: mailto:karathan@karathan.at
9
+ActionPrimary: True
10
+---
11
+
12
+Some more testing

+ 63
- 0
themes/stellar/LICENSE.txt Wyświetl plik

@@ -0,0 +1,63 @@
1
+Creative Commons Attribution 3.0 Unported
2
+http://creativecommons.org/licenses/by/3.0/
3
+
4
+License
5
+
6
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
7
+
8
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
9
+
10
+1. Definitions
11
+
12
+   1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
13
+   2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
14
+   3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
15
+   4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
16
+   5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
17
+   6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
18
+   7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
19
+   8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
20
+   9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
21
+
22
+2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
23
+
24
+3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
25
+
26
+   1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
27
+   2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
28
+   3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
29
+   4. to Distribute and Publicly Perform Adaptations.
30
+   5.
31
+
32
+      For the avoidance of doubt:
33
+         1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
34
+         2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
35
+         3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
36
+
37
+The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
38
+
39
+4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
40
+
41
+   1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested.
42
+   2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
43
+   3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
44
+
45
+5. Representations, Warranties and Disclaimer
46
+
47
+UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
48
+
49
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
50
+
51
+7. Termination
52
+
53
+   1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
54
+   2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
55
+
56
+8. Miscellaneous
57
+
58
+   1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
59
+   2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
60
+   3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
61
+   4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
62
+   5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
63
+   6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.

+ 31
- 0
themes/stellar/README.txt Wyświetl plik

@@ -0,0 +1,31 @@
1
+Stellar by HTML5 UP
2
+html5up.net | @ajlkn
3
+Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
4
+
5
+
6
+Say hello to Stellar, a slick little one-pager with a super vibrant color palette (which
7
+I guess you can always tone down if it's a little too vibrant for you), a "sticky" in-page
8
+nav bar (powered by my Scrollex plugin), a separate generic page template (just in case
9
+you need one), and an assortment of pre-styled elements.
10
+
11
+Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images
12
+you can use for pretty much whatever.
13
+
14
+(* = not included)
15
+
16
+AJ
17
+aj@lkn.io | @ajlkn
18
+
19
+
20
+Credits:
21
+
22
+	Demo Images:
23
+		Unsplash (unsplash.com)
24
+
25
+	Icons:
26
+		Font Awesome (fontawesome.io)
27
+
28
+	Other:
29
+		jQuery (jquery.com)
30
+		Scrollex (github.com/ajlkn/jquery.scrollex)
31
+		Responsive Tools (github.com/ajlkn/responsive-tools)

+ 4
- 0
themes/stellar/assets/css/font-awesome.min.css
Plik diff jest za duży
Wyświetl plik


BIN
themes/stellar/assets/css/images/overlay.png Wyświetl plik


+ 3764
- 0
themes/stellar/assets/css/main.css
Plik diff jest za duży
Wyświetl plik


+ 18
- 0
themes/stellar/assets/css/noscript.css Wyświetl plik

@@ -0,0 +1,18 @@
1
+/*
2
+	Stellar by HTML5 UP
3
+	html5up.net | @ajlkn
4
+	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+*/
6
+
7
+/* Header */
8
+
9
+	body.is-preload #header.alt > * {
10
+		opacity: 1;
11
+	}
12
+
13
+	body.is-preload #header.alt .logo {
14
+		-moz-transform: none;
15
+		-webkit-transform: none;
16
+		-ms-transform: none;
17
+		transform: none;
18
+	}

BIN
themes/stellar/assets/fonts/FontAwesome.otf Wyświetl plik


BIN
themes/stellar/assets/fonts/fontawesome-webfont.eot Wyświetl plik


+ 2671
- 0
themes/stellar/assets/fonts/fontawesome-webfont.svg
Plik diff jest za duży
Wyświetl plik


BIN
themes/stellar/assets/fonts/fontawesome-webfont.ttf Wyświetl plik


BIN
themes/stellar/assets/fonts/fontawesome-webfont.woff Wyświetl plik


BIN
themes/stellar/assets/fonts/fontawesome-webfont.woff2 Wyświetl plik


+ 2
- 0
themes/stellar/assets/js/breakpoints.min.js Wyświetl plik

@@ -0,0 +1,2 @@
1
+/* breakpoints.js v1.0 | @ajlkn | MIT licensed */
2
+var breakpoints=function(){"use strict";function e(e){t.init(e)}var t={list:null,media:{},events:[],init:function(e){t.list=e,window.addEventListener("resize",t.poll),window.addEventListener("orientationchange",t.poll),window.addEventListener("load",t.poll),window.addEventListener("fullscreenchange",t.poll)},active:function(e){var n,a,s,i,r,d,c;if(!(e in t.media)){if(">="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e<t.events.length;e++)n=t.events[e],t.active(n.query)?n.state||(n.state=!0,n.handler()):n.state&&(n.state=!1)}};return e._=t,e.on=function(e,n){t.on(e,n)},e.active=function(e){return t.active(e)},e}();!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.breakpoints=t()}(this,function(){return breakpoints});

+ 2
- 0
themes/stellar/assets/js/browser.min.js Wyświetl plik

@@ -0,0 +1,2 @@
1
+/* browser.js v1.0 | @ajlkn | MIT licensed */
2
+var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",/Firefox\/([0-9\.]+)/],["bb",/BlackBerry.+Version\/([0-9\.]+)/],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/],["opera",/OPR\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)/],["edge",/Edge\/([0-9\.]+)/],["safari",/Version\/([0-9\.]+).+Safari/],["chrome",/Chrome\/([0-9\.]+)/],["ie",/MSIE ([0-9]+)/],["ie",/Trident\/.+rv:([0-9]+)/]],i=0;i<r.length;i++)if(t.match(r[i][1])){n=r[i][0],o=parseFloat(RegExp.$1);break}for(e.name=n,e.version=o,n="other",o=0,r=[["ios",/([0-9_]+) like Mac OS X/,function(e){return e.replace("_",".").replace("_","")}],["ios",/CPU like Mac OS X/,function(e){return 0}],["wp",/Windows Phone ([0-9\.]+)/,null],["android",/Android ([0-9\.]+)/,null],["mac",/Macintosh.+Mac OS X ([0-9_]+)/,function(e){return e.replace("_",".").replace("_","")}],["windows",/Windows NT ([0-9\.]+)/,null],["bb",/BlackBerry.+Version\/([0-9\.]+)/,null],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/,null],["linux",/Linux/,null],["bsd",/BSD/,null],["unix",/X11/,null]],i=0;i<r.length;i++)if(t.match(r[i][1])){n=r[i][0],o=parseFloat(r[i][2]?r[i][2](RegExp.$1):RegExp.$1);break}e.os=n,e.osVersion=o,e.touch="wp"==e.os?navigator.msMaxTouchPoints>0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});

+ 2
- 0
themes/stellar/assets/js/jquery.min.js
Plik diff jest za duży
Wyświetl plik


+ 2
- 0
themes/stellar/assets/js/jquery.scrollex.min.js Wyświetl plik

@@ -0,0 +1,2 @@
1
+/* jquery.scrollex v0.2.1 | (c) @ajlkn | github.com/ajlkn/jquery.scrollex | MIT licensed */
2
+!function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){for(var r=0;r<this.length;r++)t(this[r]).scrollex(l);return s}if(s.data("_scrollexId"))return s;var a,u,h,c,p;switch(a=i++,u=jQuery.extend({top:0,bottom:0,delay:0,mode:"default",enter:null,leave:null,initialize:null,terminate:null,scroll:null},l),u.mode){case"top":h=function(t,e,n,i,o){return t>=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n<this.length;n++)t(this[n]).unscrollex();return e}var i,l;return(i=e.data("_scrollexId"))?(l=o[i],window.clearTimeout(l.timeoutId),delete o[i],e.removeData("_scrollexId"),l.options.terminate&&l.options.terminate.apply(this),e):e}}(jQuery);

+ 2
- 0
themes/stellar/assets/js/jquery.scrolly.min.js Wyświetl plik

@@ -0,0 +1,2 @@
1
+/* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */
2
+(function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o<this[t];o++)e(this[o]).scrolly(i);return c}l=n,f=c.attr("href");if(f.charAt(0)!="#"||f[t]<2)return c;a=jQuery.extend({anchor:r,easing:"swing",offset:0,parent:e("body,html"),pollOnce:!1,speed:1e3},i),a.pollOnce&&(l=u(f,a)),c.off(s).on(s,function(e){var t=l!==n?l:u(f,a);t!==n&&(e.preventDefault(),a.parent.stop().animate({scrollTop:t},a.speed,a.easing))})}})(jQuery);

+ 128
- 0
themes/stellar/assets/js/main.js Wyświetl plik

@@ -0,0 +1,128 @@
1
+/*
2
+	Stellar by HTML5 UP
3
+	html5up.net | @ajlkn
4
+	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+*/
6
+
7
+(function($) {
8
+
9
+	var	$window = $(window),
10
+		$body = $('body'),
11
+		$main = $('#main');
12
+
13
+	// Breakpoints.
14
+		breakpoints({
15
+			xlarge:   [ '1281px',  '1680px' ],
16
+			large:    [ '981px',   '1280px' ],
17
+			medium:   [ '737px',   '980px'  ],
18
+			small:    [ '481px',   '736px'  ],
19
+			xsmall:   [ '361px',   '480px'  ],
20
+			xxsmall:  [ null,      '360px'  ]
21
+		});
22
+
23
+	// Play initial animations on page load.
24
+		$window.on('load', function() {
25
+			window.setTimeout(function() {
26
+				$body.removeClass('is-preload');
27
+			}, 100);
28
+		});
29
+
30
+	// Nav.
31
+		var $nav = $('#nav');
32
+
33
+		if ($nav.length > 0) {
34
+
35
+			// Shrink effect.
36
+				$main
37
+					.scrollex({
38
+						mode: 'top',
39
+						enter: function() {
40
+							$nav.addClass('alt');
41
+						},
42
+						leave: function() {
43
+							$nav.removeClass('alt');
44
+						},
45
+					});
46
+
47
+			// Links.
48
+				var $nav_a = $nav.find('a');
49
+
50
+				$nav_a
51
+					.scrolly({
52
+						speed: 1000,
53
+						offset: function() { return $nav.height(); }
54
+					})
55
+					.on('click', function() {
56
+
57
+						var $this = $(this);
58
+
59
+						// External link? Bail.
60
+							if ($this.attr('href').charAt(0) != '#')
61
+								return;
62
+
63
+						// Deactivate all links.
64
+							$nav_a
65
+								.removeClass('active')
66
+								.removeClass('active-locked');
67
+
68
+						// Activate link *and* lock it (so Scrollex doesn't try to activate other links as we're scrolling to this one's section).
69
+							$this
70
+								.addClass('active')
71
+								.addClass('active-locked');
72
+
73
+					})
74
+					.each(function() {
75
+
76
+						var	$this = $(this),
77
+							id = $this.attr('href'),
78
+							$section = $(id);
79
+
80
+						// No section for this link? Bail.
81
+							if ($section.length < 1)
82
+								return;
83
+
84
+						// Scrollex.
85
+							$section.scrollex({
86
+								mode: 'middle',
87
+								initialize: function() {
88
+
89
+									// Deactivate section.
90
+										if (browser.canUse('transition'))
91
+											$section.addClass('inactive');
92
+
93
+								},
94
+								enter: function() {
95
+
96
+									// Activate section.
97
+										$section.removeClass('inactive');
98
+
99
+									// No locked links? Deactivate all links and activate this section's one.
100
+										if ($nav_a.filter('.active-locked').length == 0) {
101
+
102
+											$nav_a.removeClass('active');
103
+											$this.addClass('active');
104
+
105
+										}
106
+
107
+									// Otherwise, if this section's link is the one that's locked, unlock it.
108
+										else if ($this.hasClass('active-locked'))
109
+											$this.removeClass('active-locked');
110
+
111
+								}
112
+							});
113
+
114
+					});
115
+
116
+		}
117
+
118
+	// Scrolly.
119
+		$('.scrolly').scrolly({
120
+			speed: 1000
121
+		});
122
+
123
+})(jQuery);
124
+
125
+function topFunction() {
126
+    document.body.scrollTop = 0; // For Safari
127
+    document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
128
+}

+ 587
- 0
themes/stellar/assets/js/util.js Wyświetl plik

@@ -0,0 +1,587 @@
1
+(function($) {
2
+
3
+	/**
4
+	 * Generate an indented list of links from a nav. Meant for use with panel().
5
+	 * @return {jQuery} jQuery object.
6
+	 */
7
+	$.fn.navList = function() {
8
+
9
+		var	$this = $(this);
10
+			$a = $this.find('a'),
11
+			b = [];
12
+
13
+		$a.each(function() {
14
+
15
+			var	$this = $(this),
16
+				indent = Math.max(0, $this.parents('li').length - 1),
17
+				href = $this.attr('href'),
18
+				target = $this.attr('target');
19
+
20
+			b.push(
21
+				'<a ' +
22
+					'class="link depth-' + indent + '"' +
23
+					( (typeof target !== 'undefined' && target != '') ? ' target="' + target + '"' : '') +
24
+					( (typeof href !== 'undefined' && href != '') ? ' href="' + href + '"' : '') +
25
+				'>' +
26
+					'<span class="indent-' + indent + '"></span>' +
27
+					$this.text() +
28
+				'</a>'
29
+			);
30
+
31
+		});
32
+
33
+		return b.join('');
34
+
35
+	};
36
+
37
+	/**
38
+	 * Panel-ify an element.
39
+	 * @param {object} userConfig User config.
40
+	 * @return {jQuery} jQuery object.
41
+	 */
42
+	$.fn.panel = function(userConfig) {
43
+
44
+		// No elements?
45
+			if (this.length == 0)
46
+				return $this;
47
+
48
+		// Multiple elements?
49
+			if (this.length > 1) {
50
+
51
+				for (var i=0; i < this.length; i++)
52
+					$(this[i]).panel(userConfig);
53
+
54
+				return $this;
55
+
56
+			}
57
+
58
+		// Vars.
59
+			var	$this = $(this),
60
+				$body = $('body'),
61
+				$window = $(window),
62
+				id = $this.attr('id'),
63
+				config;
64
+
65
+		// Config.
66
+			config = $.extend({
67
+
68
+				// Delay.
69
+					delay: 0,
70
+
71
+				// Hide panel on link click.
72
+					hideOnClick: false,
73
+
74
+				// Hide panel on escape keypress.
75
+					hideOnEscape: false,
76
+
77
+				// Hide panel on swipe.
78
+					hideOnSwipe: false,
79
+
80
+				// Reset scroll position on hide.
81
+					resetScroll: false,
82
+
83
+				// Reset forms on hide.
84
+					resetForms: false,
85
+
86
+				// Side of viewport the panel will appear.
87
+					side: null,
88
+
89
+				// Target element for "class".
90
+					target: $this,
91
+
92
+				// Class to toggle.
93
+					visibleClass: 'visible'
94
+
95
+			}, userConfig);
96
+
97
+			// Expand "target" if it's not a jQuery object already.
98
+				if (typeof config.target != 'jQuery')
99
+					config.target = $(config.target);
100
+
101
+		// Panel.
102
+
103
+			// Methods.
104
+				$this._hide = function(event) {
105
+
106
+					// Already hidden? Bail.
107
+						if (!config.target.hasClass(config.visibleClass))
108
+							return;
109
+
110
+					// If an event was provided, cancel it.
111
+						if (event) {
112
+
113
+							event.preventDefault();
114
+							event.stopPropagation();
115
+
116
+						}
117
+
118
+					// Hide.
119
+						config.target.removeClass(config.visibleClass);
120
+
121
+					// Post-hide stuff.
122
+						window.setTimeout(function() {
123
+
124
+							// Reset scroll position.
125
+								if (config.resetScroll)
126
+									$this.scrollTop(0);
127
+
128
+							// Reset forms.
129
+								if (config.resetForms)
130
+									$this.find('form').each(function() {
131
+										this.reset();
132
+									});
133
+
134
+						}, config.delay);
135
+
136
+				};
137
+
138
+			// Vendor fixes.
139
+				$this
140
+					.css('-ms-overflow-style', '-ms-autohiding-scrollbar')
141
+					.css('-webkit-overflow-scrolling', 'touch');
142
+
143
+			// Hide on click.
144
+				if (config.hideOnClick) {
145
+
146
+					$this.find('a')
147
+						.css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)');
148
+
149
+					$this
150
+						.on('click', 'a', function(event) {
151
+
152
+							var $a = $(this),
153
+								href = $a.attr('href'),
154
+								target = $a.attr('target');
155
+
156
+							if (!href || href == '#' || href == '' || href == '#' + id)
157
+								return;
158
+
159
+							// Cancel original event.
160
+								event.preventDefault();
161
+								event.stopPropagation();
162
+
163
+							// Hide panel.
164
+								$this._hide();
165
+
166
+							// Redirect to href.
167
+								window.setTimeout(function() {
168
+
169
+									if (target == '_blank')
170
+										window.open(href);
171
+									else
172
+										window.location.href = href;
173
+
174
+								}, config.delay + 10);
175
+
176
+						});
177
+
178
+				}
179
+
180
+			// Event: Touch stuff.
181
+				$this.on('touchstart', function(event) {
182
+
183
+					$this.touchPosX = event.originalEvent.touches[0].pageX;
184
+					$this.touchPosY = event.originalEvent.touches[0].pageY;
185
+
186
+				})
187
+
188
+				$this.on('touchmove', function(event) {
189
+
190
+					if ($this.touchPosX === null
191
+					||	$this.touchPosY === null)
192
+						return;
193
+
194
+					var	diffX = $this.touchPosX - event.originalEvent.touches[0].pageX,
195
+						diffY = $this.touchPosY - event.originalEvent.touches[0].pageY,
196
+						th = $this.outerHeight(),
197
+						ts = ($this.get(0).scrollHeight - $this.scrollTop());
198
+
199
+					// Hide on swipe?
200
+						if (config.hideOnSwipe) {
201
+
202
+							var result = false,
203
+								boundary = 20,
204
+								delta = 50;
205
+
206
+							switch (config.side) {
207
+
208
+								case 'left':
209
+									result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX > delta);
210
+									break;
211
+
212
+								case 'right':
213
+									result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX < (-1 * delta));
214
+									break;
215
+
216
+								case 'top':
217
+									result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY > delta);
218
+									break;
219
+
220
+								case 'bottom':
221
+									result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY < (-1 * delta));
222
+									break;
223
+
224
+								default:
225
+									break;
226
+
227
+							}
228
+
229
+							if (result) {
230
+
231
+								$this.touchPosX = null;
232
+								$this.touchPosY = null;
233
+								$this._hide();
234
+
235
+								return false;
236
+
237
+							}
238
+
239
+						}
240
+
241
+					// Prevent vertical scrolling past the top or bottom.
242
+						if (($this.scrollTop() < 0 && diffY < 0)
243
+						|| (ts > (th - 2) && ts < (th + 2) && diffY > 0)) {
244
+
245
+							event.preventDefault();
246
+							event.stopPropagation();
247
+
248
+						}
249
+
250
+				});
251
+
252
+			// Event: Prevent certain events inside the panel from bubbling.
253
+				$this.on('click touchend touchstart touchmove', function(event) {
254
+					event.stopPropagation();
255
+				});
256
+
257
+			// Event: Hide panel if a child anchor tag pointing to its ID is clicked.
258
+				$this.on('click', 'a[href="#' + id + '"]', function(event) {
259
+
260
+					event.preventDefault();
261
+					event.stopPropagation();
262
+
263
+					config.target.removeClass(config.visibleClass);
264
+
265
+				});
266
+
267
+		// Body.
268
+
269
+			// Event: Hide panel on body click/tap.
270
+				$body.on('click touchend', function(event) {
271
+					$this._hide(event);
272
+				});
273
+
274
+			// Event: Toggle.
275
+				$body.on('click', 'a[href="#' + id + '"]', function(event) {
276
+
277
+					event.preventDefault();
278
+					event.stopPropagation();
279
+
280
+					config.target.toggleClass(config.visibleClass);
281
+
282
+				});
283
+
284
+		// Window.
285
+
286
+			// Event: Hide on ESC.
287
+				if (config.hideOnEscape)
288
+					$window.on('keydown', function(event) {
289
+
290
+						if (event.keyCode == 27)
291
+							$this._hide(event);
292
+
293
+					});
294
+
295
+		return $this;
296
+
297
+	};
298
+
299
+	/**
300
+	 * Apply "placeholder" attribute polyfill to one or more forms.
301
+	 * @return {jQuery} jQuery object.
302
+	 */
303
+	$.fn.placeholder = function() {
304
+
305
+		// Browser natively supports placeholders? Bail.
306
+			if (typeof (document.createElement('input')).placeholder != 'undefined')
307
+				return $(this);
308
+
309
+		// No elements?
310
+			if (this.length == 0)
311
+				return $this;
312
+
313
+		// Multiple elements?
314
+			if (this.length > 1) {
315
+
316
+				for (var i=0; i < this.length; i++)
317
+					$(this[i]).placeholder();
318
+
319
+				return $this;
320
+
321
+			}
322
+
323
+		// Vars.
324
+			var $this = $(this);
325
+
326
+		// Text, TextArea.
327
+			$this.find('input[type=text],textarea')
328
+				.each(function() {
329
+
330
+					var i = $(this);
331
+
332
+					if (i.val() == ''
333
+					||  i.val() == i.attr('placeholder'))
334
+						i
335
+							.addClass('polyfill-placeholder')
336
+							.val(i.attr('placeholder'));
337
+
338
+				})
339
+				.on('blur', function() {
340
+
341
+					var i = $(this);
342
+
343
+					if (i.attr('name').match(/-polyfill-field$/))
344
+						return;
345
+
346
+					if (i.val() == '')
347
+						i
348
+							.addClass('polyfill-placeholder')
349
+							.val(i.attr('placeholder'));
350
+
351
+				})
352
+				.on('focus', function() {
353
+
354
+					var i = $(this);
355
+
356
+					if (i.attr('name').match(/-polyfill-field$/))
357
+						return;
358
+
359
+					if (i.val() == i.attr('placeholder'))
360
+						i
361
+							.removeClass('polyfill-placeholder')
362
+							.val('');
363
+
364
+				});
365
+
366
+		// Password.
367
+			$this.find('input[type=password]')
368
+				.each(function() {
369
+
370
+					var i = $(this);
371
+					var x = $(
372
+								$('<div>')
373
+									.append(i.clone())
374
+									.remove()
375
+									.html()
376
+									.replace(/type="password"/i, 'type="text"')
377
+									.replace(/type=password/i, 'type=text')
378
+					);
379
+
380
+					if (i.attr('id') != '')
381
+						x.attr('id', i.attr('id') + '-polyfill-field');
382
+
383
+					if (i.attr('name') != '')
384
+						x.attr('name', i.attr('name') + '-polyfill-field');
385
+
386
+					x.addClass('polyfill-placeholder')
387
+						.val(x.attr('placeholder')).insertAfter(i);
388
+
389
+					if (i.val() == '')
390
+						i.hide();
391
+					else
392
+						x.hide();
393
+
394
+					i
395
+						.on('blur', function(event) {
396
+
397
+							event.preventDefault();
398
+
399
+							var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
400
+
401
+							if (i.val() == '') {
402
+
403
+								i.hide();
404
+								x.show();
405
+
406
+							}
407
+
408
+						});
409
+
410
+					x
411
+						.on('focus', function(event) {
412
+
413
+							event.preventDefault();
414
+
415
+							var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']');
416
+
417
+							x.hide();
418
+
419
+							i
420
+								.show()
421
+								.focus();
422
+
423
+						})
424
+						.on('keypress', function(event) {
425
+
426
+							event.preventDefault();
427
+							x.val('');
428
+
429
+						});
430
+
431
+				});
432
+
433
+		// Events.
434
+			$this
435
+				.on('submit', function() {
436
+
437
+					$this.find('input[type=text],input[type=password],textarea')
438
+						.each(function(event) {
439
+
440
+							var i = $(this);
441
+
442
+							if (i.attr('name').match(/-polyfill-field$/))
443
+								i.attr('name', '');
444
+
445
+							if (i.val() == i.attr('placeholder')) {
446
+
447
+								i.removeClass('polyfill-placeholder');
448
+								i.val('');
449
+
450
+							}
451
+
452
+						});
453
+
454
+				})
455
+				.on('reset', function(event) {
456
+
457
+					event.preventDefault();
458
+
459
+					$this.find('select')
460
+						.val($('option:first').val());
461
+
462
+					$this.find('input,textarea')
463
+						.each(function() {
464
+
465
+							var i = $(this),
466
+								x;
467
+
468
+							i.removeClass('polyfill-placeholder');
469
+
470
+							switch (this.type) {
471
+
472
+								case 'submit':
473
+								case 'reset':
474
+									break;
475
+
476
+								case 'password':
477
+									i.val(i.attr('defaultValue'));
478
+
479
+									x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
480
+
481
+									if (i.val() == '') {
482
+										i.hide();
483
+										x.show();
484
+									}
485
+									else {
486
+										i.show();
487
+										x.hide();
488
+									}
489
+
490
+									break;
491
+
492
+								case 'checkbox':
493
+								case 'radio':
494
+									i.attr('checked', i.attr('defaultValue'));
495
+									break;
496
+
497
+								case 'text':
498
+								case 'textarea':
499
+									i.val(i.attr('defaultValue'));
500
+
501
+									if (i.val() == '') {
502
+										i.addClass('polyfill-placeholder');
503
+										i.val(i.attr('placeholder'));
504
+									}
505
+
506
+									break;
507
+
508
+								default:
509
+									i.val(i.attr('defaultValue'));
510
+									break;
511
+
512
+							}
513
+						});
514
+
515
+				});
516
+
517
+		return $this;
518
+
519
+	};
520
+
521
+	/**
522
+	 * Moves elements to/from the first positions of their respective parents.
523
+	 * @param {jQuery} $elements Elements (or selector) to move.
524
+	 * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations.
525
+	 */
526
+	$.prioritize = function($elements, condition) {
527
+
528
+		var key = '__prioritize';
529
+
530
+		// Expand $elements if it's not already a jQuery object.
531
+			if (typeof $elements != 'jQuery')
532
+				$elements = $($elements);
533
+
534
+		// Step through elements.
535
+			$elements.each(function() {
536
+
537
+				var	$e = $(this), $p,
538
+					$parent = $e.parent();
539
+
540
+				// No parent? Bail.
541
+					if ($parent.length == 0)
542
+						return;
543
+
544
+				// Not moved? Move it.
545
+					if (!$e.data(key)) {
546
+
547
+						// Condition is false? Bail.
548
+							if (!condition)
549
+								return;
550
+
551
+						// Get placeholder (which will serve as our point of reference for when this element needs to move back).
552
+							$p = $e.prev();
553
+
554
+							// Couldn't find anything? Means this element's already at the top, so bail.
555
+								if ($p.length == 0)
556
+									return;
557
+
558
+						// Move element to top of parent.
559
+							$e.prependTo($parent);
560
+
561
+						// Mark element as moved.
562
+							$e.data(key, $p);
563
+
564
+					}
565
+
566
+				// Moved already?
567
+					else {
568
+
569
+						// Condition is true? Bail.
570
+							if (condition)
571
+								return;
572
+
573
+						$p = $e.data(key);
574
+
575
+						// Move element back to its original location (using our placeholder).
576
+							$e.insertAfter($p);
577
+
578
+						// Unmark element as moved.
579
+							$e.removeData(key);
580
+
581
+					}
582
+
583
+			});
584
+
585
+	};
586
+
587
+})(jQuery);

+ 51
- 0
themes/stellar/assets/sass/base/_page.scss Wyświetl plik

@@ -0,0 +1,51 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Basic */
8
+
9
+	// MSIE: Required for IEMobile.
10
+		@-ms-viewport {
11
+			width: device-width;
12
+		}
13
+
14
+	// MSIE: Prevents scrollbar from overlapping content.
15
+		body {
16
+			-ms-overflow-style: scrollbar;
17
+		}
18
+
19
+	// Ensures page width is always >=320px.
20
+		@include breakpoint('<=xsmall') {
21
+			html, body {
22
+				min-width: 320px;
23
+			}
24
+		}
25
+
26
+	// Set box model to border-box.
27
+	// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
28
+		html {
29
+			box-sizing: border-box;
30
+		}
31
+
32
+		*, *:before, *:after {
33
+			box-sizing: inherit;
34
+		}
35
+
36
+	body {
37
+		background-color: _palette(bg);
38
+		@include vendor('background-image', (
39
+			'url("images/overlay.png")',
40
+			'linear-gradient(45deg, #{_palette(bg1)} 15%, #{_palette(bg2) 85%})',
41
+		));
42
+
43
+		// Stops initial animations until page loads.
44
+			&.is-preload {
45
+				*, *:before, *:after {
46
+					@include vendor('animation', 'none !important');
47
+					@include vendor('transition', 'none !important');
48
+				}
49
+			}
50
+
51
+	}

+ 76
- 0
themes/stellar/assets/sass/base/_reset.scss Wyświetl plik

@@ -0,0 +1,76 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+// Reset.
8
+// Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
9
+
10
+	html, body, div, span, applet, object,
11
+	iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
12
+	pre, a, abbr, acronym, address, big, cite,
13
+	code, del, dfn, em, img, ins, kbd, q, s, samp,
14
+	small, strike, strong, sub, sup, tt, var, b,
15
+	u, i, center, dl, dt, dd, ol, ul, li, fieldset,
16
+	form, label, legend, table, caption, tbody,
17
+	tfoot, thead, tr, th, td, article, aside,
18
+	canvas, details, embed, figure, figcaption,
19
+	footer, header, hgroup, menu, nav, output, ruby,
20
+	section, summary, time, mark, audio, video {
21
+		margin: 0;
22
+		padding: 0;
23
+		border: 0;
24
+		font-size: 100%;
25
+		font: inherit;
26
+		vertical-align: baseline;
27
+	}
28
+
29
+	article, aside, details, figcaption, figure,
30
+	footer, header, hgroup, menu, nav, section {
31
+		display: block;
32
+	}
33
+
34
+	body {
35
+		line-height: 1;
36
+	}
37
+
38
+	ol, ul {
39
+		list-style:none;
40
+	}
41
+
42
+	blockquote,	q {
43
+		quotes: none;
44
+
45
+		&:before,
46
+		&:after {
47
+			content: '';
48
+			content: none;
49
+		}
50
+	}
51
+
52
+	table {
53
+		border-collapse: collapse;
54
+		border-spacing: 0;
55
+	}
56
+
57
+	body {
58
+		-webkit-text-size-adjust: none;
59
+	}
60
+
61
+	mark {
62
+		background-color: transparent;
63
+		color: inherit;
64
+	}
65
+
66
+	input::-moz-focus-inner {
67
+		border: 0;
68
+		padding: 0;
69
+	}
70
+
71
+	input, select, textarea {
72
+		-moz-appearance: none;
73
+		-webkit-appearance: none;
74
+		-ms-appearance: none;
75
+		appearance: none;
76
+	}

+ 216
- 0
themes/stellar/assets/sass/base/_typography.scss Wyświetl plik

@@ -0,0 +1,216 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Type */
8
+
9
+	body {
10
+		background-color: _palette(bg);
11
+		color: _palette(fg);
12
+	}
13
+
14
+	body, input, select, textarea {
15
+		font-family: _font(family);
16
+		font-size: 17pt;
17
+		font-weight: _font(weight);
18
+		line-height: 1.65;
19
+
20
+		@include breakpoint('<=xlarge') {
21
+			font-size: 14pt;
22
+		}
23
+
24
+		@include breakpoint('<=large') {
25
+			font-size: 12pt;
26
+		}
27
+
28
+		@include breakpoint('<=xxsmall') {
29
+			font-size: 11pt;
30
+		}
31
+	}
32
+
33
+	a {
34
+		@include vendor('transition', (
35
+			'color #{_duration(transition)} ease',
36
+			'border-bottom #{_duration(transition)} ease'
37
+		));
38
+		text-decoration: none;
39
+		border-bottom: dotted 1px;
40
+		color: inherit;
41
+
42
+		&:hover {
43
+			border-bottom-color: transparent;
44
+		}
45
+	}
46
+
47
+	strong, b {
48
+		font-weight: _font(weight-bold);
49
+	}
50
+
51
+	em, i {
52
+		font-style: italic;
53
+	}
54
+
55
+	p {
56
+		margin: 0 0 _size(element-margin) 0;
57
+
58
+		&.content {
59
+			-moz-columns: 20em 2;
60
+			-webkit-columns: 20em 2;
61
+			-ms-columns: 20em 2;
62
+			columns: 20em 2;
63
+			-moz-column-gap: _size(element-margin);
64
+			-webkit-column-gap: _size(element-margin);
65
+			-ms-column-gap: _size(element-margin);
66
+			column-gap: _size(element-margin);
67
+			text-align: justify;
68
+		}
69
+	}
70
+
71
+	h1, h2, h3, h4, h5, h6 {
72
+		font-weight: _font(weight);
73
+		line-height: 1.5;
74
+		margin: 0 0 (_size(element-margin) * 0.35) 0;
75
+		letter-spacing: _font(letter-spacing);
76
+
77
+		a {
78
+			color: inherit;
79
+			text-decoration: none;
80
+		}
81
+	}
82
+
83
+	h1 {
84
+		font-size: 2.5em;
85
+		line-height: 1.2;
86
+	}
87
+
88
+	h2 {
89
+		font-size: 1.5em;
90
+	}
91
+
92
+	h3 {
93
+		font-size: 1.25em;
94
+	}
95
+
96
+	h4 {
97
+		font-size: 1.1em;
98
+	}
99
+
100
+	h5 {
101
+		font-size: 0.9em;
102
+	}
103
+
104
+	h6 {
105
+		font-size: 0.7em;
106
+	}
107
+
108
+	@include breakpoint('<=small') {
109
+		h1 {
110
+			font-size: 2em;
111
+		}
112
+	}
113
+
114
+	sub {
115
+		font-size: 0.8em;
116
+		position: relative;
117
+		top: 0.5em;
118
+	}
119
+
120
+	sup {
121
+		font-size: 0.8em;
122
+		position: relative;
123
+		top: -0.5em;
124
+	}
125
+
126
+	blockquote {
127
+		border-left: solid 4px;
128
+		font-style: italic;
129
+		margin: 0 0 _size(element-margin) 0;
130
+		padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
131
+	}
132
+
133
+	code {
134
+		border-radius: _size(border-radius);
135
+		border: solid 1px;
136
+		font-family: _font(family-fixed);
137
+		font-size: 0.9em;
138
+		margin: 0 0.25em;
139
+		padding: 0.25em 0.65em;
140
+	}
141
+
142
+	pre {
143
+		-webkit-overflow-scrolling: touch;
144
+		font-family: _font(family-fixed);
145
+		font-size: 0.9em;
146
+		margin: 0 0 _size(element-margin) 0;
147
+
148
+		code {
149
+			display: block;
150
+			line-height: 1.75;
151
+			padding: 1em 1.5em;
152
+			overflow-x: auto;
153
+		}
154
+	}
155
+
156
+	hr {
157
+		border: 0;
158
+		border-bottom: solid 1px;
159
+		margin: _size(element-margin) 0;
160
+
161
+		&.major {
162
+			margin: (_size(element-margin) * 1.5) 0;
163
+		}
164
+	}
165
+
166
+	.align-left {
167
+		text-align: left;
168
+	}
169
+
170
+	.align-center {
171
+		text-align: center;
172
+	}
173
+
174
+	.align-right {
175
+		text-align: right;
176
+	}
177
+
178
+	@mixin color-typography($p: null) {
179
+		@if $p != null {
180
+			background-color: _palette($p, bg);
181
+			color: _palette($p, fg);
182
+		}
183
+
184
+		input, select, textarea {
185
+			color: _palette($p, fg-bold);
186
+		}
187
+
188
+		a {
189
+			&:hover {
190
+				color: _palette($p, fg-bold);
191
+			}
192
+		}
193
+
194
+		strong, b {
195
+			color: _palette($p, fg-bold);
196
+		}
197
+
198
+		h1, h2, h3, h4, h5, h6 {
199
+			color: _palette($p, fg-bold);
200
+		}
201
+
202
+		blockquote {
203
+			border-left-color: _palette($p, border);
204
+		}
205
+
206
+		code {
207
+			background: _palette($p, border-bg);
208
+			border-color: _palette($p, border);
209
+		}
210
+
211
+		hr {
212
+			border-bottom-color: _palette($p, border);
213
+		}
214
+	}
215
+
216
+	@include color-typography;

+ 101
- 0
themes/stellar/assets/sass/components/_actions.scss Wyświetl plik

@@ -0,0 +1,101 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Actions */
8
+
9
+	ul.actions {
10
+		@include vendor('display', 'flex');
11
+		cursor: default;
12
+		list-style: none;
13
+		margin-left: (_size(element-margin) * -0.5);
14
+		padding-left: 0;
15
+
16
+		li {
17
+			padding: 0 0 0 (_size(element-margin) * 0.5);
18
+			vertical-align: middle;
19
+		}
20
+
21
+		&.special {
22
+			@include vendor('justify-content', 'center');
23
+			width: 100%;
24
+			margin-left: 0;
25
+
26
+			li {
27
+				&:first-child {
28
+					padding-left: 0;
29
+				}
30
+			}
31
+		}
32
+
33
+		&.stacked {
34
+			@include vendor('flex-direction', 'column');
35
+			margin-left: 0;
36
+
37
+			li {
38
+				padding: (_size(element-margin) * 0.65) 0 0 0;
39
+
40
+				&:first-child {
41
+					padding-top: 0;
42
+				}
43
+			}
44
+		}
45
+
46
+		&.fit {
47
+			width: calc(100% + #{_size(element-margin) * 0.5});
48
+
49
+			li {
50
+				@include vendor('flex-grow', '1');
51
+				@include vendor('flex-shrink', '1');
52
+				width: 100%;
53
+
54
+				> * {
55
+					width: 100%;
56
+				}
57
+			}
58
+
59
+			&.stacked {
60
+				width: 100%;
61
+			}
62
+		}
63
+
64
+		@include breakpoint('<=xsmall') {
65
+			&:not(.fixed) {
66
+				@include vendor('flex-direction', 'column');
67
+				margin-left: 0;
68
+				width: 100% !important;
69
+
70
+				li {
71
+					@include vendor('flex-grow', '1');
72
+					@include vendor('flex-shrink', '1');
73
+					padding: (_size(element-margin) * 0.5) 0 0 0;
74
+					text-align: center;
75
+					width: 100%;
76
+
77
+					> * {
78
+						width: 100%;
79
+					}
80
+
81
+					&:first-child {
82
+						padding-top: 0;
83
+					}
84
+
85
+					input[type="submit"],
86
+					input[type="reset"],
87
+					input[type="button"],
88
+					button,
89
+					.button {
90
+						width: 100%;
91
+
92
+						&.icon {
93
+							&:before {
94
+								margin-left: -0.5rem;
95
+							}
96
+						}
97
+					}
98
+				}
99
+			}
100
+		}
101
+	}

+ 34
- 0
themes/stellar/assets/sass/components/_box.scss Wyświetl plik

@@ -0,0 +1,34 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Box */
8
+
9
+	.box {
10
+		border-radius: _size(border-radius);
11
+		border: solid _size(border-width);
12
+		margin-bottom: _size(element-margin);
13
+		padding: 1.5em;
14
+
15
+		> :last-child,
16
+		> :last-child > :last-child,
17
+		> :last-child > :last-child > :last-child {
18
+			margin-bottom: 0;
19
+		}
20
+
21
+		&.alt {
22
+			border: 0;
23
+			border-radius: 0;
24
+			padding: 0;
25
+		}
26
+	}
27
+
28
+	@mixin color-box($p: null) {
29
+ 		.box {
30
+ 			border-color: _palette($p, border);
31
+ 		}
32
+	}
33
+
34
+	@include color-box;

+ 109
- 0
themes/stellar/assets/sass/components/_button.scss Wyświetl plik

@@ -0,0 +1,109 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Button */
8
+
9
+	input[type="submit"],
10
+	input[type="reset"],
11
+	input[type="button"],
12
+	button,
13
+	.button {
14
+		@include vendor('appearance', 'none');
15
+		@include vendor('transition', (
16
+			'background-color #{_duration(transition)} ease-in-out',
17
+			'color #{_duration(transition)} ease-in-out'
18
+		));
19
+		border-radius: _size(border-radius);
20
+		border: 0;
21
+		cursor: pointer;
22
+		display: inline-block;
23
+		font-weight: _font(weight);
24
+		height: 2.75em;
25
+		line-height: 2.75em;
26
+		min-width: 9.25em;
27
+		padding: 0 1.5em;
28
+		text-align: center;
29
+		text-decoration: none;
30
+		white-space: nowrap;
31
+
32
+		&.icon {
33
+			padding-left: 1.35em;
34
+
35
+			&:before {
36
+				margin-right: 0.5em;
37
+			}
38
+		}
39
+
40
+		&.fit {
41
+			width: 100%;
42
+		}
43
+
44
+		&.small {
45
+			font-size: 0.8em;
46
+		}
47
+
48
+		&.large {
49
+			font-size: 1.35em;
50
+		}
51
+
52
+		&.disabled,
53
+		&:disabled {
54
+			@include vendor('pointer-events', 'none');
55
+			opacity: 0.25;
56
+		}
57
+
58
+		@include breakpoint('<=small') {
59
+			min-width: 0;
60
+		}
61
+	}
62
+
63
+	@mixin color-button($p: null) {
64
+		input[type="submit"],
65
+		input[type="reset"],
66
+		input[type="button"],
67
+		button,
68
+		.button {
69
+			background-color: transparent;
70
+			box-shadow: inset 0 0 0 1px _palette($p, border);
71
+			color: _palette($p, fg-bold) !important;
72
+
73
+			&:hover {
74
+				background-color: _palette($p, border-bg);
75
+			}
76
+
77
+			&:active {
78
+				background-color: _palette($p, border2-bg);
79
+			}
80
+
81
+			&.icon {
82
+				&:before {
83
+					color: _palette($p, fg-light);
84
+				}
85
+			}
86
+
87
+			&.primary {
88
+				background-color: _palette(accent);
89
+				color: _palette(invert, bg) !important;
90
+				box-shadow: none;
91
+
92
+				&:hover {
93
+					background-color: lighten(_palette(accent), 3);
94
+				}
95
+
96
+				&:active {
97
+					background-color: darken(_palette(accent), 3);
98
+				}
99
+
100
+				&.icon {
101
+					&:before {
102
+						color: _palette(invert, bg) !important;
103
+					}
104
+				}
105
+			}
106
+		}
107
+	}
108
+
109
+	@include color-button;

+ 60
- 0
themes/stellar/assets/sass/components/_features.scss Wyświetl plik

@@ -0,0 +1,60 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Features */
8
+
9
+	.features {
10
+		@include vendor('display', 'flex');
11
+		@include vendor('flex-wrap', 'wrap');
12
+		@include vendor('justify-content', 'center');
13
+		width: calc(100% + #{_size(element-margin)});
14
+		margin: 0 0 (_size(element-margin) * 1.5) (_size(element-margin) * -1);
15
+		padding: 0;
16
+		list-style: none;
17
+
18
+		li {
19
+			width: calc(#{(100% / 3)} - #{_size(element-margin)});
20
+			margin-left: _size(element-margin);
21
+			margin-top: (_size(element-margin) * 1.5);
22
+			padding: 0;
23
+
24
+			&:nth-child(1),
25
+			&:nth-child(2),
26
+			&:nth-child(3) {
27
+				margin-top: 0;
28
+			}
29
+
30
+			> :last-child {
31
+				margin-bottom: 0;
32
+			}
33
+		}
34
+
35
+		@include breakpoint('<=medium') {
36
+			li {
37
+				width: calc(#{(100% / 2)} - #{_size(element-margin)});
38
+
39
+				&:nth-child(3) {
40
+					margin-top: (_size(element-margin) * 1.5);
41
+				}
42
+			}
43
+		}
44
+
45
+		@include breakpoint('<=small') {
46
+			width: 100%;
47
+			margin: 0 0 _size(element-margin) 0;
48
+
49
+			li {
50
+				width: 100%;
51
+				margin-left: 0;
52
+				margin-top: _size(element-margin);
53
+
54
+				&:nth-child(2),
55
+				&:nth-child(3) {
56
+					margin-top: _size(element-margin);
57
+				}
58
+			}
59
+		}
60
+	}

+ 220
- 0
themes/stellar/assets/sass/components/_form.scss Wyświetl plik

@@ -0,0 +1,220 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Form */
8
+
9
+	form {
10
+		margin: 0 0 _size(element-margin) 0;
11
+	}
12
+
13
+	label {
14
+		display: block;
15
+		font-size: 0.9em;
16
+		font-weight: _font(weight-bold);
17
+		margin: 0 0 (_size(element-margin) * 0.5) 0;
18
+	}
19
+
20
+	input[type="text"],
21
+	input[type="password"],
22
+	input[type="email"],
23
+	select,
24
+	textarea {
25
+		@include vendor('appearance', 'none');
26
+		border-radius: _size(border-radius);
27
+		border: solid 1px;
28
+		color: inherit;
29
+		display: block;
30
+		outline: 0;
31
+		padding: 0 1em;
32
+		text-decoration: none;
33
+		width: 100%;
34
+
35
+		&:invalid {
36
+			box-shadow: none;
37
+		}
38
+	}
39
+
40
+	select {
41
+		background-size: 1.25rem;
42
+		background-repeat: no-repeat;
43
+		background-position: calc(100% - 1rem) center;
44
+		height: _size(element-height);
45
+		padding-right: _size(element-height);
46
+		text-overflow: ellipsis;
47
+
48
+		&:focus {
49
+			&::-ms-value {
50
+				background-color: transparent;
51
+			}
52
+		}
53
+
54
+		&::-ms-expand {
55
+			display: none;
56
+		}
57
+	}
58
+
59
+	input[type="text"],
60
+	input[type="password"],
61
+	input[type="email"],
62
+	select {
63
+		height: _size(element-height);
64
+	}
65
+
66
+	textarea {
67
+		padding: 0.75em 1em;
68
+	}
69
+
70
+	input[type="checkbox"],
71
+	input[type="radio"], {
72
+		@include vendor('appearance', 'none');
73
+		display: block;
74
+		float: left;
75
+		margin-right: -2em;
76
+		opacity: 0;
77
+		width: 1em;
78
+		z-index: -1;
79
+
80
+		& + label {
81
+			@include icon;
82
+			cursor: pointer;
83
+			display: inline-block;
84
+			font-size: 1em;
85
+			font-weight: _font(weight);
86
+			padding-left: (_size(element-height) * 0.6) + 0.75em;
87
+			padding-right: 0.75em;
88
+			position: relative;
89
+
90
+			&:before {
91
+				border-radius: _size(border-radius);
92
+				border: solid 1px;
93
+				content: '';
94
+				display: inline-block;
95
+				height: (_size(element-height) * 0.6);
96
+				left: 0;
97
+				line-height: (_size(element-height) * 0.575);
98
+				position: absolute;
99
+				text-align: center;
100
+				top: 0;
101
+				width: (_size(element-height) * 0.6);
102
+			}
103
+		}
104
+
105
+		&:checked + label {
106
+			&:before {
107
+				content: '\f00c';
108
+			}
109
+		}
110
+	}
111
+
112
+	input[type="checkbox"] {
113
+		& + label {
114
+			&:before {
115
+				border-radius: _size(border-radius);
116
+			}
117
+		}
118
+	}
119
+
120
+	input[type="radio"] {
121
+		& + label {
122
+			&:before {
123
+				border-radius: 100%;
124
+			}
125
+		}
126
+	}
127
+
128
+	::-webkit-input-placeholder {
129
+		opacity: 1.0;
130
+	}
131
+
132
+	:-moz-placeholder {
133
+		opacity: 1.0;
134
+	}
135
+
136
+	::-moz-placeholder {
137
+		opacity: 1.0;
138
+	}
139
+
140
+	:-ms-input-placeholder {
141
+		opacity: 1.0;
142
+	}
143
+
144
+	@mixin color-form($p: null) {
145
+		label {
146
+			color: _palette($p, fg-bold);
147
+		}
148
+
149
+		input[type="text"],
150
+		input[type="password"],
151
+		input[type="email"],
152
+		select,
153
+		textarea {
154
+			background-color: _palette($p, border-bg);
155
+			border-color: _palette($p, border);
156
+
157
+			&:focus {
158
+				border-color: _palette(accent);
159
+				box-shadow: 0 0 0 1px _palette(accent);
160
+			}
161
+		}
162
+
163
+		select {
164
+			background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette($p, border)}' /></svg>");
165
+
166
+			option {
167
+				color: _palette($p, fg-bold);
168
+				background: _palette($p, bg);
169
+			}
170
+		}
171
+
172
+		input[type="checkbox"],
173
+		input[type="radio"], {
174
+			& + label {
175
+				color: _palette($p, fg);
176
+
177
+				&:before {
178
+					background: _palette($p, border-bg);
179
+					border-color: _palette($p, border);
180
+				}
181
+			}
182
+
183
+			&:checked + label {
184
+				&:before {
185
+					background-color: _palette($p, fg-bold);
186
+					border-color: _palette($p, fg-bold);
187
+					color: _palette($p, bg);
188
+				}
189
+			}
190
+
191
+			&:focus + label {
192
+				&:before {
193
+					border-color: _palette(accent);
194
+					box-shadow: 0 0 0 1px _palette(accent);
195
+				}
196
+			}
197
+		}
198
+
199
+		::-webkit-input-placeholder {
200
+			color: _palette($p, fg-light) !important;
201
+		}
202
+
203
+		:-moz-placeholder {
204
+			color: _palette($p, fg-light) !important;
205
+		}
206
+
207
+		::-moz-placeholder {
208
+			color: _palette($p, fg-light) !important;
209
+		}
210
+
211
+		:-ms-input-placeholder {
212
+			color: _palette($p, fg-light) !important;
213
+		}
214
+
215
+		.formerize-placeholder {
216
+			color: _palette($p, fg-light) !important;
217
+		}
218
+	}
219
+
220
+	@include color-form;

+ 130
- 0
themes/stellar/assets/sass/components/_icon.scss Wyświetl plik

@@ -0,0 +1,130 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Icon */
8
+
9
+	.icon {
10
+		@include icon;
11
+		@include vendor('transition', (
12
+			'background-color #{_duration(transition)} ease-in-out',
13
+			'color #{_duration(transition)} ease-in-out'
14
+		));
15
+		border-bottom: none;
16
+		position: relative;
17
+
18
+		> .label {
19
+			display: none;
20
+		}
21
+
22
+		&.major {
23
+			border: solid 1px;
24
+			display: inline-block;
25
+			border-radius: 100%;
26
+			padding: 0.65em;
27
+			margin: 0 0 _size(element-margin) 0;
28
+			cursor: default;
29
+
30
+			&:before {
31
+				display: inline-block;
32
+				font-size: 6.25rem;
33
+				width: 2.25em;
34
+				height: 2.25em;
35
+				line-height: 2.2em;
36
+				border-radius: 100%;
37
+				border: solid 1px;
38
+				text-align: center;
39
+			}
40
+		}
41
+
42
+		&.alt {
43
+			display: inline-block;
44
+			border: solid 1px;
45
+			border-radius: 100%;
46
+
47
+			&:before {
48
+				display: block;
49
+				font-size: 1.25em;
50
+				width: 2em;
51
+				height: 2em;
52
+				text-align: center;
53
+				line-height: 2em;
54
+			}
55
+		}
56
+
57
+		&.style1 {
58
+			color: _palette(accent1);
59
+		}
60
+
61
+		&.style2 {
62
+			color: _palette(accent2);
63
+		}
64
+
65
+		&.style3 {
66
+			color: _palette(accent3);
67
+		}
68
+
69
+		&.style4 {
70
+			color: _palette(accent4);
71
+		}
72
+
73
+		&.style5 {
74
+			color: _palette(accent5);
75
+		}
76
+
77
+		@include breakpoint('<=xlarge') {
78
+			&.major {
79
+				&:before {
80
+					font-size: 5.5rem;
81
+				}
82
+			}
83
+		}
84
+
85
+		@include breakpoint('<=large') {
86
+			&.major {
87
+				&:before {
88
+					font-size: 4.75rem;
89
+				}
90
+			}
91
+		}
92
+
93
+		@include breakpoint('<=small') {
94
+			&.major {
95
+				margin: 0 0 (_size(element-margin) * 0.75) 0;
96
+				padding: 0.35em;
97
+
98
+				&:before {
99
+					font-size: 3.5rem;
100
+				}
101
+			}
102
+		}
103
+	}
104
+
105
+	@mixin color-icon($p: null) {
106
+		.icon {
107
+			&.major {
108
+				border-color: _palette($p, border);
109
+
110
+				&:before {
111
+					border-color: _palette($p, border);
112
+				}
113
+			}
114
+
115
+			&.alt {
116
+ 				border-color: _palette($p, border);
117
+ 				color: _palette($p, fg-bold);
118
+
119
+				&:hover {
120
+					background-color: _palette($p, border-bg);
121
+				}
122
+
123
+				&:active {
124
+					background-color: _palette($p, border2-bg);
125
+				}
126
+ 			}
127
+		}
128
+	}
129
+
130
+	@include color-icon;

+ 22
- 0
themes/stellar/assets/sass/components/_icons.scss Wyświetl plik

@@ -0,0 +1,22 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Icons */
8
+
9
+	ul.icons {
10
+		cursor: default;
11
+		list-style: none;
12
+		padding-left: 0;
13
+
14
+		li {
15
+			display: inline-block;
16
+			padding: 0 0.65em 0 0;
17
+
18
+			&:last-child {
19
+				padding-right: 0 !important;
20
+			}
21
+		}
22
+	}

+ 60
- 0
themes/stellar/assets/sass/components/_image.scss Wyświetl plik

@@ -0,0 +1,60 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Image */
8
+
9
+	.image {
10
+		border-radius: _size(border-radius);
11
+		border: 0;
12
+		display: inline-block;
13
+		position: relative;
14
+
15
+		img {
16
+			border-radius: _size(border-radius);
17
+			display: block;
18
+		}
19
+
20
+		&.left,
21
+		&.right {
22
+			max-width: 40%;
23
+
24
+			img {
25
+				width: 100%;
26
+			}
27
+		}
28
+
29
+		&.left {
30
+			float: left;
31
+			margin: 0 1.5em 1em 0;
32
+			top: 0.25em;
33
+		}
34
+
35
+		&.right {
36
+			float: right;
37
+			margin: 0 0 1em 1.5em;
38
+			top: 0.25em;
39
+		}
40
+
41
+		&.fit {
42
+			display: block;
43
+			margin: 0 0 _size(element-margin) 0;
44
+			width: 100%;
45
+
46
+			img {
47
+				width: 100%;
48
+			}
49
+		}
50
+
51
+		&.main {
52
+			display: block;
53
+			margin: 0 0 (_size(element-margin) * 1.5) 0;
54
+			width: 100%;
55
+
56
+			img {
57
+				width: 100%;
58
+			}
59
+		}
60
+	}

+ 94
- 0
themes/stellar/assets/sass/components/_list.scss Wyświetl plik

@@ -0,0 +1,94 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* List */
8
+
9
+	ol {
10
+		list-style: decimal;
11
+		margin: 0 0 _size(element-margin) 0;
12
+		padding-left: 1.25em;
13
+
14
+		li {
15
+			padding-left: 0.25em;
16
+		}
17
+	}
18
+
19
+	ul {
20
+		list-style: disc;
21
+		margin: 0 0 _size(element-margin) 0;
22
+		padding-left: 1em;
23
+
24
+		li {
25
+			padding-left: 0.5em;
26
+		}
27
+
28
+		&.alt {
29
+			list-style: none;
30
+			padding-left: 0;
31
+
32
+			li {
33
+				border-top: solid 1px;
34
+				padding: 0.5em 0;
35
+
36
+				&:first-child {
37
+					border-top: 0;
38
+					padding-top: 0;
39
+				}
40
+			}
41
+		}
42
+	}
43
+
44
+	dl {
45
+		margin: 0 0 _size(element-margin) 0;
46
+
47
+		dt {
48
+			display: block;
49
+			font-weight: _font(weight-bold);
50
+			margin: 0 0 (_size(element-margin) * 0.5) 0;
51
+		}
52
+
53
+		dd {
54
+			margin-left: _size(element-margin);
55
+		}
56
+
57
+		&.alt {
58
+			dt {
59
+				display: block;
60
+				width: 3em;
61
+				margin: 0;
62
+				clear: left;
63
+				float: left;
64
+			}
65
+
66
+			dd {
67
+				margin: 0 0 0.85em 5.5em;
68
+			}
69
+
70
+			&:after {
71
+				content: '';
72
+				display: block;
73
+				clear: both;
74
+			}
75
+		}
76
+	}
77
+
78
+	@mixin color-list($p: null) {
79
+		ul {
80
+			&.alt {
81
+				li {
82
+					border-top-color: _palette($p, border);
83
+				}
84
+			}
85
+		}
86
+
87
+		dl {
88
+			dt {
89
+				color: _palette($p, fg-bold);
90
+			}
91
+		}
92
+	}
93
+
94
+	@include color-list;

+ 31
- 0
themes/stellar/assets/sass/components/_row.scss Wyświetl plik

@@ -0,0 +1,31 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Row */
8
+
9
+	.row {
10
+		@include html-grid(1.5em);
11
+
12
+		@include breakpoint('<=xlarge') {
13
+			@include html-grid(1.5em, 'xlarge');
14
+		}
15
+
16
+		@include breakpoint('<=large') {
17
+			@include html-grid(1.5em, 'large');
18
+		}
19
+
20
+		@include breakpoint('<=medium') {
21
+			@include html-grid(1.5em, 'medium');
22
+		}
23
+
24
+		@include breakpoint('<=small') {
25
+			@include html-grid(1em, 'small');
26
+		}
27
+
28
+		@include breakpoint('<=xsmall') {
29
+			@include html-grid(1.25em, 'xsmall');
30
+		}
31
+	}

+ 104
- 0
themes/stellar/assets/sass/components/_section.scss Wyświetl plik

@@ -0,0 +1,104 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Section/Article */
8
+
9
+	section, article {
10
+		&.special {
11
+			text-align: center;
12
+		}
13
+	}
14
+
15
+	header {
16
+		&.major {
17
+			margin-bottom: (_size(element-margin) * 1.5);
18
+
19
+			h2 {
20
+				font-size: 2em;
21
+
22
+				&:after {
23
+					display: block;
24
+					content: '';
25
+					width: 3.25em;
26
+					height: 2px;
27
+					margin: (_size(element-margin) * 0.35) 0 (_size(element-margin) * 0.5) 0;
28
+					border-radius: 2px;
29
+
30
+					section.special &, article.special & {
31
+						margin-left: auto;
32
+						margin-right: auto;
33
+					}
34
+				}
35
+			}
36
+
37
+			p {
38
+				font-size: 1.25em;
39
+				letter-spacing: _font(letter-spacing);
40
+			}
41
+
42
+			&.special {
43
+				text-align: center;
44
+
45
+				h2 {
46
+					&:after {
47
+						margin-left: auto;
48
+						margin-right: auto;
49
+					}
50
+				}
51
+			}
52
+		}
53
+	}
54
+
55
+	footer {
56
+		&.major {
57
+			margin-top: (_size(element-margin) * 1.5);
58
+		}
59
+	}
60
+
61
+	@include breakpoint('<=small') {
62
+		header {
63
+			&.major {
64
+				margin-bottom: 0;
65
+
66
+				h2 {
67
+					font-size: 1.5em;
68
+				}
69
+
70
+				p {
71
+					font-size: 1em;
72
+					letter-spacing: 0;
73
+
74
+					br {
75
+						display: none;
76
+					}
77
+				}
78
+			}
79
+		}
80
+
81
+		footer {
82
+			&.major {
83
+				margin-top: 0;
84
+			}
85
+		}
86
+	}
87
+
88
+	@mixin color-section($p: null) {
89
+		header {
90
+			&.major {
91
+				h2 {
92
+					&:after {
93
+						background-color: _palette($p, border);
94
+
95
+						@if $p == 'invert' {
96
+							@include vendor('background-image', 'linear-gradient(90deg, #{_palette(accent1)}, #{_palette(accent3)}, #{_palette(accent5)})');
97
+						}
98
+					}
99
+				}
100
+			}
101
+		}
102
+	}
103
+
104
+	@include color-section;

+ 93
- 0
themes/stellar/assets/sass/components/_spotlight.scss Wyświetl plik

@@ -0,0 +1,93 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Spotlight */
8
+
9
+	.spotlight {
10
+		@include vendor('display', 'flex');
11
+		@include vendor('align-items', 'center');
12
+		margin: 0 0 _size(element-margin) 0;
13
+
14
+		.content {
15
+			@include vendor('flex', '1');
16
+
17
+			> :last-child {
18
+				margin-bottom: 0;
19
+			}
20
+
21
+			header {
22
+				&.major {
23
+					margin: 0 0 _size(element-margin) 0;
24
+				}
25
+			}
26
+		}
27
+
28
+		.image {
29
+			display: inline-block;
30
+			margin-left: 4em;
31
+			padding: 0.65em;
32
+			border-radius: 100%;
33
+			border: solid 1px;
34
+
35
+			img {
36
+				display: block;
37
+				border-radius: 100%;
38
+				width: 16em;
39
+			}
40
+		}
41
+
42
+		@include breakpoint('<=medium') {
43
+			@include vendor('flex-direction', 'column-reverse');
44
+			text-align: center;
45
+
46
+			.content {
47
+				@include vendor('flex', '0 1 auto');
48
+				width: 100%;
49
+
50
+				header {
51
+					&.major {
52
+						h2 {
53
+							&:after {
54
+								margin-left: auto;
55
+								margin-right: auto;
56
+							}
57
+						}
58
+					}
59
+				}
60
+
61
+				.actions {
62
+					@include vendor('justify-content', 'center');
63
+					width: calc(100% + #{_size(element-margin) * 0.5});
64
+				}
65
+			}
66
+
67
+			.image {
68
+				@include vendor('flex', '0 1 auto');
69
+				margin-left: 0;
70
+				margin-bottom: _size(element-margin);
71
+			}
72
+		}
73
+
74
+		@include breakpoint('<=small') {
75
+			.image {
76
+				padding: 0.35em;
77
+
78
+				img {
79
+					width: 12em;
80
+				}
81
+			}
82
+		}
83
+	}
84
+
85
+	@mixin color-spotlight($p: null) {
86
+		.spotlight {
87
+			.image {
88
+				border-color: _palette($p, border);
89
+			}
90
+		}
91
+	}
92
+
93
+	@include color-spotlight;

+ 108
- 0
themes/stellar/assets/sass/components/_statistics.scss Wyświetl plik

@@ -0,0 +1,108 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Statistics */
8
+
9
+	.statistics {
10
+		@include vendor('display', 'flex');
11
+		width: 100%;
12
+		margin: 0 0 (_size(element-margin) * 1.5) 0;
13
+		padding: 0;
14
+		list-style: none;
15
+		cursor: default;
16
+
17
+		li {
18
+			@include vendor('flex', '1');
19
+			padding: 1.5em;
20
+			color: _palette(fg-bold);
21
+			text-align: center;
22
+
23
+			&.style1 {
24
+				background-color: _palette(accent1);
25
+			}
26
+
27
+			&.style2 {
28
+				background-color: _palette(accent2);
29
+			}
30
+
31
+			&.style3 {
32
+				background-color: _palette(accent3);
33
+			}
34
+
35
+			&.style4 {
36
+				background-color: _palette(accent4);
37
+			}
38
+
39
+			&.style5 {
40
+				background-color: _palette(accent5);
41
+			}
42
+
43
+			strong, b {
44
+				display: block;
45
+				font-size: 2em;
46
+				line-height: 1.1;
47
+				color: inherit !important;
48
+				font-weight: _font(weight);
49
+				letter-spacing: _font(letter-spacing);
50
+			}
51
+
52
+			&:first-child {
53
+				border-top-left-radius: _size(border-radius);
54
+				border-bottom-left-radius: _size(border-radius);
55
+			}
56
+
57
+			&:last-child {
58
+				border-top-right-radius: _size(border-radius);
59
+				border-bottom-right-radius: _size(border-radius);
60
+			}
61
+
62
+			.icon {
63
+				display: inline-block;
64
+
65
+				&:before {
66
+					font-size: 2.75rem;
67
+					line-height: 1.3;
68
+				}
69
+			}
70
+		}
71
+
72
+		@include breakpoint('<=medium') {
73
+			li {
74
+				strong, b {
75
+					font-size: 1.5em;
76
+				}
77
+			}
78
+		}
79
+
80
+		@include breakpoint('<=small') {
81
+			display: block;
82
+			width: 20em;
83
+			max-width: 100%;
84
+			margin: 0 auto _size(element-margin) auto;
85
+
86
+			li {
87
+				&:first-child {
88
+					border-bottom-left-radius: 0;
89
+					border-top-right-radius: _size(border-radius);
90
+				}
91
+
92
+				&:last-child {
93
+					border-top-right-radius: 0;
94
+					border-bottom-left-radius: _size(border-radius);
95
+				}
96
+
97
+				.icon {
98
+					&:before {
99
+						font-size: 3.75rem;
100
+					}
101
+				}
102
+
103
+				strong, b {
104
+					font-size: 2.5em;
105
+				}
106
+			}
107
+		}
108
+	}

+ 114
- 0
themes/stellar/assets/sass/components/_table.scss Wyświetl plik

@@ -0,0 +1,114 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Table */
8
+
9
+	.table-wrapper {
10
+		-webkit-overflow-scrolling: touch;
11
+		overflow-x: auto;
12
+	}
13
+
14
+	table {
15
+		margin: 0 0 _size(element-margin) 0;
16
+		width: 100%;
17
+
18
+		tbody {
19
+			tr {
20
+				border: solid 1px;
21
+				border-left: 0;
22
+				border-right: 0;
23
+			}
24
+		}
25
+
26
+		td {
27
+			padding: 0.75em 0.75em;
28
+		}
29
+
30
+		th {
31
+			font-size: 0.9em;
32
+			font-weight: _font(weight-bold);
33
+			padding: 0 0.75em 0.75em 0.75em;
34
+			text-align: left;
35
+		}
36
+
37
+		thead {
38
+			border-bottom: solid 2px;
39
+		}
40
+
41
+		tfoot {
42
+			border-top: solid 2px;
43
+		}
44
+
45
+		&.alt {
46
+			border-collapse: separate;
47
+
48
+			tbody {
49
+				tr {
50
+					td {
51
+						border: solid 1px;
52
+						border-left-width: 0;
53
+						border-top-width: 0;
54
+
55
+						&:first-child {
56
+							border-left-width: 1px;
57
+						}
58
+					}
59
+
60
+					&:first-child {
61
+						td {
62
+							border-top-width: 1px;
63
+						}
64
+					}
65
+				}
66
+			}
67
+
68
+			thead {
69
+				border-bottom: 0;
70
+			}
71
+
72
+			tfoot {
73
+				border-top: 0;
74
+			}
75
+		}
76
+	}
77
+
78
+	@mixin color-table($p: null) {
79
+		table {
80
+			tbody {
81
+				tr {
82
+					border-color: _palette($p, border);
83
+
84
+					&:nth-child(2n + 1) {
85
+						background-color: _palette($p, border-bg);
86
+					}
87
+				}
88
+			}
89
+
90
+			th {
91
+				color: _palette($p, fg-bold);
92
+			}
93
+
94
+			thead {
95
+				border-bottom-color: _palette($p, border);
96
+			}
97
+
98
+			tfoot {
99
+				border-top-color: _palette($p, border);
100
+			}
101
+
102
+			&.alt {
103
+				tbody {
104
+					tr {
105
+						td {
106
+							border-color: _palette($p, border);
107
+						}
108
+					}
109
+				}
110
+			}
111
+		}
112
+	}
113
+
114
+	@include color-table;

+ 60
- 0
themes/stellar/assets/sass/layout/_footer.scss Wyświetl plik

@@ -0,0 +1,60 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Footer */
8
+
9
+	#footer {
10
+		@include vendor('display', 'flex');
11
+		@include vendor('flex-wrap', 'wrap');
12
+		@include padding(5em, 5em);
13
+		width: calc(100% + #{_size(element-margin)});
14
+		margin: 0 0 (_size(element-margin) * 1.5) (_size(element-margin) * -1);
15
+
16
+		> * {
17
+			width: calc(50% - #{_size(element-margin)});
18
+			margin-left: _size(element-margin);
19
+		}
20
+
21
+		.copyright {
22
+			width: 100%;
23
+			margin: (_size(element-margin) * 1.25) 0 _size(element-margin) 0;
24
+			font-size: 0.8em;
25
+			text-align: center;
26
+		}
27
+
28
+		@include breakpoint('<=large') {
29
+			@include padding(4em, 4em);
30
+		}
31
+
32
+		@include breakpoint('<=medium') {
33
+			@include padding(4em, 3em);
34
+			display: block;
35
+			margin: 0 0 (_size(element-margin) * 1.5) 0;
36
+			width: 100%;
37
+
38
+			> * {
39
+				width: 100%;
40
+				margin-left: 0;
41
+				margin-bottom: (_size(element-margin) * 1.5);
42
+			}
43
+
44
+			.copyright {
45
+				text-align: left;
46
+			}
47
+		}
48
+
49
+		@include breakpoint('<=small') {
50
+			@include padding(3em, 2em);
51
+		}
52
+
53
+		@include breakpoint('<=xsmall') {
54
+			@include padding(3em, 1.5em);
55
+		}
56
+
57
+		@include breakpoint('<=xsmall') {
58
+			@include padding(2.5em, 1em);
59
+		}
60
+	}

+ 116
- 0
themes/stellar/assets/sass/layout/_header.scss Wyświetl plik

@@ -0,0 +1,116 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Header */
8
+
9
+	#header {
10
+		@include padding(5em, 5em, (0, 0, -2em, 0));
11
+		text-align: center;
12
+
13
+		h1 {
14
+			margin: 0 0 (_size(element-margin) * 0.125) 0;
15
+		}
16
+
17
+		p {
18
+			font-size: 1.25em;
19
+			letter-spacing: _font(letter-spacing);
20
+		}
21
+
22
+		&.alt {
23
+			@include padding(6em, 5em, (1em, 0, 0, 0));
24
+
25
+			h1 {
26
+				font-size: 3.25em;
27
+			}
28
+
29
+			> * {
30
+				@include vendor('transition', 'opacity 3s ease');
31
+				@include vendor('transition-delay', '0.5s');
32
+				opacity: 1;
33
+			}
34
+
35
+			.logo {
36
+				@include vendor('transition', (
37
+					'opacity 1.25s ease',
38
+					'transform 0.5s ease'
39
+				));
40
+				@include vendor('transition-delay', '0s');
41
+				display: block;
42
+				margin: 0 0 (_size(element-margin) * 0.75) 0;
43
+
44
+				img {
45
+					display: block;
46
+					margin: 0 auto;
47
+					max-width: 75%;
48
+				}
49
+			}
50
+		}
51
+
52
+		@include breakpoint('<=large') {
53
+			@include padding(4em, 4em, (0, 0, -2em, 0));
54
+
55
+			&.alt {
56
+				@include padding(5em, 4em, (1em, 0, 0, 0));
57
+			}
58
+		}
59
+
60
+		@include breakpoint('<=medium') {
61
+			@include padding(4em, 3em, (0, 0, -2em, 0));
62
+
63
+			&.alt {
64
+				@include padding(4em, 3em, (1em, 0, 0, 0));
65
+			}
66
+		}
67
+
68
+		@include breakpoint('<=small') {
69
+			@include padding(3em, 2em, (0, 0, -1em, 0));
70
+
71
+			p {
72
+				font-size: 1em;
73
+				letter-spacing: 0;
74
+
75
+				br {
76
+					display: none;
77
+				}
78
+			}
79
+
80
+			&.alt {
81
+				@include padding(3em, 2em, (1em, 0, 0, 0));
82
+
83
+				h1 {
84
+					font-size: 2.5em;
85
+				}
86
+			}
87
+		}
88
+
89
+		@include breakpoint('<=xsmall') {
90
+			@include padding(3em, 1.5em, (0, 0, -1em, 0));
91
+
92
+			&.alt {
93
+				@include padding(3em, 1.5em, (1em, 0, 0, 0));
94
+			}
95
+		}
96
+
97
+		@include breakpoint('<=xxsmall') {
98
+			@include padding(2.5em, 1em, (0, 0, -1em, 0));
99
+
100
+			&.alt {
101
+				@include padding(2.5em, 1em, (1em, 0, 0, 0));
102
+			}
103
+		}
104
+
105
+		body.is-preload & {
106
+			&.alt {
107
+				> * {
108
+					opacity: 0;
109
+				}
110
+
111
+				.logo {
112
+					@include vendor('transform', 'scale(0.8) rotate(-30deg)');
113
+				}
114
+			}
115
+		}
116
+	}

+ 99
- 0
themes/stellar/assets/sass/layout/_main.scss Wyświetl plik

@@ -0,0 +1,99 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Main */
8
+
9
+	#main {
10
+		@include color(invert);
11
+		border-radius: _size(border-radius-main);
12
+
13
+		> .main {
14
+			@include padding(5em, 5em);
15
+			border-top: solid 1px _palette(invert, border);
16
+
17
+			&:first-child {
18
+				border-top: 0;
19
+			}
20
+
21
+			> .image.main:first-child {
22
+				margin: -5em 0 5em -5em;
23
+				width: calc(100% + 10em);
24
+				border-top-right-radius: _size(border-radius-main);
25
+				border-top-left-radius: _size(border-radius-main);
26
+				border-bottom-right-radius: 0;
27
+				border-bottom-left-radius: 0;
28
+
29
+				img {
30
+					border-top-right-radius: _size(border-radius-main);
31
+					border-top-left-radius: _size(border-radius-main);
32
+					border-bottom-right-radius: 0;
33
+					border-bottom-left-radius: 0;
34
+				}
35
+			}
36
+		}
37
+
38
+		@include breakpoint('<=large') {
39
+			> .main {
40
+				@include padding(4em, 4em);
41
+
42
+				> .image.main:first-child {
43
+					margin: -4em 0 4em -4em;
44
+					width: calc(100% + 8em);
45
+				}
46
+			}
47
+		}
48
+
49
+		@include breakpoint('<=medium') {
50
+			> .main {
51
+				@include padding(4em, 3em);
52
+
53
+				> .image.main:first-child {
54
+					margin: -4em 0 4em -3em;
55
+					width: calc(100% + 6em);
56
+				}
57
+			}
58
+		}
59
+
60
+		@include breakpoint('<=small') {
61
+			> .main {
62
+				@include padding(3em, 2em);
63
+
64
+				> .image.main:first-child {
65
+					margin: -3em 0 2em -2em;
66
+					width: calc(100% + 4em);
67
+				}
68
+			}
69
+		}
70
+
71
+		@include breakpoint('<=xsmall') {
72
+			> .main {
73
+				@include padding(3em, 1.5em);
74
+
75
+				> .image.main:first-child {
76
+					margin: -3em 0 1.5em -1.5em;
77
+					width: calc(100% + 3em);
78
+				}
79
+			}
80
+		}
81
+
82
+		@include breakpoint('<=xxsmall') {
83
+			border-radius: 0;
84
+
85
+			> .main {
86
+				@include padding(2.5em, 1em);
87
+
88
+				> .image.main:first-child {
89
+					margin: -2.5em 0 1.5em -1em;
90
+					width: calc(100% + 2em);
91
+					border-radius: 0;
92
+
93
+					img {
94
+						border-radius: 0;
95
+					}
96
+				}
97
+			}
98
+		}
99
+	}

+ 96
- 0
themes/stellar/assets/sass/layout/_nav.scss Wyświetl plik

@@ -0,0 +1,96 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Nav */
8
+
9
+	#nav {
10
+		@include vendor('transition', (
11
+			'background-color #{_duration(transition)} ease',
12
+			'border-top-left-radius #{_duration(transition)} ease',
13
+			'border-top-right-radius #{_duration(transition)} ease',
14
+			'padding #{_duration(transition)} ease',
15
+		));
16
+		@include color-typography(invert);
17
+		position: absolute;
18
+		width: _size(inner);
19
+		max-width: calc(100% - #{_size(element-margin) * 2});
20
+		padding: 1em;
21
+		background-color: _palette(invert, bg-alt);
22
+		border-top-left-radius: _size(border-radius-main);
23
+		border-top-right-radius: _size(border-radius-main);
24
+		cursor: default;
25
+		text-align: center;
26
+
27
+		& + #main {
28
+			padding-top: 4.25em;
29
+		}
30
+
31
+		ul {
32
+			margin: 0;
33
+			padding: 0;
34
+			list-style: none;
35
+
36
+			li {
37
+				@include vendor('transition', (
38
+					'margin #{_duration(transition)} ease'
39
+				));
40
+				display: inline-block;
41
+				margin: 0 0.35em;
42
+				padding: 0;
43
+				vertical-align: middle;
44
+
45
+				a {
46
+					@include vendor('transition', (
47
+						'font-size #{_duration(transition)} ease'
48
+					));
49
+					display: inline-block;
50
+					height: 2.25em;
51
+					line-height: 2.25em;
52
+					padding: 0 1.25em;
53
+					border: 0;
54
+					border-radius: _size(border-radius);
55
+					box-shadow: inset 0 0 0 1px transparent;
56
+
57
+					&:hover {
58
+						background-color: _palette(invert, border-bg);
59
+					}
60
+
61
+					&.active {
62
+						background-color: _palette(invert, bg);
63
+						box-shadow: none;
64
+					}
65
+				}
66
+			}
67
+		}
68
+
69
+		&.alt {
70
+			position: fixed;
71
+			top: 0;
72
+			padding: 0.5em 1em;
73
+			background-color: transparentize(_palette(invert, bg-alt), 0.05);
74
+			border-top-left-radius: 0;
75
+			border-top-right-radius: 0;
76
+			z-index: _misc(z-index-base);
77
+
78
+			ul {
79
+				li {
80
+					margin: 0 0.175em;
81
+
82
+					a {
83
+						font-size: 0.9em;
84
+					}
85
+				}
86
+			}
87
+		}
88
+
89
+		@include breakpoint('<=small') {
90
+			display: none;
91
+
92
+			& + #main {
93
+				padding-top: 0;
94
+			}
95
+		}
96
+	}

+ 21
- 0
themes/stellar/assets/sass/layout/_wrapper.scss Wyświetl plik

@@ -0,0 +1,21 @@
1
+///
2
+/// Stellar by HTML5 UP
3
+/// html5up.net | @ajlkn
4
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+///
6
+
7
+/* Wrapper */
8
+
9
+	#wrapper {
10
+		width: _size(inner);
11
+		max-width: calc(100% - 4em);
12
+		margin: 0 auto;
13
+
14
+		@include breakpoint('<=xsmall') {
15
+			max-width: calc(100% - 2em);
16
+		}
17
+
18
+		@include breakpoint('<=xxsmall') {
19
+			max-width: 100%;
20
+		}
21
+	}

+ 223
- 0
themes/stellar/assets/sass/libs/_breakpoints.scss Wyświetl plik

@@ -0,0 +1,223 @@
1
+// breakpoints.scss v1.0 | @ajlkn | MIT licensed */
2
+
3
+// Vars.
4
+
5
+	/// Breakpoints.
6
+	/// @var {list}
7
+	$breakpoints: () !global;
8
+
9
+// Mixins.
10
+
11
+	/// Sets breakpoints.
12
+	/// @param {map} $x Breakpoints.
13
+	@mixin breakpoints($x: ()) {
14
+		$breakpoints: $x !global;
15
+	}
16
+
17
+	/// Wraps @content in a @media block targeting a specific orientation.
18
+	/// @param {string} $orientation Orientation.
19
+	@mixin orientation($orientation) {
20
+		@media screen and (orientation: #{$orientation}) {
21
+			@content;
22
+		}
23
+	}
24
+
25
+	/// Wraps @content in a @media block using a given query.
26
+	/// @param {string} $query Query.
27
+	@mixin breakpoint($query: null) {
28
+
29
+		$breakpoint: null;
30
+		$op: null;
31
+		$media: null;
32
+
33
+		// Determine operator, breakpoint.
34
+
35
+			// Greater than or equal.
36
+				@if (str-slice($query, 0, 2) == '>=') {
37
+
38
+					$op: 'gte';
39
+					$breakpoint: str-slice($query, 3);
40
+
41
+				}
42
+
43
+			// Less than or equal.
44
+				@elseif (str-slice($query, 0, 2) == '<=') {
45
+
46
+					$op: 'lte';
47
+					$breakpoint: str-slice($query, 3);
48
+
49
+				}
50
+
51
+			// Greater than.
52
+				@elseif (str-slice($query, 0, 1) == '>') {
53
+
54
+					$op: 'gt';
55
+					$breakpoint: str-slice($query, 2);
56
+
57
+				}
58
+
59
+			// Less than.
60
+				@elseif (str-slice($query, 0, 1) == '<') {
61
+
62
+					$op: 'lt';
63
+					$breakpoint: str-slice($query, 2);
64
+
65
+				}
66
+
67
+			// Not.
68
+				@elseif (str-slice($query, 0, 1) == '!') {
69
+
70
+					$op: 'not';
71
+					$breakpoint: str-slice($query, 2);
72
+
73
+				}
74
+
75
+			// Equal.
76
+				@else {
77
+
78
+					$op: 'eq';
79
+					$breakpoint: $query;
80
+
81
+				}
82
+
83
+		// Build media.
84
+			@if ($breakpoint and map-has-key($breakpoints, $breakpoint)) {
85
+
86
+				$a: map-get($breakpoints, $breakpoint);
87
+
88
+				// Range.
89
+					@if (type-of($a) == 'list') {
90
+
91
+						$x: nth($a, 1);
92
+						$y: nth($a, 2);
93
+
94
+						// Max only.
95
+							@if ($x == null) {
96
+
97
+								// Greater than or equal (>= 0 / anything)
98
+									@if ($op == 'gte') {
99
+										$media: 'screen';
100
+									}
101
+
102
+								// Less than or equal (<= y)
103
+									@elseif ($op == 'lte') {
104
+										$media: 'screen and (max-width: ' + $y + ')';
105
+									}
106
+
107
+								// Greater than (> y)
108
+									@elseif ($op == 'gt') {
109
+										$media: 'screen and (min-width: ' + ($y + 1) + ')';
110
+									}
111
+
112
+								// Less than (< 0 / invalid)
113
+									@elseif ($op == 'lt') {
114
+										$media: 'screen and (max-width: -1px)';
115
+									}
116
+
117
+								// Not (> y)
118
+									@elseif ($op == 'not') {
119
+										$media: 'screen and (min-width: ' + ($y + 1) + ')';
120
+									}
121
+
122
+								// Equal (<= y)
123
+									@else {
124
+										$media: 'screen and (max-width: ' + $y + ')';
125
+									}
126
+
127
+							}
128
+
129
+						// Min only.
130
+							@else if ($y == null) {
131
+
132
+								// Greater than or equal (>= x)
133
+									@if ($op == 'gte') {
134
+										$media: 'screen and (min-width: ' + $x + ')';
135
+									}
136
+
137
+								// Less than or equal (<= inf / anything)
138
+									@elseif ($op == 'lte') {
139
+										$media: 'screen';
140
+									}
141
+
142
+								// Greater than (> inf / invalid)
143
+									@elseif ($op == 'gt') {
144
+										$media: 'screen and (max-width: -1px)';
145
+									}
146
+
147
+								// Less than (< x)
148
+									@elseif ($op == 'lt') {
149
+										$media: 'screen and (max-width: ' + ($x - 1) + ')';
150
+									}
151
+
152
+								// Not (< x)
153
+									@elseif ($op == 'not') {
154
+										$media: 'screen and (max-width: ' + ($x - 1) + ')';
155
+									}
156
+
157
+								// Equal (>= x)
158
+									@else {
159
+										$media: 'screen and (min-width: ' + $x + ')';
160
+									}
161
+
162
+							}
163
+
164
+						// Min and max.
165
+							@else {
166
+
167
+								// Greater than or equal (>= x)
168
+									@if ($op == 'gte') {
169
+										$media: 'screen and (min-width: ' + $x + ')';
170
+									}
171
+
172
+								// Less than or equal (<= y)
173
+									@elseif ($op == 'lte') {
174
+										$media: 'screen and (max-width: ' + $y + ')';
175
+									}
176
+
177
+								// Greater than (> y)
178
+									@elseif ($op == 'gt') {
179
+										$media: 'screen and (min-width: ' + ($y + 1) + ')';
180
+									}
181
+
182
+								// Less than (< x)
183
+									@elseif ($op == 'lt') {
184
+										$media: 'screen and (max-width: ' + ($x - 1) + ')';
185
+									}
186
+
187
+								// Not (< x and > y)
188
+									@elseif ($op == 'not') {
189
+										$media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')';
190
+									}
191
+
192
+								// Equal (>= x and <= y)
193
+									@else {
194
+										$media: 'screen and (min-width: ' + $x + ') and (max-width: ' + $y + ')';
195
+									}
196
+
197
+							}
198
+
199
+					}
200
+
201
+				// String.
202
+					@else {
203
+
204
+						// Missing a media type? Prefix with "screen".
205
+							@if (str-slice($a, 0, 1) == '(') {
206
+								$media: 'screen and ' + $a;
207
+							}
208
+
209
+						// Otherwise, use as-is.
210
+							@else {
211
+								$media: $a;
212
+							}
213
+
214
+					}
215
+
216
+			}
217
+
218
+		// Output.
219
+	        @media #{$media} {
220
+				@content;
221
+			}
222
+
223
+	}

+ 90
- 0
themes/stellar/assets/sass/libs/_functions.scss Wyświetl plik

@@ -0,0 +1,90 @@
1
+/// Removes a specific item from a list.
2
+/// @author Hugo Giraudel
3
+/// @param {list} $list List.
4
+/// @param {integer} $index Index.
5
+/// @return {list} Updated list.
6
+@function remove-nth($list, $index) {
7
+
8
+	$result: null;
9
+
10
+	@if type-of($index) != number {
11
+		@warn "$index: #{quote($index)} is not a number for `remove-nth`.";
12
+	}
13
+	@else if $index == 0 {
14
+		@warn "List index 0 must be a non-zero integer for `remove-nth`.";
15
+	}
16
+	@else if abs($index) > length($list) {
17
+		@warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
18
+	}
19
+	@else {
20
+
21
+		$result: ();
22
+		$index: if($index < 0, length($list) + $index + 1, $index);
23
+
24
+		@for $i from 1 through length($list) {
25
+
26
+			@if $i != $index {
27
+				$result: append($result, nth($list, $i));
28
+			}
29
+
30
+		}
31
+
32
+	}
33
+
34
+	@return $result;
35
+
36
+}
37
+
38
+/// Gets a value from a map.
39
+/// @author Hugo Giraudel
40
+/// @param {map} $map Map.
41
+/// @param {string} $keys Key(s).
42
+/// @return {string} Value.
43
+@function val($map, $keys...) {
44
+
45
+	@if nth($keys, 1) == null {
46
+		$keys: remove-nth($keys, 1);
47
+	}
48
+
49
+	@each $key in $keys {
50
+		$map: map-get($map, $key);
51
+	}
52
+
53
+	@return $map;
54
+
55
+}
56
+
57
+/// Gets a duration value.
58
+/// @param {string} $keys Key(s).
59
+/// @return {string} Value.
60
+@function _duration($keys...) {
61
+	@return val($duration, $keys...);
62
+}
63
+
64
+/// Gets a font value.
65
+/// @param {string} $keys Key(s).
66
+/// @return {string} Value.
67
+@function _font($keys...) {
68
+	@return val($font, $keys...);
69
+}
70
+
71
+/// Gets a misc value.
72
+/// @param {string} $keys Key(s).
73
+/// @return {string} Value.
74
+@function _misc($keys...) {
75
+	@return val($misc, $keys...);
76
+}
77
+
78
+/// Gets a palette value.
79
+/// @param {string} $keys Key(s).
80
+/// @return {string} Value.
81
+@function _palette($keys...) {
82
+	@return val($palette, $keys...);
83
+}
84
+
85
+/// Gets a size value.
86
+/// @param {string} $keys Key(s).
87
+/// @return {string} Value.
88
+@function _size($keys...) {
89
+	@return val($size, $keys...);
90
+}

+ 149
- 0
themes/stellar/assets/sass/libs/_html-grid.scss Wyświetl plik

@@ -0,0 +1,149 @@
1
+// html-grid.scss v1.0 | @ajlkn | MIT licensed */
2
+
3
+// Mixins.
4
+
5
+	/// Initializes the current element as an HTML grid.
6
+	/// @param {mixed} $gutters Gutters (either a single number to set both column/row gutters, or a list to set them individually).
7
+	/// @param {mixed} $suffix Column class suffix (optional; either a single suffix or a list).
8
+	@mixin html-grid($gutters: 1.5em, $suffix: '') {
9
+
10
+		// Initialize.
11
+			$cols: 12;
12
+			$multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00;
13
+			$unit: 100% / $cols;
14
+
15
+			// Suffixes.
16
+				$suffixes: null;
17
+
18
+				@if (type-of($suffix) == 'list') {
19
+					$suffixes: $suffix;
20
+				}
21
+				@else {
22
+					$suffixes: ($suffix);
23
+				}
24
+
25
+			// Gutters.
26
+				$guttersCols: null;
27
+				$guttersRows: null;
28
+
29
+				@if (type-of($gutters) == 'list') {
30
+
31
+					$guttersCols: nth($gutters, 1);
32
+					$guttersRows: nth($gutters, 2);
33
+
34
+				}
35
+				@else {
36
+
37
+					$guttersCols: $gutters;
38
+					$guttersRows: 0;
39
+
40
+				}
41
+
42
+		// Row.
43
+			display: flex;
44
+			flex-wrap: wrap;
45
+			box-sizing: border-box;
46
+			align-items: stretch;
47
+
48
+			// Columns.
49
+				> * {
50
+					box-sizing: border-box;
51
+				}
52
+
53
+			// Gutters.
54
+				&.gtr-uniform {
55
+					> * {
56
+						> :last-child {
57
+							margin-bottom: 0;
58
+						}
59
+					}
60
+				}
61
+
62
+			// Alignment.
63
+				&.aln-left {
64
+					justify-content: flex-start;
65
+				}
66
+
67
+				&.aln-center {
68
+					justify-content: center;
69
+				}
70
+
71
+				&.aln-right {
72
+					justify-content: flex-end;
73
+				}
74
+
75
+				&.aln-top {
76
+					align-items: flex-start;
77
+				}
78
+
79
+				&.aln-middle {
80
+					align-items: center;
81
+				}
82
+
83
+				&.aln-bottom {
84
+					align-items: flex-end;
85
+				}
86
+
87
+		// Step through suffixes.
88
+			@each $suffix in $suffixes {
89
+
90
+				// Suffix.
91
+					@if ($suffix != '') {
92
+						$suffix: '-' + $suffix;
93
+					}
94
+					@else {
95
+						$suffix: '';
96
+					}
97
+
98
+				// Row.
99
+
100
+					// Important.
101
+						> .imp#{$suffix} {
102
+							order: -1;
103
+						}
104
+
105
+					// Columns, offsets.
106
+						@for $i from 1 through $cols {
107
+							> .col-#{$i}#{$suffix} {
108
+								width: $unit * $i;
109
+							}
110
+
111
+							> .off-#{$i}#{$suffix} {
112
+								margin-left: $unit * $i;
113
+							}
114
+						}
115
+
116
+					// Step through multipliers.
117
+						@each $multiplier in $multipliers {
118
+
119
+							// Gutters.
120
+								$class: null;
121
+
122
+								@if ($multiplier != 1) {
123
+									$class: '.gtr-' + ($multiplier * 100);
124
+								}
125
+
126
+								&#{$class} {
127
+									margin-top: ($guttersRows * $multiplier * -1);
128
+									margin-left: ($guttersCols * $multiplier * -1);
129
+
130
+									> * {
131
+										padding: ($guttersRows * $multiplier) 0 0 ($guttersCols * $multiplier);
132
+									}
133
+
134
+									// Uniform.
135
+										&.gtr-uniform {
136
+											margin-top: $guttersCols * $multiplier * -1;
137
+
138
+											> * {
139
+												padding-top: $guttersCols * $multiplier;
140
+											}
141
+										}
142
+
143
+								}
144
+
145
+						}
146
+
147
+			}
148
+
149
+	}

+ 63
- 0
themes/stellar/assets/sass/libs/_mixins.scss Wyświetl plik

@@ -0,0 +1,63 @@
1
+/// Makes an element's :before pseudoelement a FontAwesome icon.
2
+/// @param {string} $content Optional content value to use.
3
+/// @param {string} $where Optional pseudoelement to target (before or after).
4
+@mixin icon($content: false, $where: before) {
5
+
6
+	text-decoration: none;
7
+
8
+	&:#{$where} {
9
+
10
+		@if $content {
11
+			content: $content;
12
+		}
13
+
14
+		-moz-osx-font-smoothing: grayscale;
15
+		-webkit-font-smoothing: antialiased;
16
+		font-family: FontAwesome;
17
+		font-style: normal;
18
+		font-weight: normal;
19
+		text-transform: none !important;
20
+
21
+	}
22
+
23
+}
24
+
25
+/// Applies padding to an element, taking the current element-margin value into account.
26
+/// @param {mixed} $tb Top/bottom padding.
27
+/// @param {mixed} $lr Left/right padding.
28
+/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
29
+/// @param {bool} $important If true, adds !important.
30
+@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
31
+
32
+	@if $important {
33
+		$important: '!important';
34
+	}
35
+
36
+	$x: 0.1em;
37
+
38
+	@if unit(_size(element-margin)) == 'rem' {
39
+		$x: 0.1rem;
40
+	}
41
+
42
+	padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
43
+
44
+}
45
+
46
+/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
47
+/// @param {string} $svg SVG data URL.
48
+/// @return {string} Encoded SVG data URL.
49
+@function svg-url($svg) {
50
+
51
+	$svg: str-replace($svg, '"', '\'');
52
+	$svg: str-replace($svg, '%', '%25');
53
+	$svg: str-replace($svg, '<', '%3C');
54
+	$svg: str-replace($svg, '>', '%3E');
55
+	$svg: str-replace($svg, '&', '%26');
56
+	$svg: str-replace($svg, '#', '%23');
57
+	$svg: str-replace($svg, '{', '%7B');
58
+	$svg: str-replace($svg, '}', '%7D');
59
+	$svg: str-replace($svg, ';', '%3B');
60
+
61
+	@return url("data:image/svg+xml;charset=utf8,#{$svg}");
62
+
63
+}

+ 60
- 0
themes/stellar/assets/sass/libs/_vars.scss Wyświetl plik

@@ -0,0 +1,60 @@
1
+// Misc.
2
+	$misc: (
3
+		z-index-base:		10000
4
+	);
5
+
6
+// Duration.
7
+	$duration: (
8
+		transition:			0.2s
9
+	);
10
+
11
+// Size.
12
+	$size: (
13
+		border-radius:		8px,
14
+		border-radius-main:	0.25em,
15
+		element-height:		2.75em,
16
+		element-margin:		2em,
17
+		inner:				64em
18
+	);
19
+
20
+// Font.
21
+	$font: (
22
+		family:				('Source Sans Pro', Helvetica, sans-serif),
23
+		family-fixed:		('Courier New', monospace),
24
+		weight:				300,
25
+		weight-bold:		400,
26
+		letter-spacing:		-0.025em
27
+	);
28
+
29
+// Palette.
30
+	$palette: (
31
+		bg:					#935d8c,
32
+		fg:					rgba(255,255,255,0.65),
33
+		fg-bold:			#ffffff,
34
+		fg-light:			rgba(255,255,255,0.5),
35
+		border:				rgba(255,255,255,0.35),
36
+		border-bg:			rgba(255,255,255,0.075),
37
+		border2:			rgba(255,255,255,0.75),
38
+		border2-bg:			rgba(255,255,255,0.2),
39
+
40
+		invert: (
41
+			bg:				#ffffff,
42
+			bg-alt:			#f7f7f7,
43
+			fg:				#636363,
44
+			fg-bold:		#636363,
45
+			fg-light:		rgba(99,99,99,0.25),
46
+			border:			#dddddd,
47
+			border-bg:		rgba(222,222,222,0.25),
48
+			border2:		#dddddd,
49
+			border2-bg:		rgba(222,222,222,0.5),
50
+		),
51
+
52
+		accent:				#8cc9f0,
53
+		accent1:			#efa8b0,
54
+		accent2:			#c79cc8,
55
+		accent3:			#a89cc8,
56
+		accent4:			#9bb2e1,
57
+		accent5:			#8cc9f0,
58
+		bg1:				#e37682,
59
+		bg2:				#5f4d93
60
+	);

+ 376
- 0
themes/stellar/assets/sass/libs/_vendor.scss Wyświetl plik

@@ -0,0 +1,376 @@
1
+// vendor.scss v1.0 | @ajlkn | MIT licensed */
2
+
3
+// Vars.
4
+
5
+	/// Vendor prefixes.
6
+	/// @var {list}
7
+	$vendor-prefixes: (
8
+		'-moz-',
9
+		'-webkit-',
10
+		'-ms-',
11
+		''
12
+	);
13
+
14
+	/// Properties that should be vendorized.
15
+	/// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
16
+	/// @var {list}
17
+	$vendor-properties: (
18
+
19
+		// Animation.
20
+			'animation',
21
+			'animation-delay',
22
+			'animation-direction',
23
+			'animation-duration',
24
+			'animation-fill-mode',
25
+			'animation-iteration-count',
26
+			'animation-name',
27
+			'animation-play-state',
28
+			'animation-timing-function',
29
+
30
+		// Appearance.
31
+			'appearance',
32
+
33
+		// Backdrop filter.
34
+			'backdrop-filter',
35
+
36
+		// Background image options.
37
+			'background-clip',
38
+			'background-origin',
39
+			'background-size',
40
+
41
+		// Box sizing.
42
+			'box-sizing',
43
+
44
+		// Clip path.
45
+			'clip-path',
46
+
47
+		// Filter effects.
48
+			'filter',
49
+
50
+		// Flexbox.
51
+			'align-content',
52
+			'align-items',
53
+			'align-self',
54
+			'flex',
55
+			'flex-basis',
56
+			'flex-direction',
57
+			'flex-flow',
58
+			'flex-grow',
59
+			'flex-shrink',
60
+			'flex-wrap',
61
+			'justify-content',
62
+			'order',
63
+
64
+		// Font feature.
65
+			'font-feature-settings',
66
+			'font-language-override',
67
+			'font-variant-ligatures',
68
+
69
+		// Font kerning.
70
+			'font-kerning',
71
+
72
+		// Fragmented borders and backgrounds.
73
+			'box-decoration-break',
74
+
75
+		// Grid layout.
76
+			'grid-column',
77
+			'grid-column-align',
78
+			'grid-column-end',
79
+			'grid-column-start',
80
+			'grid-row',
81
+			'grid-row-align',
82
+			'grid-row-end',
83
+			'grid-row-start',
84
+			'grid-template-columns',
85
+			'grid-template-rows',
86
+
87
+		// Hyphens.
88
+			'hyphens',
89
+			'word-break',
90
+
91
+		// Masks.
92
+			'mask',
93
+			'mask-border',
94
+			'mask-border-outset',
95
+			'mask-border-repeat',
96
+			'mask-border-slice',
97
+			'mask-border-source',
98
+			'mask-border-width',
99
+			'mask-clip',
100
+			'mask-composite',
101
+			'mask-image',
102
+			'mask-origin',
103
+			'mask-position',
104
+			'mask-repeat',
105
+			'mask-size',
106
+
107
+		// Multicolumn.
108
+			'break-after',
109
+			'break-before',
110
+			'break-inside',
111
+			'column-count',
112
+			'column-fill',
113
+			'column-gap',
114
+			'column-rule',
115
+			'column-rule-color',
116
+			'column-rule-style',
117
+			'column-rule-width',
118
+			'column-span',
119
+			'column-width',
120
+			'columns',
121
+
122
+		// Object fit.
123
+			'object-fit',
124
+			'object-position',
125
+
126
+		// Regions.
127
+			'flow-from',
128
+			'flow-into',
129
+			'region-fragment',
130
+
131
+		// Scroll snap points.
132
+			'scroll-snap-coordinate',
133
+			'scroll-snap-destination',
134
+			'scroll-snap-points-x',
135
+			'scroll-snap-points-y',
136
+			'scroll-snap-type',
137
+
138
+		// Shapes.
139
+			'shape-image-threshold',
140
+			'shape-margin',
141
+			'shape-outside',
142
+
143
+		// Tab size.
144
+			'tab-size',
145
+
146
+		// Text align last.
147
+			'text-align-last',
148
+
149
+		// Text decoration.
150
+			'text-decoration-color',
151
+			'text-decoration-line',
152
+			'text-decoration-skip',
153
+			'text-decoration-style',
154
+
155
+		// Text emphasis.
156
+			'text-emphasis',
157
+			'text-emphasis-color',
158
+			'text-emphasis-position',
159
+			'text-emphasis-style',
160
+
161
+		// Text size adjust.
162
+			'text-size-adjust',
163
+
164
+		// Text spacing.
165
+			'text-spacing',
166
+
167
+		// Transform.
168
+			'transform',
169
+			'transform-origin',
170
+
171
+		// Transform 3D.
172
+			'backface-visibility',
173
+			'perspective',
174
+			'perspective-origin',
175
+			'transform-style',
176
+
177
+		// Transition.
178
+			'transition',
179
+			'transition-delay',
180
+			'transition-duration',
181
+			'transition-property',
182
+			'transition-timing-function',
183
+
184
+		// Unicode bidi.
185
+			'unicode-bidi',
186
+
187
+		// User select.
188
+			'user-select',
189
+
190
+		// Writing mode.
191
+			'writing-mode',
192
+
193
+	);
194
+
195
+	/// Values that should be vendorized.
196
+	/// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
197
+	/// @var {list}
198
+	$vendor-values: (
199
+
200
+		// Cross fade.
201
+			'cross-fade',
202
+
203
+		// Element function.
204
+			'element',
205
+
206
+		// Filter function.
207
+			'filter',
208
+
209
+		// Flexbox.
210
+			'flex',
211
+			'inline-flex',
212
+
213
+		// Grab cursors.
214
+			'grab',
215
+			'grabbing',
216
+
217
+		// Gradients.
218
+			'linear-gradient',
219
+			'repeating-linear-gradient',
220
+			'radial-gradient',
221
+			'repeating-radial-gradient',
222
+
223
+		// Grid layout.
224
+			'grid',
225
+			'inline-grid',
226
+
227
+		// Image set.
228
+			'image-set',
229
+
230
+		// Intrinsic width.
231
+			'max-content',
232
+			'min-content',
233
+			'fit-content',
234
+			'fill',
235
+			'fill-available',
236
+			'stretch',
237
+
238
+		// Sticky position.
239
+			'sticky',
240
+
241
+		// Transform.
242
+			'transform',
243
+
244
+		// Zoom cursors.
245
+			'zoom-in',
246
+			'zoom-out',
247
+
248
+	);
249
+
250
+// Functions.
251
+
252
+	/// Removes a specific item from a list.
253
+	/// @author Hugo Giraudel
254
+	/// @param {list} $list List.
255
+	/// @param {integer} $index Index.
256
+	/// @return {list} Updated list.
257
+	@function remove-nth($list, $index) {
258
+
259
+		$result: null;
260
+
261
+		@if type-of($index) != number {
262
+			@warn "$index: #{quote($index)} is not a number for `remove-nth`.";
263
+		}
264
+		@else if $index == 0 {
265
+			@warn "List index 0 must be a non-zero integer for `remove-nth`.";
266
+		}
267
+		@else if abs($index) > length($list) {
268
+			@warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
269
+		}
270
+		@else {
271
+
272
+			$result: ();
273
+			$index: if($index < 0, length($list) + $index + 1, $index);
274
+
275
+			@for $i from 1 through length($list) {
276
+
277
+				@if $i != $index {
278
+					$result: append($result, nth($list, $i));
279
+				}
280
+
281
+			}
282
+
283
+		}
284
+
285
+		@return $result;
286
+
287
+	}
288
+
289
+	/// Replaces a substring within another string.
290
+	/// @author Hugo Giraudel
291
+	/// @param {string} $string String.
292
+	/// @param {string} $search Substring.
293
+	/// @param {string} $replace Replacement.
294
+	/// @return {string} Updated string.
295
+	@function str-replace($string, $search, $replace: '') {
296
+
297
+		$index: str-index($string, $search);
298
+
299
+		@if $index {
300
+			@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
301
+		}
302
+
303
+		@return $string;
304
+
305
+	}
306
+
307
+	/// Replaces a substring within each string in a list.
308
+	/// @param {list} $strings List of strings.
309
+	/// @param {string} $search Substring.
310
+	/// @param {string} $replace Replacement.
311
+	/// @return {list} Updated list of strings.
312
+	@function str-replace-all($strings, $search, $replace: '') {
313
+
314
+		@each $string in $strings {
315
+			$strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
316
+		}
317
+
318
+		@return $strings;
319
+
320
+	}
321
+
322
+// Mixins.
323
+
324
+	/// Wraps @content in vendorized keyframe blocks.
325
+	/// @param {string} $name Name.
326
+	@mixin keyframes($name) {
327
+
328
+		@-moz-keyframes #{$name} { @content; }
329
+		@-webkit-keyframes #{$name} { @content; }
330
+		@-ms-keyframes #{$name} { @content; }
331
+		@keyframes #{$name} { @content; }
332
+
333
+	}
334
+
335
+	/// Vendorizes a declaration's property and/or value(s).
336
+	/// @param {string} $property Property.
337
+	/// @param {mixed} $value String/list of value(s).
338
+	@mixin vendor($property, $value) {
339
+
340
+		// Determine if property should expand.
341
+			$expandProperty: index($vendor-properties, $property);
342
+
343
+		// Determine if value should expand (and if so, add '-prefix-' placeholder).
344
+			$expandValue: false;
345
+
346
+			@each $x in $value {
347
+				@each $y in $vendor-values {
348
+					@if $y == str-slice($x, 1, str-length($y)) {
349
+
350
+						$value: set-nth($value, index($value, $x), '-prefix-' + $x);
351
+						$expandValue: true;
352
+
353
+					}
354
+				}
355
+			}
356
+
357
+		// Expand property?
358
+			@if $expandProperty {
359
+			    @each $vendor in $vendor-prefixes {
360
+			        #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
361
+			    }
362
+			}
363
+
364
+		// Expand just the value?
365
+			@elseif $expandValue {
366
+			    @each $vendor in $vendor-prefixes {
367
+			        #{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
368
+			    }
369
+			}
370
+
371
+		// Neither? Treat them as a normal declaration.
372
+			@else {
373
+		        #{$property}: #{$value};
374
+			}
375
+
376
+	}

+ 70
- 0
themes/stellar/assets/sass/main.scss Wyświetl plik

@@ -0,0 +1,70 @@
1
+@import 'libs/vars';
2
+@import 'libs/functions';
3
+@import 'libs/mixins';
4
+@import 'libs/vendor';
5
+@import 'libs/breakpoints';
6
+@import 'libs/html-grid';
7
+@import 'font-awesome.min.css';
8
+@import 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400';
9
+
10
+/*
11
+	Stellar by HTML5 UP
12
+	html5up.net | @ajlkn
13
+	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
14
+*/
15
+
16
+// Breakpoints.
17
+
18
+	@include breakpoints((
19
+		xlarge:   ( 1281px,  1680px ),
20
+		large:    ( 981px,   1280px ),
21
+		medium:   ( 737px,   980px  ),
22
+		small:    ( 481px,   736px  ),
23
+		xsmall:   ( 361px,   480px  ),
24
+		xxsmall:  ( null,    360px  )
25
+	));
26
+
27
+// Mixins.
28
+
29
+	@mixin color($p) {
30
+		@include color-typography($p);
31
+		@include color-box($p);
32
+		@include color-button($p);
33
+		@include color-form($p);
34
+		@include color-icon($p);
35
+		@include color-list($p);
36
+		@include color-section($p);
37
+		@include color-table($p);
38
+		@include color-spotlight($p);
39
+	}
40
+
41
+// Base.
42
+
43
+	@import 'base/reset';
44
+	@import 'base/page';
45
+	@import 'base/typography';
46
+
47
+// Component.
48
+
49
+	@import 'components/row';
50
+	@import 'components/box';
51
+	@import 'components/button';
52
+	@import 'components/form';
53
+	@import 'components/icon';
54
+	@import 'components/image';
55
+	@import 'components/list';
56
+	@import 'components/actions';
57
+	@import 'components/icons';
58
+	@import 'components/section';
59
+	@import 'components/table';
60
+	@import 'components/features';
61
+	@import 'components/statistics';
62
+	@import 'components/spotlight';
63
+
64
+// Layout.
65
+
66
+	@import 'layout/header';
67
+	@import 'layout/nav';
68
+	@import 'layout/main';
69
+	@import 'layout/footer';
70
+	@import 'layout/wrapper';

+ 28
- 0
themes/stellar/assets/sass/noscript.scss Wyświetl plik

@@ -0,0 +1,28 @@
1
+@import 'libs/vars';
2
+@import 'libs/functions';
3
+@import 'libs/mixins';
4
+@import 'libs/vendor';
5
+@import 'libs/breakpoints';
6
+@import 'libs/html-grid';
7
+
8
+/*
9
+	Stellar by HTML5 UP
10
+	html5up.net | @ajlkn
11
+	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
12
+*/
13
+
14
+/* Header */
15
+
16
+	#header {
17
+		body.is-preload & {
18
+			&.alt {
19
+				> * {
20
+					opacity: 1;
21
+				}
22
+
23
+				.logo {
24
+					@include vendor('transform', 'none');
25
+				}
26
+			}
27
+		}
28
+	}

+ 390
- 0
themes/stellar/elements.html Wyświetl plik

@@ -0,0 +1,390 @@
1
+<!DOCTYPE HTML>
2
+<!--
3
+	Stellar by HTML5 UP
4
+	html5up.net | @ajlkn
5
+	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6
+-->
7
+<html>
8
+	<head>
9
+		<title>Elements - Stellar by HTML5 UP</title>
10
+		<meta charset="utf-8" />
11
+		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
12
+		<link rel="stylesheet" href="assets/css/main.css" />
13
+		<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
14
+	</head>
15
+	<body class="is-preload">
16
+
17
+		<!-- Wrapper -->
18
+			<div id="wrapper">
19
+
20
+				<!-- Header -->
21
+					<header id="header">
22
+						<h1>Elements</h1>
23
+						<p>Ipsum dolor sit amet nullam</p>
24
+					</header>
25
+
26
+				<!-- Main -->
27
+					<div id="main">
28
+
29
+						<!-- Content -->
30
+							<section id="content" class="main">
31
+
32
+								<!-- Text -->
33
+									<section>
34
+										<h2>Text</h2>
35
+										<p>This is <b>bold</b> and this is <strong>strong</strong>. This is <i>italic</i> and this is <em>emphasized</em>.
36
+										This is <sup>superscript</sup> text and this is <sub>subscript</sub> text.
37
+										This is <u>underlined</u> and this is code: <code>for (;;) { ... }</code>. Finally, <a href="#">this is a link</a>.</p>
38
+										<hr />
39
+										<p>Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.</p>
40
+										<hr />
41
+										<h2>Heading Level 2</h2>
42
+										<h3>Heading Level 3</h3>
43
+										<h4>Heading Level 4</h4>
44
+										<hr />
45
+										<h3>Blockquote</h3>
46
+										<blockquote>Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan faucibus. Vestibulum ante ipsum primis in faucibus lorem ipsum dolor sit amet nullam adipiscing eu felis.</blockquote>
47
+										<h3>Preformatted</h3>
48
+										<pre><code>i = 0;
49
+
50
+while (!deck.isInOrder()) {
51
+    print 'Iteration ' + i;
52
+    deck.shuffle();
53
+    i++;
54
+}
55
+
56
+print 'It took ' + i + ' iterations to sort the deck.';</code></pre>
57
+									</section>
58
+
59
+								<!-- Lists -->
60
+									<section>
61
+										<h2>Lists</h2>
62
+										<div class="row">
63
+											<div class="col-6 col-12-medium">
64
+												<h3>Unordered</h3>
65
+												<ul>
66
+													<li>Dolor pulvinar magna etiam.</li>
67
+													<li>Sagittis sed lorem adipiscing.</li>
68
+													<li>Felis enim etiam feugiat.</li>
69
+													<li>Ipsum lorem nullam consequat.</li>
70
+												</ul>
71
+												<h3>Alternate</h3>
72
+												<ul class="alt">
73
+													<li>Dolor pulvinar magna etiam.</li>
74
+													<li>Sagittis sed lorem adipiscing.</li>
75
+													<li>Felis enim etiam feugiat.</li>
76
+													<li>Ipsum lorem nullam consequat.</li>
77
+												</ul>
78
+											</div>
79
+											<div class="col-6 col-12-medium">
80
+												<h3>Ordered</h3>
81
+												<ol>
82
+													<li>Dolor pulvinar etiam.</li>
83
+													<li>Etiam vel felis viverra.</li>
84
+													<li>Felis enim feugiat.</li>
85
+													<li>Dolor pulvinar etiam.</li>
86
+													<li>Etiam vel felis lorem.</li>
87
+													<li>Felis enim et feugiat.</li>
88
+												</ol>
89
+												<h3>Icons</h3>
90
+												<ul class="icons">
91
+													<li><a href="#" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
92
+													<li><a href="#" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
93
+													<li><a href="#" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
94
+													<li><a href="#" class="icon fa-github"><span class="label">GitHub</span></a></li>
95
+													<li><a href="#" class="icon fa-dribbble"><span class="label">Dribbble</span></a></li>
96
+												</ul>
97
+												<ul class="icons">
98
+													<li><a href="#" class="icon alt fa-twitter"><span class="label">Twitter</span></a></li>
99
+													<li><a href="#" class="icon alt fa-facebook"><span class="label">Facebook</span></a></li>
100
+													<li><a href="#" class="icon alt fa-instagram"><span class="label">Instagram</span></a></li>
101
+													<li><a href="#" class="icon alt fa-github"><span class="label">GitHub</span></a></li>
102
+													<li><a href="#" class="icon alt fa-dribbble"><span class="label">Dribbble</span></a></li>
103
+												</ul>
104
+											</div>
105
+										</div>
106
+										<h2>Actions</h2>
107
+										<div class="row">
108
+											<div class="col-6 col-12-medium">
109
+												<ul class="actions">
110
+													<li><a href="#" class="button primary">Default</a></li>
111
+													<li><a href="#" class="button">Default</a></li>
112
+												</ul>
113
+												<ul class="actions small">
114
+													<li><a href="#" class="button primary small">Small</a></li>
115
+													<li><a href="#" class="button small">Small</a></li>
116
+												</ul>
117
+												<ul class="actions stacked">
118
+													<li><a href="#" class="button primary">Default</a></li>
119
+													<li><a href="#" class="button">Default</a></li>
120
+												</ul>
121
+												<ul class="actions stacked">
122
+													<li><a href="#" class="button primary small">Small</a></li>
123
+													<li><a href="#" class="button small">Small</a></li>
124
+												</ul>
125
+											</div>
126
+											<div class="col-6 col-12-medium">
127
+												<ul class="actions stacked">
128
+													<li><a href="#" class="button primary fit">Default</a></li>
129
+													<li><a href="#" class="button fit">Default</a></li>
130
+												</ul>
131
+												<ul class="actions stacked">
132
+													<li><a href="#" class="button primary small fit">Small</a></li>
133
+													<li><a href="#" class="button small fit">Small</a></li>
134
+												</ul>
135
+											</div>
136
+										</div>
137
+									</section>
138
+
139
+								<!-- Table -->
140
+									<section>
141
+										<h2>Table</h2>
142
+										<h3>Default</h3>
143
+										<div class="table-wrapper">
144
+											<table>
145
+												<thead>
146
+													<tr>
147
+														<th>Name</th>
148
+														<th>Description</th>
149
+														<th>Price</th>
150
+													</tr>
151
+												</thead>
152
+												<tbody>
153
+													<tr>
154
+														<td>Item One</td>
155
+														<td>Ante turpis integer aliquet porttitor.</td>
156
+														<td>29.99</td>
157
+													</tr>
158
+													<tr>
159
+														<td>Item Two</td>
160
+														<td>Vis ac commodo adipiscing arcu aliquet.</td>
161
+														<td>19.99</td>
162
+													</tr>
163
+													<tr>
164
+														<td>Item Three</td>
165
+														<td> Morbi faucibus arcu accumsan lorem.</td>
166
+														<td>29.99</td>
167
+													</tr>
168
+													<tr>
169
+														<td>Item Four</td>
170
+														<td>Vitae integer tempus condimentum.</td>
171
+														<td>19.99</td>
172
+													</tr>
173
+													<tr>
174
+														<td>Item Five</td>
175
+														<td>Ante turpis integer aliquet porttitor.</td>
176
+														<td>29.99</td>
177
+													</tr>
178
+												</tbody>
179
+												<tfoot>
180
+													<tr>
181
+														<td colspan="2"></td>
182
+														<td>100.00</td>
183
+													</tr>
184
+												</tfoot>
185
+											</table>
186
+										</div>
187
+
188
+										<h3>Alternate</h3>
189
+										<div class="table-wrapper">
190
+											<table class="alt">
191
+												<thead>
192
+													<tr>
193
+														<th>Name</th>
194
+														<th>Description</th>
195
+														<th>Price</th>
196
+													</tr>
197
+												</thead>
198
+												<tbody>
199
+													<tr>
200
+														<td>Item One</td>
201
+														<td>Ante turpis integer aliquet porttitor.</td>
202
+														<td>29.99</td>
203
+													</tr>
204
+													<tr>
205
+														<td>Item Two</td>
206
+														<td>Vis ac commodo adipiscing arcu aliquet.</td>
207
+														<td>19.99</td>
208
+													</tr>
209
+													<tr>
210
+														<td>Item Three</td>
211
+														<td> Morbi faucibus arcu accumsan lorem.</td>
212
+														<td>29.99</td>
213
+													</tr>
214
+													<tr>
215
+														<td>Item Four</td>
216
+														<td>Vitae integer tempus condimentum.</td>
217
+														<td>19.99</td>
218
+													</tr>
219
+													<tr>
220
+														<td>Item Five</td>
221
+														<td>Ante turpis integer aliquet porttitor.</td>
222
+														<td>29.99</td>
223
+													</tr>
224
+												</tbody>
225
+												<tfoot>
226
+													<tr>
227
+														<td colspan="2"></td>
228
+														<td>100.00</td>
229
+													</tr>
230
+												</tfoot>
231
+											</table>
232
+										</div>
233
+									</section>
234
+
235
+								<!-- Buttons -->
236
+									<section>
237
+										<h3>Buttons</h3>
238
+										<ul class="actions">
239
+											<li><a href="#" class="button primary">Primary</a></li>
240
+											<li><a href="#" class="button">Default</a></li>
241
+										</ul>
242
+										<ul class="actions">
243
+											<li><a href="#" class="button large">Large</a></li>
244
+											<li><a href="#" class="button">Default</a></li>
245
+											<li><a href="#" class="button small">Small</a></li>
246
+										</ul>
247
+										<ul class="actions fit">
248
+											<li><a href="#" class="button primary fit">Fit</a></li>
249
+											<li><a href="#" class="button fit">Fit</a></li>
250
+											<li><a href="#" class="button fit">Fit</a></li>
251
+										</ul>
252
+										<ul class="actions fit small">
253
+											<li><a href="#" class="button primary fit small">Fit + Small</a></li>
254
+											<li><a href="#" class="button fit small">Fit + Small</a></li>
255
+											<li><a href="#" class="button fit small">Fit + Small</a></li>
256
+										</ul>
257
+										<ul class="actions">
258
+											<li><a href="#" class="button primary icon fa-download">Icon</a></li>
259
+											<li><a href="#" class="button icon fa-upload">Icon</a></li>
260
+											<li><a href="#" class="button icon fa-save">Icon</a></li>
261
+										</ul>
262
+										<ul class="actions">
263
+											<li><span class="button primary disabled">Disabled</span></li>
264
+											<li><span class="button disabled">Disabled</span></li>
265
+										</ul>
266
+									</section>
267
+
268
+								<!-- Form -->
269
+									<section>
270
+										<h2>Form</h2>
271
+										<form method="post" action="#">
272
+											<div class="row gtr-uniform">
273
+												<div class="col-6 col-12-xsmall">
274
+													<input type="text" name="demo-name" id="demo-name" value="" placeholder="Name" />
275
+												</div>
276
+												<div class="col-6 col-12-xsmall">
277
+													<input type="email" name="demo-email" id="demo-email" value="" placeholder="Email" />
278
+												</div>
279
+												<div class="col-12">
280
+													<select name="demo-category" id="demo-category">
281
+														<option value="">- Category -</option>
282
+														<option value="1">Manufacturing</option>
283
+														<option value="1">Shipping</option>
284
+														<option value="1">Administration</option>
285
+														<option value="1">Human Resources</option>
286
+													</select>
287
+												</div>
288
+												<div class="col-4 col-12-small">
289
+													<input type="radio" id="demo-priority-low" name="demo-priority" checked>
290
+													<label for="demo-priority-low">Low</label>
291
+												</div>
292
+												<div class="col-4 col-12-small">
293
+													<input type="radio" id="demo-priority-normal" name="demo-priority">
294
+													<label for="demo-priority-normal">Normal</label>
295
+												</div>
296
+												<div class="col-4 col-12-small">
297
+													<input type="radio" id="demo-priority-high" name="demo-priority">
298
+													<label for="demo-priority-high">High</label>
299
+												</div>
300
+												<div class="col-6 col-12-small">
301
+													<input type="checkbox" id="demo-copy" name="demo-copy">
302
+													<label for="demo-copy">Email me a copy</label>
303
+												</div>
304
+												<div class="col-6 col-12-small">
305
+													<input type="checkbox" id="demo-human" name="demo-human" checked>
306
+													<label for="demo-human">Not a robot</label>
307
+												</div>
308
+												<div class="col-12">
309
+													<textarea name="demo-message" id="demo-message" placeholder="Enter your message" rows="6"></textarea>
310
+												</div>
311
+												<div class="col-12">
312
+													<ul class="actions">
313
+														<li><input type="submit" value="Send Message" class="primary" /></li>
314
+														<li><input type="reset" value="Reset" /></li>
315
+													</ul>
316
+												</div>
317
+											</div>
318
+										</form>
319
+									</section>
320
+
321
+								<!-- Image -->
322
+									<section>
323
+										<h2>Image</h2>
324
+										<h3>Fit</h3>
325
+										<div class="box alt">
326
+											<div class="row gtr-uniform">
327
+												<div class="col-12"><span class="image fit"><img src="images/pic04.jpg" alt="" /></span></div>
328
+												<div class="col-4"><span class="image fit"><img src="images/pic01.jpg" alt="" /></span></div>
329
+												<div class="col-4"><span class="image fit"><img src="images/pic02.jpg" alt="" /></span></div>
330
+												<div class="col-4"><span class="image fit"><img src="images/pic03.jpg" alt="" /></span></div>
331
+												<div class="col-4"><span class="image fit"><img src="images/pic03.jpg" alt="" /></span></div>
332
+												<div class="col-4"><span class="image fit"><img src="images/pic01.jpg" alt="" /></span></div>
333
+												<div class="col-4"><span class="image fit"><img src="images/pic02.jpg" alt="" /></span></div>
334
+												<div class="col-4"><span class="image fit"><img src="images/pic02.jpg" alt="" /></span></div>
335
+												<div class="col-4"><span class="image fit"><img src="images/pic03.jpg" alt="" /></span></div>
336
+												<div class="col-4"><span class="image fit"><img src="images/pic01.jpg" alt="" /></span></div>
337
+											</div>
338
+										</div>
339
+										<h3>Left &amp; Right</h3>
340
+										<p><span class="image left"><img src="images/pic05.jpg" alt="" /></span>Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent lorem ipsum dolor sit amet veroeros consequat. Etiam tempus lorem ipsum.</p>
341
+										<p><span class="image right"><img src="images/pic06.jpg" alt="" /></span>Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus..</p>
342
+									</section>
343
+
344
+							</section>
345
+
346
+					</div>
347
+
348
+				<!-- Footer -->
349
+					<footer id="footer">
350
+						<section>
351
+							<h2>Aliquam sed mauris</h2>
352
+							<p>Sed lorem ipsum dolor sit amet et nullam consequat feugiat consequat magna adipiscing tempus etiam dolore veroeros. eget dapibus mauris. Cras aliquet, nisl ut viverra sollicitudin, ligula erat egestas velit, vitae tincidunt odio.</p>
353
+							<ul class="actions">
354
+								<li><a href="#" class="button">Learn More</a></li>
355
+							</ul>
356
+						</section>
357
+						<section>
358
+							<h2>Etiam feugiat</h2>
359
+							<dl class="alt">
360
+								<dt>Address</dt>
361
+								<dd>1234 Somewhere Road &bull; Nashville, TN 00000 &bull; USA</dd>
362
+								<dt>Phone</dt>
363
+								<dd>(000) 000-0000 x 0000</dd>
364
+								<dt>Email</dt>
365
+								<dd><a href="#">information@untitled.tld</a></dd>
366
+							</dl>
367
+							<ul class="icons">
368
+								<li><a href="#" class="icon fa-twitter alt"><span class="label">Twitter</span></a></li>
369
+								<li><a href="#" class="icon fa-facebook alt"><span class="label">Facebook</span></a></li>
370
+								<li><a href="#" class="icon fa-instagram alt"><span class="label">Instagram</span></a></li>
371
+								<li><a href="#" class="icon fa-github alt"><span class="label">GitHub</span></a></li>
372
+								<li><a href="#" class="icon fa-dribbble alt"><span class="label">Dribbble</span></a></li>
373
+							</ul>
374
+						</section>
375
+						<p class="copyright">&copy; Untitled. Design: <a href="https://html5up.net">HTML5 UP</a>.</p>
376
+					</footer>
377
+
378
+			</div>
379
+
380
+		<!-- Scripts -->
381
+			<script src="assets/js/jquery.min.js"></script>
382
+			<script src="assets/js/jquery.scrollex.min.js"></script>
383
+			<script src="assets/js/jquery.scrolly.min.js"></script>
384
+			<script src="assets/js/browser.min.js"></script>
385
+			<script src="assets/js/breakpoints.min.js"></script>
386
+			<script src="assets/js/util.js"></script>
387
+			<script src="assets/js/main.js"></script>
388
+
389
+	</body>
390
+</html>

+ 92
- 0
themes/stellar/generic.twig Wyświetl plik

@@ -0,0 +1,92 @@
1
+<!DOCTYPE HTML>
2
+<!--
3
+	Stellar by HTML5 UP
4
+	html5up.net | @ajlkn
5
+	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6
+-->
7
+<html>
8
+	<head>
9
+		<title>{{site_title}}</title>
10
+		<meta charset="utf-8" />
11
+		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
12
+		<link rel="stylesheet" href="{{ theme_url }}/assets/css/main.css" />
13
+		<noscript><link rel="stylesheet" href="{{ theme_url }}/assets/css/noscript.css" /></noscript>
14
+	</head>
15
+	<body class="is-preload">
16
+
17
+		<!-- Wrapper -->
18
+			<div id="wrapper">
19
+
20
+				<!-- Header -->
21
+					<header id="header">
22
+						<h1>{{current_page.title}}</h1>
23
+						<p>{{current_page.description}}</p>
24
+					</header>
25
+
26
+					<nav id="nav">
27
+						<ul>
28
+							<li><a href="{{pages.index|link}}">Startseite</a></li>
29
+							<li><a href="{{"literature"|link}}">Literatur</a></li>
30
+						</ul>
31
+					</nav>
32
+
33
+				<!-- Main -->
34
+					<div id="main">
35
+						<!-- Content -->
36
+							<section id="content" class="main">
37
+								{% if current_page.meta.Image %}
38
+								<span class="image main"><img src="{{ theme_url }}/images/{{current_page.meta.Image}}" alt="" /></span>
39
+								{% endif %}
40
+								{{current_page.content}}
41
+							</section>
42
+					</div>
43
+
44
+				<!-- Footer -->
45
+					<footer id="footer">
46
+						<section>
47
+							{% if pages._meta.meta.SloganTitle and pages._meta.meta.Slogan %}
48
+							<h2>{{pages._meta.meta.SloganTitle}}</h2>
49
+							<p>{{pages._meta.meta.Slogan}}</p>
50
+							{% endif %}
51
+							<ul class="actions">
52
+								<li><a href="" class="button" onclick="topFunction()"><span class="icon fa-angle-up"></span></a></li>
53
+							</ul>
54
+						</section>
55
+						<section>
56
+							<h2>Kontakt</h2>
57
+							<dl class="alt">
58
+								{% if pages._meta.meta.AddressStreet and pages._meta.meta.AddressTown and pages._meta.meta.AddressZip and pages._meta.meta.AddressCountry %}
59
+								<dt>Address</dt>
60
+								<dd>{{pages._meta.meta.AddressStreet}} &bull; {{pages._meta.meta.AddressTown}}, {{pages._meta.meta.AddressZip}} &bull; {{pages._meta.meta.AddressCountry}}</dd>
61
+								{% endif %}
62
+								{% if pages._meta.meta.Phone %}
63
+								<dt>Phone</dt>
64
+								<dd>{{pages._meta.meta.Phone}}</dd>
65
+								{% endif %}
66
+								{% if pages._meta.meta.Email %}
67
+								<dt>Email</dt>
68
+								<dd><a href="mailto:{{pages._meta.meta.Email}}">{{pages._meta.meta.Email}}</a></dd>
69
+								{% endif %}
70
+							</dl>
71
+							<ul class="icons">
72
+								{% for social in pages._meta.meta.social %}
73
+								<li><a href="{{social.url}}" class="icon {{social.icon}}"><span class="label">{{social.title}}</span></a></li>
74
+								{% endfor %}
75
+							</ul>
76
+						</section>
77
+						<p class="copyright">&copy; {{ site_title }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan</p>
78
+					</footer>
79
+
80
+			</div>
81
+
82
+		<!-- Scripts -->
83
+			<script src="{{ theme_url }}/assets/js/jquery.min.js"></script>
84
+			<script src="{{ theme_url }}/assets/js/jquery.scrollex.min.js"></script>
85
+			<script src="{{ theme_url }}/assets/js/jquery.scrolly.min.js"></script>
86
+			<script src="{{ theme_url }}/assets/js/browser.min.js"></script>
87
+			<script src="{{ theme_url }}/assets/js/breakpoints.min.js"></script>
88
+			<script src="{{ theme_url }}/assets/js/util.js"></script>
89
+			<script src="{{ theme_url }}/assets/js/main.js"></script>
90
+
91
+	</body>
92
+</html>

+ 16
- 0
themes/stellar/images/logo.svg Wyświetl plik

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="85px" height="85px" viewBox="0 0 80 80" enable-background="new 0 0 80 80" xml:space="preserve">
4
+	<g>
5
+		<path fill="#FFFFFF" d="M40,0c22.091,0,40,17.909,40,40S62.091,80,40,80S0,62.091,0,40S17.909,0,40,0z"/>
6
+	</g>
7
+	<g>
8
+		<path fill="#8cc9f0" d="M50.378,32.576c0,1.005-0.815,1.821-1.821,1.821c-1.005,0-1.82-0.816-1.82-1.821
9
+			c0-1.005,0.815-1.821,1.82-1.821C49.563,30.755,50.378,31.571,50.378,32.576z M54.627,27.113c0-0.341-0.304-0.607-0.646-0.607
10
+			c-6.601,0-10.223,1.518-14.964,6.241c-1.081,1.1-2.2,2.352-3.338,3.699l-7.188,0.379c-0.19,0.019-0.379,0.133-0.493,0.304
11
+			l-4.249,7.284c-0.133,0.228-0.095,0.53,0.095,0.739l1.214,1.215c0.114,0.113,0.285,0.17,0.437,0.17c0.057,0,0.114,0,0.17-0.02
12
+			l5.235-1.611l5.33,5.33l-1.612,5.236c-0.057,0.209,0,0.437,0.152,0.606l1.214,1.214c0.133,0.114,0.284,0.171,0.436,0.171
13
+			c0.114,0,0.208-0.021,0.304-0.075l7.283-4.25c0.171-0.113,0.284-0.304,0.305-0.492l0.379-7.19c1.347-1.138,2.599-2.257,3.699-3.339
14
+			C52.882,37.603,54.627,33.411,54.627,27.113z"/>
15
+	</g>
16
+</svg>

BIN
themes/stellar/images/pic01.jpg Wyświetl plik


BIN
themes/stellar/images/pic02.jpg Wyświetl plik


BIN
themes/stellar/images/pic03.jpg Wyświetl plik


BIN
themes/stellar/images/pic04.jpg Wyświetl plik


BIN
themes/stellar/images/pic05.jpg Wyświetl plik


BIN
themes/stellar/images/pic06.jpg Wyświetl plik


+ 98
- 0
themes/stellar/index.html.txt Wyświetl plik

@@ -0,0 +1,98 @@
1
+						<!-- Introduction -->
2
+							<section id="intro" class="main">
3
+								<div class="spotlight">
4
+									<div class="content">
5
+										<header class="major">
6
+											<h2>Ipsum sed adipiscing</h2>
7
+										</header>
8
+										<p>Sed lorem ipsum dolor sit amet nullam consequat feugiat consequat magna
9
+										adipiscing magna etiam amet veroeros. Lorem ipsum dolor tempus sit cursus.
10
+										Tempus nisl et nullam lorem ipsum dolor sit amet aliquam.</p>
11
+										<ul class="actions">
12
+											<li><a href="generic.html" class="button">Learn More</a></li>
13
+										</ul>
14
+									</div>
15
+									<span class="image"><img src="{{ theme_url }}/images/pic01.jpg" alt="" /></span>
16
+								</div>
17
+							</section>
18
+
19
+						<!-- First Section -->
20
+							<section id="first" class="main special">
21
+								<header class="major">
22
+									<h2>Magna veroeros</h2>
23
+								</header>
24
+								<ul class="features">
25
+									<li>
26
+										<span class="icon major style1 fa-code"></span>
27
+										<h3>Ipsum consequat</h3>
28
+										<p>Sed lorem amet ipsum dolor et amet nullam consequat a feugiat consequat tempus veroeros sed consequat.</p>
29
+									</li>
30
+									<li>
31
+										<span class="icon major style3 fa-copy"></span>
32
+										<h3>Amed sed feugiat</h3>
33
+										<p>Sed lorem amet ipsum dolor et amet nullam consequat a feugiat consequat tempus veroeros sed consequat.</p>
34
+									</li>
35
+									<li>
36
+										<span class="icon major style5 fa-diamond"></span>
37
+										<h3>Dolor nullam</h3>
38
+										<p>Sed lorem amet ipsum dolor et amet nullam consequat a feugiat consequat tempus veroeros sed consequat.</p>
39
+									</li>
40
+								</ul>
41
+								<footer class="major">
42
+									<ul class="actions special">
43
+										<li><a href="generic.html" class="button">Learn More</a></li>
44
+									</ul>
45
+								</footer>
46
+							</section>
47
+
48
+						<!-- Second Section -->
49
+							<section id="second" class="main special">
50
+								<header class="major">
51
+									<h2>Ipsum consequat</h2>
52
+									<p>Donec imperdiet consequat consequat. Suspendisse feugiat congue<br />
53
+									posuere. Nulla massa urna, fermentum eget quam aliquet.</p>
54
+								</header>
55
+								<ul class="statistics">
56
+									<li class="style1">
57
+										<span class="icon fa-code-fork"></span>
58
+										<strong>5,120</strong> Etiam
59
+									</li>
60
+									<li class="style2">
61
+										<span class="icon fa-folder-open-o"></span>
62
+										<strong>8,192</strong> Magna
63
+									</li>
64
+									<li class="style3">
65
+										<span class="icon fa-signal"></span>
66
+										<strong>2,048</strong> Tempus
67
+									</li>
68
+									<li class="style4">
69
+										<span class="icon fa-laptop"></span>
70
+										<strong>4,096</strong> Aliquam
71
+									</li>
72
+									<li class="style5">
73
+										<span class="icon fa-diamond"></span>
74
+										<strong>1,024</strong> Nullam
75
+									</li>
76
+								</ul>
77
+								<p class="content">Nam elementum nisl et mi a commodo porttitor. Morbi sit amet nisl eu arcu faucibus hendrerit vel a risus. Nam a orci mi, elementum ac arcu sit amet, fermentum pellentesque et purus. Integer maximus varius lorem, sed convallis diam accumsan sed. Etiam porttitor placerat sapien, sed eleifend a enim pulvinar faucibus semper quis ut arcu. Ut non nisl a mollis est efficitur vestibulum. Integer eget purus nec nulla mattis et accumsan ut magna libero. Morbi auctor iaculis porttitor. Sed ut magna ac risus et hendrerit scelerisque. Praesent eleifend lacus in lectus aliquam porta. Cras eu ornare dui curabitur lacinia.</p>
78
+								<footer class="major">
79
+									<ul class="actions special">
80
+										<li><a href="generic.html" class="button">Learn More</a></li>
81
+									</ul>
82
+								</footer>
83
+							</section>
84
+
85
+						<!-- Get Started -->
86
+							<section id="cta" class="main special">
87
+								<header class="major">
88
+									<h2>Congue imperdiet</h2>
89
+									<p>Donec imperdiet consequat consequat. Suspendisse feugiat congue<br />
90
+									posuere. Nulla massa urna, fermentum eget quam aliquet.</p>
91
+								</header>
92
+								<footer class="major">
93
+									<ul class="actions special">
94
+										<li><a href="generic.html" class="button primary">Get Started</a></li>
95
+										<li><a href="generic.html" class="button">Learn More</a></li>
96
+									</ul>
97
+								</footer>
98
+							</section>

+ 116
- 0
themes/stellar/index.twig Wyświetl plik

@@ -0,0 +1,116 @@
1
+<!DOCTYPE HTML>
2
+<!--
3
+	Stellar by HTML5 UP
4
+	html5up.net | @ajlkn
5
+	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6
+-->
7
+<html>
8
+	<head>
9
+		<title>{{site_title}}</title>
10
+		<meta charset="utf-8" />
11
+		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
12
+		<link rel="stylesheet" href="{{ theme_url }}/assets/css/main.css" />
13
+		<noscript><link rel="stylesheet" href="{{ theme_url }}/assets/css/noscript.css" /></noscript>
14
+	</head>
15
+	<body class="is-preload">
16
+
17
+		<!-- Wrapper -->
18
+			<div id="wrapper">
19
+				<!-- Header -->
20
+					<header id="header" class="alt">
21
+						<span class="logo"><img src="{{ theme_url }}/images/logo.svg" alt="" /></span>
22
+						<h1>{{site_title}}</h1>
23
+						<p>{{pages._meta.meta.Slogan}}</p>
24
+					</header>
25
+
26
+				<!-- Nav -->
27
+					<nav id="nav">
28
+						<ul>
29
+							{% for page in pages if page.title and page.meta.Section and not page.hidden %}
30
+								{% set pageDepth = page.id|split('/')|length %}
31
+								{% if pageDepth == 1 %}
32
+									<li><a href="#{{page.meta.Section|lower}}">{{page.title}}</a></li>
33
+								{% endif %}
34
+							{% endfor %}
35
+						</ul>
36
+					</nav>
37
+
38
+				<!-- Main -->
39
+					<div id="main">
40
+						{% for page in pages if page.title and page.meta.Section and not page.hidden %}
41
+							{% set pageDepth = page.id|split('/')|length %}
42
+							{% if pageDepth == 1 %}
43
+								<section id="{{page.meta.Section|lower}}" class="{{page.meta.Main ? 'main' : 'main special'}}">
44
+									{% if page.meta.Main %}<div class="spotlight">{% endif %}
45
+										<div class="content">
46
+											<header class="major">
47
+												<h2>{{page.title}}</h2>
48
+												{% if page.description %}
49
+													<p>{{page.description}}</p>
50
+												{% endif %}
51
+											</header>
52
+											{{page.id|content}}
53
+											{% if page.meta.ActionTarget and page.meta.ActionName %}
54
+												<ul class="{{page.meta.Main ? 'actions' : 'actions special'}}">
55
+													<li><a href="{{page.meta.ActionTarget}}" class="{{ page.meta.ActionPrimary ? 'button primary' : 'button'}}">{{page.meta.ActionName}}</a></li>
56
+												</ul>
57
+											{% endif %}
58
+										</div>
59
+										{% if page.meta.Image and page.meta.Main %}
60
+											<span class="image"><img src="{{ theme_url }}/images/{{page.meta.image}}"</span>
61
+										{% endif %}
62
+									{% if page.meta.Main %}</div>{% endif %}
63
+								</section>
64
+							{% endif %}
65
+						{% endfor %}
66
+					</div>
67
+
68
+				<!-- Footer -->
69
+					<footer id="footer">
70
+						<section>
71
+							{% if pages._meta.meta.SloganTitle and pages._meta.meta.Slogan %}
72
+							<h2>{{pages._meta.meta.SloganTitle}}</h2>
73
+							<p>{{pages._meta.meta.Slogan}}</p>
74
+							{% endif %}
75
+							<ul class="actions">
76
+								<li><a href="" class="button" onclick="topFunction()"><span class="icon fa-angle-up"></span></a></li>
77
+							</ul>
78
+						</section>
79
+						<section>
80
+							<h2>Kontakt</h2>
81
+							<dl class="alt">
82
+								{% if pages._meta.meta.AddressStreet and pages._meta.meta.AddressTown and pages._meta.meta.AddressZip and pages._meta.meta.AddressCountry %}
83
+								<dt>Address</dt>
84
+								<dd>{{pages._meta.meta.AddressStreet}} &bull; {{pages._meta.meta.AddressTown}}, {{pages._meta.meta.AddressZip}} &bull; {{pages._meta.meta.AddressCountry}}</dd>
85
+								{% endif %}
86
+								{% if pages._meta.meta.Phone %}
87
+								<dt>Phone</dt>
88
+								<dd>{{pages._meta.meta.Phone}}</dd>
89
+								{% endif %}
90
+								{% if pages._meta.meta.Email %}
91
+								<dt>Email</dt>
92
+								<dd><a href="mailto:{{pages._meta.meta.Email}}">{{pages._meta.meta.Email}}</a></dd>
93
+								{% endif %}
94
+							</dl>
95
+							<ul class="icons">
96
+								{% for social in pages._meta.meta.social %}
97
+								<li><a href="{{social.url}}" class="icon {{social.icon}}"><span class="label">{{social.title}}</span></a></li>
98
+								{% endfor %}
99
+							</ul>
100
+						</section>
101
+						<p class="copyright">&copy; {{ site_title }}. Design: <a href="https://html5up.net">HTML5 UP</a>. Ported to Pico by Karathan</p>
102
+					</footer>
103
+
104
+			</div>
105
+
106
+		<!-- Scripts -->
107
+			<script src="{{ theme_url }}/assets/js/jquery.min.js"></script>
108
+			<script src="{{ theme_url }}/assets/js/jquery.scrollex.min.js"></script>
109
+			<script src="{{ theme_url }}/assets/js/jquery.scrolly.min.js"></script>
110
+			<script src="{{ theme_url }}/assets/js/browser.min.js"></script>
111
+			<script src="{{ theme_url }}/assets/js/breakpoints.min.js"></script>
112
+			<script src="{{ theme_url }}/assets/js/util.js"></script>
113
+			<script src="{{ theme_url }}/assets/js/main.js"></script>
114
+
115
+	</body>
116
+</html>