Compare commits

...

656 commits

Author SHA1 Message Date
Rhyne
b341c1606f
Merge pull request #309 from hacker0limbo/hacker0limbo-resource-readme
Add resource section on readme
2025-06-23 08:56:48 -04:00
Limboer
17c6d24b34
docs: adjust resources section on TOC 2025-06-23 14:52:47 +08:00
Limboer
5e97f55d28
docs: add resource section to readme 2025-06-23 14:46:16 +08:00
Rhyne Vlaservich
7d51891e0c Update README status and about 2023-05-29 15:01:06 -04:00
Rhyne Vlaservich
155c66602a v1.9.2 2023-05-29 14:44:09 -04:00
Rhyne Vlaservich
fb40ce705c Merge branch 'donmccurdy-hotfix/popover-visibility' 2023-05-29 14:41:36 -04:00
Rhyne Vlaservich
92da12bd3a v1.9.1 2023-05-29 14:41:25 -04:00
Don McCurdy
d2bba9c930 Match transition lengths 2023-03-15 10:28:57 -04:00
Don McCurdy
6961c740e0 Remove transition macro. 2023-03-15 10:27:47 -04:00
Don McCurdy
11955f5c93
Apply suggestions from code review
Use 235ms transition duration, ease-in-out, and omit default value.

Co-authored-by: Olivier <olivierc8@hotmail.com>
2023-03-15 09:48:37 -04:00
Don McCurdy
6cd04adbc7 fix: Set visibility of popovers, so they do not appear when hovering over the hidden pseudoelement 2023-03-14 09:38:39 -07:00
Rhyne Vlaservich
6a682d685e v1.9.1 2022-12-26 15:02:44 -05:00
Rhyne Vlaservich
05094e2fd9 Fix dark mode alerts, buttons, and popovers 2022-12-26 15:00:49 -05:00
Rhyne Vlaservich
98566735bb v1.9.0 2022-11-24 12:22:40 -05:00
Rhyne Vlaservich
9b617f6283 Fix _navbar regression 2022-11-24 12:19:37 -05:00
Rhyne Vlaservich
b9a3f08f65 Tweak colors 2022-11-24 12:13:03 -05:00
Mehdi El Fadil
df96751517 ensure that collapsible style does not affect inputs and labels inside collapsible-body 2022-11-24 12:13:03 -05:00
Mehdi El Fadil
7e02a85c28 Show modal over navbar. Fix #268 2022-11-24 12:13:03 -05:00
Miguel Ibars
574566bcbe fix: Sass color unit deprecation warning 2022-11-24 12:13:03 -05:00
Famaxis
ed69a1ceac Colors change for dark theme 2022-11-24 12:13:03 -05:00
Famaxis
57470dab5a Colors change for light theme, v2 2022-11-24 12:13:03 -05:00
Rhyne
c4796bb2b3
Merge pull request #244 from Guergeiro/hotfix/navbar-icon
fix: Re-added height to navbar icon bars
2022-11-24 12:12:47 -05:00
Breno Salles
bef7a17128 fix: Re-added height to navbar icon bars 2022-03-13 11:22:10 +00:00
Rhyne
e9d058b1b4
Merge pull request #266 from marvelefe/master
Enable "font-display: swap " to avoid showing invisible text
2022-01-22 08:38:29 -05:00
Efe Omoregie
4535fa6922 Enable "font-display: swap" 2022-01-22 09:46:53 +01:00
Rhyne Vlaservich
abe378d3ba v1.8.3 2021-12-25 14:43:41 -05:00
Rhyne Vlaservich
b00e953314 v1.8.3 2021-12-25 14:36:47 -05:00
Rhyne Vlaservich
a221d153f4 Add docs for distributing 2021-12-25 14:36:16 -05:00
Rhyne Vlaservich
7b45106cf6 Merge branch 'develop' 2021-12-25 12:41:56 -05:00
Rhyne Vlaservich
06c8d14d9e Merge branch 'mef-fix-li-font' 2021-12-25 12:39:29 -05:00
Mehdi El Fadil
79ee7efc93 fix: define font for list-item tags 2021-12-18 14:37:40 +00:00
Rhyne
f9dc978667
Merge pull request #238 from toshihidetagami/feature-issue-234
add class for disabling shadows
2021-01-17 15:23:06 -05:00
Toshihide Tagami
7b55549c6c add class for disabling shadows 2021-01-16 13:26:51 +08:00
Rhyne Vlaservich
aab255504a v1.8.2 2020-11-26 13:22:57 -05:00
Rhyne Vlaservich
9b3e0bd42a Fix Page.Hugo deprecation warning 2020-11-26 13:19:56 -05:00
Rhyne Vlaservich
3f6dcf5bd0 Upgrade the stylelint-config-sass-guidelines package
Done to fix two stylelint deprecation warnings:
- 'at-rule-blacklist'
- 'declaration-property-value-blacklist'
2020-11-26 13:15:42 -05:00
Rhyne Vlaservich
285a97a737 Fix alert color variables 2020-11-26 13:09:37 -05:00
Rhyne
ba94bb0932
Merge pull request #232 from ChocolateLoverRaj/feature-custom-font-src
Change or disable font src
2020-11-26 12:57:54 -05:00
Rhyne
c9d700831f
Merge pull request #231 from ChocolateLoverRaj/npm-audit-fix
Update vulnerable npm packages
2020-11-26 12:56:32 -05:00
Rhyne
122dc749b5
Merge pull request #230 from ChocolateLoverRaj/hotfix-update-docs
Updated docs
2020-11-26 12:36:54 -05:00
ChocolateLoverRaj
465387694f Change or disable font src 2020-11-17 09:52:52 -06:00
ChocolateLoverRaj
07ded259b9 Updated stylelint dependencies 2020-11-16 18:28:49 -06:00
ChocolateLoverRaj
8027b03f70 Updated docs 2020-11-16 17:16:29 -06:00
Rhyne Vlaservich
af918f0313 v1.8.1 2020-10-07 08:58:30 -04:00
Rhyne Vlaservich
60c7dc93df Include src in NPM package 2020-10-07 08:55:55 -04:00
Rhyne
3b406c55b6
Merge pull request #226 from papercss/build/hot-reload
Add SCSS hot-reloading compilation for Hugo docs
2020-09-27 20:31:10 -04:00
Thomas Cazade
53ac2a6b6f Add constants for build-scripts 2020-09-14 08:12:09 +02:00
Thomas Cazade
270c302e51 Add hot-reload script, refactor log function into module 2020-09-14 08:02:44 +02:00
Thomas Cazade
aaf5c494a5 Add chokidar and concurrently dev-deps 2020-09-14 08:02:00 +02:00
Rhyne Vlaservich
ef6eb705bd Remove hugo environment in favor of node bin 2020-09-13 14:15:59 -04:00
Rhyne Vlaservich
359632d497 Fix hugo build 2020-09-13 14:13:51 -04:00
Rhyne Vlaservich
759e5a1584 Merge branch 'develop' for version 1.8.0 2020-09-13 14:03:24 -04:00
Rhyne Vlaservich
5064fa0224 v1.8.0 2020-09-13 13:53:26 -04:00
Rhyne Vlaservich
18d9cd7522 Add dark mode docs and prepare for release 2020-09-13 13:48:31 -04:00
Rhyne Vlaservich
705a1a2664 Fix markdown rendering with new Hugo version 2020-09-13 12:00:27 -04:00
Rhyne
5c470e9fd2
Merge pull request #219 from papercss/build/remove-gulp
Migrate build-tools from gulp to native NodeJS (SASS-compiler, PostCSS)
2020-09-13 11:53:50 -04:00
Rhyne
11ea531271
Merge pull request #199 from seifsay3d/feature-dark-mode
Add dark mode support 🌗
2020-09-13 11:39:37 -04:00
Thomas Cazade
310797c92a Write paper.css to docs assets, use logger function 2020-09-07 09:32:59 +02:00
Thomas Cazade
40b4508032 Re-add hugo-bin as a dev-dependency 2020-09-07 09:32:18 +02:00
Seifeldin Mahjoub
6f166e544c feat: change links color to secondary 2020-09-07 02:27:55 +02:00
Seifeldin Mahjoub
493d673f5d fix: code for dark-theme 2020-09-07 02:26:43 +02:00
Seifeldin Mahjoub
ac67209535 fix: border styles 2020-09-07 02:11:51 +02:00
Seifeldin Mahjoub
a810ac7551 fix: form focus styles 2020-09-07 00:19:52 +02:00
Seifeldin Mahjoub
496409f2b8 fix: code styling 2020-09-07 00:19:31 +02:00
Seifeldin Mahjoub
2c2edbadfa fix: cards border color 2020-09-06 20:28:16 +02:00
Seifeldin Mahjoub
e60492710e fix: update alerts and badges text 2020-09-06 20:22:55 +02:00
Seifeldin Mahjoub
1198a321b0 chore: remove comments 2020-09-04 14:24:40 +02:00
Seifeldin Mahjoub
22ce468ea4 feat: add more color vars 2020-08-26 00:47:09 +02:00
Seifeldin Mahjoub
36afea4c08 chore: use color mixin in cards 2020-08-26 00:46:44 +02:00
Seifeldin Mahjoub
a7c72c9992 fix: linting issues 2020-08-26 00:46:29 +02:00
Seifeldin Mahjoub
24981e9553 chore: use color mixin in forms 2020-08-26 00:46:01 +02:00
Seifeldin Mahjoub
63c7e1d795 chore: use color mixin in modals 2020-08-26 00:45:40 +02:00
Seifeldin Mahjoub
71194873cc chore: use color mixin in progress 2020-08-26 00:45:10 +02:00
Seifeldin Mahjoub
a2fad6ecf9 chore: use color mixin in navbar 2020-08-26 00:44:43 +02:00
Seifeldin Mahjoub
63bba4d3ff chore: use color mixin in buttons 2020-08-26 00:40:03 +02:00
Seifeldin Mahjoub
4a27b7c0fa chore : use color mixin in popover 2020-08-26 00:39:08 +02:00
Seifeldin Mahjoub
b9af460828 fix: (docs) borders to use same markup 2020-08-26 00:37:26 +02:00
Seifeldin Mahjoub
5fb606250b chore: use color mixin in borders 2020-08-26 00:36:52 +02:00
Seifeldin Mahjoub
de8cbd3ca7 chore: fix typo 2020-08-26 00:36:06 +02:00
Seifeldin Mahjoub
97cc2f3c31 chore: use color mixin in badges 2020-08-26 00:35:42 +02:00
Seifeldin Mahjoub
415dca3d75 chore: use color mixin in alerts 2020-08-26 00:35:20 +02:00
Thomas Cazade
b5fb97a77d Remove dependencies used for quixote testing 2020-08-25 07:45:09 +02:00
Thomas Cazade
2e045dad4a Update .npmignore to ignore all build-tools and source-code files 2020-08-25 07:42:09 +02:00
Thomas Cazade
c505950f57 Remove quixote and minimal tests as they are not relevant anymore
Travis is also disconnected from the repo and we have Netlify previews
2020-08-25 07:41:47 +02:00
Thomas Cazade
fe62b6fd41 Build for v1.7.0 2020-08-25 07:32:24 +02:00
Thomas Cazade
8d27b3838a Remove /dist from .gitignore 2020-08-25 07:32:13 +02:00
Thomas Cazade
55b8ab41e1 Migrate build-tools from gulp to native compilation 2020-08-25 07:32:00 +02:00
Rhyne Vlaservich
7f3bbfe5b1 Update contributing and readme for node-gyp requirements 2020-08-23 15:50:32 -04:00
Rhyne
6541844c71
Merge pull request #213 from Benbb96/feature-style-input-range
Feature: Paper style for range sliders
2020-08-23 15:38:46 -04:00
Rhyne
73837465e1
Merge pull request #217 from ChocolateLoverRaj/feature-update-clean-css
Hotfix: update clean css
2020-08-23 15:18:23 -04:00
ChocolateLoverRaj
1a0f29791f Merge remote-tracking branch 'origin/master' into hotfix-update-clean-css 2020-08-17 08:29:28 -05:00
ChocolateLoverRaj
454c36a405 At least 3.9.3 2020-08-17 08:27:42 -05:00
bbe
71835734fd Remove range input border 2020-08-17 12:28:11 +02:00
Rhyne
81c159527a
Merge pull request #212 from Benbb96/hotfix-minor-html-errors-in-forms
Correct minor errors in forms.md
2020-08-16 10:49:55 -04:00
bbe
46a3ff1103 Correct minor errors in forms.md 2020-08-11 11:37:37 +02:00
bbe
b4be7ae2d2 Add examples in documentation forms.md 2020-08-11 11:32:11 +02:00
bbe
f5c102ea11 Add paper style for input[type=range]
(cherry picked from commit 28d49a3d0e)
2020-08-11 11:13:43 +02:00
Seifeldin Mahjoub
688f27d959 chore: use color mixin in tabs 2020-08-10 01:21:36 +02:00
Seifeldin Mahjoub
ebd2598c9a chore: remove commented code 2020-08-10 01:17:10 +02:00
Seifeldin Mahjoub
5c8a72b734 fix: auto generate css varaibales from theme-map 2020-08-10 01:16:26 +02:00
Seifeldin Mahjoub
9247411659 chore: use color mixin in images 2020-08-10 01:12:48 +02:00
Seifeldin Mahjoub
c07130703e chore: use color mixin in accordion 2020-08-10 01:12:00 +02:00
Seifeldin Mahjoub
a5a030fe42 chore: dry css vars declartion 2020-08-09 00:44:02 +02:00
Seifeldin Mahjoub
36056e4737 Merge branch 'develop' into feature-dark-mode 2020-08-09 00:23:47 +02:00
Seifeldin Mahjoub
f78930dfe0 Merge remote-tracking branch 'upstream/develop' into develop 2020-08-09 00:22:32 +02:00
Rhyne Vlaservich
58ca84a82b Add version 1.7.0 2020-08-01 16:14:30 -04:00
Rhyne Vlaservich
4f7f6e8402 Fix linting in tabs 2020-08-01 16:13:50 -04:00
Rhyne Vlaservich
97599bbee0 Add container docs 2020-08-01 15:59:19 -04:00
Marcus Pereira
08b297da60 update containers size 2020-08-01 15:59:19 -04:00
Marcus Pereira
7d3b1e04fd feat: create size to .container class 2020-08-01 15:59:19 -04:00
Phreshhh
231d2ab6d9 Feature Breadcrumb 2020-08-01 15:59:19 -04:00
Phreshhh
e1cee11c38 Feature Breadcrumb 2020-08-01 15:59:19 -04:00
Phreshhh
2f4f9c2465 button fix for backward compatibility 2020-08-01 15:59:19 -04:00
Phreshhh
ae79596cd0 burger borderfix 2020-08-01 15:59:19 -04:00
Phreshhh
bda6b79f1f margin-top removed 2020-08-01 15:59:19 -04:00
Phreshhh
c219346051 margin-top stylelint fix 2020-08-01 15:59:19 -04:00
Phreshhh
4c4c97af44 Navbar fix for FireFox 2020-08-01 15:59:19 -04:00
Phreshhh
74f38c54ee bg and shadow color changed to variable colors 2020-08-01 15:59:19 -04:00
Phreshhh
4f8f7a9297 Switch components - stylelint fix 8 :) - realy last XD 2020-08-01 15:59:19 -04:00
Phreshhh
bfdc62055e Switch components - stylelint fix 7 :) - last 2020-08-01 15:59:19 -04:00
Phreshhh
866e8b3abd Switch components - stylelint fix 6 :) 2020-08-01 15:59:19 -04:00
Phreshhh
84d81adae5 Switch components - stylelint fix 5 :) I installed stylelint to my editor.. next time will less commits. 2020-08-01 15:59:19 -04:00
Phreshhh
0e198c9fcc Switch components - stylelint fix 4 :) OMG alphabetical.. - Why?! lol 2020-08-01 15:59:19 -04:00
Phreshhh
262db03fe0 Switch components - stylelint fix 3 :) 2020-08-01 15:59:19 -04:00
Phreshhh
06ce202265 Switch components - stylelint fix 2 :) 2020-08-01 15:59:19 -04:00
Phreshhh
ea2635161d Switch components - stylelint fix 1 :) 2020-08-01 15:59:19 -04:00
Phreshhh
cf2deae2ea Switch components 2020-08-01 15:59:19 -04:00
Phreshhh
53ffaa02f7 outline colormap removed 2020-08-01 15:59:19 -04:00
Phreshhh
6f9f0ccda0 'paper-btn' class added to linkbutton example. Sorry I left it 1st time. 2020-08-01 15:59:19 -04:00
Phreshhh
800a5cd80f Outline buttons - stylelint fix 2020-08-01 15:59:19 -04:00
Phreshhh
1570e3ba33 Outline buttons 2020-08-01 15:59:19 -04:00
Rhyne
837c4321b9
Merge pull request #207 from Bajena/patch-1
Support multiple tab components
2020-08-01 15:32:53 -04:00
Rhyne
67435c6e81
Merge pull request #205 from papercss/tab-content-alignment-fix
Tabs Content Alignment Bugfix
2020-08-01 15:29:42 -04:00
Rhyne Vlaservich
33ca19d77a Fix gulp default command to start dev server 2020-08-01 15:14:46 -04:00
Rhyne
9af3610ce6
Merge pull request #190 from byrro/fix-license-link
Fix link to License in About page
2020-08-01 14:46:35 -04:00
Jan Bajena
5ee5960e84
Support multiple tab components
Hi, first of all thank you for your cool framework. I really have fun working with it :)

I'm building an app for building flashcard sets in which I decided to use tabs component for switching between different languages. However I've noticed that current version assumes that there'll only be a single tab component on the page.

I overcame it in my project by changing `=` (attribute equals) selector to `$=` (attribute ends with) selector. 
This allows me to generate different tab IDs for different flashcards, like this:
```ruby
<% tab_name = "tabs_#{word.id}" %>
<% tab1_id = "#{tab_name}_tab1" %>
<% tab2_id = "#{tab_name}_tab2" %>

<div class="xs-12 sm-6 md-4 lg-3 col align-top flashcard-column">
  <div class="card">
    <div class="card-body">
      <div class="row tabs">
        <input id="<%= tab1_id %>" type="radio" name="<%= tab_name %>" checked>
        <label for="<%= tab1_id %>">Question</label>

        <input id="<%= tab2_id %>" type="radio" name="<%= tab_name %>">
        <label for="<%= tab2_id %>">Answer</label>

        <div id="<%= tab_name %>_content1" class="content">
          <h4 class="card-title flashcard-title"><%= word.question %></h4>
          <% if word.question_example %>
            <p class="card-text flashcard-example"><%= word.question_example %></p>
          <% end %>
        </div>
        <div id="<%= tab_name %>_content2" class="content">
          <h4 class="card-title flashcard-title"><%= word.answer %></h4>
          <% if word.answer_example %>
            <p class="card-text flashcard-example"><%= word.answer_example %></p>
          <% end %>
        </div>
      </div>
    </div>
  </div>
</div>
```

Here's a video to present how it works after the change:
https://www.loom.com/share/6de1e443314f44f49c7b91e9b5875c93

Hope someone finds it useful
2020-07-30 21:43:39 +02:00
Kevin Koester
fc4ede380a
Fixes #202
Fixes Bug where the content would be aligned right next to the tabs on larger screens.

See: https://github.com/papercss/papercss/issues/202
2020-07-10 11:44:26 +02:00
=
1ee089b924 chore: add comments for theme colors 2020-06-01 23:17:18 +02:00
=
a7e099055c feat: add dark mode 2020-06-01 23:03:46 +02:00
=
36fcab8371 chore: (editorconfig) add quote_type 2020-06-01 22:55:06 +02:00
Renato Byrro
fc54f0cf7f Fix link to License in About page 2019-08-23 15:21:43 -03:00
rhyneav
cbbdce4d9e Update broken url 2019-08-18 13:09:58 -04:00
Rhyne
2d94af7997
Merge pull request #189 from fulldecent/patch-1
Fix styling of word GitHub
2019-08-18 13:03:23 -04:00
Rhyne
53d8c34a2c
Merge pull request #188 from impressivewebs/patch-1
Fixed markup for nested lists
2019-08-18 13:03:00 -04:00
William Entriken
c6da9aee81
Fix styling of word GitHub 2019-07-30 13:05:53 -04:00
Louis Lazaris
012d8825aa
Fixed markup for nested lists
It's a common mistake, but HTML lists should be nested so that a list is in between the opening and closing tags for a given list item. I've corrected it in these examples. Most browsers handle it fine but it's best to use correct HTML, just in case there's a browser or platform that doesn't parse it correctly.
2019-05-23 00:27:57 -04:00
Rhyne
e0b7a74c0e
Merge pull request #184 from Phreshhh/feature-breadcrumb
Feature Breadcrumb
2019-05-05 16:25:09 -04:00
Rhyne
84dde0dbad
Merge pull request #179 from Phreshhh/feature-navbar-fix-in-firefox
Navbar fix for FireFox
2019-05-05 16:23:18 -04:00
Phreshhh
95c7de0f27 Feature Breadcrumb 2019-02-14 12:53:16 +01:00
Phreshhh
e9351b60af Feature Breadcrumb 2019-02-14 12:40:25 +01:00
Phreshhh
12af59b98a button fix for backward compatibility 2019-02-11 09:36:27 +01:00
Rhyne
2bf563c3f2
Merge pull request #181 from Phreshhh/feture-switch-component
Switch components
2019-02-08 18:21:18 -05:00
Rhyne
de9fd41c6a
Merge pull request #180 from Phreshhh/feature-outline-buttons
Outline buttons
2019-02-08 18:15:40 -05:00
Phreshhh
f9001e741b bg and shadow color changed to variable colors 2019-02-01 18:12:38 +01:00
Phreshhh
9f6be35b1b outline colormap removed 2019-02-01 17:36:54 +01:00
Phreshhh
923133c489 Switch components - stylelint fix 8 :) - realy last XD 2019-01-31 21:09:18 +01:00
Phreshhh
aab82aa3c4 Switch components - stylelint fix 7 :) - last 2019-01-31 21:05:37 +01:00
Phreshhh
2e22ed491e Switch components - stylelint fix 6 :) 2019-01-31 21:00:20 +01:00
Phreshhh
c0d9eb11a7 Switch components - stylelint fix 5 :) I installed stylelint to my editor.. next time will less commits. 2019-01-31 20:53:47 +01:00
Phreshhh
78a677b1b9 Switch components - stylelint fix 4 :) OMG alphabetical.. - Why?! lol 2019-01-31 20:44:57 +01:00
Phreshhh
608b93f7a9 Switch components - stylelint fix 3 :) 2019-01-31 20:32:01 +01:00
Phreshhh
8be95f87ba Switch components - stylelint fix 2 :) 2019-01-31 20:17:45 +01:00
Phreshhh
df8e6b64d3 Switch components - stylelint fix 1 :) 2019-01-31 19:44:16 +01:00
Phreshhh
44f413b696 Switch components 2019-01-31 19:07:06 +01:00
Phreshhh
a03b8dbc6d 'paper-btn' class added to linkbutton example. Sorry I left it 1st time. 2019-01-30 15:49:57 +01:00
Phreshhh
01f267fb8c Outline buttons - stylelint fix 2019-01-30 12:49:36 +01:00
Phreshhh
70b2a1422f Outline buttons 2019-01-30 12:36:11 +01:00
Phreshhh
fad66597ce burger borderfix 2019-01-29 16:21:23 +01:00
Phreshhh
72ac948f70 margin-top removed 2019-01-29 15:39:08 +01:00
Phreshhh
6bc209efd8 margin-top stylelint fix 2019-01-29 15:10:44 +01:00
Phreshhh
c9ea3a86c2 Navbar fix for FireFox 2019-01-29 14:58:36 +01:00
rhyneav
780c304f98 Merge branch 'release-1.6.1' 2019-01-25 07:20:02 -05:00
rhyneav
564c01b153 1.6.1 2019-01-25 07:18:37 -05:00
rhyneav
02b5d372bc Merge branch 'develop' into release-1.6.1 2019-01-25 07:11:48 -05:00
Rhyne
6695244c30
Merge pull request #177 from sarramegnag/fix-anchor-transition
Fix hover transition on .paper-btn anchors
2019-01-25 07:08:02 -05:00
Rhyne
b5f837ca50
Merge pull request #176 from sarramegnag/fix-progress-bar
Fix percentage calculation in progress bar for loop
2019-01-25 07:07:51 -05:00
Rhyne
3a77420aaf
Merge pull request #175 from sarramegnag/fix-documentation
Fix yarn install command documentation
2019-01-25 07:07:39 -05:00
Guillaume Sarramegna
a0c77badbd Fix hover transition on .paper-btn anchors 2018-12-28 01:08:19 +01:00
Guillaume Sarramegna
8af69f367c Fix percentage calculation in progress bar for loop 2018-12-27 23:35:42 +01:00
Guillaume Sarramegna
4c1eb37c68 Fix yarn install command documentation 2018-12-27 23:34:14 +01:00
Rhyne
03df3ea607
Merge pull request #171 from nelsonmestevao/patch-1
Fix typo
2018-12-07 19:42:59 -05:00
Nelson Estevão
9c3a9ddb7e
Fix typo 2018-12-04 23:31:39 +00:00
Rhyne
dc474ed8c3
Merge pull request #170 from vanillaSlice/keyboard-control-on-radio-buttons-bug-fix
Keyboard control on radio buttons bug fix
2018-11-18 17:06:19 -05:00
vanillaSlice
0d51e714b6 Keyboard control on radio buttons bug fix 2018-11-17 17:46:37 +00:00
Thomas Cazade
6c20a60053
Merge pull request #165 from papercss/deps-audit
Update deps to reduce the vulnerabilities, migrate to Gulp 4
2018-11-05 15:18:26 +01:00
Thomas Cazade
c9460edc28 Merge branch 'develop' of github.com:papercss/papercss into deps-audit 2018-11-05 15:12:09 +01:00
Rhyne
9625bf1e5c
Merge pull request #163 from anupamasok/master
Grammer Errors in Readme
2018-11-05 08:22:03 -05:00
Thomas Cazade
a5123877ce
Merge pull request #166 from mertsafak/input-select-same-height
set selects' height to 2.35rem to prevent inconsistent behaviour
2018-11-01 18:33:20 +01:00
mert.safak
67d1208570 set select elements' height to 2.35rem to prevent inconsistent behaviour on Firefox 2018-10-31 22:44:21 +03:00
Thomas Cazade
9b23bbcf38 chore: removed yarn.lock (don't mix package managers) 2018-10-29 13:32:47 +01:00
Thomas Cazade
c03f4a254d chore: update minimatch@3.0.4 --depth=5 2018-10-29 13:30:07 +01:00
Thomas Cazade
24969b15e4 chore: update gulp-less@^4.0.1 2018-10-29 13:26:04 +01:00
Thomas Cazade
487ad36fa2 chore: update webpack-dev-server@^3.1.10 2018-10-29 13:21:58 +01:00
Thomas Cazade
7e640b9732 gulpfile: migrate from v3 to v4 2018-10-29 13:21:22 +01:00
Thomas Cazade
d5fe24720e chore: update karma@3.1.1 2018-10-29 12:18:51 +01:00
Thomas Cazade
9cfc25e9ee chore: update gulp@4.0.0 2018-10-29 12:15:39 +01:00
Thomas Cazade
248c71ae2d chore: add npm^6.4.1, fixes some vulnerabilities 2018-10-29 12:13:07 +01:00
Thomas Cazade
57711c19d5 chore: update some deps and reduce vulnerabilities 2018-10-29 11:55:33 +01:00
Anupam Asok
39c7c32152
Grammar Errors in Readme
Rectified a few grammar errors
2018-10-27 16:45:25 +05:30
anupam
0504724ca2 Grammer Errors in Readme 2018-10-26 01:10:43 +05:30
rhyneav
50dc605b36 Merge branch 'release-1.6.0' 2018-10-21 17:52:16 -04:00
rhyneav
fb9262553a Bump to v1.6.0 2018-10-21 17:48:18 -04:00
rhyneav
0b41ef467c Merge branch 'harrigan-hotfix-typos' 2018-10-21 17:39:17 -04:00
Ibrahim Broachwala
5957ef41a2 Corrected typo at line no. 49 'thoses' to 'those' 2018-10-21 17:39:05 -04:00
rhyneav
2a36ad7853 Merge branch 'afzalsayed96-master' 2018-10-21 17:38:11 -04:00
rhyneav
356897fa7c Merge branch 'vanillaSlice-feature-progress-bar' into develop 2018-10-21 17:35:54 -04:00
vanillaSlice
b0c6a0ee6a Updated .browserslistrc 2018-10-21 17:27:14 -04:00
vanillaSlice
0d1dc47df4 Removed unnecessary properties 2018-10-21 17:27:14 -04:00
vanillaSlice
0b52edfa3c Extract btn-close-color mixin 2018-10-21 17:27:14 -04:00
vanillaSlice
43dd0f9567 Removed prefixes 2018-10-21 17:27:14 -04:00
vanillaSlice
8ba8c911f4 Remove redundant translate mixin 2018-10-21 17:27:14 -04:00
vanillaSlice
f03a214a0d Use .browserslistrc 2018-10-21 17:26:15 -04:00
vanillaSlice
9b5ba36809 Use gulp autoprefixer instead of manually adding prefixes 2018-10-21 17:26:15 -04:00
vanillaSlice
7e3d3e6a85 Fade out on dismiss 2018-10-21 17:23:12 -04:00
vanillaSlice
468e571c9a Created dismissible alerts 2018-10-21 17:23:12 -04:00
Jeremy Pyne
753aa15dd6 Update _lists.scss 2018-10-21 17:23:12 -04:00
Jeremy Pyne
cb14b1019c Update _lists.scss
Also intent issue using popover in a list.
2018-10-21 17:23:12 -04:00
Jeremy Pyne
9a16f4068c Update _lists.scss
Fix for badges in unordered lists.
2018-10-21 17:23:12 -04:00
rhyneav
71425dad39 bump to 1.5.3 2018-10-21 17:23:12 -04:00
rhyneav
2726db6c95 1.5.3 2018-10-21 17:23:12 -04:00
Rhyne
af5ee37717
Merge pull request #158 from vanillaSlice/feature-dismissible-alerts
Feature dismissible alerts
2018-10-21 17:18:16 -04:00
Rhyne
ed5773e2a5
Merge pull request #157 from vanillaSlice/use-gulp-autoprefixer
Use gulp autoprefixer
2018-10-21 17:18:00 -04:00
Martin Harrigan
ace3c79012 Fix typos 2018-10-11 10:51:19 +01:00
vanillaSlice
ddac15816d Updated .browserslistrc 2018-10-09 19:05:09 +01:00
vanillaSlice
f5ee9a4d01 Made suggested changes 2018-10-08 20:03:24 +01:00
Afzal Sayed
d001a9d6e6
Merge pull request #15 from papercss/master
Merge master
2018-10-08 23:04:30 +05:30
Afzal Sayed
9420f20ad2
Merge pull request #14 from ibrahimbroachwala/patch-4
Corrected typo at line no. 49 'thoses' to 'those'
2018-10-08 22:57:09 +05:30
Ibrahim Broachwala
51cd8b11fc
Corrected typo at line no. 49 'thoses' to 'those' 2018-10-08 22:12:31 +05:30
vanillaSlice
0e52dfc44d Shorten class names 2018-10-07 13:45:00 +01:00
vanillaSlice
f5c6bd7a39 Polishing 2018-10-06 21:37:41 +01:00
vanillaSlice
bbd8aadf75 Removed vendor prefixes 2018-10-06 19:01:14 +01:00
vanillaSlice
d9e9a88dd5 Removed unnecessary properties 2018-10-05 10:15:02 +01:00
vanillaSlice
8df804254b Extract btn-close-color mixin 2018-10-01 04:08:30 +01:00
vanillaSlice
b82a7610de Removed prefixes 2018-10-01 04:00:11 +01:00
vanillaSlice
aaab501dc8 Remove redundant translate mixin 2018-09-30 18:20:41 +01:00
vanillaSlice
0a63478761 Use .browserslistrc 2018-09-30 18:08:10 +01:00
vanillaSlice
a9ae07d8d6 Use gulp autoprefixer instead of manually adding prefixes 2018-09-30 18:00:01 +01:00
rhyneav
b6db8fad06 Bump to 1.5.4 2018-09-30 10:52:33 -04:00
rhyneav
f0f1b1b2f0 Merge branch 'pynej-Badge-in-List-Fix' 2018-09-30 10:48:05 -04:00
rhyneav
2e176d3cef Merge branch 'pynej-Badge-in-List-Fix' into develop 2018-09-30 10:46:29 -04:00
vanillaSlice
71125aa0d2 Created progress bar 2018-09-29 16:16:22 +01:00
vanillaSlice
5c8f389ec9 Fade out on dismiss 2018-09-29 11:17:01 +01:00
vanillaSlice
1dc7744afb Created dismissible alerts 2018-09-24 19:56:32 +01:00
Jeremy Pyne
6bac0981ba
Update _lists.scss 2018-09-24 10:46:33 -04:00
Jeremy Pyne
8983ffd501
Update _lists.scss
Also intent issue using popover in a list.
2018-09-19 13:33:58 -04:00
Jeremy Pyne
6928140215
Update _lists.scss
Fix for badges in unordered lists.
2018-09-13 16:44:39 -04:00
rhyneav
08e79b1174 bump to 1.5.3 2018-09-08 07:37:35 -04:00
rhyneav
ab66d33c95 1.5.3 2018-09-08 07:36:10 -04:00
rhyneav
a5e79f93ad Merge branch 'develop' for v1.5.2 2018-09-08 07:22:18 -04:00
rhyneav
a996b77b4f bump version to 1.5.2 2018-09-08 07:21:15 -04:00
Rhyne
b0376ae112
Merge pull request #154 from muyaszed/feature-fix-radio-and-checked-box
Fixed: Radio and check box not working in Firefox
2018-09-02 11:39:43 -04:00
Yazed Jamal
408ac0f68e Fixed: Radio and check box not working in Firefox 2018-08-30 00:06:32 +01:00
rhyneav
32d05a657d Merge branch 'hotfix-stylelint' into develop 2018-06-24 08:10:23 -04:00
rhyneav
dd1182f913 Merge branch 'hotfix-stylelint' 2018-06-24 08:06:40 -04:00
rhyneav
285a2d990c bump version 2018-06-24 08:06:21 -04:00
rhyneav
4759fb0e0e fix gulpfile for postinstall 2018-06-24 08:00:09 -04:00
rhyneav
d7187ffa65 Merge branch 'release-1.5.0' 2018-06-22 11:10:41 -04:00
rhyneav
4d8dbd9693 Merge branch 'release-1.5.0' into develop 2018-06-22 10:58:06 -04:00
rhyneav
764c6271fd fix mobile menu showing at 768px 2018-06-22 09:33:29 -04:00
rhyneav
0021424e63 paperize buttons 2018-06-22 09:16:30 -04:00
rhyneav
7eb5c12227 fix navbar mobile button postition 2018-06-21 12:19:30 -04:00
rhyneav
a5b864aa40 bump package.json and remove comments 2018-06-21 10:07:33 -04:00
rhyneav
865953d148 prepare for release 2018-06-21 09:36:56 -04:00
Rhyne
8cf77547dc
Merge pull request #150 from papercss/feature-linter
Feature linter
2018-05-25 09:34:38 -04:00
rhyneav
871a0935a5 fix variable linting 2018-05-24 09:00:44 -04:00
rhyneav
dd30f17415 adjust navbar for linting 2018-05-24 08:45:48 -04:00
rhyneav
d2993557bc refactor for linting 2018-05-24 08:39:06 -04:00
rhyneav
d284c220be add stylint precommit check 2018-05-24 08:39:06 -04:00
rhyneav
5d2c93691e Travis CI for stylelint 2018-05-24 08:39:06 -04:00
rhyneav
4f2d66f2b6 fix comma 2018-05-24 08:39:06 -04:00
rhyneav
d26058771e initial config 2018-05-24 08:39:06 -04:00
rhyneav
16a853aaef set up for gulp 2018-05-24 08:39:05 -04:00
rhyneav
1a2e462c15 Install and set up stylelint 2018-05-24 08:39:05 -04:00
Rhyne
95ba37e837
Merge pull request #145 from dallinbjohnson/feature-navbar
Added the html and css for the navbar
2018-05-24 08:33:11 -04:00
Dallin B Johnson
f7f12f7e0c Factored down even more my scss 2018-05-23 14:04:07 -06:00
Dallin B Johnson
720679bd2b Cleaned up my code with scss and html code 2018-05-20 10:50:16 -06:00
rhyneav
b5ab884b38 Merge branch 'DanielRuf-tests/use-npm-ci' into develop 2018-04-21 08:11:22 -04:00
rhyneav
393b794dbe Merge branch 'DanielRuf-tests/use-npm-ci' 2018-04-21 08:10:41 -04:00
Daniel Ruf
dfe7529cb6
tests: use npm ci 2018-04-20 19:09:54 +02:00
Dallin B Johnson
9c8d7d9ab6 Reformated my scss and added some styles to make it look better 2018-04-03 22:44:04 -06:00
Dallin B Johnson
4f53ae45db Added the html and css for the navbar 2018-04-03 01:30:29 -06:00
rhyneav
c460eff099 Merge branch 'standards' into develop 2018-03-22 18:39:40 -04:00
Waldir Pimenta
f01c3074e6 standardize license file
- Filename matches format of other standard files in the repo (README, etc.)
- Include title and copyright notice per the template text:
    - http://choosealicense.com/licenses/isc/
    - https://opensource.org/licenses/isc-license
    - http://spdx.org/licenses/ISC.html#licenseText
2018-03-22 18:38:46 -04:00
Luke Bearl
373e4954fd Fixing typo.
Compoiled -> Compiled
2018-03-22 18:38:35 -04:00
rhyneav
d16dc8be36 Merge branch 'release-1.4.1' into develop 2018-03-22 18:37:25 -04:00
Rhyne
c395349afd
Merge pull request #142 from waldyrious/patch-1
standardize license file
2018-03-22 14:48:51 -04:00
Rhyne
a5227f7513
Merge pull request #140 from lbearl/typofix
Fixing typo.
2018-03-22 14:48:28 -04:00
Waldir Pimenta
3c00c99588
standardize license file
- Filename matches format of other standard files in the repo (README, etc.)
- Include title and copyright notice per the template text:
    - http://choosealicense.com/licenses/isc/
    - https://opensource.org/licenses/isc-license
    - http://spdx.org/licenses/ISC.html#licenseText
2018-03-21 23:02:54 +00:00
Luke Bearl
5502a852c9 Fixing typo.
Compoiled -> Compiled
2018-02-24 22:07:00 -08:00
rhyneav
22f52f00b7 bump to version 1.4.1 2018-01-13 16:20:33 -05:00
Thomas Cazade
bc5c4a36cb
Merge pull request #135 from koester/hotfix-animationbug
hotfix-animationbug
2018-01-11 18:41:48 +01:00
koester
c334c81611
Added documentation to translate mixin 2018-01-11 12:24:35 +01:00
koester
4240b6df29
IE animation bug fix 2018-01-11 12:15:05 +01:00
koester
821c4962cf
fixes #111 2018-01-11 10:38:05 +01:00
rhyneav
f1bff38aec Merge branch 'sullivanpt-hotfix-issue-132' into develop 2018-01-09 17:31:12 -05:00
rhyneav
a720e13088 Merge branch 'sullivanpt-hotfix-issue-132' 2018-01-09 17:30:36 -05:00
Edvins Antonovs
375754f857 Fixed typo in the url 2018-01-09 17:27:59 -05:00
Edvins Antonovs
b5ee6e94b2 Fixed typo in the url 2018-01-09 17:26:23 -05:00
rhyneav
8044959529 Merge branch 'ummahusla-patch-1' 2018-01-09 17:25:32 -05:00
Edvins Antonovs
7d896c6de3
Fixed typo in the url 2018-01-09 21:35:01 +00:00
Patrick Sullivan
e850e6eea7 deps: update package-lock
Fixes #132
2018-01-09 08:28:46 -08:00
Patrick Sullivan
db9bbebd34 gulp-sass needed for production install
no documentation for production install so hugo-bin is not needed
Fixes #132
2018-01-08 15:57:21 -08:00
Rhyne
faf3a45621
Merge pull request #131 from koester/better-modals
updated modals
2018-01-08 10:33:57 -05:00
koester
f6cffbe375
added link to modal-2 2018-01-08 14:56:42 +01:00
koester
ed69a36c19
added link to modal-2 2018-01-08 14:52:47 +01:00
koester
c6a849b646
minor fix 2018-01-08 14:31:49 +01:00
koester
f9c7e027e6
updated with new feature and fixed position bug 2018-01-08 14:27:29 +01:00
koester
d9af4be089
updated with new feature and fixed position bug 2018-01-08 14:24:23 +01:00
rhyneav
d53c664946 Merge branch 'hotfix-favicon' into develop 2018-01-03 07:43:43 -05:00
rhyneav
37fa4c57d3 Merge branch 'hotfix-favicon' 2018-01-03 07:43:16 -05:00
rhyneav
211c052d7e Fix favicon img 2018-01-03 07:42:54 -05:00
rhyneav
3ac70da119 Merge branch 'release-1.4' into develop 2018-01-03 07:33:33 -05:00
rhyneav
79a4875abe Merge branch 'release-1.4' 2018-01-03 07:32:16 -05:00
rhyneav
7dfcd2d259 More community oriented about section 2018-01-02 14:02:38 -05:00
rhyneav
c22c07e811 Fix tabs from changing sizes 2018-01-02 11:32:00 -05:00
rhyneav
98cf085637 Add large inputs to form docs 2018-01-02 10:45:57 -05:00
rhyneav
657ccfb326 Prevent modals from displaying when not activated 2018-01-02 10:39:46 -05:00
rhyneav
3ff3f23828 update popovers to new syntax 2018-01-02 10:30:17 -05:00
rhyneav
ef936d86a5 update code pygmment to more closely match theme 2018-01-02 10:26:35 -05:00
rhyneav
a0cc3303d6 change documentation list to buttons 2018-01-02 09:59:42 -05:00
rhyneav
4f72b27977 Minor style tweeks for 4k browsers 2018-01-02 09:48:06 -05:00
rhyneav
766dcdbb53 remove compiled css 2018-01-02 09:28:37 -05:00
rhyneav
623e8851c5 Merge branch 'MunifTanjim-hugo' into release-1.4 2018-01-02 09:17:09 -05:00
rhyneav
911554861c Merge branch 'MunifTanjim-hugo' into develop 2018-01-02 09:02:47 -05:00
Afzal Sayed
8343c0f60b
Merge pull request #12 from papercss/master
merge
2018-01-01 22:46:12 +05:30
Rhyne
7aa79250fd
Merge pull request #126 from koester/accordion-fix
Accordion fix
2018-01-01 09:42:32 -05:00
MunifTanjim
1a6631a403
list view in docs root 2018-01-01 20:27:54 +06:00
Rhyne
468cdcedc8
Merge pull request #127 from koester/unified-transitions
Unified transitions
2018-01-01 09:22:06 -05:00
koester
1a74380e0c Fixed duplicated Collapsibles 2017-12-31 15:55:22 +01:00
koester
fe1f7d7f9e unified transitions across components 2017-12-31 12:19:27 +01:00
MunifTanjim
bc9254dc86
change docs home 2017-12-31 11:01:05 +06:00
Kevin Koester
e344a697a4
Added documentation
Documentation comment for transition mixin
2017-12-30 22:48:54 +01:00
koester
1ed44c1cab clean up accordion 2017-12-30 13:07:53 +01:00
koester
1c02bb8db6 moved transition mixin into config 2017-12-30 13:05:58 +01:00
MunifTanjim
2f8838a635
update package-lock.json 2017-12-28 14:33:18 +06:00
MunifTanjim
16df983bf8
add sidebar 2017-12-28 14:22:20 +06:00
MunifTanjim
9b2342a3f4
shiny new docs 2017-12-28 12:09:53 +06:00
MunifTanjim
cf1a11472a
update ignore list 2017-12-28 10:23:12 +06:00
MunifTanjim
13e9d91867
update css 2017-12-28 10:23:12 +06:00
MunifTanjim
2793036218
add cards for listing 2017-12-28 10:23:12 +06:00
MunifTanjim
9a636636c3
add netlify.toml 2017-12-28 10:23:11 +06:00
MunifTanjim
d13388ccbc
initial Hugo conversion 2017-12-28 10:23:10 +06:00
rhyneav
01e9946bc2 update download links in index 2017-12-27 12:02:24 -05:00
Rhyne
bda069c7f7
Merge pull request #123 from DanielRuf/github-templates
move GitHub pull request template to .github
2017-12-27 11:57:59 -05:00
rhyneav
0e600e04e9 clean up accordion.less 2017-12-27 11:46:02 -05:00
rhyneav
e68cb6e90f Merge branch 'koester-sass-port' into develop 2017-12-27 11:43:11 -05:00
rhyneav
a89b6e8852 convert accordion to scss 2017-12-27 11:39:45 -05:00
Afzal Sayed
4655186720 Added mixins for transitions 2017-12-27 11:23:29 -05:00
Afzal Sayed
c92ab9af22 Added imports 2017-12-27 11:23:29 -05:00
Afzal Sayed
30dcec147e Fix type-o 2017-12-27 11:23:29 -05:00
Afzal Sayed
28c1d00790 added accordions 2017-12-27 11:23:29 -05:00
koester
bc1a02a2fd Make buttons inline-block on mobile && remove article custom style. 2017-12-25 14:23:45 +01:00
Daniel Ruf
89e4ebec38
move GitHub pull request template to .github 2017-12-24 22:36:35 +01:00
koester
34a2b8c27a updated for 1.4.0 2017-12-23 11:59:57 +01:00
koester
ffa7aa0869 moved to utilities/ and content/ 2017-12-23 11:42:20 +01:00
koester
06ad7dc2a6 Merge branch 'sass-port' of github.com:koester/papercss into sass-port 2017-12-23 11:37:12 +01:00
koester
5baa170854 more reasonable directory structure 2017-12-23 11:33:40 +01:00
koester
13cd0f7da4 more reasonable directory structure 2017-12-23 11:16:45 +01:00
koester
3b1dee868f updated for 1.4.0 2017-12-23 11:13:14 +01:00
koester
4914e2477e improved build time 2017-12-23 10:42:29 +01:00
koester
e317fad536 updated for 1.4.0 release 2017-12-23 09:50:09 +01:00
koester
1212a2db8d Fixed broken components 2017-12-23 09:43:23 +01:00
Afzal Sayed
f795bc8e2f
Merge pull request #10 from papercss/master
merge 1.3
2017-12-20 15:48:38 +05:30
koester
4f793519ff moved shadow() mixin into config 2017-12-19 18:03:47 +01:00
koester
e43261ea9f scss components 2017-12-19 17:52:52 +01:00
koester
621db8f23c scss components 2017-12-19 17:52:33 +01:00
koester
2e03d07e3e Added .DS_Store 2017-12-19 14:18:58 +01:00
koester
90c222f35e minor changes to alert.scss 2017-12-18 23:27:40 +01:00
koester
8f864b207e scss gulp tasks and less2scss converion 2017-12-18 23:23:30 +01:00
rhyneav
231f77a767 Merge branch 'afzalsayed96-patch-3' 2017-12-16 16:54:21 -05:00
rhyneav
077d2b790c Merge branch 'afzalsayed96-patch-3' into develop 2017-12-16 16:53:43 -05:00
rhyneav
308b870e7b Update version number in docs for 1.3.1 2017-12-16 16:50:03 -05:00
Thomas Cazade
14ec027b07 Remove some unused code as @afzalsayed96 said in #117 2017-12-16 16:50:03 -05:00
Thomas Cazade
fd54a854bd Bump npm version + description 2017-12-16 16:50:03 -05:00
Thomas Cazade
abb85a3092 Fixed imports in models.less which breaks the gulp build 2017-12-16 16:50:03 -05:00
Thomas Cazade
07ce5fbbc7
Merge pull request #113 from afzalsayed96/feature-accordion
Feature accordion
2017-12-16 18:06:04 +01:00
rhyneav
922870098a Merge branch 'develop' 2017-12-16 09:08:59 -05:00
rhyneav
1cfdbb70b6 Update version number in docs for 1.3.1 2017-12-16 09:08:01 -05:00
Thomas Cazade
4cac25de82 Remove some unused code as @afzalsayed96 said in #117 2017-12-16 15:05:16 +01:00
Afzal Sayed
86f27d6121
shouts outs? shouts out? shout out?
Typo
2017-12-16 00:17:03 +05:30
Afzal Sayed
df0e207943 Added mixins for transitions 2017-12-15 23:28:18 +05:30
Afzal Sayed
fc85d75ae2
Added imports 2017-12-15 23:04:00 +05:30
Afzal Sayed
41c85f824d
Merge pull request #9 from papercss/master
merge
2017-12-15 22:43:10 +05:30
Thomas Cazade
0e180613ea Bump npm version + description 2017-12-15 16:25:13 +01:00
Thomas Cazade
f05c090cb7 Merge branch 'master' of github.com:papercss/papercss into develop 2017-12-15 16:15:46 +01:00
Thomas Cazade
01b94eeba6 Fixed imports in models.less which breaks the gulp build 2017-12-15 16:15:14 +01:00
rhyneav
4b90626278 Merge branch 'release-1.3' into develop 2017-12-15 09:28:04 -05:00
rhyneav
178ff4398d Merge branch 'release-1.3' 2017-12-15 09:19:33 -05:00
rhyneav
9f5511e368 bump npm version 2017-12-15 09:14:49 -05:00
rhyneav
c1b0847d48 Update for version 1.3 2017-12-15 09:14:06 -05:00
Thomas Cazade
9dedd265ba
Merge pull request #114 from papercss/separate-components
Modularize papercss
2017-12-14 13:58:01 +01:00
Thomas Cazade
d34ffa1963 Merge branch 'master' of github.com:papercss/papercss into separate-components 2017-12-14 13:51:59 +01:00
Afzal Sayed
36e76afb76 Fix type-o 2017-12-14 16:44:47 +05:30
Afzal Sayed
7ab4073246
Merge branch 'develop' into feature-accordion 2017-12-14 16:34:47 +05:30
Afzal Sayed
deb933cf36
Merge branch 'develop' into feature-accordion 2017-12-14 16:33:25 +05:30
Afzal Sayed
ae8c09407a added accordions 2017-12-14 16:24:37 +05:30
Fraham
a00907ee67
Merge pull request #109 from Fraham/separate-components
Remove laucher from travis setup
2017-12-11 20:08:32 +00:00
Fraham
3f7f59a559 Remove laucher from travis setup 2017-12-11 19:51:14 +00:00
Fraham
b05900806b
Merge pull request #102 from afzalsayed96/feature-modals
Feature modals
2017-12-11 18:35:54 +00:00
Thomas Cazade
e4e63ba1bd Merge branch 'develop' of github.com:papercss/papercss into develop 2017-12-10 17:06:02 +01:00
Thomas Cazade
3fc30ad1d8 README rewrite, better for people who discover this framework 2017-12-10 17:05:24 +01:00
Thomas Cazade
566072095a
Merge pull request #107 from afzalsayed96/hotfix-mobile-chrome
Hotfix mobile chrome
2017-12-10 16:31:41 +01:00
Afzal Sayed
0204fec167
Removed paper-border modal 2017-12-10 20:30:48 +05:30
Afzal Sayed
aa704a700d
Merge branch 'develop' into hotfix-mobile-chrome 2017-12-10 20:27:19 +05:30
Afzal Sayed
a2379ae706
Merge branch 'develop' into hotfix-mobile-chrome 2017-12-10 20:26:07 +05:30
Afzal Sayed
e1c2eeece3 Mobile support for chrome 2017-12-10 13:12:44 +05:30
Thomas Cazade
69d616cddf Added normalize.css in reset.less and updated gulpfile 2017-12-09 19:14:15 +01:00
Thomas Cazade
11b6dd6e21 Removed normalize and gulp-concat 2017-12-09 19:13:36 +01:00
Thomas Cazade
e1e3438745 Another attempt to include properly normalize.css 2017-12-09 10:07:58 +01:00
Thomas Cazade
25ce035c7f Added normalize.less fix #26 also export it in dist/components 2017-12-08 20:36:04 +01:00
Thomas Cazade
cd460a3ba3 ES6 syntax 2017-12-08 20:34:56 +01:00
Thomas Cazade
6069f65b1e Added normalize.less 2017-12-08 20:34:44 +01:00
Thomas Cazade
ab4883c3a2 Trying to update postinstall without breaking travis-ci 2017-12-08 19:44:08 +01:00
Afzal Sayed
52fb2220b2
Merge pull request #8 from papercss/develop
Develop
2017-12-08 17:31:00 +05:30
Afzal Sayed
2c40e7829c
Merge pull request #7 from papercss/master
merge update
2017-12-08 17:28:57 +05:30
Afzal Sayed
b0a7121d56 added max width for modal dialog 2017-12-08 17:14:59 +05:30
Thomas Cazade
9fe7de9e8c Test broke, revert back to stable state 2017-12-08 12:41:00 +01:00
Thomas Cazade
d48f705800 Removed path to gulp in postinstall script 2017-12-08 12:33:14 +01:00
Thomas Cazade
6672538a98
Merge pull request #105 from papercss/package-deps
Separated devDeps with deps
2017-12-08 12:22:04 +01:00
Thomas Cazade
487e8f9321 Separated devDeps with deps 2017-12-08 12:17:58 +01:00
Thomas Cazade
844b838868
Merge pull request #100 from papercss/gulpfile
Each component have its own css file in dist/components
2017-12-08 11:54:43 +01:00
Thomas Cazade
a1c37e10f1 Import colors as a dependency in tabs 2017-12-08 11:51:03 +01:00
Thomas Cazade
52ac6a22f1 Merge branch 'develop' of github.com:papercss/papercss into gulpfile 2017-12-08 11:49:09 +01:00
rhyneav
4bb6627ecc add <code> tag for features in develop 2017-12-07 16:39:35 -05:00
rhyneav
d5188bd271 Merge branch 'afzalsayed96-fix-code-tag' into develop 2017-12-07 16:31:49 -05:00
rhyneav
3425a78f5b Merge branch 'afzalsayed96-fix-code-tag' 2017-12-07 16:24:41 -05:00
Afzal Sayed
33fd6b7290 Adding modal section 2017-12-06 21:42:17 +05:30
Afzal Sayed
e82329ee06
pre-wrap --> pre 2017-12-06 21:33:45 +05:30
Afzal Sayed
674b7ca428 Removing margin 2017-12-06 15:24:33 +05:30
Afzal Sayed
ab7bae8f4c Merge branch 'fix-code-tag' of https://github.com/afzalsayed96/papercss into fix-code-tag 2017-12-06 15:14:16 +05:30
Afzal Sayed
448a579d61
removing pre wrap 2017-12-06 14:19:27 +05:30
Afzal Sayed
850378b88b Added overflow scroll for code 2017-12-06 12:51:11 +05:30
Thomas Cazade
838d41d6df Added postinstall script 2017-12-05 23:45:24 +01:00
Thomas Cazade
60884fc432 Updated gulpfile to build css for each component in dist/components/ 2017-12-05 23:45:16 +01:00
Thomas Cazade
5333ca8cbe Each file should import its dependent file(s) if using vars or classes from them 2017-12-05 23:44:51 +01:00
Rhyne
552e24bece
Merge pull request #99 from Fraham/MoreColorTests
Tests for colors
2017-12-05 16:20:24 -05:00
Fraham
29ac42744c Tests for colors 2017-12-05 20:00:06 +00:00
Afzal Sayed
f9ac17616c bg fix 2017-12-05 23:19:28 +05:30
Afzal Sayed
44e9be6429
Merge pull request #6 from papercss/master
Update fork
2017-12-05 19:56:38 +05:30
Afzal Sayed
8466ba358c Adding new code 2017-12-05 19:52:37 +05:30
Afzal Sayed
7259ef0660
Merge branch 'master' into fix-code-tag 2017-12-05 19:43:19 +05:30
Afzal Sayed
ea5babaf39
Merge branch 'master' into fix-code-tag 2017-12-05 19:42:19 +05:30
Rhyne
942d56dc4b
Merge pull request #90 from Fraham/Feature-UnitTests
Feature started implementation for unit tests
2017-12-04 07:34:36 -05:00
rhyneav
18465698cd Merge branch 'release-1.2' into develop 2017-12-04 07:23:20 -05:00
rhyneav
a6b5efb55f Merge branch 'release-1.2' 2017-12-04 07:16:54 -05:00
rhyneav
cbbbd59b87 Merge branch 'fix-typos' into release-1.2 2017-12-04 07:16:01 -05:00
rhyneav
ca1600e768 fix typos 2017-12-04 07:15:46 -05:00
Afzal Sayed
80b8ae0174
Merge branch 'master' into fix-code-tag 2017-12-03 23:10:34 +05:30
Afzal Sayed
e6e81b653a
Merge branch 'master' into fix-code-tag 2017-12-03 23:09:21 +05:30
Fraham
5134b86651 Add build status 2017-12-03 17:09:21 +00:00
Fraham
80f804c8d5 add slack 2017-12-03 17:07:32 +00:00
Fraham
ca209925e7 travis setup 2017-12-02 20:21:47 +00:00
Fraham
79efd81db3 needs build in there 2017-12-02 20:16:05 +00:00
Fraham
7662103f27 structure 2017-12-02 20:12:49 +00:00
Fraham
10105d7b45 js 2017-12-02 20:08:01 +00:00
Fraham
5104c1ff41 try 2017-12-02 18:15:06 +00:00
Fraham
42c898a524 test 2017-12-02 18:08:41 +00:00
Fraham
bf8e2d53f2 try 2017-12-02 18:01:08 +00:00
Fraham
75c747d5f5 try everything 2017-12-02 17:57:05 +00:00
Fraham
a6e7ccb0f1 try again 2017-12-02 17:51:17 +00:00
Fraham
c1a2808307 try 2017-12-02 17:50:19 +00:00
Fraham
62f475fb39 test 2017-12-02 17:47:22 +00:00
Fraham
eadfa342b2 check 2017-12-02 17:35:04 +00:00
Fraham
1fa37fe9cf changes 2017-12-02 17:30:44 +00:00
Fraham
4bcd2107d1 test 2017-12-02 16:27:09 +00:00
Afzal Sayed
03981cadb5
Merge pull request #5 from papercss/develop
Develop
2017-12-02 15:41:37 +05:30
Afzal Sayed
1441e4d10b
Merge pull request #4 from papercss/master
Update for master
2017-12-02 15:40:39 +05:30
rhyneav
25605c286d Merge branch 'fix-card-header-color' into release-1.2 2017-12-01 16:32:14 -05:00
rhyneav
42e5ba827b Fix color for card header footer 2017-12-01 16:31:48 -05:00
rhyneav
36228ed86e Merge branch 'paulmand3l-patch-1' into release-1.2 2017-12-01 16:10:48 -05:00
rhyneav
3cf3f09f77 Merge branch 'paulmand3l-patch-1' into develop 2017-12-01 16:09:50 -05:00
rhyneav
c50959ad89 Merge branch 'paulmand3l-patch-1' 2017-12-01 16:08:42 -05:00
Rhyne
837c7bb826
Merge pull request #79 from afzalsayed96/feature-back2top
Adding a back to top button feature
2017-12-01 16:04:49 -05:00
Fraham
4aa07afcdf try again 2017-12-01 20:25:05 +00:00
Fraham
6b8450a8dc Permissions 2017-12-01 20:18:28 +00:00
Fraham
8c0764dd02 Fix build 2017-12-01 18:39:53 +00:00
Fraham
9d69a12788 Remove unneeded code 2017-12-01 18:36:03 +00:00
Afzal Sayed
cb80772538
Fixed invalid style 2017-12-01 22:37:51 +05:30
Afzal Sayed
8beaf6b282 moved to demo.css file 2017-12-01 12:29:54 +05:30
Afzal Sayed
6f8338a0fa
Merge branch 'develop' into feature-back2top 2017-12-01 12:19:54 +05:30
Afzal Sayed
f9e9c5d04c
Merge branch 'develop' into feature-back2top 2017-12-01 12:18:46 +05:30
Fraham
321b009296
Revert change 2017-11-30 20:44:54 +00:00
Fraham
f35cbb31ce Better running of tests 2017-11-30 20:43:32 +00:00
Fraham
9e73b54d32 Add build 2017-11-30 20:33:27 +00:00
Fraham
91381ddeea Add travis file 2017-11-30 20:30:31 +00:00
Afzal Sayed
b47ef25242 added word wrap 2017-11-30 16:56:32 +05:30
Afzal Sayed
6b7c8340ee fix for pre code tags 2017-11-30 16:36:34 +05:30
Rhyne
e7d27d5d1a
Merge pull request #88 from muyaszed/feature-menu-list
added class for inline list
2017-11-29 10:20:49 -05:00
Rhyne
8560214c7d
Merge pull request #84 from afzalsayed96/feature-tabs
Added tabs feature
2017-11-29 10:20:21 -05:00
Fraham
62619a3772 Update branch 2017-11-28 19:39:04 +00:00
Fraham
86b758b031 Making unit tests 2017-11-28 19:35:06 +00:00
Paul Mandel
218a8eb570
Imprefect Buttons -> Imperfect Buttons 2017-11-28 10:45:30 -08:00
Fraham
c1da0dc912 Test Setup 2017-11-27 23:06:12 +00:00
Yazed Jamal
8bbcb2e371 added class for inline list 2017-11-27 21:00:28 +00:00
Afzal Sayed
93ce473178 small bug fix in id selection 2017-11-27 18:00:48 +05:30
Afzal Sayed
c946f6870b
Merge pull request #3 from rhyneav/develop
Develop
2017-11-27 12:15:50 +05:30
Afzal Sayed
dd9c203c23 Added loop for dynamic selection of tabs id 2017-11-27 11:48:05 +05:30
rhyneav
e474fa6388 bump version numbers 2017-11-26 18:00:56 -05:00
Rhyne
2cd5a96b8f
Merge pull request #71 from afzalsayed96/hotfix-fix-overflow
Fix for overflow x-axis in mobile view
2017-11-26 17:54:25 -05:00
Afzal Sayed
046d100617
Merge branch 'develop' into feature-tabs 2017-11-26 22:19:59 +05:30
Afzal Sayed
6d66733172
Merge branch 'develop' into feature-tabs 2017-11-26 22:17:31 +05:30
Rhyne
50e6c2ddc1
Merge pull request #78 from ilhamwibawa/feature-article
Feature article
2017-11-25 13:43:29 -05:00
Rhyne
f9a867e71f
Merge pull request #65 from TotomInc/editorconfig
Added a basic .editorconfig
2017-11-25 13:40:50 -05:00
Rhyne
8d345d7444
Merge pull request #76 from valerymelou/develop
Change the display of focused buttons
2017-11-25 13:39:40 -05:00
Thomas Cazade
c57712bb4f
Added a few lines about the editorconfig file on the README 2017-11-25 18:57:07 +01:00
Afzal Sayed
1dc3adaf52 Added tabs feature 2017-11-25 20:47:10 +05:30
Ilham Wibawa
41a4f162de change value to variable 2017-11-25 13:27:15 +07:00
Afzal Sayed
a7d66f4bcf Added documentation 2017-11-24 23:17:06 +05:30
Afzal Sayed
62c7309296
Merge pull request #2 from rhyneav/master
Update fork
2017-11-24 22:19:23 +05:30
Afzal Sayed
e21ea5cc88 Adding a back to top button feature 2017-11-24 22:16:11 +05:30
rhyneav
3b340af5f8 Merge branch 'afzalsayed96-patch-2' into develop 2017-11-24 10:35:44 -05:00
rhyneav
ff7eb96864 Merge branch 'afzalsayed96-patch-2' 2017-11-24 10:35:05 -05:00
Afzal Sayed
b620a123a6 Update contact person email
Added getpapercss@gmail.com
2017-11-24 10:34:44 -05:00
Afzal Sayed
8818867648 Create CODE_OF_CONDUCT.md 2017-11-24 10:34:44 -05:00
Rhyne
179d3e1a82
Fix little typo 2017-11-24 10:33:37 -05:00
rhyneav
cb4c578051 Fix merge 2017-11-24 10:27:46 -05:00
rhyneav
28d764241a Merge branch 'afzalsayed96-patch-1' 2017-11-24 10:23:40 -05:00
Valery Melou
e5d225e6d5 Add IDs to inputs and selects 2017-11-24 10:22:39 -05:00
Daniel Ruf
b3176b76f3 fix position value 2017-11-24 10:22:39 -05:00
Valery Melou
341239c97f Change the display of focused buttons
This will visually update the display of focused buttons so that users
using a keyboard will differenciate them from other buttons.
2017-11-24 11:40:54 +01:00
Ilham Wibawa
70811b40eb article component 2017-11-24 14:56:46 +07:00
Fraham
7dee3d0e83 Merge 2017-11-23 20:10:51 +00:00
Fraham
25345929fc Merge 2017-11-23 20:08:47 +00:00
Afzal Sayed
ede44c4f4d
Initial framework
Added contribution part from README
2017-11-23 23:34:06 +05:30
Afzal Sayed
4b51f29e30
Update contact person email
Added getpapercss@gmail.com
2017-11-23 23:17:03 +05:30
Afzal Sayed
c52b4d927f Fix for overflow x-axis in mobile view 2017-11-23 23:13:46 +05:30
Afzal Sayed
2c4ee9ef2d
Create CONTRIBUTING.md 2017-11-23 21:43:09 +05:30
Rhyne
29efe4a06e
Merge pull request #64 from Nilanno/patch-1
Update buttons.less
2017-11-23 11:12:07 -05:00
rhyneav
fdcd20c0d0 Fix merge conflict 2017-11-23 11:09:08 -05:00
rhyneav
873f939bcc Merge branch 'valerymelou-master' 2017-11-23 11:03:18 -05:00
Afzal Sayed
745be5a79c Fix for summary links 2017-11-23 11:01:11 -05:00
Daniel Ruf
2b01b99ec8 fix position value 2017-11-23 11:01:11 -05:00
Danny Feliz
d0fd9a51c1 Add syntax highlighting 2017-11-23 11:01:11 -05:00
rhyneav
d34b0748cb Merge branch 'DanielRuf-patch-position' into develop 2017-11-23 10:56:58 -05:00
rhyneav
ffae44565a Merge branch 'DanielRuf-patch-position' 2017-11-23 10:55:02 -05:00
Afzal Sayed
e2cbb26da7
Create CODE_OF_CONDUCT.md 2017-11-23 21:24:49 +05:30
Afzal Sayed
cc84444df3 Fix for summary links 2017-11-23 10:52:28 -05:00
Danny Feliz
6ae8c9d304 Add syntax highlighting 2017-11-23 10:52:28 -05:00
rhyneav
995ce9232c fix merge 2017-11-23 10:49:28 -05:00
rhyneav
efb9747b3f Merge branch 'afzalsayed96-hotfix-summary-links' 2017-11-23 10:46:16 -05:00
Danny Feliz
0904f017bb Add syntax highlighting 2017-11-23 10:45:51 -05:00
Nilanno
aa70a2aa03
Merge branch 'develop' into patch-1 2017-11-23 16:44:39 +01:00
Nilanno
b869b5ae86
Merge branch 'develop' into patch-1 2017-11-23 16:42:28 +01:00
Thomas Cazade
3827ef5d35
Added a basic .editorconfig 2017-11-23 16:33:08 +01:00
Afzal Sayed
ced425394e Fix for summary links 2017-11-22 22:09:42 +05:30
Rhyne
1b6e9762b8
Merge pull request #56 from Fraham/Feature-RefactorColumnGeneration
Refactor column generation
2017-11-22 11:02:38 -05:00
Danny Feliz
55f4d56009 Add syntax highlighting 2017-11-22 10:57:38 -05:00
rhyneav
95d65e3ea9 Merge branch 'DannyFeliz-master' 2017-11-22 10:56:11 -05:00
Nilanno
d91cc79b79
Update buttons.less 2017-11-22 16:52:51 +01:00
Nilanno
1fcceefb80
Update buttons.less
Button click state for issue #63
2017-11-22 15:19:41 +01:00
Valery Melou
1ecadd075f Add IDs to inputs and selects 2017-11-22 08:59:58 +01:00
Daniel Ruf
fd57e44484
fix position value 2017-11-21 23:51:56 +01:00
Fraham
6d0826c614 Refactored the generation of columns 2017-11-21 19:47:37 +00:00
Danny Feliz
e7d945cce7
Add syntax highlighting 2017-11-21 15:19:07 -04:00
Fraham
e98f8deaab Merge remote-tracking branch 'refs/remotes/rhyneav/develop' 2017-11-21 19:00:22 +00:00
Afzal Sayed
a79b4ccc16
Merge pull request #1 from rhyneav/master
Update fork
2017-11-21 21:48:50 +05:30
Rhyne
9eaee90e60
Merge pull request #43 from afzalsayed96/feature-textarea
Feature textarea
2017-11-21 11:07:08 -05:00
Afzal Sayed
df13d2d3b1 Added no-resize class 2017-11-21 21:29:13 +05:30
rhyneav
13fb33ea73 Merge branch 'hotfix-develop-link' into develop 2017-11-21 10:47:27 -05:00
rhyneav
f3ee817270 Merge branch 'hotfix-develop-link' 2017-11-21 10:46:35 -05:00
rhyneav
2f65fec408 Add develop link to readme 2017-11-21 10:42:53 -05:00
Rhyne
e55181a5a2
Merge pull request #38 from afzalsayed96/feature-favicon
Created and added favicon
2017-11-21 09:53:45 -05:00
rhyneav
bfad38f5bb Merge branch 'APRim05-patch-1' into develop 2017-11-21 09:42:12 -05:00
rhyneav
ecc4b08db9 Merge branch 'APRim05-patch-1' 2017-11-21 09:41:21 -05:00
Rimi
865d62b092
corrected flex-center alignment on line 167
there was a mistake which said "flex-right" instead of "flex-center"
(I certify that these changes according to the Developer Certificate of Origin 1.1 as described at https://developercertificate.org/.)
2017-11-20 21:37:12 +00:00
rhyneav
67029e5c78 update image to https 2017-11-20 15:46:55 -05:00
rhyneav
6a84968468 Merge branch 'hotfix-ssl' 2017-11-20 15:44:02 -05:00
rhyneav
8e6e856292 update image to https 2017-11-20 15:39:55 -05:00
Rhyne
230da3feb3
Merge pull request #37 from maciejmatu/master
Modify shadow hover behaviour
2017-11-20 15:30:38 -05:00
rhyneav
40dea74a8a Merge branch 'valerymelou-master' into develop 2017-11-20 15:28:21 -05:00
rhyneav
d91ad0498e Merge branch 'valerymelou-master' 2017-11-20 15:27:23 -05:00
Rhyne
0c4cd1d701
Merge branch 'develop' into master 2017-11-20 13:00:13 -05:00
Afzal Sayed
5ca4b85a9d constrained max height and width for textarea 2017-11-20 21:33:45 +05:30
Afzal Sayed
7c89b5a0a2 Added support for textarea 2017-11-20 21:20:37 +05:30
Valery Melou
d9537fea86
Update README.md 2017-11-20 08:52:32 +01:00
Afzal Sayed
62bdc57e2d Created and added favicon 2017-11-19 21:22:55 +05:30
Maciej Matuszewski
53aaa4c308 Remove duplicated :hover selector 2017-11-19 14:58:39 +01:00
Maciej Matuszewski
1907ea6e69 Add translate to hovered elements with shadow 2017-11-19 14:58:19 +01:00
Maciej Matuszewski
4145220a2d Use variable references for shadows 2017-11-19 14:40:28 +01:00
Rhyne
2330dbf887
Merge pull request #35 from wintercounter/fix-ie-svg-radio-checkbox
Fixes #1
2017-11-13 19:15:05 -05:00
Rhyne
f5096d9609
Merge pull request #34 from wintercounter/feature-short-popover-attributes
Feature short popover attributes
2017-11-13 19:02:34 -05:00
Viktor Vincze
ca0e42c515 Fixes #1 2017-11-13 17:43:04 +01:00
Viktor Vincze
23e6e895e2 Restore old background color 2017-11-13 17:29:46 +01:00
Viktor Vincze
02819a9a8c Shorter popover attributes 2017-11-13 15:38:57 +01:00
rhyneav
952bbbf605 Merge branch 'hotfix-docsupdateforcdn' into develop 2017-11-10 10:11:18 -05:00
rhyneav
b14deaa765 Merge branch 'hotfix-docsupdateforcdn' 2017-11-10 10:10:01 -05:00
rhyneav
eaaec20402 Add NPM and CDN documentation 2017-11-10 10:08:48 -05:00
Rhyne
9d8c27d391
Merge pull request #29 from Fraham/Fraham-Fix#14
Fixes #14
2017-11-08 16:11:15 -05:00
Rhyne
2e77f7020f
Merge pull request #31 from Fraham/feature-RefactorBadgeColours
Refactor badge colours
2017-11-08 16:10:27 -05:00
rhyneav
65f1740329 Merge branch 'hotfix-section' into develop 2017-11-08 13:07:57 -05:00
rhyneav
b4df16d476 Merge branch 'hotfix-section' 2017-11-08 13:07:04 -05:00
rhyneav
35e1ee86cc Remove duplicate section tag 2017-11-08 13:04:08 -05:00
Fraham
64caeeea22
Merge branch 'develop' into feature-RefactorBadgeColours 2017-11-08 17:51:22 +00:00
rhyneav
94ae853d8e fix typo 2017-11-08 12:51:02 -05:00
rhyneav
49f4e347e9 Add more details to commiting documentation 2017-11-08 12:50:45 -05:00
rhyneav
8577a7328b Update README for contributing to develop branch 2017-11-08 12:50:33 -05:00
Fraham
2e4682148a
Merge branch 'develop' into feature-RefactorBadgeColours 2017-11-08 17:49:57 +00:00
Fraham
a40bdddba6
Fix summary for cards 2017-11-08 17:47:03 +00:00
Rhyne
87891c66d6
Merge pull request #28 from brodybits/pull-dco
Pull request template to get DCO (Developers Certificate of Origin)
2017-11-08 07:35:00 -05:00
Fraham
78e297927e
Merge branch 'develop' into Fraham-Fix#14 2017-11-08 12:33:27 +00:00
Rhyne
c83c9b1ef6
Merge pull request #17 from Fraham/Fraham-MoreButtonStyles
More button styles
2017-11-08 07:21:33 -05:00
Fraham
832fe78226 Adding cards and badges to the summary 2017-11-07 15:40:17 +00:00
Fraham
88eb6c2f20 Refactor so that it follows the colour standard 2017-11-07 15:39:56 +00:00
Christopher J. Brody
cbb0374a0b Add PULL_REQUEST_TEMPLATE.md
get indication of DCO and some other details
2017-11-07 10:39:39 -05:00
Fraham
a26d9fd7e1 Merge remote-tracking branch 'refs/remotes/rhyneav/master' 2017-11-07 15:28:46 +00:00
rhyneav
dd310fa002 fix typo 2017-11-07 10:14:26 -05:00
rhyneav
0d1156edad Add more details to commiting documentation 2017-11-07 10:12:03 -05:00
rhyneav
1151c6671b Update README for contributing to develop branch 2017-11-07 09:59:28 -05:00
Fraham
2782d67e85 Fixes #14 2017-11-06 20:33:02 +00:00
rhyneav
14a3ccc552 Initial setup for NPM package 2017-11-06 10:36:39 -05:00
Fraham
ef5824da81 Shadow issue fixed 2017-11-05 16:47:38 +00:00
Fraham
37f20080e9
Merge branch 'master' into Fraham-MoreButtonStyles 2017-11-05 16:29:26 +00:00
Fraham
65ff16da0c
Merge branch 'master' into Fraham-MoreButtonStyles 2017-11-05 16:27:36 +00:00
rhyneav
c7b18dc413 Update download link to 1.1.0 2017-11-05 09:50:09 -05:00
Rhyne
9dbee0e2a3
Merge pull request #21 from Fraham/Fraham-DisableInputs
Adding disbaled styling for inputs
2017-11-05 09:41:46 -05:00
Rhyne
8e495e1124
Merge pull request #22 from joelwallis/licensing-for-great-good
Licensing for great good
2017-11-05 09:39:35 -05:00
Joel Wallis Jucá
e8dafd163d Updates the author name on package.json
See also:

- https://docs.npmjs.com/files/package.json#people-fields-author-contributors
- https://docs.npmjs.com/getting-started/creating-node-modules
2017-11-04 12:53:44 -03:00
Joel Wallis Jucá
9d73e5f160 Adds the license file
File content extracted from Wikipedia - https://en.wikipedia.org/wiki/ISC_license

See also:

- https://en.wikipedia.org/wiki/ISC_license
- https://www.isc.org/downloads/software-support-policy/isc-license/
- https://opensource.org/licenses/isc-license.txt
2017-11-04 12:36:17 -03:00
Rhyne
025edea088
Merge pull request #18 from TotomInc/seo
Added SEO tags and a summary
2017-11-04 09:59:31 -04:00
Fraham
45007f7d0d Adding disbaled styling for inputs 2017-11-03 16:50:04 +00:00
Fraham
a6a8abd0e3 Merge remote-tracking branch 'refs/remotes/rhyneav/master' 2017-11-03 15:16:29 +00:00
Fraham
da5428e495 Fix @muted-text issue 2017-11-03 12:51:23 +00:00
Thomas Cazade
e6b1629a50
Fix utilities link from summary 2017-11-03 13:50:24 +01:00
Thomas Cazade
d7584cf60d
Merge branch 'master' into seo 2017-11-03 13:48:00 +01:00
Fraham
ba35c013fb
Merge branch 'master' into Fraham-MoreButtonStyles 2017-11-03 12:46:09 +00:00
Thomas Cazade
82ed908b84
Merge branch 'master' into seo 2017-11-03 13:44:01 +01:00
Rhyne
71ab4ff884
Merge pull request #13 from TotomInc/badges
Add cards and badges
2017-11-03 08:27:09 -04:00
Thomas Cazade
832be3789b Added sumarry 2017-11-03 11:48:32 +01:00
Thomas Cazade
5af16d2a8f Added SEO tags 2017-11-03 11:36:46 +01:00
Thomas Cazade
986989e072 Updated packages and add yarn.lock 2017-11-03 11:36:39 +01:00
Thomas Cazade
2c0368a8fc Update docs 2017-11-02 20:29:29 +01:00
Thomas Cazade
9cf51f444d Add header/footer and card hover box-shadow 2017-11-02 20:29:20 +01:00
Thomas Cazade
13829d30d6 Badges borders 2017-11-02 20:14:00 +01:00
Thomas Cazade
133e829fa1 Fix conflicts and restore old border on badges 2017-11-02 20:13:36 +01:00
Fraham
203630eacc Adding colours and hover:active to buttons 2017-11-02 16:08:22 +00:00
Fraham
26a1495453 Merge remote-tracking branch 'refs/remotes/rhyneav/master' 2017-11-02 15:01:29 +00:00
Rhyne
80477b3ffd
Merge pull request #16 from Fraham/Fraham-Alerts
Alerts
2017-11-02 10:15:35 -04:00
Thomas Cazade
b2a2e2e6cb Add text-muted class 2017-11-02 15:05:06 +01:00
Thomas Cazade
d1947ea764 Added muted color and fixed edgy badges corners 2017-11-02 14:58:35 +01:00
Fraham
176ee2f3f0 Alert components 2017-11-01 23:23:44 +00:00
Fraham
ce2734ec97
Fix background colour issue 2017-11-01 22:29:07 +00:00
Fraham
f10523bc3a
Fix border colour issue 2017-11-01 22:28:20 +00:00
Thomas Cazade
76007dfdeb Added badges 2017-11-01 17:44:09 +01:00
Thomas Cazade
73df749cc9 Finished cards 2017-11-01 17:20:05 +01:00
Fraham
bd3e103be5 Add readme 2017-11-01 15:49:23 +00:00
Fraham
5febaa892e Remove redundant line 2017-11-01 15:39:55 +00:00
Fraham
a1f5bea832 Refactored colours to make them more dynamic 2017-11-01 15:37:52 +00:00
Thomas Cazade
d8f1fa2eb7 Added white-space to pre-tags 2017-11-01 15:48:26 +01:00
Thomas Cazade
c92cd319f3 Added default card, more types to come 2017-11-01 15:48:02 +01:00
Fraham
2efe012411 Merge remote-tracking branch 'refs/remotes/rhyneav/master' 2017-11-01 14:30:13 +00:00
rhyneav
d5119c94a1 Move border size to just .border to prevent override on child borders 2017-10-31 18:19:52 -04:00
Rhyne
27fdcad716
Merge pull request #8 from Fraham/Fraham-FixChildBorderIssue#6
Fix child border issue
2017-10-31 18:13:40 -04:00
Rhyne
45d4a11c21
Merge pull request #7 from Fraham/Fraham-BorderStyles
Adding more border styles, dashed, dotted, thick
2017-10-31 18:11:08 -04:00
Fraham
e510e22594 Fix child border issue 2017-10-31 17:30:43 +00:00
Fraham
0863e081d8 Adding more border styles, dashed, dotted, thich 2017-10-31 17:18:52 +00:00
rhyneav
c5cd54b157 Update download link to 1.0.1 2017-10-31 08:08:47 -04:00
117 changed files with 13522 additions and 9147 deletions

3
.browserslistrc Normal file
View file

@ -0,0 +1,3 @@
# Browsers that we support (see https://browserl.ist/)
defaults

10
.editorconfig Normal file
View file

@ -0,0 +1,10 @@
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
quote_type = single

15
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,15 @@
## Brief description
...
## Developer Certificate of Origin
- [ ] I certify that these changes according to the Developer Certificate of Origin 1.1 as described at <https://developercertificate.org/>.
## Sample pictures
...
## Further details
...

9
.gitignore vendored
View file

@ -1,3 +1,10 @@
/node_modules /node_modules
npm-debug.log npm-debug.log
/dist /tests/node_modules
.DS_Store
/public
.vscode
# Ignore compiled CSS
/docs/static/assets/paper.css
/docs/static/assets/paper.min.css

13
.npmignore Normal file
View file

@ -0,0 +1,13 @@
/.github
/build
/docs
/img
/node_modules
/public
.browserslistrc
.editorconfig
.stylelintrc.json
CODE_OF_CONDUCT.md
CONTRIBUTING.md
netlify.toml
npm-debug.log

13
.stylelintrc.json Normal file
View file

@ -0,0 +1,13 @@
{
"extends": "stylelint-config-sass-guidelines",
"plugins": [
"stylelint-scss"
],
"rules": {
"max-nesting-depth": 5,
"selector-no-qualifying-type": null,
"selector-max-compound-selectors": null,
"scss/selector-no-redundant-nesting-selector": null,
"scss/at-extend-no-missing-placeholder": null
}
}

46
CODE_OF_CONDUCT.md Normal file
View file

@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at getpapercss@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

23
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,23 @@
## Contributing
Check out what's been added but not yet released at [develop.getpapercss.com](https://develop.getpapercss.com)
This project is open source and contributions are very welcomed. It is also as beginner friendly as possible, so don't be afraid to jump in if you've never contributed to any Git project before! Feel free to reach out if you are new and need help with the process.
Please before sending a PR, make sure you are properly using the `.editorconfig` file with your IDE. If your IDE doesn't natively support `editorconfig` files, you can use an extension/package/module. For example in Atom there is the [editorconfig package](https://atom.io/packages/editorconfig), as well for [Sublime Text](https://github.com/sindresorhus/editorconfig-sublime), [VS Code](https://github.com/editorconfig/editorconfig-vscode), [Vim](https://github.com/editorconfig/editorconfig-vim), ...
Once you are ready to contribute, here the workflow you should follow:
- Fork the repo then clone it: `git clone git@github.com:[your_username]/papercss.git`
- `cd papercss` then install dependencies: `npm install`
- Change your current branch to `develop`: `git checkout develop`
- Create your new branch where you will write your code: `git checkout -b feature-thing develop`. Please be sure to prepend your new feature branch with "feature-"
- Write some code!
- To build the scss (in `src/`) to css (in `dist/`), run `npm run css:build`. Note: you will need to re-run this command to include the latest changes in `src/`.
- To preview your changes, you can run `npm start`. This will start a `localhost` server.
- Check to make sure your code is following style rules with `npm run stylelint`
- Once done commit and push your changes to your fork. The linter is also run as a pre-commit hook.
- Open a pull request on the origin papercss repo. Be sure to include any pictures and/or details on what you have done; it will help reviewers **a lot**!
- When your changes are approved, they will be merged into the `develop` branch, which will finally be merged into the `master` branch when we reach a milestone regarding features and bug fixes. Check out [Vincent Driessen's blog post](http://nvie.com/posts/a-successful-git-branching-model/), [GitFlow](https://datasift.github.io/gitflow/IntroducingGitFlow.html), or [#27](https://github.com/rhyneav/papercss/issues/27) for more details on how this works.
Note: If you have a hotfix (usually typos and minor documentation tweaks), create your hotfix branch off of the master branch instead of develop: `git checkout -b hotfix-thing master`. The changes will be merged into both the master and develop to keep the branches consistent.

14
DISTRIBUTING.md Normal file
View file

@ -0,0 +1,14 @@
For distributing a new version to Github, NPM, and the CDN
1. Ensure the build is up to date with `npm run build`
2. Update all version numbers in the app using [Semantic Versioning](https://semver.org/). Ex renaming `1.8.0` to `1.8.1` for a patch.
1. package.json
2. package-lock.json
3. docs/content/_index.md
3. Create commit of the new version with the changed version files: `v1.8.3`
4. Push to master
5. Create new release in the Github UI
1. Create a new tag with the same name as the commit: `v1.8.3`
2. Add details about the additions and fixes
3. Upload the files in `dist` to the "Attach Binaries" section (`paper.css` and `paper.min.css`)
6. Publish to NPM with `npm publish`. The CDN will automatically pick up the new files

7
LICENSE.md Normal file
View file

@ -0,0 +1,7 @@
## ISC Licence
Copyright (c) 20172018, Rhyne Vlaservich <rhyneav@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

132
README.md
View file

@ -1,55 +1,109 @@
# PaperCSS <p align="center">
### The Less Formal CSS Framework <a href="https://getpapercss.com">
<img src="https://raw.githubusercontent.com/papercss/papercss/master/docs/static/favicon.ico?raw=true" alt="PaperCSS logo">
</a>
## Demo & Docs <h3 align="center">PaperCSS</h3>
View the demo & docs at [getpapercss.com](https://www.getpapercss.com)
![Preview](/img/screenshots/preview.gif)
## Download <p align="center">The less formal CSS framework, with a quick and easy integration.</p>
[![Download](/img/screenshots/download.PNG)][download] </p>
[![Download](/img/screenshots/download-minified.PNG)][download-minified]
## Table of contents
- [Table of contents](#table-of-contents)
- [Quick-start](#quick-start)
- [Content of the framework](#content-of-the-framework)
- [Documentation](#documentation)
- [Customizing](#customizing)
- [Contributing](#contributing)
- [About](#about)
- [Resources](#resources)
- [Credits and license](#credits-and-license)
## Quick-start
There are several options available:
- You can [download the latest release](https://github.com/papercss/papercss/releases).
- Clone the repo: `git clone https://github.com/papercss/papercss.git`
- Install with npm: `npm install papercss`
- Install with yarn: `yarn add papercss`
- Import it using a CDN (it will automatically download the latest version):
- `https://unpkg.com/papercss/dist/paper.min.css`
- `https://unpkg.com/papercss/dist/paper.css`
## Content of the framework
We provide compiled CSS (`paper.css`) as well as minified CSS (`paper.min.css`).
You can choose which components you may want to use. Only the components that get imported into `src/styles.scss` will be compiled into `dist/paper.css`.
You can also play with original, source files, written in SCSS, in `src/`.
## Documentation
You can view the docs at [getpapercss.com](https://www.getpapercss.com). Those are directly from the `master` branch; this means those features are stable and ready to be used in your project.
You can also view the develop branch at [develop.getpapercss.com](https://develop.getpapercss.com), this includes new features that are coming soon in the master branch. Be warned, a feature in develop can be removed without any prevention.
## Customizing
You can customize PaperCSS easily, clone the repo, run `npm install` and make any changes to `.scss` files in `src/`.
The main place you might want to make changes would be `core/_config.scss`, where you can specify new colors or fonts for your CSS build.
After you make changes, be sure to build the new CSS files. Do so by running `npm run css:build` and get them from the `dist/` folder.
## Contributing
This project is open source and contributions are very welcomed. It is also as beginner friendly as possible, so don't be afraid to jump in if you've never contributed to any Git project before! Feel free to reach out if you are new and need help with the process.
Please before sending a PR, make sure you are properly using the `.editorconfig` file with your IDE. If your IDE doesn't natively support `editorconfig` files, you can use an extension/package/module. For example in Atom there is the [editorconfig package](https://atom.io/packages/editorconfig), as well for [Sublime Text](https://github.com/sindresorhus/editorconfig-sublime), [VS Code](https://github.com/editorconfig/editorconfig-vscode), [Vim](https://github.com/editorconfig/editorconfig-vim), ...
Once you are ready to contribute, here the workflow you should follow:
- Fork the repo then clone it: `git clone git@github.com:[your_username]/papercss.git`
- `cd papercss` then install dependencies: `npm install`
- Change your current branch to `develop`: `git checkout develop`
- Create your new branch where you will write your code: `git checkout -b feature-thing develop`. Please be sure to prepend your new feature branch with "feature-"
- Write some code!
- To build the scss (in `src/`) to css (in `dist/`), run `npm run css:build`. Note: you will need to re-run this command to include the latest changes in `src/`.
- To preview your changes, you can run `npm start`. This will start a `localhost` server.
- Check to make sure your code is following style rules with `npm run stylelint`
- Once done commit and push your changes to your fork. The linter is also run as a pre-commit hook.
- Open a pull request on the origin papercss repo. Be sure to include any pictures and/or details on what you have done; it will help reviewers **a lot**!
- When your changes are approved, they will be merged into the `develop` branch, which will finally be merged into the `master` branch when we reach a milestone regarding features and bug fixes. Check out [Vincent Driessen's blog post](http://nvie.com/posts/a-successful-git-branching-model/), [GitFlow](https://datasift.github.io/gitflow/IntroducingGitFlow.html), or [#27](https://github.com/rhyneav/papercss/issues/27) for more details on how this works.
Note: If you have a hotfix (usually typos and minor documentation tweaks), create your hotfix branch off of the master branch instead of develop: `git checkout -b hotfix-thing master`. The changes will be merged into both the master and develop to keep the branches consistent.
## About ## About
I got tired of mODerN STylEs and clean pages on the internet. I also wanted to learn more about Flexbox and Less. So I made PaperCSS to solve these two challenges of mine :)
PaperCSS was originally made by [@rhyneav](https://github.com/rhyneav) to be something different than the typical mODerN STylEs and clean pages found in every other CSS framework. It was built with LESS and deployed on a single index.html page before being open sourced. It has since evolved; The CSS source has been rewritten in SCSS and the documentation is now built with Hugo (all thanks to some [wonderful contributors](https://github.com/papercss/papercss/graphs/contributors)). It is currently maintained by the [PaperCSS team](https://github.com/orgs/papercss/people).
The goal of PaperCSS is to be as minimal as possible when adding classes. For example, a button should just look like a paper button. There shouldn't be a need to add a class such as `paper-button`. Because of this, adding PaperCSS to a markdown generated page should instantly paper-ize it. The goal of PaperCSS is to be as minimal as possible when adding classes. For example, a button should just look like a paper button. There shouldn't be a need to add a class such as `paper-button`. Because of this, adding PaperCSS to a markdown generated page should instantly paper-ize it.
While I'm proud of how it's turned out so far, I think there's a lot that can still be done to make it better. Such things as refactoring, adding more utility classes and more border types (like dashed/dotted) could really polish off this framework. That's why it's open sourced and available for pull requests! Feel free to use it for wireframes, web apps, blogs, or whatever else you can think of!
If you are new to Git or Less, this would be a great project to get your feet wet with. I'd be happy to help walk you through the pull request process. If you are new to Git or SCSS, this would be a great project to get your feet wet with. I'd be happy to help walk you through the pull request process.
## Customizing ## Resources
To customize PaperCSS, clone the Git repo, run `npm install`, and make any chages to the .less files within /src
The main places you might want to make changes would be colors.less or fonts.less. Here, you can specify new colors or fonts for your CSS build. Components:
After you make changes, be sure to build the new CSS files. Do so by running `npm run build` and get them from the /dist folder. - [react-papercss-design](https://hacker0limbo.github.io/react-papercss-design/en-US) a React component library based on PaperCSS
- [Spaper](https://oli8.github.io/spaper/) PaperCSS components for Svelte
- [vue-papercss](https://github.com/papercss/vue-papercss) A vue-plugin for the less formal CSS framework
- [RailsPapercss](https://github.com/papercss/rails_papercss_gem) Rails gem for Papercss framework
- [react-native-paper-css](https://github.com/papercss/react-native-paper-css) PaperCSS for react-native
- [React PaperCSS](https://papercss.github.io/React-Paper-CSS-Page/) Another react component library implementation for PaperCSS
Here's the full workflow for customization: Icons:
- Make sure you have Git, Node, and NPM
- run `git clone https://github.com/rhyneav/papercss.git`
- change directories to papercss `cd papercss`
- run `npm install`
- _make changes to .less files within source_
- preview changes with `npm start` and go to http://localhost:8080 (changes are automatically reloaded on page)
- OR run `npm run build` to create the new CSS in the /dist folder
## Contributing - [handdrawn.css](https://fxaeberhard.github.io/handdrawn.css/) Another hand-drawn css library with rich icons included
This project is open source and contributions are very welcomed. It is also as beginner friendly as possible, so don't be afraid to jump in if you've never contributed to any Git project before! Feel free to reach out if you are new and need help with the process. - [hand-drawn-icons](https://github.com/nikhilol/hand-drawn-icons) Icon pack with a hand-drawn style
Similar to customizing, make sure you have Git, Node, and NPM on your system. ## Credits and license
- fork the repo via the fork button in the upper left
- run `git clone https://github.com/[your_username]/papercss.git`
- change directories to papercss `cd papercss`
- run `npm install`
- create a new branch for your contribution `git checkout -b my-feature`
- Start the local server to view changes with `npm start`
- _code and stuff_
- Once done, commit and push your changes to your fork
- Finally, open a pull request on this repo. Be sure to include any pictures and details on what you changed!
## Credits Code and documentation under [ISC license](https://github.com/papercss/papercss/blob/master/license).
Shouts outs to Tiffany Rayside for creating Imperfect Buttons, which was an inspiration for this project. https://codepen.io/tmrDevelops/pen/VeRvKX
[download]: https://github.com/rhyneav/papercss/releases/download/v1.0.0/paper.css Shout out to Tiffany Rayside for creating Imperfect Buttons, which was an inspiration for this project. https://codepen.io/tmrDevelops/pen/VeRvKX
[download-minified]: https://github.com/rhyneav/papercss/releases/download/v1.0.0/paper.min.css

43
build/build.js Normal file
View file

@ -0,0 +1,43 @@
const fs = require('fs');
const sass = require('sass');
const write = require('write');
const rimraf = require('rimraf');
const postcss = require('postcss');
const cssnano = require('cssnano');
const autoprefixer = require('autoprefixer');
const constants = require('./constants');
const log = require('./log');
async function build() {
log('Starting PaperCSS build...');
log('Cleaning "dist/, docs/static/assets/paper.css" folder...');
rimraf.sync('dist', { disableGlob: true });
if (fs.existsSync(constants.PAPER_DOCS_PATH)) {
fs.unlinkSync(constants.PAPER_DOCS_PATH);
}
log('Compiling SCSS to CSS, entrypoint:', constants.ENTRYPOINT_PATH);
const compiledCSS = sass.renderSync({ file: constants.ENTRYPOINT_PATH });
log('Processing CSS: autoprefixer...');
const autoprefixedCSS = await postcss([autoprefixer]).process(compiledCSS.css, { from: undefined });
log('Processing CSS: cssnano...');
const minifiedCSS = await postcss([cssnano]).process(autoprefixedCSS.css, { from: undefined });
log('Writing paper.css and paper.min.css files to dist/ and docs/ folders...');
write(constants.PAPER_DIST_PATH, autoprefixedCSS.css);
write(constants.PAPER_DIST_MIN_PATH, minifiedCSS.css);
write(constants.PAPER_DOCS_PATH, autoprefixedCSS.css);
log('Build done!');
}
build();

8
build/constants.js Normal file
View file

@ -0,0 +1,8 @@
const path = require('path');
module.exports = {
ENTRYPOINT_PATH: path.resolve(__dirname, '../src/styles.scss'),
PAPER_DIST_PATH: path.resolve(__dirname, '../dist/paper.css'),
PAPER_DIST_MIN_PATH: path.resolve(__dirname, '../dist/paper.min.css'),
PAPER_DOCS_PATH: path.resolve(__dirname, '../docs/static/assets/paper.css'),
};

26
build/hot-reload.js Normal file
View file

@ -0,0 +1,26 @@
const util = require('util');
const sass = require('sass');
const write = require('write');
const postcss = require('postcss');
const chokidar = require('chokidar');
const autoprefixer = require('autoprefixer');
const constants = require('./constants');
const log = require('./log');
const sassRenderPromisified = util.promisify(sass.render);
function compile() {
sassRenderPromisified({ file: constants.ENTRYPOINT_PATH })
.then((compiledCSS) => postcss([autoprefixer]).process(compiledCSS.css.toString(), { from: undefined }))
.then((autoprefixedCSS) => write(constants.PAPER_DOCS_PATH, autoprefixedCSS.css))
.then(() => log('Compiled CSS in docs/ folder.'));
}
chokidar.watch('./src/**/*.scss').on('change', (event) => {
log(`Detected file change (${event}), compiling SCSS to CSS...`);
compile();
});
// Do initial compilation.
compile();

7
build/log.js Normal file
View file

@ -0,0 +1,7 @@
const chalk = require('chalk');
function log(...args) {
return console.log('📦 ', chalk.cyan(...args));
}
module.exports = log;

View file

@ -1,13 +0,0 @@
body {
background-image: url("/img/geometry2.png")
}
.demo .row .col {
background-color: #eee;
}
.demo .row .col:nth-child(even) {
background-color: #ddd;
}
.docs {
margin-top: 2rem;
margin-bottom: 2rem;
}

3328
dist/paper.css vendored Normal file

File diff suppressed because it is too large Load diff

2
dist/paper.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,5 @@
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
draft: true
---

23
docs/config.toml Normal file
View file

@ -0,0 +1,23 @@
baseURL = "https://getpapercss.com"
title = "PaperCSS"
# Directories
publishDir = "../public"
# Syntax Highlighting ( https://gohugo.io/content-management/syntax-highlighting/ )
pygmentsCodefences = true
pygmentsStyle = "emacs"
pygmentsUseClasses=true
[params.info]
description = "the less formal CSS framework"
title404 = "Nothing's here!"
[params.seo]
# Title Separator: - — · • * ⋆ | ~ « » < >
titleSeparator = "•"
[markup]
defaultMarkdownHandler = "blackfriday"
[markup.blackFriday]
hrefTargetBlank = true

70
docs/content/_index.md Normal file
View file

@ -0,0 +1,70 @@
---
title: Get PaperCSS
menu: main
weight: -270
---
#### Download
Download the latest version (1.9.2) using either of the links below. Or
download an older release via GitHub.
<div class="row flex-spaces text-center">
<a class="paper-btn margin" href="https://github.com/rhyneav/papercss/releases/download/v1.9.2/paper.css">CSS File</a>
<a class="paper-btn margin" href="https://github.com/rhyneav/papercss/releases/download/v1.9.2/paper.min.css">Minified CSS File</a>
<a class="paper-btn margin" href="https://github.com/rhyneav/papercss/releases">GitHub Releases</a>
</div>
#### NPM
PaperCSS is available on NPM, current version 1.9.2. Install with <code>npm install papercss --save</code> and find the CSS in:
- node_modules/papercss/dist/paper.css
- node_modules/papercss/dist/paper.min.css
#### CDN
Don't want to download it? That's cool. You can just link to PaperCSS via
[unpkg's CDN](https://unpkg.com/#/). You can use either:
- [https://unpkg.com/papercss@1.9.2/dist/paper.css](https://unpkg.com/papercss@1.9.2/dist/paper.css)
- [https://unpkg.com/papercss@1.9.2/dist/paper.min.css](https://unpkg.com/papercss@1.9.2/dist/paper.min.css)
Here's a quick snippet to get started with PaperCSS:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
rel="stylesheet"
href="https://unpkg.com/papercss@1.9.2/dist/paper.min.css"
/>
<title>Document</title>
</head>
<body>
<div class="paper container">
<h1>Some Fresh Title</h1>
<p>This is where some content would go.</p>
</div>
</body>
</html>
```
#### Build it Yourself
If you'd rather customize things, you can build the CSS yourself via the git repo
```sh
git clone https://github.com/papercss/papercss.git
cd papercss
npm install
npm run build
```
Grab the CSS out of the /dist folder created
You can also go into src/core/\_config.scss before building to change around the global styles of your new CSS.

14
docs/content/about.md Normal file
View file

@ -0,0 +1,14 @@
---
title: About
slug: about
menu: main
weight: -90
---
PaperCSS was originally made by [@rhyneav](https://github.com/rhyneav) to be something different than the typical mODerN STylEs and clean pages found in every other CSS framework. It was built with LESS and deployed on a single index.html page before being open sourced. It has since evolved; The CSS source has been rewritten in SCSS and the documentation is now built with Hugo (all thanks to some [wonderful contributors](https://github.com/papercss/papercss/graphs/contributors)). In addition to the original creator, it is maintained by [@Fraham](https://github.com/Fraham) and [@TotomInc](https://github.com/TotomInc).
The goal of PaperCSS is to be as minimal as possible when adding classes. For example, a button should just look like a paper button. There shouldn't be a need to add a class such as `paper-button`. Because of this, adding PaperCSS to a markdown generated page should instantly paper-ize it.
Feel free to use it for wireframes, webapps, blogs, or whatever else you can think of! It is licensed under the [ISC License](https://github.com/papercss/papercss/blob/master/LICENSE.md), so use it wherever you want to.
If you are new to Git or SCSS, this would be a great project to get your feet wet with. I'd be happy to help walk you through the pull request process. Check out the [Git repo](https://github.com/papercss/papercss) for more info!

View file

@ -0,0 +1,5 @@
---
title: Documentation
menu: main
weight: -240
---

View file

@ -0,0 +1,4 @@
---
title: Components
description: PaperCSS Components
---

View file

@ -0,0 +1,97 @@
---
title: Alerts
description: PaperCSS Alerts
---
### Simple alerts
<div class="row flex-spaces">
<div class="alert alert-primary">
Alert-primary
</div>
<div class="alert alert-secondary">
Alert-secondary
</div>
<div class="alert alert-success">
Alert-success
</div>
<div class="alert alert-warning">
Alert-warning
</div>
<div class="alert alert-danger">
Alert-danger
</div>
</div>
#### Code:
```html
<div class="row flex-spaces">
<div class="alert alert-primary">Alert-primary</div>
<div class="alert alert-secondary">Alert-secondary</div>
<div class="alert alert-success">Alert-success</div>
<div class="alert alert-warning">Alert-warning</div>
<div class="alert alert-danger">Alert-danger</div>
</div>
```
### Dismissible alerts
<div class="row flex-spaces">
<input class="alert-state" id="alert-1" type="checkbox">
<div class="alert alert-primary dismissible">
Alert-primary
<label class="btn-close" for="alert-1">X</label>
</div>
<input class="alert-state" id="alert-2" type="checkbox">
<div class="alert alert-secondary dismissible">
Alert-secondary
<label class="btn-close" for="alert-2">X</label>
</div>
<input class="alert-state" id="alert-3" type="checkbox">
<div class="alert alert-success dismissible">
Alert-success
<label class="btn-close" for="alert-3">X</label>
</div>
<input class="alert-state" id="alert-4" type="checkbox">
<div class="alert alert-warning dismissible">
Alert-warning
<label class="btn-close" for="alert-4">X</label>
</div>
<input class="alert-state" id="alert-5" type="checkbox">
<div class="alert alert-danger dismissible">
Alert-danger
<label class="btn-close" for="alert-5">X</label>
</div>
</div>
#### Code:
```html
<div class="row flex-spaces">
<input class="alert-state" id="alert-1" type="checkbox">
<div class="alert alert-primary dismissible">
Alert-primary
<label class="btn-close" for="alert-1">X</label>
</div>
<input class="alert-state" id="alert-2" type="checkbox">
<div class="alert alert-secondary dismissible">
Alert-secondary
<label class="btn-close" for="alert-2">X</label>
</div>
<input class="alert-state" id="alert-3" type="checkbox">
<div class="alert alert-success dismissible">
Alert-success
<label class="btn-close" for="alert-3">X</label>
</div>
<input class="alert-state" id="alert-4" type="checkbox">
<div class="alert alert-warning dismissible">
Alert-warning
<label class="btn-close" for="alert-4">X</label>
</div>
<input class="alert-state" id="alert-5" type="checkbox">
<div class="alert alert-danger dismissible">
Alert-danger
<label class="btn-close" for="alert-5">X</label>
</div>
</div>
```

View file

@ -0,0 +1,42 @@
---
title: Articles
description: PaperCSS Articles
---
<article class="article">
<h1 class="article-title">
<a href="#">Article Title</a>
</h1>
<p class="article-meta">
Written by <a href="#">Super User</a> on 24 November 2017. Posted in <a href="#">Blog</a>
</p>
<p class="text-lead">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Pariatur repellendus excepturi, consequatur illo rerum, non sint asperiores dolore sapiente, vitae blanditiis. Officiis at quaerat modi earum, fugiat magni impedit, aperiam.
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Corrupti iure totam nam debitis aliquid impedit, et quas omnis aspernatur optio molestias ex laborum quia. Ducimus culpa tempore, veritatis officia delectus dolore dignissimos reprehenderit vero, sunt odit placeat est non molestiae ipsa nam velit in iusto hic quasi similique facere. Maxime?
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Corrupti iure totam nam debitis aliquid impedit, et quas omnis aspernatur optio molestias ex laborum quia. Ducimus culpa tempore, veritatis officia delectus dolore dignissimos reprehenderit vero, sunt odit placeat est non molestiae ipsa nam velit in iusto hic quasi similique facere. Maxime?
</p>
<div class="row">
<button>Read More</button>
<button>5 Comments</button>
</div>
</article>
#### Code:
```html
<article class="article">
<h1 class="article-title"><a href="">Article Title</a></h1>
<p class="article-meta">Written by <a href="#">Super User</a></p>
<p class="text-lead"> Lorem... </p>
<p>Lorem...</p>
<div class="row">
<button>Read More</button>
<button>5 Comments</button>
</div>
</article>
```

View file

@ -0,0 +1,30 @@
---
title: Badges
description: PaperCSS Badges
---
### Default
You can customize badges colors with secondary, success, warning, danger classes.
# Example h1 heading <span class="badge">123</span>
## Example h2 heading <span class="badge secondary">123</span>
### Example h3 heading <span class="badge success">123</span>
#### Example h4 heading <span class="badge warning">123</span>
##### Example h5 heading <span class="badge danger">123</span>
###### Example h6 heading <span class="badge">123</span>
#### Code:
```html
<h1>Example h1 heading <span class="badge">123</span></h1>
<h2>Example h2 heading <span class="badge secondary">123</span></h2>
<h3>Example h3 heading <span class="badge success">123</span></h3>
<h4>Example h4 heading <span class="badge warning">123</span></h4>
<h5>Example h5 heading <span class="badge danger">123</span></h5>
<h6>Example h6 heading <span class="badge">123</span></h6>
```

View file

@ -0,0 +1,20 @@
---
title: Breadcrumb
description: PaperCSS Breadcrumb
---
<ul class="breadcrumb border">
<li><a href="#">Documentation</a></li>
<li><a href="#">Components</a></li>
<li>Breadcrumb</li>
</ul>
#### Code:
```html
<ul class="breadcrumb border">
<li><a href="#">Documentation</a></li>
<li><a href="#">Components</a></li>
<li>Breadcrumb</li>
</ul>
```

View file

@ -0,0 +1,73 @@
---
title: Buttons
description: PaperCSS Buttons
---
Inspired by [Imperfect Buttons](https://codepen.io/tmrDevelops/pen/VeRvKX)
<button class="btn-large">Large</button>
<button>Default</button>
<button class="btn-small">Small</button>
<a href="#" class="paper-btn">Link</a>
<div class="row">
<div class="col-6 col">
<button class="btn-block">Block level</button>
</div>
</div>
<button class="disabled">Disabled</button>
<button disabled>Disabled</button>
#### Code:
```html
<p>Inspired by <a href="https://codepen.io/tmrDevelops/pen/VeRvKX" target="_blank">Imperfect Buttons</a></p>
<button class="btn-large">Large</button>
<button>Default</button>
<button class="btn-small">Small</button>
<a href="#" class="paper-btn">Link</a>
<div class="row">
<div class="col-6 col">
<button class="btn-block">Block level</button>
</div>
</div>
<button class="disabled">Disabled</button>
<button disabled>Disabled</button>
```
### Colors
<input type="button" class="paper-btn btn-primary" value="Primary"/>
<input type="button" class="btn-secondary" value="Secondary"/>
<button class="btn-success">Success</button>
<button class="btn-warning">Warning</button>
<button class="btn-danger">Danger</button>
#### Code:
```html
<input type="button" class="paper-btn btn-primary" value="Primary"/>
<input type="button" class="btn-secondary" value="Secondary"/>
<button class="btn-success">Success</button>
<button class="btn-warning">Warning</button>
<button class="btn-danger">Danger</button>
```
### Outline colors
<input type="button" class="paper-btn btn-primary-outline" value="Primary"/>
<input type="button" class="btn-secondary-outline" value="Secondary"/>
<button class="btn-success-outline">Success</button>
<button class="btn-warning-outline">Warning</button>
<a href="#" class="paper-btn btn-danger-outline">Danger</a>
#### Code:
```html
<input type="button" class="paper-btn btn-primary-outline" value="Primary"/>
<input type="button" class="btn-secondary-outline" value="Secondary"/>
<button class="btn-success-outline">Success</button>
<button class="btn-warning-outline">Warning</button>
<a href="#" class="paper-btn btn-danger-outline">Danger</a>
```

View file

@ -0,0 +1,120 @@
---
title: Cards
description: PaperCSS Cards
---
### Full card example
It is possible to not put all the sub-classes like card-title, card-subtitle, card-text, ... But instead the framework will recognize the element properly if it's a h4, h5, p, ... And you need to put all this content on a div with card class.
<div class="row flex-center">
<div class="card" style="width: 20rem;">
<img class="image-top" src="https://picsum.photos/768" alt="Card example image">
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">Notice that the card width in this example have been set to 20rem, otherwise it will try to fill the current container/row where the card is.</p>
<button>Let me go here!</button>
</div>
</div>
</div>
#### Code:
```html
<div class="card" style="width: 20rem;">
<img src="https://picsum.photos/768" alt="Card example image">
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">Notice that the card width in this example have been set to 20rem, otherwise it will try to fill the current container/row where the card is.</p>
<button>Let me go here!</button>
</div>
</div>
```
### Card title, text, links
<div class="row flex-center">
<div class="card" style="width: 20rem;">
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">This is another example of a card without image. Cards are also meant to be used without images, but with text/links/buttons.</p>
<a class="card-link" href="#">First link</a>
<a class="card-link" href="#">Second link</a>
</div>
</div>
</div>
#### Code:
```html
<div class="card" style="width: 20rem;">
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">This is another example of a card without image. Cards are also meant to be used without images, but with text/links/buttons.</p>
<a class="card-link" href="#">First link</a>
<a class="card-link" href="#">Second link</a>
</div>
</div>
```
### Image on top or bottom
<div class="row flex-center">
<div class="card" style="width: 20rem;">
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">You can also place image on the bottom of the card.</p>
<button>Let me go here!</button>
</div>
<img class="image-bottom" src="https://unsplash.it/550/250" alt="Card example image">
</div>
</div>
#### Code:
```html
<div class="card" style="width: 20rem;">
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">You can also place image on the bottom of the card.</p>
<button>Let me go here!</button>
</div>
<img class="image-bottom" src="https://unsplash.it/550/250" alt="Card example image">
</div>
```
### Header and footer
<div class="row flex-center">
<div class="card" style="width: 20rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">You can also place image on the bottom of the card.</p>
<button>Let me go here!</button>
</div>
<div class="card-footer">Footer</div>
</div>
</div>
#### Code:
```html
<div class="card" style="width: 20rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h4 class="card-title">My awesome Paper card!</h4>
<h5 class="card-subtitle">Nice looking subtitle.</h5>
<p class="card-text">You can also place image on the bottom of the card.</p>
<button>Let me go here!</button>
</div>
<div class="card-footer">Footer</div>
</div>
```

View file

@ -0,0 +1,160 @@
---
title: Collapsibles
description: PaperCSS Collapsibles
---
Collapsibles are elements that expand when you click on them. You can hide/reveal content back on clicking.
<div class="row">
<div class="collapsible">
<input id="collapsible1" type="checkbox" name="collapsible">
<label for="collapsible1">First</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola. Frankfurter rump porchetta ham. Pork belly prosciutto brisket meatloaf short ribs.
</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible2" type="checkbox" name="collapsible">
<label for="collapsible2">Second</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken. Pork belly meatball t-bone bresaola tail filet mignon kevin turkey ribeye shank flank doner cow kielbasa shankle.
</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible3" type="checkbox" name="collapsible">
<label for="collapsible3">Third</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola. Frankfurter rump porchetta ham. Pork belly prosciutto brisket meatloaf short ribs.
</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible4" type="checkbox" name="collapsible">
<label for="collapsible4">Fourth</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken. Pork belly meatball t-bone bresaola tail filet mignon kevin turkey ribeye shank flank doner cow kielbasa shankle.
</span>
</div>
</div>
</div>
#### Code:
```html
<div class="row">
<div class="collapsible">
<input id="collapsible1" type="checkbox" name="collapsible">
<label for="collapsible1">First</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken...</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible2" type="checkbox" name="collapsible">
<label for="collapsible2">Second</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola...</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible3" type="checkbox" name="collapsible">
<label for="collapsible3">Third</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken...</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible4" type="checkbox" name="collapsible">
<label for="collapsible4">Fourth</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola...</span>
</div>
</div>
</div>
```
### Accordions
Use `input type="radio"` when you want to keep only one element collapsed at a time.
<div class="row">
<div class="collapsible">
<input id="collapsible5" type="radio" name="collapsible">
<label for="collapsible5">First</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola. Frankfurter rump porchetta ham. Pork belly prosciutto brisket meatloaf short ribs.
</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible6" type="radio" name="collapsible">
<label for="collapsible6">Second</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken. Pork belly meatball t-bone bresaola tail filet mignon kevin turkey ribeye shank flank doner cow kielbasa shankle.
</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible7" type="radio" name="collapsible">
<label for="collapsible7">Third</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola. Frankfurter rump porchetta ham. Pork belly prosciutto brisket meatloaf short ribs.
</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible8" type="radio" name="collapsible">
<label for="collapsible8">Fourth</label>
<div class="collapsible-body">
<span>
Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken. Pork belly meatball t-bone bresaola tail filet mignon kevin turkey ribeye shank flank doner cow kielbasa shankle.
</span>
</div>
</div>
</div>
#### Code:
```html
<div class="row">
<div class="collapsible">
<input id="collapsible5" type="radio" name="collapsible">
<label for="collapsible5">First</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken...</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible6" type="radio" name="collapsible">
<label for="collapsible6">Second</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola...</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible7" type="radio" name="collapsible">
<label for="collapsible7">Third</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken...</span>
</div>
</div>
<div class="collapsible">
<input id="collapsible8" type="radio" name="collapsible">
<label for="collapsible8">Fourth</label>
<div class="collapsible-body">
<span>Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola...</span>
</div>
</div>
</div>
```

View file

@ -0,0 +1,347 @@
---
title: Forms
description: PaperCSS Forms
---
<div class="form-group">
<label for="paperInputs1">Input</label>
<input type="text" placeholder="Nice input" id="paperInputs1">
</div>
<div class="row">
<div class="col sm-4">
<div class="form-group">
<label for="paperInputs2">Block Level</label>
<input class="input-block" type="text" id="paperInputs2">
</div>
</div>
<div class="col sm-8">
<div class="form-group">
<label for="paperInputs3">Block Level</label>
<input class="input-block" type="text" id="paperInputs3">
</div>
</div>
</div>
<div class="form-group">
<label for="paperInputs4">Disabled</label>
<input type="text" placeholder="Disabled" id="paperInputs4" disabled>
</div>
<div class="form-group">
<label for="large-input">Large Input</label>
<textarea id="large-input" placeholder="Large input"></textarea>
</div>
<div class="form-group">
<label for="no-resize">No Resize</label>
<textarea class="no-resize" id="no-resize" placeholder="No resize"></textarea>
</div>
<div class="form-group">
<label for="paperSelects1">Select</label>
<select id="paperSelects1">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
</div>
<fieldset class="form-group">
<legend>Some Radio Buttons</legend>
<label for="paperRadios1" class="paper-radio">
<input type="radio" name="paperRadios" id="paperRadios1" value="option 1">
<span>This is the first option</span>
</label>
<label for="paperRadios2" class="paper-radio">
<input type="radio" name="paperRadios" id="paperRadios2" value="option 2">
<span>This is the second option</span>
</label>
</fieldset>
<fieldset class="form-group">
<legend>Some Check Boxes</legend>
<label for="paperChecks1" class="paper-check">
<input type="checkbox" name="paperChecks" id="paperChecks1" value="option 1">
<span>This is the first check</span>
</label>
<label for="paperChecks2" class="paper-check">
<input type="checkbox" name="paperChecks" id="paperChecks2" value="option 2">
<span>This is the second check</span>
</label>
</fieldset>
<fieldset class="form-group">
<legend>Some Switch</legend>
<p>Default - standard outline style (square & circle)</p>
<label class="paper-switch">
<input id="paperSwitch4" name="paperSwitch4" type="checkbox" />
<span class="paper-switch-slider"></span>
</label>
<label for="paperSwitch4" class="paper-switch-label">
Square switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch5" class="paper-switch-label">
Square switch
</label>
<label class="paper-switch">
<input id="paperSwitch5" name="paperSwitch5" type="checkbox" checked />
<span class="paper-switch-slider"></span>
</label>
</fieldset>
<fieldset class="form-group">
<label class="paper-switch">
<input id="paperSwitch6" name="paperSwitch6" type="checkbox" checked />
<span class="paper-switch-slider round"></span>
</label>
<label for="paperSwitch6" class="paper-switch-label">
Circle switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch7" class="paper-switch-label">
Circle switch
</label>
<label class="paper-switch">
<input id="paperSwitch7" name="paperSwitch7" type="checkbox" />
<span class="paper-switch-slider round"></span>
</label>
</fieldset>
<fieldset class="form-group">
<p>Type2 - inline style (square & circle)</p>
<label class="paper-switch-2">
<input id="paperSwitch8" name="paperSwitch8" type="checkbox" checked />
<span class="paper-switch-slider"></span>
</label>
<label for="paperSwitch8" class="paper-switch-2-label">
Square switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch9" class="paper-switch-2-label">
Square switch
</label>
<label class="paper-switch-2">
<input id="paperSwitch9" name="paperSwitch9" type="checkbox" />
<span class="paper-switch-slider"></span>
</label>
</fieldset>
<fieldset class="form-group">
<label class="paper-switch-2">
<input id="paperSwitch10" name="paperSwitch10" type="checkbox" />
<span class="paper-switch-slider round"></span>
</label>
<label for="paperSwitch10" class="paper-switch-2-label">
Circle switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch11" class="paper-switch-2-label">
Circle switch
</label>
<label class="paper-switch-2">
<input id="paperSwitch11" name="paperSwitch11" type="checkbox" checked />
<span class="paper-switch-slider round"></span>
</label>
</fieldset>
<fieldset class="form-group">
<p>Type3 - Tile style</p>
<label for="paperSwitch1" class="paper-switch-tile">
<input id="paperSwitch1" name="paperSwitch1" type="checkbox" />
<div class="paper-switch-tile-card border">
<div class="paper-switch-tile-card-front border">Front</div>
<div class="paper-switch-tile-card-back border background-primary">Back</div>
</div>
</label>
<label for="paperSwitch2" class="paper-switch-tile">
<input id="paperSwitch2" name="paperSwitch2" type="checkbox" />
<div class="paper-switch-tile-card border">
<div class="paper-switch-tile-card-front border background-warning">Off</div>
<div class="paper-switch-tile-card-back border background-secondary">On</div>
</div>
</label>
<label for="paperSwitch3" class="paper-switch-tile">
<input id="paperSwitch3" name="paperSwitch3" type="checkbox" />
<div class="paper-switch-tile-card border">
<div class="paper-switch-tile-card-front border background-danger">Declined</div>
<div class="paper-switch-tile-card-back border background-success">Accepted</div>
</div>
</label>
</fieldset>
<fieldset class="form-group">
<legend>Sliders</legend>
<div class="form-group">
<label for="input-range">Note /10 :</label>
<input type="range" name="note" id="input-range" min="0" max="10">
</div>
<div class="form-group">
<label for="percentage">Percentage (<code>.input-block</code>) :</label>
<input class="input-block" type="range" name="percentage" id="percentage" min="0" max="100" oninput="output.value = this.value + '%';">
<output id="output" for="percentage">50%</output>
</div>
</fieldset>
#### Code:
```html
<div class="form-group">
<label for="paperInputs1">Input</label>
<input type="text" placeholder="Nice input" id="paperInputs1">
</div>
<div class="row">
<div class="col sm-4">
<div class="form-group">
<label for="paperInputs2">Block Level</label>
<input class="input-block" type="text" id="paperInputs2">
</div>
</div>
<div class="col sm-8">
<div class="form-group">
<label for="paperInputs3">Block Level</label>
<input class="input-block" type="text" id="paperInputs3">
</div>
</div>
</div>
<div class="form-group">
<label for="paperInputs4">Disabled</label>
<input type="text" placeholder="Disabled" id="paperInputs4" disabled>
</div>
<div class="form-group">
<label for="large-input">Large Input</label>
<textarea id="large-input" placeholder="Large input"></textarea>
</div>
<div class="form-group">
<label for="no-resize">No Resize</label>
<textarea class="no-resize" id="no-resize" placeholder="No resize"></textarea>
</div>
<div class="form-group">
<label for="paperSelects1">Select</label>
<select id="paperSelects1">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
</div>
<fieldset class="form-group">
<legend>Some Radio Buttons</legend>
<label for="paperRadios1" class="paper-radio">
<input type="radio" name="paperRadios" id="paperRadios1" value="option 1"> <span>This is the first option</span>
</label>
<label for="paperRadios2" class="paper-radio">
<input type="radio" name="paperRadios" id="paperRadios2" value="option 2"> <span>This is the second option</span>
</label>
</fieldset>
<fieldset class="form-group">
<legend>Some Check Boxes</legend>
<label for="paperChecks1" class="paper-check">
<input type="checkbox" name="paperChecks" id="paperChecks1" value="option 1"> <span>This is the first check</span>
</label>
<label for="paperChecks2" class="paper-check">
<input type="checkbox" name="paperChecks" id="paperChecks2" value="option 2"> <span>This is the second check</span>
</label>
</fieldset>
<fieldset class="form-group">
<legend>Some Switch</legend>
<p>Default - standard outline style (square & circle)</p>
<label class="paper-switch">
<input id="paperSwitch4" name="paperSwitch4" type="checkbox" />
<span class="paper-switch-slider"></span>
</label>
<label for="paperSwitch4" class="paper-switch-label">
Square switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch5" class="paper-switch-label">
Square switch
</label>
<label class="paper-switch">
<input id="paperSwitch5" name="paperSwitch5" type="checkbox" checked />
<span class="paper-switch-slider"></span>
</label>
</fieldset>
<fieldset class="form-group">
<label class="paper-switch">
<input id="paperSwitch6" name="paperSwitch6" type="checkbox" checked />
<span class="paper-switch-slider round"></span>
</label>
<label for="paperSwitch6" class="paper-switch-label">
Circle switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch7" class="paper-switch-label">
Circle switch
</label>
<label class="paper-switch">
<input id="paperSwitch7" name="paperSwitch7" type="checkbox" />
<span class="paper-switch-slider round"></span>
</label>
</fieldset>
<fieldset class="form-group">
<p>Type2 - inline style (square & circle)</p>
<label class="paper-switch-2">
<input id="paperSwitch8" name="paperSwitch8" type="checkbox" checked />
<span class="paper-switch-slider"></span>
</label>
<label for="paperSwitch8" class="paper-switch-2-label">
Square switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch9" class="paper-switch-2-label">
Square switch
</label>
<label class="paper-switch-2">
<input id="paperSwitch9" name="paperSwitch9" type="checkbox" />
<span class="paper-switch-slider"></span>
</label>
</fieldset>
<fieldset class="form-group">
<label class="paper-switch-2">
<input id="paperSwitch10" name="paperSwitch10" type="checkbox" />
<span class="paper-switch-slider round"></span>
</label>
<label for="paperSwitch10" class="paper-switch-2-label">
Circle switch
</label>
</fieldset>
<fieldset class="form-group">
<label for="paperSwitch11" class="paper-switch-2-label">
Circle switch
</label>
<label class="paper-switch-2">
<input id="paperSwitch11" name="paperSwitch11" type="checkbox" checked />
<span class="paper-switch-slider round"></span>
</label>
</fieldset>
<fieldset class="form-group">
<p>Type3 - Tile style</p>
<label for="paperSwitch1" class="paper-switch-tile">
<input id="paperSwitch1" name="paperSwitch1" type="checkbox" />
<div class="paper-switch-tile-card border">
<div class="paper-switch-tile-card-front border">Front</div>
<div class="paper-switch-tile-card-back border background-primary">Back</div>
</div>
</label>
<label for="paperSwitch2" class="paper-switch-tile">
<input id="paperSwitch2" name="paperSwitch2" type="checkbox" />
<div class="paper-switch-tile-card border">
<div class="paper-switch-tile-card-front border background-warning">Off</div>
<div class="paper-switch-tile-card-back border background-secondary">On</div>
</div>
</label>
<label for="paperSwitch3" class="paper-switch-tile">
<input id="paperSwitch3" name="paperSwitch3" type="checkbox" />
<div class="paper-switch-tile-card border">
<div class="paper-switch-tile-card-front border background-danger">Declined</div>
<div class="paper-switch-tile-card-back border background-success">Accepted</div>
</div>
</label>
</fieldset>
<fieldset class="form-group">
<legend>Sliders</legend>
<div class="form-group">
<label for="input-range">Note /10 :</label>
<input type="range" name="note" id="input-range" min="0" max="10">
</div>
<div class="form-group">
<label for="percentage">Percentage (<code>.input-block</code>) :</label>
<input class="input-block" type="range" name="percentage" id="percentage" min="0" max="100" oninput="output.value = this.value + '%';">
<output id="output" for="percentage">50%</output>
</div>
</fieldset>
```

View file

@ -0,0 +1,79 @@
---
title: Modals
description: PaperCSS Modals
---
### Simple modal example
This can be used to implement modals along with features like title, subtitle, text, button and links. Just use whichever component you need for your modal with proper classes and leave the rest on the framework.
<div class="row flex-spaces child-borders">
<label class="paper-btn margin" for="modal-1">Open Modal!</label>
</div>
<input class="modal-state" id="modal-1" type="checkbox">
<div class="modal">
<label class="modal-bg" for="modal-1"></label>
<div class="modal-body">
<label class="btn-close" for="modal-1">X</label>
<h4 class="modal-title">Modal Title</h4>
<h5 class="modal-subtitle">Modal Subtitle</h5>
<p class="modal-text">This is an example of modal which is implemented with pure CSS! :D</p>
<label for="modal-1" class="paper-btn">Nice!</label>
</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders">
<label class="paper-btn margin" for="modal-1">Open Modal!</label>
</div>
<input class="modal-state" id="modal-1" type="checkbox">
<div class="modal">
<label class="modal-bg" for="modal-1"></label>
<div class="modal-body">
<label class="btn-close" for="modal-1">X</label>
<h4 class="modal-title">Modal Title</h4>
<h5 class="modal-subtitle">Modal Subtitle</h5>
<p class="modal-text">This is an example of modal which is implemented with pure CSS! :D</p>
<label for="modal-1">Nice!</label>
</div>
</div>
```
### Modal with title, text and links
<div class="row flex-spaces child-borders">
<label class="paper-btn margin" for="modal-2">Another Modal!</label>
</div>
<input class="modal-state" id="modal-2" type="checkbox">
<div class="modal">
<label class="modal-bg" for="modal-2"></label>
<div class="modal-body">
<label class="btn-close" for="modal-2">X</label>
<h4 class="modal-title">Modal Title</h4>
<h5 class="modal-subtitle">Modal Subtitle</h5>
<p class="modal-text">This is another example of modal which is implemented with pure CSS! :D</p>
<a href="/#download">Get PaperCSS</a>
<label for="modal-2" class="modal-link">Close</label>
</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders">
<label class="paper-btn margin" for="modal-2">Another Modal!</label>
</div>
<input class="modal-state" id="modal-2" type="checkbox">
<div class="modal">
<label class="modal-bg" for="modal-2"></label>
<div class="modal-body">
<label class="btn-close" for="modal-2">X</label>
<h4 class="modal-title">Modal Title</h4>
<h5 class="modal-subtitle">Modal Subtitle</h5>
<p class="modal-text">This is another example of modal which is implemented with pure CSS! :D</p>
<a href="/#download">Get PaperCSS</a>
<label for="modal-2" class="modal-link">Close</label>
</div>
</div>
```

View file

@ -0,0 +1,121 @@
---
title: Navbar
description: PaperCSS Navbar
---
<nav class="border fixed split-nav">
<div class="nav-brand">
<h3><a href="/">Get PaperCSS</a></h3>
</div>
<div class="collapsible">
<input id="collapsible0" type="checkbox" name="collapsible0">
<label for="collapsible0">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</label>
<div class="collapsible-body">
<ul class="inline">
<li><a href="/docs/">Documentation</a></li>
<li><a href="/about/">About</a></li>
<li><a href="https://github.com/rhyneav/papercss" target="_blank">Github</a></li>
</ul>
</div>
</div>
</nav>
<nav class="border split-nav">
<div class="nav-brand">
<h3><a href="#">Get PaperCSS</a></h3>
</div>
<div class="collapsible">
<input id="collapsible1" type="checkbox" name="collapsible1">
<label for="collapsible1">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</label>
<div class="collapsible-body">
<ul class="inline">
<li><a href="#">Documentation</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Github</a></li>
</ul>
</div>
</div>
</nav>
#### Code:
Add ```.fixed``` to ```<nav>``` to fix the nav to the top to have it scroll the whole page. It's also mobile responsive and will show a hamburger menu on small screens. No JavaScript required!
```html
<nav class="border fixed split-nav">
<div class="nav-brand">
<h3><a href="#">Get PaperCSS</a></h3>
</div>
<div class="collapsible">
<input id="collapsible1" type="checkbox" name="collapsible1">
<label for="collapsible1">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</label>
<div class="collapsible-body">
<ul class="inline">
<li><a href="#">Documentation</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Github</a></li>
</ul>
</div>
</div>
</nav>
```
### Not Split Navbar
<nav class="border">
<div class="nav-brand">
<h3><a href="#">Get PaperCSS</a></h3>
</div>
<div class="collapsible">
<input id="collapsible2" type="checkbox" name="collapsible2">
<label for="collapsible2">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</label>
<div class="collapsible-body">
<ul class="inline">
<li><a href="#">Documentation</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Github</a></li>
</ul>
</div>
</div>
</nav>
#### Code:
```html
<nav class="border fixed">
<div class="nav-brand">
<h4><a href="#">Get PaperCSS</a></h4>
</div>
<div class="collapsible">
<input id="collapsible2" type="checkbox" name="collapsible2">
<label for="collapsible2">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</label>
<div class="collapsible-body">
<ul class="inline">
<li><a href="#">Documentation</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Github</a></li>
</ul>
</div>
</div>
</nav>
```

View file

@ -0,0 +1,47 @@
---
title: Popovers
description: PaperCSS Popovers
---
### Basic usage
You can add popovers, also called tooltips, on your elements. popover attribute is the popover text content, popover-position attribute can be: top, left, right, bottom.
<div class="row flex-spaces">
<div class="sm-3 col">
<p popover-left="Popover on left">Popover left position</p>
</div>
<div class="sm-3 col">
<p popover-top="Popover on top">Popover top position</p>
</div>
<div class="sm-3 col">
<p popover-bottom="Popover on bottom">Popover bottom position</p>
</div>
<div class="sm-3 col">
<p popover-right="Popover on right">Popover right position</p>
</div>
</div>
#### Code:
```html
<p popover-left="Popover on left">Popover left position</p>
<p popover-top="Popover on top">Popover top position</p>
<p popover-bottom="Popover on bottom">Popover bottom position</p>
<p popover-right="Popover on right">Popover right position</p>
```
But you can also popover on pretty much any element you want, it can be on a button, on a table cell, ...
<div class="row flex-center">
<div class="sm-6 col">
<button popover-top="Popover on top">Popover on top and on a button!</button>
</div>
</div>
#### Code:
```html
<button popover-top="Popover on top">Popover on top and on a button!</button>
```

View file

@ -0,0 +1,196 @@
---
title: Progress
description: PaperCSS Progress Bars
---
Progress components are built with two HTML elements:
* A `.progress` wrapper element.
* A `.bar` element to show the progress so far.
### Basic usage
<div class="row">
<div class="progress margin-bottom">
<div class="bar w-0"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-25"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-50"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-75"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-100"></div>
</div>
</div>
#### Code
```html
<div class="row">
<div class="progress margin-bottom">
<div class="bar w-0"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-25"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-50"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-75"></div>
</div>
<div class="progress margin-bottom">
<div class="bar w-100"></div>
</div>
</div>
```
Note how we can specify the width using `.w-50`, `.w-75`, etc. If a width class is not provided then 0% is used as default.
### Backgrounds
<div class="row">
<div class="progress margin-bottom">
<div class="bar w-25"></div>
</div>
<div class="progress margin-bottom">
<div class="bar secondary w-40"></div>
</div>
<div class="progress margin-bottom">
<div class="bar success w-55"></div>
</div>
<div class="progress margin-bottom">
<div class="bar warning w-70"></div>
</div>
<div class="progress margin-bottom">
<div class="bar danger w-85"></div>
</div>
<div class="progress margin-bottom">
<div class="bar muted w-100"></div>
</div>
</div>
#### Code
```html
<div class="row">
<div class="progress margin-bottom">
<div class="bar w-25"></div>
</div>
<div class="progress margin-bottom">
<div class="bar secondary w-40"></div>
</div>
<div class="progress margin-bottom">
<div class="bar success w-55"></div>
</div>
<div class="progress margin-bottom">
<div class="bar warning w-70"></div>
</div>
<div class="progress margin-bottom">
<div class="bar danger w-85"></div>
</div>
<div class="progress margin-bottom">
<div class="bar muted w-100"></div>
</div>
</div>
```
### Labels
<div class="row">
<div class="progress margin-bottom">
<div class="bar w-25">25%</div>
</div>
<div class="progress margin-bottom">
<div class="bar secondary w-40">40%</div>
</div>
<div class="progress margin-bottom">
<div class="bar success w-55">55%</div>
</div>
<div class="progress margin-bottom">
<div class="bar warning w-70">70%</div>
</div>
<div class="progress margin-bottom">
<div class="bar danger w-85">85%</div>
</div>
<div class="progress margin-bottom">
<div class="bar muted w-100">100%</div>
</div>
</div>
#### Code
```html
<div class="row">
<div class="progress margin-bottom">
<div class="bar w-25">25%</div>
</div>
<div class="progress margin-bottom">
<div class="bar secondary w-40">40%</div>
</div>
<div class="progress margin-bottom">
<div class="bar success w-55">55%</div>
</div>
<div class="progress margin-bottom">
<div class="bar warning w-70">70%</div>
</div>
<div class="progress margin-bottom">
<div class="bar danger w-85">85%</div>
</div>
<div class="progress margin-bottom">
<div class="bar muted w-100">100%</div>
</div>
</div>
```
### Striped
<div class="row">
<div class="progress margin-bottom">
<div class="bar striped w-25"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped secondary w-40"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped success w-55"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped warning w-70"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped danger w-85"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped muted w-100"></div>
</div>
</div>
#### Code
```html
<div class="row">
<div class="progress margin-bottom">
<div class="bar striped w-25"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped secondary w-40"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped success w-55"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped warning w-70"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped danger w-85"></div>
</div>
<div class="progress margin-bottom">
<div class="bar striped muted w-100"></div>
</div>
</div>
```

View file

@ -0,0 +1,101 @@
---
title: Tabs
description: PaperCSS Tabs
---
<div class="row flex-spaces tabs">
<input id="tab1" type="radio" name="tabs" checked>
<label for="tab1">Tab 1</label>
<input id="tab2" type="radio" name="tabs">
<label for="tab2">Tab 2</label>
<input id="tab3" type="radio" name="tabs">
<label for="tab3">Tab 3</label>
<input id="tab4" type="radio" name="tabs">
<label for="tab4">Tab 4</label>
<div class="content" id="content1">
<p>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola. Frankfurter
rump porchetta ham. Pork belly prosciutto brisket meatloaf short ribs.
</p>
<p>
Brisket meatball turkey short loin boudin leberkas meatloaf chuck andouille pork loin pastrami spare ribs pancetta rump.
Frankfurter corned beef beef tenderloin short loin meatloaf swine ground round venison.
</p>
</div>
<div class="content" id="content2">
<p>
Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken. Pork belly meatball
t-bone bresaola tail filet mignon kevin turkey ribeye shank flank doner cow kielbasa shankle. Pig swine
chicken hamburger, tenderloin turkey rump ball tip sirloin frankfurter meatloaf boudin brisket ham hock.
Hamburger venison brisket tri-tip andouille pork belly ball tip short ribs biltong meatball chuck. Pork
chop ribeye tail short ribs, beef hamburger meatball kielbasa rump corned beef porchetta landjaeger flank.
Doner rump frankfurter meatball meatloaf, cow kevin pork pork loin venison fatback spare ribs salami
beef ribs.
</p>
</div>
<div class="content" id="content3">
<p>
Brisket meatball turkey short loin boudin leberkas meatloaf chuck andouille pork loin pastrami spare ribs pancetta rump.
Frankfurter corned beef beef tenderloin short loin meatloaf swine ground round venison.
</p>
<p>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa. Sausage pig leberkas, t-bone sirloin shoulder bresaola. Frankfurter
rump porchetta ham. Pork belly prosciutto brisket meatloaf short ribs.
</p>
</div>
<div class="content" id="content4">
<p>
Hamburger venison brisket tri-tip andouille pork belly ball tip short ribs biltong meatball chuck. Pork
chop ribeye tail short ribs, beef hamburger meatball kielbasa rump corned beef porchetta landjaeger flank.
Doner rump frankfurter meatball meatloaf, cow kevin pork pork loin venison fatback spare ribs salami
beef ribs.
Bacon ipsum dolor sit amet landjaeger sausage brisket, jerky drumstick fatback boudin ball tip turducken. Pork belly meatball
t-bone bresaola tail filet mignon kevin turkey ribeye shank flank doner cow kielbasa shankle. Pig swine
chicken hamburger, tenderloin turkey rump ball tip sirloin frankfurter meatloaf boudin brisket ham hock.
</p>
</div>
</div>
#### Code:
```html
<div class="row flex-spaces tabs">
<input id="tab1" type="radio" name="tabs" checked>
<label for="tab1">Tab 1</label>
<input id="tab2" type="radio" name="tabs">
<label for="tab2">Tab 2</label>
<input id="tab3" type="radio" name="tabs">
<label for="tab3">Tab 3</label>
<input id="tab4" type="radio" name="tabs">
<label for="tab4">Tab 4</label>
<div class="content" id="content1">
<p>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa...
</p>
<p>
Brisket meatball turkey short loin boudin leberkas meatloaf...
</p>
</div>
<div class="content" id="content2">
<p>
Bacon ipsum dolor sit amet landjaeger sausage brisket...
</p>
</div>
<div class="content" id="content3">
<p>
Bacon ipsum dolor sit amet beef venison beef ribs kielbasa...
</p>
<p>
Brisket meatball turkey short loin boudin leberkas meatloaf...
</p>
</div>
<div class="content" id="content4">
<p>
Bacon ipsum dolor sit amet landjaeger sausage brisket...
</p>
</div>
</div>
```

View file

@ -0,0 +1,4 @@
---
title: Content
description: PaperCSS Content
---

View file

@ -0,0 +1,27 @@
---
title: Code
description: PaperCSS Code
---
Let's make some pretty `<code>`
Print files backwards using <kbd>tac</kbd>
To stop a process, hit <kbd>ctrl + c</kbd>
<pre><code>function add(x, y) {
return x + y;
}
</code></pre>
#### Code:
```html
<p>Let's make some pretty <code><code></code></p>
<p>Print files backwards using <kbd>tac</kbd></p>
<p>To stop a process, hit <kbd>ctrl + c</kbd></p>
<pre><code>function add(x, y) {
return x + y;
}
</code></pre>
```

View file

@ -0,0 +1,45 @@
---
title: Images
description: PaperCSS Images
---
### Responsive
Images by default are responsive
<img src="https://unsplash.it/900" alt="Random Unsplash">
#### Code:
```html
<img src="https://unsplash.it/900" alt="Random Unsplash">
```
### Float
You can also float responsive images to fit neatly with your text
<img src="https://unsplash.it/200" alt="Smaller Unsplash" class="float-left"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur non elit sed lorem vulputate consectetur sed vel orci. Nunc orci metus, hendrerit viverra diam a, viverra efficitur nisi. Suspendisse ante sapien, porta vitae augue et, pulvinar posuere nibh. Suspendisse id commodo sem, vestibulum malesuada erat. Duis luctus est sit amet nisl maximus porta. Curabitur tempor nisi tincidunt ultricies rutrum. Nam finibus turpis ut nibh dignissim, in tincidunt mauris suscipit. Curabitur sollicitudin mi quis orci semper, nec egestas nibh mollis. Aenean pellentesque lectus rutrum, ultrices felis malesuada, finibus purus. Morbi eleifend pellentesque justo, quis vestibulum mi. Donec porta ipsum tellus, ac scelerisque lectus pellentesque eget. Etiam quis rutrum dui. Nulla facilisi. Donec imperdiet mattis mi nec fringilla. Donec mollis augue sed viverra placerat. Donec varius, sem sed porttitor euismod, est nunc varius tellus, eget molestie urna arcu ac turpis. Phasellus id sem elit. Vivamus pellentesque mauris vel ex laoreet varius. Vivamus non tempor libero. Nam consectetur nisi erat, ac varius elit porttitor quis. Morbi ullamcorper, tortor in sagittis tempus, justo ipsum pretium urna, ut bibendum nisl orci et eros. Quisque ut ipsum neque. Integer sapien dolor, vestibulum id maximus ac, pharetra eu augue.
<img src="https://unsplash.it/100" alt="Smallerer Unsplash" class="float-right"> Aenean mauris tellus, facilisis sed quam non, tincidunt rutrum risus. Fusce quam urna, commodo vitae nunc condimentum, efficitur commodo libero. Sed dignissim odio enim, ac pharetra dui laoreet id. Suspendisse nec accumsan erat. Integer sit amet leo arcu. Proin sagittis blandit tempor. Vivamus at egestas lectus. Mauris eros tellus, egestas ac neque eget, lacinia sagittis ante. Phasellus faucibus suscipit erat, eget malesuada neque congue non.
#### Code:
```html
<p>
<img src="https://unsplash.it/200" class="float-left">
Lorem ipsum dolor.......
<img src="https://unsplash.it/100" class="float-right">
Aenean mauris tellus......
</p>
```
### No Responsive & No Borders
If you don't like the default, you can just add the class `no-responsive` to prevent the image from being responsive. You can also remove the default border with `no-border`.
<img src="https://unsplash.it/300" alt="Not responsive Unsplash" class="no-responsive no-border">
#### Code:
```html
<img src="https://unsplash.it/300" class="no-responsive no-border">
```

View file

@ -0,0 +1,107 @@
---
title: Lists
description: PaperCSS Lists
---
### Ordered Lists
<ol>
<li>Do this</li>
<li>Then this</li>
<li>Finally this</li>
<li>Then we'll go one deeper
<ol>
<li>Dillon</li>
<li>Francis
<ol>
<li>What if we went...</li>
<li>One more deeper?
<ol>
<li>DJ</li>
<li>Hanzel
<ol>
<li>Five levels should be enough</li>
<li>Right?</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
<li>But don't forget this</li>
</ol>
### Unordered Lists
<ul>
<li>Let's try this</li>
<li>Let's try this again
<ul>
<li>And now we are nested</li>
<li>Pretty cool?
<ul>
<li>The list items are just text</li>
<li>From this font
<ul>
<li>We'll keep going</li>
<li>Until we hit
<ul>
<li>LEVEL 5</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>And now we're are the top!</li>
</ul>
### Inline List
<ul class="inline">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
#### Codes:
```html
<ol>
<li>Do this</li>
<li>Then this</li>
<li>Finally this</li>
<li>Then we'll go one deeper
<ol>
<li>Dillon</li>
<li>Francis
<ol>
<li>What if we went...</li>
<li>One more deeper?
<ol>
<li>DJ</li>
<li>Hanzel
<ol>
<li>Five levels should be enough</li>
<li>Right?</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
<li>But don't forget this</li>
</ol>
<!-- Replace ol with ul for unordered lists. Go up to 5 levels deep! -->
<!-- For inline lists -->
<ul class="inline">...</ul>
```

View file

@ -0,0 +1,140 @@
---
title: Tables
description: PaperCSS Tables
---
### Regular
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
### Hover
<table class="table-hover">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
### Alternating
<table class="table-alternating">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
#### Code:
```html
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
<!-- Add table-hover or table-alternating to change the style of the table -->
<table class="table-hover">
<table class="table-alternating">
```

View file

@ -0,0 +1,36 @@
---
title: Typography
description: PaperCSS Typography
---
How pretty is the text?
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ultrices, eros
non elementum accumsan, massa nulla aliquam libero, ut posuere justo nibh ac
ipsum. Aliquam blandit commodo justo at laoreet. Suspendisse potenti. Duis magna
neque, venenatis non libero a, tincidunt convallis diam. Donec vel fermentum
ante. Quisque diam nisl, vestibulum imperdiet sapien nec, interdum fringilla
lorem. Morbi sed arcu facilisis, maximus justo vel, porttitor nisl. Nam suscipit
metus facilisis iaculis vestibulum.
```html
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<p>Lorem ipsum dolor....</p>
```

View file

@ -0,0 +1,4 @@
---
title: Layout
description: PaperCSS Layout
---

View file

@ -0,0 +1,53 @@
---
title: Container
description: PaperCSS Container
---
The container is usually at the root of the HTML and holds all of the content in a fixed size. PaperCSS supports a few
different sizes to make setting your content within a certain max-width easy. Don't forget to add the `.paper` class to
give you site some extra paper flair!
<div class='paper container margin-bottom-large'>
<h4>Responsive Container!</h4>
<p>The default</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus
erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</p>
</div>
<div class='paper container container-lg margin-bottom-large'>
<h4>Large Container!</h4>
<p>Using <code>container-lg</code><p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus
erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</p>
</div>
<div class='paper container container-md margin-bottom-large'>
<h4>Medium Container!</h4>
<p>Using <code>container-md</code><p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus
erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</p>
</div>
<div class='paper container container-sm margin-bottom-large'>
<h4>Small Container!</h4>
<p>Using <code>container-sm</code><p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus
erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</p>
</div>
<div class='paper container container-xs margin-bottom-large'>
<h4>Extra Small Container!</h4>
<p>Using <code>container-xs</code><p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus
erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</p>
</div>

View file

@ -0,0 +1,149 @@
---
title: Flexbox
description: PaperCSS Flexbox
---
### Flexgrid
The flexgrid is a grid system that supports up to 12 columns per row. Because it
uses flexbox (rather than just %widths), we also get the benefit of the fun
parts of flexbox like alignment in more complex ways than normal.
<div class="demo">
<div class="row">
<div class="col-4 col">col-4 col</div>
<div class="col-4 col">col-4 col</div>
<div class="col-4 col">col-4 col</div>
</div>
<div class="row">
<div class="col-3 col">col-3 col</div>
<div class="col-9 col">col-9 col</div>
</div>
<div class="row">
<div class="sm-6 md-8 lg-10 col">sm-6 md-8 lg-10 col</div>
<div class="sm-6 md-4 lg-2 col">sm-6 md-4 lg-2 col</div>
</div>
<div class="row">
<div class="sm-5 col">sm-5 col</div>
<div class="col-fill col">col-fill col</div>
<div class="col-fill col">col-fill col</div>
</div>
<div class="row">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Left (default)</div>
</div>
<div class="row flex-right">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Right (flex-right)</div>
</div>
<div class="row flex-center">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Center (flex-center)</div>
</div>
<div class="row flex-edges">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">to edges (flex-edges)</div>
</div>
<div class="row flex-spaces">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">to be evenly spaced (flex-spaces)</div>
</div>
<div class="row flex-top">
<div class="sm-4 col">Aligned top</div>
<div class="sm-4 col">Aligned top</div>
<div class="sm-4 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row flex-middle">
<div class="sm-4 col">Aligned middle</div>
<div class="sm-4 col">Aligned middle</div>
<div class="sm-4 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row flex-bottom">
<div class="sm-4 col">Aligned bottom</div>
<div class="sm-4 col">Aligned bottom</div>
<div class="sm-4 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row">
<div class="sm-3 col align-bottom">Align bottom</div>
<div class="sm-3 col align-middle">Align middle</div>
<div class="sm-3 col align-top">Align top</div>
<div class="sm-3 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
</div>
#### Code:
```html
<div class="row">
<div class="col-4 col">col-4 col</div>
<div class="col-4 col">col-4 col</div>
<div class="col-4 col">col-4 col</div>
</div>
<div class="row">
<div class="col-3 col">col-3 col</div>
<div class="col-9 col">col-9 col</div>
</div>
<div class="row">
<div class="sm-6 md-8 lg-10 col">sm-6 md-8 lg-10 col</div>
<div class="sm-6 md-4 lg-2 col">sm-6 md-4 lg-2 col</div>
</div>
<div class="row">
<div class="sm-5 col">sm-5 col</div>
<div class="col-fill col">col-fill col</div>
<div class="col-fill col">col-fill col</div>
</div>
<div class="row">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Left (default)</div>
</div>
<div class="row flex-right">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Right (flex-right)</div>
</div>
<div class="row flex-center">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Center (flex-center)</div>
</div>
<div class="row flex-edges">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">to edges (flex-edges)</div>
</div>
<div class="row flex-spaces">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">to be evenly spaced (flex-spaces)</div>
</div>
<div class="row flex-top">
<div class="sm-6 col">Aligned top</div>
<div class="sm-6 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row flex-middle">
<div class="sm-6 col">Aligned middle</div>
<div class="sm-6 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row flex-bottom">
<div class="sm-6 col">Aligned bottom</div>
<div class="sm-6 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row">
<div class="sm-3 col align-bottom">Align bottom</div>
<div class="sm-3 col align-middle">Align middle</div>
<div class="sm-3 col align-top">Align top</div>
<div class="sm-3 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
```

View file

@ -0,0 +1,4 @@
---
title: Utilities
description: PaperCSS Utilities
---

View file

@ -0,0 +1,170 @@
---
title: Borders & Shadows
slug: borders
description: PaperCSS Borders & Shadows
---
### Borders
<div class="row flex-spaces">
<div class="sm-3 col border border-primary">Default Border</div>
<div class="sm-3 col border border-2 border-primary">Border-2</div>
<div class="sm-3 col border border-3 border-primary">Border-3</div>
</div>
<div class="row flex-spaces">
<div class="sm-3 col border border-4 border-primary">Border-4</div>
<div class="sm-3 col border border-5 border-primary">Border-5</div>
<div class="sm-3 col border border-6 border-primary">Border-6</div>
</div>
#### Code:
```html
<div class="row flex-spaces">
<div class="sm-3 col border border-primary">Default Border</div>
<div class="sm-3 col border border-2 border-primary">Border-2</div>
<div class="sm-3 col border border-3 border-primary">Border-3</div>
</div>
<div class="row flex-spaces">
<div class="sm-3 col border border-4 border-primary">Border-4</div>
<div class="sm-3 col border border-5 border-primary">Border-5</div>
<div class="sm-3 col border border-6 border-primary">Border-6</div>
</div>
```
### Border Colors
<div class="row child-borders">
<div class="sm-2 col border border-primary">Border primary</div>
<div class="sm-2 col border border-secondary">Border secondary</div>
<div class="sm-2 col border border-success">Border success</div>
<div class="sm-2 col border border-warning">Border warning</div>
<div class="sm-2 col border border-danger">Border danger</div>
<div class="sm-2 col border border-white">Border white</div>
</div>
#### Code:
```html
<div class="row child-borders">
<div class="sm-2 col border border-primary">Border primary</div>
<div class="sm-2 col border border-secondary">Border secondary</div>
<div class="sm-2 col border border-success">Border success</div>
<div class="sm-2 col border border-warning">Border warning</div>
<div class="sm-2 col border border-danger">Border danger</div>
<div class="sm-2 col border border-white">Border white</div>
</div>
<div class="row child-borders">
<div class="sm-2 col border border-primary">Border primary</div>
<div class="sm-2 col border border-secondary">Border secondary</div>
<div class="sm-2 col border border-success">Border success</div>
<div class="sm-2 col border border-warning">Border warning</div>
<div class="sm-2 col border border-danger">Border danger</div>
<div class="sm-2 col border border-white">Border white</div>
</div>
```
### Child Borders
Use this if you want all children to have a border. This will alternate through the different border styles defined above instead of having to add the border class for each element.
<div class="row flex-center child-borders">
<div class="sm-2 col">1</div>
<div class="sm-2 col">2</div>
<div class="sm-2 col">3</div>
<div class="sm-2 col">4</div>
<div class="sm-2 col">5</div>
<div class="sm-2 col">6</div>
</div>
#### Code:
```html
<div class="row flex-center child-borders">
<div class="sm-2 col">1</div>
<div class="sm-2 col">2</div>
<div class="sm-2 col">3</div>
<div class="sm-2 col">4</div>
<div class="sm-2 col">5</div>
<div class="sm-2 col">6</div>
</div>
```
### Border Styles
<div class="row flex-spaces child-borders">
<div class="sm-3 col border-dashed">Dashed</div>
<div class="sm-3 col border-dotted">Dotted</div>
<div class="sm-3 col border-dashed border-thick">Dashed Thick</div>
<div class="sm-3 col border-dotted border-thick">Dotted Thick</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders">
<div class="sm-3 col border-dashed">Dashed</div>
<div class="sm-3 col border-dotted">Dotted</div>
<div class="sm-3 col border-dashed border-thick">Dashed Thick</div>
<div class="sm-3 col border-dotted border-thick">Dotted Thick</div>
</div>
```
### Shadows
<div class="row flex-spaces child-borders">
<div class="sm-3 col shadow shadow-large">Large</div>
<div class="sm-3 col shadow">Default</div>
<div class="sm-3 col shadow shadow-small">Small</div>
<div class="sm-3 col shadow shadow-hover">Hover</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders">
<div class="sm-3 col shadow shadow-large">Large</div>
<div class="sm-3 col shadow">Default</div>
<div class="sm-3 col shadow shadow-small">Small</div>
<div class="sm-3 col shadow shadow-hover">Hover</div>
</div>
```
### Child Shadows
Use this if you want all children to have a shadow.
<div class="row flex-spaces child-borders child-shadows">
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col shadow-none">No Shadow</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders child-shadows">
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col shadow-none">No Shadow</div>
</div>
```
### Child Shadows Hover
Use this if you want all children to have a shadow... that changes on hover
<div class="row flex-spaces child-borders child-shadows-hover">
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders child-shadows-hover">
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
</div>
```

View file

@ -0,0 +1,45 @@
---
title: Colors
description: PaperCSS Colors
---
### Text
<p class="text-primary">Text primary</p>
<p class="text-secondary">Text secondary</p>
<p class="text-success">Text success</p>
<p class="text-warning">Text warning</p>
<p class="text-danger">Text danger</p>
<p class="text-muted">Text muted</p>
#### Code:
```html
<p class="text-primary">Text primary</p>
<p class="text-secondary">Text secondary</p>
<p class="text-success">Text success</p>
<p class="text-warning">Text warning</p>
<p class="text-danger">Text danger</p>
<p class="text-muted">Text muted</p>
```
### Backgrounds
<div class="row flex-center">
<div class="sm-2 col background-primary">Background primary</div>
<div class="sm-2 col background-secondary">Background secondary</div>
<div class="sm-2 col background-success">Background success</div>
<div class="sm-2 col background-warning">Background warning</div>
<div class="sm-2 col background-danger">Background danger</div>
</div>
#### Code:
```html
<div class="row flex-center">
<div class="sm-2 col background-primary">Background primary</div>
<div class="sm-2 col background-secondary">Background secondary</div>
<div class="sm-2 col background-success">Background success</div>
<div class="sm-2 col background-warning">Background warning</div>
<div class="sm-2 col background-danger">Background danger</div>
</div>
```

View file

@ -0,0 +1,67 @@
---
title: Dark Mode
description: PaperCSS Dark Mode
---
As of version `1.8.0`, PaperCSS supports a dark mode of the framework. Just add the `.dark` class to your `html` tag!
#### Examples
Here's what some of the components look like:
<div class="form-group">
<label for="paperInputs1">Input</label>
<input type="text" placeholder="Nice input" id="paperInputs1">
</div>
<button>
Button
</button>
<div class="progress margin-bottom">
<div class="bar w-25"></div>
</div>
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
<script>
var html = document.documentElement;
html.className += 'dark';
</script>
#### Code
```html
<html class='dark'>
Dark mode styles are automatically applied with the dark class!
</html>
```

View file

@ -0,0 +1,38 @@
---
title: Spacing
description: PaperCSS Spacing
---
### Margin
<div class="row flex-spaces child-borders">
<div class="sm-3 col margin">Margin</div>
<div class="sm-3 col margin-large">Margin-large</div>
<div class="sm-3 col margin-top-small">Margin-top-small</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders">
<div class="sm-3 col margin">Margin</div>
<div class="sm-3 col margin-large">Margin-large</div>
<div class="sm-3 col margin-top-small">Margin-top-small</div>
</div>
```
### Padding
<div class="row flex-spaces child-borders">
<div class="sm-3 col padding-small">Padding-small</div>
<div class="sm-3 col padding-none">Padding-none</div>
<div class="sm-3 col padding-left-large">Padding-left-large</div>
</div>
#### Code:
```html
<div class="row flex-spaces child-borders">
<div class="sm-3 col padding-small">Padding-small</div>
<div class="sm-3 col padding-none">Padding-none</div>
<div class="sm-3 col padding-left-large">Padding-left-large</div>
</div>
```

View file

@ -0,0 +1,13 @@
<div class='col sm-6 md-4'>
<div class='card'>
<div class="card-body">
<h4 class="card-title">{{- .Title -}}</h4>
<div class="card-text">
{{- .Params.description -}}
</div>
<a class='paper-btn btn-block' href='{{ .Permalink | relURL }}'>
Let's see!
</a>
</div>
</div>
</div>

View file

@ -0,0 +1,31 @@
{{ partial "header" . }}
<div class='section'>
<h2>{{ .Title }}</h2>
{{ .Content }}
<div class='row flex-spaces'>
{{ range .Sections }}
<div class='collapsible full-width'>
<input id='collapsible-section-{{ .Title | urlize }}' type='checkbox' name='collapsible-section' checked>
<label for="collapsible-section-{{ .Title | urlize }}">{{ .Title }}</label>
<div class='collapsible-body'>
<div class="row child-borders">
{{ range .Pages }}
<a class="paper-btn margin" href='{{ .Permalink | relURL }}'>{{- .Title -}}</a>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ range .Pages }}
{{ .Render "li" }}
{{ end }}
</div>
</div>
{{ partial "footer" . }}

View file

@ -0,0 +1,8 @@
{{ partial "header" . }}
<div class='section'>
<h2>{{ .Title }}</h2>
{{ .Content }}
</div>
{{ partial "footer" . }}

8
docs/layouts/index.html Normal file
View file

@ -0,0 +1,8 @@
{{ partial "header" . }}
<div class='section'>
<h2>{{ .Title }}</h2>
{{ .Content }}
</div>
{{ partial "footer" . }}

View file

@ -0,0 +1,12 @@
{{- $title := ( .Title ) -}}
{{- $siteTitle := ( .Site.Title ) -}}
{{- $title404 := ( .Site.Params.info.title404 | default $title ) -}}
{{- $sep := ( .Site.Params.seo.titleSeparator | default "•" ) -}}
{{- if .IsHome -}}
{{ print $siteTitle " " $sep " " $.Site.Params.info.description }}
{{- else if eq .Kind "404" -}}
{{ $title404 }} {{ $sep }} {{ $siteTitle }}
{{- else -}}
{{ $title }} {{ $sep }} {{ $siteTitle }}
{{- end -}}

View file

@ -0,0 +1,7 @@
</div>
</div>
{{ partial "nav/sidebar" . }}
</div>
</body>
</html>

View file

@ -0,0 +1,8 @@
<head>
{{ partial "head/meta" . }}
<title>{{ partial "data/title" . }}</title>
<link rel='canonical' href='{{ .Permalink }}'>
{{ partial "head/includes" . }}
</head>

View file

@ -0,0 +1,4 @@
<!-- Styles -->
<link rel='stylesheet' href='/assets/paper.css'>
<link rel='stylesheet' href='/assets/demo.css'>
<link rel='stylesheet' href='/assets/syntax.css'>

View file

@ -0,0 +1,11 @@
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta name='description' content='The less formal CSS framework.'>
<meta name='author' content='Rhyneav and PaperCSS contributors.'>
<!-- Favicon -->
<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
{{ partial "head/opengraph" . }}
{{ hugo.Generator }}

View file

@ -0,0 +1,8 @@
<!-- Twitter -->
<meta name="twitter:description" content="The less formal CSS framework">
<meta name="twitter:title" content="PaperCSS">
<!-- OpenGraph -->
<meta property="og:url" content="https://www.getpapercss.com/">
<meta property="og:title" content="PaperCSS">
<meta property="og:description" content="The less formal CSS framework">

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
{{ partial "head/head" . }}
<body>
<div id='top' class='row site'>
<div class='sm-12 md-8 col'>
<div class='paper'>
<div class='demo-title'>
<div class='row flex-center'>
<div class='text-center'>
<h1>{{ .Site.Title }}</h1>
<h3>{{ .Site.Params.info.description }}</h3>
</div>
</div>
{{ partial "nav/main" . }}
</div>
<div class="to-top">
<a href="#top" class="paper-btn margin">^</a>
</div>

View file

@ -0,0 +1,9 @@
<div class="row flex-center child-borders">
{{ range .Site.Menus.main }}
{{- $isCurrent := ( or ( $.IsMenuCurrent "main" . ) ( $.HasMenuCurrent "main" . ) ) -}}
<a class='paper-btn margin{{- if $isCurrent }} current{{- end -}}' href='{{ .URL }}'>
{{- .Name -}}
</a>
{{ end }}
<a href="https://github.com/rhyneav/papercss" target="_blank" class="paper-btn margin">Github</a>
</div>

View file

@ -0,0 +1,31 @@
<div class='sm-12 md-4 col sidebar'>
{{ range .Site.Sections }}
<div class='paper'>
<h3 class='sidebar-title' style='text-align:center'>
<a href='/docs'>Documentation</a>
</h3>
<div class='row'>
{{ range .Sections }}
<div class='collapsible full-width'>
<input id='collapsible-{{ .Title | urlize }}' type='radio' name='collapsible'>
<label for="collapsible-{{ .Title | urlize }}">{{ .Title }}</label>
<div class="collapsible-body">
<ul>
{{ range .Pages }}
<li>
<a href='{{ .Permalink | relURL }}'>{{ .Title }}</a>
</li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}
<div class='paper'>
<div class="row flex-center">
<p>Made with 💛 by <a href="https://vlaservich.com" target="_blank">Rhyne</a> and some <a href="https://github.com/rhyneav/papercss/graphs/contributors">fantastic contributors</a>!</p>
</div>
</div>
</div>

View file

@ -0,0 +1,3 @@
<button {{- with .Get 0 }} class='btn-{{- . -}}' {{- end -}}>
{{ .Inner }}
</button>

51
docs/static/assets/demo.css vendored Normal file
View file

@ -0,0 +1,51 @@
body {
background-image: url("/img/geometry2.png")
}
html.dark body {
background: #41403e;
}
#top {
max-width: 1440px;
}
.demo .row .col {
background-color: #eee;
}
.demo .row .col:nth-child(even) {
background-color: #ddd;
}
.docs {
margin-top: 2rem;
margin-bottom: 2rem;
}
.summary a {
color: #41403e;
}
img.no-responsive {
max-width: -webkit-fill-available;
max-width: -moz-available;
}
.to-top {
opacity: 1;
display: inline-block;
padding: 1em;
position: fixed;
bottom: 1em;
right: 1em
}
.to-top .paper-btn {
padding: .6em 1em;
border-top-left-radius: 185px 160px;
border-top-right-radius: 200px 195px;
border-bottom-right-radius: 160px 195px;
border-bottom-left-radius: 185px 190px
}
.demo-title:hover + .to-top {
opacity: 0
}
.sidebar-title a {
color: inherit;
background: none;
}
.collapsible.full-width {
width: 100%;
}

365
docs/static/assets/syntax.css vendored Normal file
View file

@ -0,0 +1,365 @@
/* LineTableTD */
.chroma .lntd {
border: 0;
margin: 0;
padding: 0;
vertical-align: top;
}
/* LineTable */
.chroma .lntable {
border: 0;
border-spacing: 0;
display: block;
margin: 0;
overflow: auto;
padding: 0;
width: auto;
}
/* LineHighlight */
.chroma .hl {
background-color: #ffc;
display: block;
width: 100%;
}
/* LineNumbersTable */
.chroma .lnt {color: #7f7f7f;
margin-right: 0.4em;
padding: 0 0.4em;
}
/* LineNumbers */
.chroma .ln {color: #7f7f7f;
margin-right: 0.4em;
padding: 0 0.4em;
}
/* Keyword */
.chroma .k {
color: #a2f;
font-weight: bold;
}
/* KeywordConstant */
.chroma .kc {
color: #a2f;
font-weight: bold;
}
/* KeywordDeclaration */
.chroma .kd {
color: #a2f;
font-weight: bold;
}
/* KeywordNamespace */
.chroma .kn {
color: #a2f;
font-weight: bold;
}
/* KeywordPseudo */
.chroma .kp {
color: #a2f;
}
/* KeywordReserved */
.chroma .kr {
color: #a2f;
font-weight: bold;
}
/* KeywordType */
.chroma .kt {
color: #0b0;
font-weight: bold;
}
/* NameAttribute */
.chroma .na {
color: #b44;
}
/* NameBuiltin */
.chroma .nb {
color: #a2f;
}
/* NameClass */
.chroma .nc {
color: #00f;
}
/* NameConstant */
.chroma .no {
color: #800;
}
/* NameDecorator */
.chroma .nd {
color: #a2f;
}
/* NameEntity */
.chroma .ni {
color: #999;
font-weight: bold;
}
/* NameException */
.chroma .ne {
color: #d2413a;
font-weight: bold;
}
/* NameFunction */
.chroma .nf {
color: #00a000;
}
/* NameLabel */
.chroma .nl {
color: #a0a000;
}
/* NameNamespace */
.chroma .nn {
color: #00f;
font-weight: bold;
}
/* NameTag */
.chroma .nt {
color: #008000;
font-weight: bold;
}
/* NameVariable */
.chroma .nv {
color: #b8860b;
}
/* LiteralString */
.chroma .s {
color: #b44;
}
/* LiteralStringAffix */
.chroma .sa {
color: #b44;
}
/* LiteralStringBacktick */
.chroma .sb {
color: #b44;
}
/* LiteralStringChar */
.chroma .sc {
color: #b44;
}
/* LiteralStringDelimiter */
.chroma .dl {
color: #b44;
}
/* LiteralStringDoc */
.chroma .sd {
color: #b44;
font-style: italic;
}
/* LiteralStringDouble */
.chroma .s2 {
color: #b44;
}
/* LiteralStringEscape */
.chroma .se {
color: #b62;
font-weight: bold;
}
/* LiteralStringHeredoc */
.chroma .sh {
color: #b44;
}
/* LiteralStringInterpol */
.chroma .si {
color: #b68;
font-weight: bold;
}
/* LiteralStringOther */
.chroma .sx {
color: #008000;
}
/* LiteralStringRegex */
.chroma .sr {
color: #b68;
}
/* LiteralStringSingle */
.chroma .s1 {
color: #b44;
}
/* LiteralStringSymbol */
.chroma .ss {
color: #b8860b;
}
/* LiteralNumber */
.chroma .m {
color: #666;
}
/* LiteralNumberBin */
.chroma .mb {
color: #666;
}
/* LiteralNumberFloat */
.chroma .mf {
color: #666;
}
/* LiteralNumberHex */
.chroma .mh {
color: #666;
}
/* LiteralNumberInteger */
.chroma .mi {
color: #666;
}
/* LiteralNumberIntegerLong */
.chroma .il {
color: #666;
}
/* LiteralNumberOct */
.chroma .mo {
color: #666;
}
/* Operator */
.chroma .o {
color: #666;
}
/* OperatorWord */
.chroma .ow {
color: #a2f;
font-weight: bold;
}
/* Comment */
.chroma .c {
color: #080;
font-style: italic;
}
/* CommentHashbang */
.chroma .ch {
color: #080;
font-style: italic;
}
/* CommentMultiline */
.chroma .cm {
color: #080;
font-style: italic;
}
/* CommentSingle */
.chroma .c1 {
color: #080;
font-style: italic;
}
/* CommentSpecial */
.chroma .cs {
color: #080;
font-weight: bold;
}
/* CommentPreproc */
.chroma .cp {
color: #080;
}
/* CommentPreprocFile */
.chroma .cpf {
color: #080;
}
/* GenericDeleted */
.chroma .gd {
color: #a00000;
}
/* GenericEmph */
.chroma .ge {
font-style: italic;
}
/* GenericError */
.chroma .gr {
color: #f00;
}
/* GenericHeading */
.chroma .gh {
color: #000080;
font-weight: bold;
}
/* GenericInserted */
.chroma .gi {
color: #00a000;
}
/* GenericOutput */
.chroma .go {
color: #888;
}
/* GenericPrompt */
.chroma .gp {
color: #000080;
font-weight: bold;
}
/* GenericStrong */
.chroma .gs {
font-weight: bold;
}
/* GenericSubheading */
.chroma .gu {
color: #800080;
font-weight: bold;
}
/* GenericTraceback */
.chroma .gt {
color: #04d;
}
/* GenericUnderline */
.chroma .gl {
text-decoration: underline;
}
/* TextWhitespace */
.chroma .w {
color: #bbb;
}

BIN
docs/static/favicon.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before After
Before After

View file

@ -1,34 +0,0 @@
var gulp = require('gulp'),
connect = require('gulp-connect'),
less = require('gulp-less'),
cleanCSS = require('gulp-clean-css'),
rename = require('gulp-rename');
gulp.task('webserver', function() {
connect.server({
livereload: true
});
});
gulp.task('less', function() {
gulp.src('src/styles.less')
.pipe(less())
.pipe(cleanCSS({format: 'beautify'}))
.pipe(rename('paper.css'))
.pipe(gulp.dest('dist'))
.pipe(connect.reload());
});
gulp.task('watch', function() {
gulp.watch('src/*.less', ['less']);
});
gulp.task('minify-css', () => {
gulp.src('dist/paper.css')
.pipe(cleanCSS())
.pipe(rename('paper.min.css'))
.pipe(gulp.dest('dist'));
});
gulp.task('default', ['less', 'webserver', 'watch']);
gulp.task('build', ['less', 'minify-css'])

View file

@ -1,838 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/dist/paper.css">
<link rel="stylesheet" href="/demo.css">
</head>
<body>
<div class="container paper">
<div class="demo-title">
<div class="row flex-center">
<div class="text-center">
<h1>PaperCSS</h1>
<h3>the less formal css framework</h3>
</div>
</div>
<div class="row flex-center child-borders">
<a href="#download" class="paper-btn margin">Download</a>
<a href="#flexbox" class="paper-btn margin">Docs</a>
<a href="#about" class="paper-btn margin">About</a>
<a href="https://github.com/rhyneav/papercss" class="paper-btn margin">Github</a>
</div>
</div>
<div id="flexbox" class="section">
<h2>Flexbox</h2>
<h4>Flexgrid</h4>
<p>The flexgrid is a grid system that supports up to 12 columns per row. Because it uses flexbox (rather than just %widths), we also get the benefit of the fun parts of flexbox like alignment in more complex ways than normal.</p>
<div class="demo">
<div class="row">
<div class="col-4 col">col-4 col</div>
<div class="col-4 col">col-4 col</div>
<div class="col-4 col">col-4 col</div>
</div>
<div class="row">
<div class="col-3 col">col-3 col</div>
<div class="col-9 col">col-9 col</div>
</div>
<div class="row">
<div class="sm-6 md-8 lg-10 col">sm-6 md-8 lg-10 col</div>
<div class="sm-6 md-4 lg-2 col">sm-6 md-4 lg-2 col</div>
</div>
<div class="row">
<div class="sm-5 col">sm-5 col</div>
<div class="col-fill col">col-fill col</div>
<div class="col-fill col">col-fill col</div>
</div>
<div class="row">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Left (default)</div>
</div>
<div class="row flex-right">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Right (flex-right)</div>
</div>
<div class="row flex-center">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">Center (flex-center)</div>
</div>
<div class="row flex-edges">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">to edges (flex-edges)</div>
</div>
<div class="row flex-spaces">
<div class="sm-4 col">Aligned</div>
<div class="sm-4 col">to be evenly spaced (flex-spaces)</div>
</div>
<div class="row flex-top">
<div class="sm-4 col">Aligned top</div>
<div class="sm-4 col">Aligned top</div>
<div class="sm-4 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row flex-middle">
<div class="sm-4 col">Aligned middle</div>
<div class="sm-4 col">Aligned middle</div>
<div class="sm-4 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row flex-bottom">
<div class="sm-4 col">Aligned bottom</div>
<div class="sm-4 col">Aligned bottom</div>
<div class="sm-4 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
<div class="row">
<div class="sm-3 col align-bottom">Align bottom</div>
<div class="sm-3 col align-middle">Align middle</div>
<div class="sm-3 col align-top">Align top</div>
<div class="sm-3 col">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
</div>
</div>
</div>
<div class="docs">
<pre>
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;col-4 col&quot;&gt;col-4 col&lt;/div&gt;
&lt;div class=&quot;col-4 col&quot;&gt;col-4 col&lt;/div&gt;
&lt;div class=&quot;col-4 col&quot;&gt;col-4 col&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;col-3 col&quot;&gt;col-3 col&lt;/div&gt;
&lt;div class=&quot;col-9 col&quot;&gt;col-9 col&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;sm-6 md-8 lg-10 col&quot;&gt;sm-6 md-8 lg-10 col&lt;/div&gt;
&lt;div class=&quot;sm-6 md-4 lg-2 col&quot;&gt;sm-6 md-4 lg-2 col&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;sm-5 col&quot;&gt;sm-5 col&lt;/div&gt;
&lt;div class=&quot;col-fill col&quot;&gt;col-fill col&lt;/div&gt;
&lt;div class=&quot;col-fill col&quot;&gt;col-fill col&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Aligned&lt;/div&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Left (default)&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row flex-right&quot;&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Aligned&lt;/div&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Right (flex-right)&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row flex-center&quot;&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Aligned&lt;/div&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Right (flex-right)&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row flex-edges&quot;&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Aligned&lt;/div&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;to edges (flex-edges)&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row flex-spaces&quot;&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;Aligned&lt;/div&gt;
&lt;div class=&quot;sm-4 col&quot;&gt;to be evenly spaced (flex-spaces)&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row flex-top&quot;&gt;
&lt;div class=&quot;sm-6 col&quot;&gt;Aligned top&lt;/div&gt;
&lt;div class=&quot;sm-6 col&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row flex-middle&quot;&gt;
&lt;div class=&quot;sm-6 col&quot;&gt;Aligned middle&lt;/div&gt;
&lt;div class=&quot;sm-6 col&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row flex-bottom&quot;&gt;
&lt;div class=&quot;sm-6 col&quot;&gt;Aligned bottom&lt;/div&gt;
&lt;div class=&quot;sm-6 col&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;row&quot;&gt;
&lt;div class=&quot;sm-3 col align-bottom&quot;&gt;Align bottom&lt;/div&gt;
&lt;div class=&quot;sm-3 col align-middle&quot;&gt;Align middle&lt;/div&gt;
&lt;div class=&quot;sm-3 col align-top&quot;&gt;Align top&lt;/div&gt;
&lt;div class=&quot;sm-3 col&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras lorem lectus, lobortis a nibh non, luctus luctus erat posuere. Curabitur ac turpis aliquam, malesuada elit suscipit, blandit dolor.
&lt;/div&gt;
&lt;/div&gt;
</pre>
</div>
</div>
<div class="section">
<h2>Typography</h2>
<p>How pretty is the text?</p>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ultrices, eros non elementum accumsan, massa nulla
aliquam libero, ut posuere justo nibh ac ipsum. Aliquam blandit commodo justo at laoreet. Suspendisse potenti. Duis
magna neque, venenatis non libero a, tincidunt convallis diam. Donec vel fermentum ante. Quisque diam nisl, vestibulum
imperdiet sapien nec, interdum fringilla lorem. Morbi sed arcu facilisis, maximus justo vel, porttitor nisl. Nam
suscipit metus facilisis iaculis vestibulum.</p>
<div class="docs">
<pre>
&lt;h1&gt;Heading 1&lt;/h1&gt;
&lt;h2&gt;Heading 2&lt;/h2&gt;
&lt;h3&gt;Heading 3&lt;/h3&gt;
&lt;h4&gt;Heading 4&lt;/h4&gt;
&lt;h5&gt;Heading 5&lt;/h5&gt;
&lt;h6&gt;Heading 6&lt;/h6&gt;
&lt;p&gt;Lorem ipsum dolor....&lt;/p&gt;</pre>
</div>
</div>
<div class="section">
<h2>Buttons</h2>
<p>Insprired by <a href="https://codepen.io/tmrDevelops/pen/VeRvKX" target="_blank">Imprefect Buttons</a></p>
<button class="btn-large">Large</button>
<button>Default</button>
<button class="btn-small">Small</button>
<a href="#" class="paper-btn">Link</a>
<div class="row">
<div class="col-6 col">
<button class="btn-block">Block level</button>
</div>
</div>
<div class="docs">
<pre>
&lt;p&gt;Insprired by &lt;a href="https://codepen.io/tmrDevelops/pen/VeRvKX" target="_blank"&gt;Imprefect Buttons&lt;/a&gt;&lt;/p&gt;
&lt;button class="btn-large"&gt;Large&lt;/button&gt;
&lt;button&gt;Default&lt;/button&gt;
&lt;button class="btn-small"&gt;Small&lt;/button&gt;
&lt;a href="#" class="paper-btn"&gt;Link&lt;/a&gt;
&lt;div class="row"&gt;
&lt;div class="col-6 col"&gt;
&lt;button class="btn-block"&gt;Block level&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
</div>
<div class="section">
<h2>Forms</h2>
<div class="form-group">
<label>Input</label>
<input type="text" placeholder="Nice input">
</div>
<div class="row">
<div class="col sm-4">
<div class="form-group">
<label>Block Level</label>
<input class="input-block" type="text">
</div>
</div>
<div class="col sm-8">
<div class="form-group">
<label>Block Level</label>
<input class="input-block" type="text">
</div>
</div>
</div>
<div class="form-group">
<label>Select</label>
<select>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<select>
</div>
<fieldset class="form-group">
<legend>Some Radio Buttons</legend>
<label for="paperRadios1" class="paper-radio">
<input type="radio" name="paperRadios" id="paperRadios1" value="option 1"> <span>This is the first option<span>
</label>
<label for="paperRadios2" class="paper-radio">
<input type="radio" name="paperRadios" id="paperRadios2" value="option 2"> <span>This is the second option<span>
</label>
</fieldset>
<fieldset class="form-group">
<legend>Some Check Boxes</legend>
<label for="paperChecks1" class="paper-check">
<input type="checkbox" name="paperChecks" id="paperChecks1" value="option 1"> <span>This is the first check</span>
</label>
<label for="paperChecks2" class="paper-check">
<input type="checkbox" name="paperChecks" id="paperChecks2" value="option 2"> <span>This is the second check</span>
</label>
</fieldset>
<div class="docs">
<pre>
&lt;div class="form-group"&gt;
&lt;label&gt;Input&lt;/label&gt;
&lt;input type="text" placeholder="Nice input"&gt;
&lt;/div&gt;
&lt;div class="row"&gt;
&lt;div class="col sm-4"&gt;
&lt;div class="form-group"&gt;
&lt;label&gt;Block Level&lt;/label&gt;
&lt;input class="input-block" type="text"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="col sm-8"&gt;
&lt;div class="form-group"&gt;
&lt;label&gt;Block Level&lt;/label&gt;
&lt;input class="input-block" type="text"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="form-group"&gt;
&lt;label&gt;Select&lt;/label&gt;
&lt;select&gt;
&lt;option value="1"&gt;Option 1&lt;/option&gt;
&lt;option value="2"&gt;Option 2&lt;/option&gt;
&lt;option value="3"&gt;Option 3&lt;/option&gt;
&lt;select&gt;
&lt;/div&gt;
&lt;fieldset class="form-group"&gt;
&lt;legend&gt;Some Radio Buttons&lt;/legend&gt;
&lt;label for="paperRadios1" class="paper-radio"&gt;
&lt;input type="radio" name="paperRadios" id="paperRadios1" value="option 1"&gt; &lt;span&gt;This is the first option&lt;span&gt;
&lt;/label&gt;
&lt;label for="paperRadios2" class="paper-radio"&gt;
&lt;input type="radio" name="paperRadios" id="paperRadios2" value="option 2"&gt; &lt;span&gt;This is the second option&lt;span&gt;
&lt;/label&gt;
&lt;/fieldset&gt;
&lt;fieldset class="form-group"&gt;
&lt;legend&gt;Some Check Boxes&lt;/legend&gt;
&lt;label for="paperChecks1" class="paper-check"&gt;
&lt;input type="checkbox" name="paperChecks" id="paperChecks1" value="option 1"&gt; &lt;span&gt;This is the first check&lt;/span&gt;
&lt;/label&gt;
&lt;label for="paperChecks2" class="paper-check"&gt;
&lt;input type="checkbox" name="paperChecks" id="paperChecks2" value="option 2"&gt; &lt;span&gt;This is the second check&lt;/span&gt;
&lt;/label&gt;
&lt;/fieldset&gt;
</pre>
</div>
</div>
<div class="section">
<h2>Lists</h2>
<h4>Ordered Lists</h4>
<ol>
<li>Do this</li>
<li>Then this</li>
<li>Finally this</li>
<li>Then we'll go one deeper</li>
<ol>
<li>Dillon</li>
<li>Francis</li>
<ol>
<li>What if we went...</li>
<li>One more deeper?</li>
<ol>
<li>DJ</li>
<li>Hanzel</li>
<ol>
<li>Five levels should be enough</li>
<li>Right?</li>
</ol>
</ol>
</ol>
</ol>
<li>But don't forget this</li>
</ol>
<h4>Unordered Lists</h4>
<ul>
<li>Let's try this</li>
<li>Let's try this again</li>
<ul>
<li>And now we are nested</li>
<li>Pretty cool?</li>
<ul>
<li>The list items are just text</li>
<li>From this font</li>
<ul>
<li>We'll keep going</li>
<li>Until we hit</li>
<ul>
<li>LEVEL 5</li>
</ul>
</ul>
</ul>
</ul>
<li>And now we're are the top!</li>
</ul>
<div class="docs">
<pre>
&lt;ol&gt;
&lt;li&gt;Do this&lt;/li&gt;
&lt;li&gt;Then this&lt;/li&gt;
&lt;li&gt;Finally this&lt;/li&gt;
&lt;li&gt;Then we'll go one deeper&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Dillon&lt;/li&gt;
&lt;li&gt;Francis&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;What if we went...&lt;/li&gt;
&lt;li&gt;One more deeper?&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;DJ&lt;/li&gt;
&lt;li&gt;Hanzel&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Five levels should be enough&lt;/li&gt;
&lt;li&gt;Right?&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;li&gt;But don't forget this&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- Replace ol with ul for unordered lists. Go up to 5 levels deep! --&gt;</pre>
</div>
</div>
<div class="section">
<h2>Code</h2>
<p>Let's make some pretty <code>&lt;code&gt;</code></p>
<p>Print files backwards using <kbd>tac</kbd></p>
<p>To stop a process, hit <kbd>ctrl + c</kbd></p>
<pre>
function add(x, y) {
return x + y;
} </pre>
<div class="docs">
<pre>
&lt;p&gt;Let's make some pretty &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Print files backwards using &lt;kbd&gt;tac&lt;/kbd&gt;&lt;/p&gt;
&lt;p&gt;To stop a process, hit &lt;kbd&gt;ctrl + c&lt;/kbd&gt;&lt;/p&gt;
&lt;pre&gt;
function add(x, y) {
return x + y;
}
&lt;/pre&gt;</pre>
</div>
</div>
<div class="section">
<h2>Tables</h2>
<h4>Regular</h4>
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
<h4>Hover</h4>
<table class="table-hover">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
<h4>Alternating</h4>
<table class="table-alternating">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Position</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Bob Dylan</td>
<td>Musician</td>
<td>California, USA</td>
</tr>
<tr>
<td>2</td>
<td>Eric Clapton</td>
<td>Musician</td>
<td>Ohio, USA</td>
</tr>
<tr>
<td>3</td>
<td>Daniel Kahneman</td>
<td>Psychologist</td>
<td>California, USA</td>
</tr>
</tbody>
</table>
<div class="docs">
<pre>
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Position&lt;/th&gt;
&lt;th&gt;Location&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Bob Dylan&lt;/td&gt;
&lt;td&gt;Musician&lt;/td&gt;
&lt;td&gt;California, USA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Eric Clapton&lt;/td&gt;
&lt;td&gt;Musician&lt;/td&gt;
&lt;td&gt;Ohio, USA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Daniel Kahneman&lt;/td&gt;
&lt;td&gt;Psychologist&lt;/td&gt;
&lt;td&gt;California, USA&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;!-- Add table-hover or table-alternating to change the style of the table --&gt;
&lt;table class=&quot;table-hover&quot;&gt;
&lt;table class=&quot;table-alternating&quot;&gt;</pre>
</div>
</div>
<div class="section">
<h2>Popovers</h2>
<h4>Basic usage</h4>
<p>You can add popovers, also called tooltips, on your elements. popover attribute is the popover text content, popover-position attribute can be: top, left, right, bottom.</p>
<div class="row flex-spaces">
<div class="sm-3 col">
<p popover="Popover on left" popover-position="left">Popover left position</p>
</div>
<div class="sm-3 col">
<p popover="Popover on top" popover-position="top">Popover top position</p>
</div>
<div class="sm-3 col">
<p popover="Popover on bottom" popover-position="bottom">Popover bottom position</p>
</div>
<div class="sm-3 col">
<p popover="Popover on right" popover-position="right">Popover right position</p>
</div>
</div>
<div class="docs">
<pre>
&lt;p popover="Popover on left" popover-position="left"&gt;Popover left position&lt;/p&gt;
&lt;p popover="Popover on top" popover-position="top"&gt;Popover top position&lt;/p&gt;
&lt;p popover="Popover on bottom" popover-position="bottom"&gt;Popover bottom position&lt;/p&gt;
&lt;p popover="Popover on right" popover-position="right"&gt;Popover right position&lt;/p&gt;</pre>
</div>
<p>But you can also popover on pretty much any element you want, it can be on a button, on a table cell, ...</p>
<div class="row flex-center">
<div class="sm-6 col">
<button popover="Popover on top" popover-position="top">Popover on top and on a button!</button>
</div>
</div>
<div class="docs">
<pre>
&lt;button popover="Popover on top" popover-position="top"&gt;Popover on top and on a button!&lt;/button&gt;</pre>
</div>
</div>
<div class="section">
<h2>Colors</h2>
<h4>Text</h4>
<p class="text-primary">Text primary</p>
<p class="text-secondary">Text secondary</p>
<p class="text-success">Text success</p>
<p class="text-warning">Text warning</p>
<p class="text-danger">Text danger</p>
<div class="docs">
<pre>
&lt;p class=&quot;text-primary&quot;&gt;Text primary&lt;/p&gt;
&lt;p class=&quot;text-secondary&quot;&gt;Text secondary&lt;/p&gt;
&lt;p class=&quot;text-success&quot;&gt;Text success&lt;/p&gt;
&lt;p class=&quot;text-warning&quot;&gt;Text warning&lt;/p&gt;
&lt;p class=&quot;text-danger&quot;&gt;Text danger&lt;/p&gt; </pre>
</div>
<h4>Backgrounds</h4>
<div class="row flex-center">
<div class="sm-2 col background-primary">Background primary</div>
<div class="sm-2 col background-secondary">Background secondary</div>
<div class="sm-2 col background-success">Background success</div>
<div class="sm-2 col background-warning">Background warning</div>
<div class="sm-2 col background-danger">Background danger</div>
</div>
<div class="docs">
<pre>
&lt;div class=&quot;row flex-center&quot;&gt;
&lt;div class=&quot;sm-2 col background-primary&quot;&gt;Background primary&lt;/div&gt;
&lt;div class=&quot;sm-2 col background-secondary&quot;&gt;Background secondary&lt;/div&gt;
&lt;div class=&quot;sm-2 col background-success&quot;&gt;Background success&lt;/div&gt;
&lt;div class=&quot;sm-2 col background-warning&quot;&gt;Background warning&lt;/div&gt;
&lt;div class=&quot;sm-2 col background-danger&quot;&gt;Background danger&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
</div>
<div class="section">
<h2>Borders &amp; Shadows</h2>
<h4>Borders</h4>
<div class="row flex-spaces">
<div class="sm-3 col border border-primary">Default Border</div>
<div class="sm-3 col border border-2 border-primary">Border-2</div>
<div class="sm-3 col border border-3 border-primary">Border-3</div>
</div>
<div class="row flex-spaces">
<div class="sm-3 col border border-4 border-primary">Border-4</div>
<div class="sm-3 col border border-5 border-primary">Border-5</div>
<div class="sm-3 col border border-6 border-primary">Border-6</div>
</div>
<div class="docs">
<pre>
&lt;div class="row flex-spaces"&gt;
&lt;div class="sm-3 col border border-primary"&gt;Default Border&lt;/div&gt;
&lt;div class="sm-3 col border border-2 border-primary"&gt;Border-2&lt;/div&gt;
&lt;div class="sm-3 col border border-3 border-primary"&gt;Border-3&lt;/div&gt;
&lt;/div&gt;
&lt;div class="row flex-spaces"&gt;
&lt;div class="sm-3 col border border-4 border-primary"&gt;Border-4&lt;/div&gt;
&lt;div class="sm-3 col border border-5 border-primary"&gt;Border-5&lt;/div&gt;
&lt;div class="sm-3 col border border-6 border-primary"&gt;Border-6&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
<h4>Border Colors</h4>
<div class="row child-borders">
<div class="sm-2 col border border-primary">Border primary</div>
<div class="sm-2 col border border-secondary">Border secondary</div>
<div class="sm-2 col border border-success">Border success</div>
<div class="sm-2 col border border-warning">Border warning</div>
<div class="sm-2 col border border-danger">Border danger</div>
<div class="sm-2 col border background-primary border-white">Border white</div>
</div>
<div class="docs">
<pre>
&lt;div class="row child-borders"&gt;
&lt;div class="sm-2 col border border-primary"&gt;Border primary&lt;/div&gt;
&lt;div class="sm-2 col border border-secondary"&gt;Border secondary&lt;/div&gt;
&lt;div class="sm-2 col border border-success"&gt;Border success&lt;/div&gt;
&lt;div class="sm-2 col border border-warning"&gt;Border warning&lt;/div&gt;
&lt;div class="sm-2 col border border-danger"&gt;Border danger&lt;/div&gt;
&lt;div class="sm-2 col border background-primary border-white"&gt;Border white&lt;/div&gt;
&lt;/div&gt;
&lt;div class="row child-borders"&gt;
&lt;div class="sm-2 col border border-primary"&gt;Border primary&lt;/div&gt;
&lt;div class="sm-2 col border border-secondary"&gt;Border secondary&lt;/div&gt;
&lt;div class="sm-2 col border border-success"&gt;Border success&lt;/div&gt;
&lt;div class="sm-2 col border border-warning"&gt;Border warning&lt;/div&gt;
&lt;div class="sm-2 col border border-danger"&gt;Border danger&lt;/div&gt;
&lt;div class="sm-2 col border background-primary border-white"&gt;Border white&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
<h4>Child Borders</h4>
<p>Use this if you want all children to have a border. This will alternate through the different border styles defined above instead of having to add the border class for each element.</p>
<div class="row flex-center child-borders">
<div class="sm-2 col">1</div>
<div class="sm-2 col">2</div>
<div class="sm-2 col">3</div>
<div class="sm-2 col">4</div>
<div class="sm-2 col">5</div>
<div class="sm-2 col">6</div>
</div>
<div class="docs">
<pre>
&lt;div class="row flex-center child-borders"&gt;
&lt;div class="sm-2 col"&gt;1&lt;/div&gt;
&lt;div class="sm-2 col"&gt;2&lt;/div&gt;
&lt;div class="sm-2 col"&gt;3&lt;/div&gt;
&lt;div class="sm-2 col"&gt;4&lt;/div&gt;
&lt;div class="sm-2 col"&gt;5&lt;/div&gt;
&lt;div class="sm-2 col"&gt;6&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
<h4>Shadows</h4>
<div class="row flex-spaces child-borders">
<div class="sm-3 col shadow shadow-large">Large</div>
<div class="sm-3 col shadow">Default</div>
<div class="sm-3 col shadow shadow-small">Small</div>
<div class="sm-3 col shadow shadow-hover">Hover</div>
</div>
<div class="docs">
<pre>
&lt;div class="row flex-spaces child-borders"&gt;
&lt;div class="sm-3 col shadow shadow-large"&gt;Large&lt;/div&gt;
&lt;div class="sm-3 col shadow"&gt;Default&lt;/div&gt;
&lt;div class="sm-3 col shadow shadow-small"&gt;Small&lt;/div&gt;
&lt;div class="sm-3 col shadow shadow-hover"&gt;Hover&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
<h4>Child Shadows</h4>
<p>Use this if you want all children to have a shadow.</p>
<div class="row flex-spaces child-borders child-shadows">
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
</div>
<div class="docs">
<pre>
&lt;div class="row flex-spaces child-borders child-shadows"&gt;
&lt;div class="sm-3 col"&gt;Shadow&lt;/div&gt;
&lt;div class="sm-3 col"&gt;Shadow&lt;/div&gt;
&lt;div class="sm-3 col"&gt;Shadow&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
<h4>Child Shadows Hover</h4>
<p>Use this if you want all children to have a shadow... that changes on hover</p>
<div class="row flex-spaces child-borders child-shadows-hover">
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
<div class="sm-3 col">Shadow</div>
</div>
<div class="docs">
<pre>
&lt;div class="row flex-spaces child-borders child-shadows-hover"&gt;
&lt;div class="sm-3 col"&gt;Shadow&lt;/div&gt;
&lt;div class="sm-3 col"&gt;Shadow&lt;/div&gt;
&lt;div class="sm-3 col"&gt;Shadow&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
</div>
<div class="section">
<h2>Utilities</h2>
<h4>Margin</h4>
<div class="row flex-spaces child-borders">
<div class="sm-3 col margin">Margin</div>
<div class="sm-3 col margin-large">Margin-large</div>
<div class="sm-3 col margin-top-small">Margin-top-small</div>
</div>
<div class="docs">
<pre>
&lt;div class="row flex-spaces child-borders"&gt;
&lt;div class="sm-3 col margin"&gt;Margin&lt;/div&gt;
&lt;div class="sm-3 col margin-large"&gt;Margin-large&lt;/div&gt;
&lt;div class="sm-3 col margin-top-small"&gt;Margin-top-small&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
<h4>Padding</h4>
<div class="row flex-spaces child-borders">
<div class="sm-3 col padding-small">Padding-small</div>
<div class="sm-3 col padding-none">Padding-none</div>
<div class="sm-3 col padding-left-large">Padding-left-large</div>
</div>
<div class="docs">
<pre>
&lt;div class="row flex-spaces child-borders"&gt;
&lt;div class="sm-3 col padding-small"&gt;Padding-small&lt;/div&gt;
&lt;div class="sm-3 col padding-none"&gt;Padding-none&lt;/div&gt;
&lt;div class="sm-3 col padding-left-large"&gt;Padding-left-large&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
</div>
<div class="section">
<h2>Images</h2>
<h4>Responsive</h4>
<p>Images by default are responsive</p>
<img src="https://unsplash.it/900" alt="Random Unsplash">
<div class="docs">
<pre>
&lt;img src="https://unsplash.it/900" alt="Random Unsplash"&gt;</pre>
</div>
<h4>Float</h4>
<p>You can also float responsive images to fit neatly with your text</p>
<p>
<img src="https://unsplash.it/200" alt="Smaller Unsplash" class="float-left">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur non elit sed lorem vulputate consectetur sed vel orci. Nunc orci metus, hendrerit viverra diam a, viverra efficitur nisi. Suspendisse ante sapien, porta vitae augue et, pulvinar posuere nibh. Suspendisse id commodo sem, vestibulum malesuada erat. Duis luctus est sit amet nisl maximus porta. Curabitur tempor nisi tincidunt ultricies rutrum. Nam finibus turpis ut nibh dignissim, in tincidunt mauris suscipit. Curabitur sollicitudin mi quis orci semper, nec egestas nibh mollis. Aenean pellentesque lectus rutrum, ultrices felis malesuada, finibus purus.
Morbi eleifend pellentesque justo, quis vestibulum mi. Donec porta ipsum tellus, ac scelerisque lectus pellentesque eget. Etiam quis rutrum dui. Nulla facilisi. Donec imperdiet mattis mi nec fringilla. Donec mollis augue sed viverra placerat. Donec varius, sem sed porttitor euismod, est nunc varius tellus, eget molestie urna arcu ac turpis. Phasellus id sem elit. Vivamus pellentesque mauris vel ex laoreet varius. Vivamus non tempor libero. Nam consectetur nisi erat, ac varius elit porttitor quis. Morbi ullamcorper, tortor in sagittis tempus, justo ipsum pretium urna, ut bibendum nisl orci et eros. Quisque ut ipsum neque. Integer sapien dolor, vestibulum id maximus ac, pharetra eu augue.
<img src="https://unsplash.it/100" alt="Smallerer Unsplash" class="float-right">
Aenean mauris tellus, facilisis sed quam non, tincidunt rutrum risus. Fusce quam urna, commodo vitae nunc condimentum, efficitur commodo libero. Sed dignissim odio enim, ac pharetra dui laoreet id. Suspendisse nec accumsan erat. Integer sit amet leo arcu. Proin sagittis blandit tempor. Vivamus at egestas lectus. Mauris eros tellus, egestas ac neque eget, lacinia sagittis ante. Phasellus faucibus suscipit erat, eget malesuada neque congue non.
</p>
<div class="docs">
<pre>
&lt;p&gt;
&lt;img src="https://unsplash.it/200" class="float-left"&gt;
Lorem ipsum dolor.......
&lt;img src="https://unsplash.it/100" class="float-right"&gt;
Aenean mauris tellus......
&lt;/p&gt;</pre>
</div>
<h4>No Responsive &amp; No Borders</h4>
<p>If you don't like the default, you can just add the class <code>no-responsive</code> to prevent the image from being responsive. You can also remove the default border with <code>no-border</code>.</p>
<img src="https://unsplash.it/300" alt="Not responsive Unsplash" class="no-responsive no-border">
<div class="docs">
<pre>
&lt;img src="https://unsplash.it/300" class="no-responsive no-border"&gt;</pre>
</div>
</div>
<div class="section">
<h2 id="download">Download</h2>
<p>Download the latest version (0.0.0) using either of the links below. Or download an older release via Github.</p>
<div class="row flex-spaces text-center">
<a class="paper-btn margin" href="https://github.com/rhyneav/papercss/releases/download/v1.0.0/paper.css">CSS File</a>
<a class="paper-btn margin" href="https://github.com/rhyneav/papercss/releases/download/v1.0.0/paper.min.css">Minified CSS File</a>
<a class="paper-btn margin" href="https://github.com/rhyneav/papercss/releases">Github Releases</a>
</div>
<p>If you'd rather customize things, you can build the CSS yourself via the git repo</p>
<ol>
<li><code>git clone [repo url]</code></li>
<li><code>npm install</code></li>
<li><code>npm run build</code></li>
<li>Grab the CSS out of the /dist folder created</li>
</ol>
<p>You can also go into src/colors.less before building to change around the colors of your new CSS.</p>
</div>
<div class="section">
<h2 id="about">About</h2>
<p>I got tired of mODerN STylEs and clean pages on the internet. I also wanted to learn more about Flexbox and Less. So I made PaperCSS to solve these two challenges of mine :)</p>
<p>The goal of PaperCSS is to be as minimal as possible when adding classes. For example, a button should just look like a paper button. There shouldn't be a need to add a class such as <code>paper-button</code>. Because of this, adding PaperCSS to a markdown generated page should instantly paper-ize it.</p>
<p>While I'm proud of how it's turned out so far, I think there's a lot that can still be done to make it better. Such things as refactoring, adding more utility classes and more border types (like dashed/dotted) could really polish off this framework. That's why it's open sourced and available for pull requests!</p>
<p>If you are new to Git or Less, this would be a great project to get your feet wet with. I'd be happy to help walk you through the pull request process. Check out the Git repo for more info!</p>
</div>
<div class="row flex-right">
<p>Made with 💛 by <a href="https://vlaservi.ch" target="_blank">Rhyne</a></p>
</div>
</div>
</body>
</html>

2
netlify.toml Normal file
View file

@ -0,0 +1,2 @@
[build]
publish = "public"

12412
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,35 +1,50 @@
{ {
"name": "papercss", "name": "papercss",
"version": "1.0.0", "version": "1.9.2",
"description": "Another CSS framework", "description": "The less formal CSS framework.",
"main": "index.js", "main": "dist/paper.css",
"scripts": { "scripts": {
"start": "node node_modules/gulp/bin/gulp.js", "build": "npm run css:build && npm run hugo:build",
"build": "node node_modules/gulp/bin/gulp.js build", "css:build": "node ./build/build.js",
"test": "echo \"Error: no test specified\" && exit 1" "dev": "concurrently --kill-others \"npm run dev:hot-reload\" \"npm run hugo:serve\"",
"dev:hot-reload": "node ./build/hot-reload.js",
"hugo:build": "hugo -D --source=docs",
"hugo:serve": "hugo server --source=docs --disableFastRender",
"lint": "npm run stylelint",
"start": "npm run hugo:serve",
"stylelint": "stylelint src/**/*.scss"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/rhyneav/papercss.git" "url": "git+https://github.com/papercss/papercss.git"
}, },
"author": "rhyneav", "author": "Rhyne Vlaservich <rhyneav@gmail.com>",
"license": "ISC", "license": "ISC",
"bugs": { "bugs": {
"url": "https://github.com/rhyneav/papercss/issues" "url": "https://github.com/papercss/papercss/issues"
}, },
"homepage": "https://github.com/rhyneav/papercss#readme", "homepage": "https://www.getpapercss.com",
"dependencies": {},
"devDependencies": { "devDependencies": {
"gulp": "3.9.1", "autoprefixer": "^9.8.6",
"gulp-clean-css": "3.9.0", "chai": "^4.1.2",
"gulp-connect": "5.0.0", "chalk": "^4.1.0",
"gulp-less": "3.3.2", "chokidar": "^3.4.2",
"gulp-plumber": "1.1.0", "concurrently": "^5.3.0",
"gulp-rename": "1.2.2", "cssnano": "^4.1.10",
"gulp-watch-less": "1.0.1", "hugo-bin": "^0.62.3",
"install": "0.10.1", "postcss": "^7.0.32",
"less": "2.7.2", "pre-commit": "^1.2.2",
"normalize.css": "7.0.0", "rimraf": "^3.0.2",
"npm": "5.3.0", "sass": "^1.26.10",
"webpack-dev-server": "2.7.1" "stylelint": "^13.7.2",
} "stylelint-config-sass-guidelines": "^7.1.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.18.0",
"write": "^2.0.0"
},
"pre-commit": [
"stylelint"
]
} }

View file

@ -1,58 +0,0 @@
.border, .border-1, .child-borders > *:nth-child(6n+1) {
border: 2px solid @primary;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
border-bottom-right-radius: 225px 15px;
border-bottom-left-radius: 15px 255px;
}
.border-2, .child-borders > *:nth-child(6n+2) {
border-top-left-radius: 125px 25px;
border-top-right-radius: 10px 205px;
border-bottom-right-radius: 20px 205px;
border-bottom-left-radius: 185px 25px;
}
.border-3, .child-borders > *:nth-child(6n+3) {
border-top-left-radius: 15px 225px;
border-top-right-radius: 255px 15px;
border-bottom-left-radius: 225px 15px;
border-bottom-right-radius: 15px 255px;
}
.border-4, .child-borders > *:nth-child(6n+4) {
border-top-left-radius: 15px 225px;
border-top-right-radius: 25px 150px;
border-bottom-left-radius: 25px 115px;
border-bottom-right-radius: 155px 25px;
}
.border-5, .child-borders > *:nth-child(6n+5) {
border-top-left-radius: 250px 15px;
border-top-right-radius: 25px 80px;
border-bottom-left-radius: 20px 115px;
border-bottom-right-radius: 15px 105px;
}
.border-6, .child-borders > *:nth-child(6n+6) {
border-top-left-radius: 28px 125px;
border-top-right-radius: 100px 30px;
border-bottom-right-radius: 20px 205px;
border-bottom-left-radius: 15px 225px;
}
.child-borders > * {
border: 2px solid @primary;
}
.border-primary {
border-color: @primary;
}
.border-secondary {
border-color: @secondary;
}
.border-success {
border-color: @success;
}
.border-warning {
border-color: @warning;
}
.border-danger {
border-color: @danger;
}
.border-white {
border-color: #FFF;
}

View file

@ -1,8 +0,0 @@
// Why is box sizing not the default?
// https://www.paulirish.com/2012/box-sizing-border-box-ftw/
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}

View file

@ -1,46 +0,0 @@
button, .paper-btn {
align-self:center;
background:transparent;
transition:all .5s ease;
color: @primary;
outline:none;
border:solid 2px @primary;
.border;
font-size: 1rem;
padding: .75rem .75rem;
cursor: pointer;
.shadow;
&.btn-large {
.shadow-large;
font-size:2rem;
padding:1rem 1rem;
}
&.btn-small {
.shadow-small;
font-size: .75rem;
padding: .5rem;
}
&.btn-block {
display: block;
width: 100%;
}
&:hover{
.shadow-hover;
}
}
a {
text-decoration: none;
background-image:
linear-gradient(5deg, transparent 65%, @secondary 80%, transparent 90%),
linear-gradient(165deg, transparent 5%, @secondary 15%, transparent 25%),
linear-gradient(165deg, transparent 45%, @secondary 55%, transparent 65%),
linear-gradient(15deg, transparent 25%, @secondary 35%, transparent 50%);
background-repeat:repeat-x;
background-size: 4px 3px;
background-position:0 90%;
&:visited {
text-decoration: none;
color: @primary;
}
}

View file

@ -1,27 +0,0 @@
code {
padding: 2px 4px;
font-size: 80%;
color: @secondary;
background-color: lighten(@primary, 70%);
border-radius: 3px;
}
kbd {
padding: 2px 4px;
font-size: 80%;
color: #fff;
background-color: @primary;
border-radius: 3px;
}
pre {
display: block;
padding: 1em;
font-size: 80%;
line-height: 1.5;
color: @primary;
word-break: break-all;
word-wrap: break-word;
background-color: lighten(@primary, 73%);
border: 1px solid lighten(@primary, 50%);
border-radius: 3px;
overflow-x: auto;
}

View file

@ -1,48 +0,0 @@
@primary: #41403E;
@secondary: #0071DE;
@success: #86a361;
@warning: #ddcd45;
@danger: #a7342d;
@main-colors: @primary, @secondary, @success, @warning, @danger;
@primary-light: lighten(@primary, 50%);
@secondary-light: lighten(@secondary, 50%);
@success-light: lighten(@success, 30%);
@warning-light: lighten(@warning, 30%);
@danger-light: lighten(@danger, 45%);
// Mixin to create colors from list
.text-primary {
color: @primary;
}
.text-secondary {
color: @secondary;
}
.text-success {
color: @success;
}
.text-warning {
color: @warning;
}
.text-danger {
color: @danger;
}
.background {
&-primary {
background-color: @primary-light;
}
&-secondary {
background-color: @secondary-light;
}
&-success {
background-color: @success-light;
}
&-warning {
background-color: @warning-light;
}
&-danger {
background-color: @danger-light;
}
}

View file

@ -0,0 +1,55 @@
.collapsible {
display: flex;
flex-direction: column;
&:nth-of-type(1) {
@include color('border-top-color', 'muted-light');
border-top-style: solid;
border-top-width: 1px;
}
.collapsible-body {
@include color('border-bottom-color', 'muted-light');
@include color('background-color', 'white-dark-light-80');
@include transition;
border-bottom-style: solid;
border-bottom-width: 1px;
margin: 0;
max-height: 0;
opacity: 0;
overflow: hidden;
padding: 0 0.75rem;
}
> input {
display: none;
&:checked + label {
@include color('color', 'primary');
}
&[id^='collapsible']:checked~div.collapsible-body {
margin: 0;
max-height: 960px;
opacity: 1;
padding: 0.75rem;
}
}
> label {
@include color('color', 'primary');
@include color('border-bottom-color', 'muted-light');
border-bottom-style: solid;
border-bottom-width: 1px;
display: inline-block;
font-weight: 600;
margin: 0 0 -1px;
padding: 0.75rem;
text-align: center;
&:hover {
@include color('color', 'muted');
cursor: pointer;
}
}
}

View file

@ -0,0 +1,59 @@
@mixin btn-close-color($base-color-name) {
@include color('color', #{$base-color-name}-text);
&:hover,
&:active,
&:focus {
@include color('color', #{$base-color-name}-dark);
}
}
.alert {
@include color('border-color', 'primary');
@include border-style();
border-style: solid;
border-width: 2px;
margin-bottom: 20px;
padding: 15px;
width: 100%;
&.dismissible {
@include transition;
display: flex;
justify-content: space-between;
max-height: 48rem;
overflow: hidden;
}
.btn-close {
@include transition;
@include btn-close-color(primary);
cursor: pointer;
margin-left: 0.75rem;
}
}
@each $color-name, $color, $color-light, $color-text in $colors {
.alert-#{$color-name} {
@include color('color', #{$color-name}-text);
@include color('background-color', #{$color-name}-light);
@include color('border-color', $color-name);
.btn-close {
@include btn-close-color($color-name);
}
}
}
.alert-state {
display: none;
&:checked + .dismissible {
border-width: 0;
margin: 0;
max-height: 0;
opacity: 0;
padding-bottom: 0;
padding-top: 0;
}
}

View file

@ -0,0 +1,38 @@
article {
.article-title {
font-size: 3rem;
}
.article-meta {
@include color(color, 'muted-text');
font-size: 15px;
a {
@include color(color, 'muted-text');
background-image: none;
&:hover {
@include color(color, 'light-dark');
}
}
}
.text-lead {
font-size: 30px;
line-height: 1.3;
margin: 35px;
}
button {
&:not(:first-of-type) {
margin-left: 2rem;
@include resp(xs) {
margin-left: 0;
}
}
}
p {
line-height: 1.6;
}
}

View file

@ -0,0 +1,22 @@
.badge {
@include border-style();
@include color('color', 'white');
@include color('background-color', 'muted');
@include color('border-color', 'primary');
border: 2px solid;
border-color: transparent;
display: inline-block;
font-size: 75%;
font-weight: 700;
line-height: 1;
padding: 0.25em 0.4em;
text-align: center;
vertical-align: baseline;
white-space: nowrap;
}
@each $colorName, $color in $colors {
.badge.#{$colorName} {
@include color('background-color', #{$colorName});
}
}

View file

@ -0,0 +1,28 @@
ul.breadcrumb {
list-style: none;
padding: 10px 16px;
li {
display: inline;
font-size: 20px;
&::before {
content: '';
}
a {
@include color('color', 'secondary');
background-image: none;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
li + li::before {
content: '/\00a0';
padding: 8px;
}
}

View file

@ -0,0 +1,115 @@
button,
.paper-btn,
[type='button'] {
@include border-style();
@include shadow();
@include transition();
@include color('color', 'primary');
@include color('border-color', 'primary');
@include color('background-color', 'main-background');
align-self: center;
background-image: none;
border-style: solid;
border-width: 2px;
cursor: pointer;
display: inline-block;
font-size: 1rem;
outline: none;
padding: 0.75rem;
@include resp(520px) {
display: inline-block;
margin: 0 auto;
margin-bottom: 1rem;
text-align: center;
}
&.btn-large {
@include shadow(large);
font-size: 2rem;
padding: 1rem;
}
&.btn-small {
@include shadow(small);
font-size: 0.75rem;
padding: 0.5rem;
}
&.btn-block {
display: block;
width: 100%;
}
&:hover {
@include shadow(hover);
}
&:focus {
@include color('border-color', 'secondary');
border-style: solid;
border-width: 2px;
box-shadow: 2px 8px 4px -6px hsla(0, 0%, 0%, 0.3);
}
&:active {
border-color: hsla(0, 0%, 0%, 0.2);
transition: none;
}
&.disabled,
&[disabled] {
cursor: not-allowed;
opacity: 0.5;
}
}
a {
@include color('color', 'secondary');
background-image: linear-gradient(5deg, transparent 65%, $secondary 80%, transparent 90%), linear-gradient(165deg, transparent 5%, $secondary 15%, transparent 25%), linear-gradient(165deg, transparent 45%, $secondary 55%, transparent 65%), linear-gradient(15deg, transparent 25%, $secondary 35%, transparent 50%);
background-position: 0 90%;
background-repeat: repeat-x;
background-size: 4px 3px;
text-decoration: none;
&:visited {
@include color('color', 'primary');
text-decoration: none;
}
}
@each $colorName, $color, $color-light, $color-text in $colors {
button.btn-#{$colorName},
.paper-btn.btn-#{$colorName},
[type='button'].btn-#{$colorName} {
@include color('color', #{$colorName}-text);
@include color('background-color', #{$colorName}-light);
@include color('border-color', #{$colorName});
&:hover {
&:active {
background-color: darken($color-light, 10%);
}
}
}
}
@each $colorName, $color, $color-light, $color-text in $colors {
button.btn-#{$colorName}-outline,
.paper-btn.btn-#{$colorName}-outline,
[type='button'].btn-#{$colorName}-outline {
@include color('background-color', main-background);
@include color('color', #{$colorName});
@include color('border-color', #{$colorName});
&:hover {
background-color: $color-light;
}
&:hover {
&:active {
background-color: darken($color-light, 10%);
}
}
}
}

View file

@ -0,0 +1,69 @@
.card {
@include shadow;
@include color('border-color', 'muted-light');
backface-visibility: hidden;
border-style: solid;
border-width: 2px;
display: flex;
flex-direction: column;
position: relative;
will-change: transform;
word-wrap: break-word;
&:hover {
@include shadow(hover);
}
.card-header,
.card-footer {
@include color('background-color', 'white-dark');
@include color('border-color', 'muted-light');
padding: 0.75rem 1.25rem;
}
.card-header {
border-bottom-style: solid;
border-bottom-width: 2px;
}
.card-footer {
border-top-style: solid;
border-top-width: 2px;
}
.card-body {
flex: 1 1 auto;
padding: 1.25rem;
.card-title,
h4 {
margin-bottom: 0.5rem;
margin-top: 0;
}
.card-subtitle,
h5 {
color: $secondary;
margin-bottom: 0.5rem;
margin-top: 0;
}
.card-text,
p {
margin-bottom: 1rem;
margin-top: 0;
}
.card-link + .card-link,
a + a {
margin-left: 1.25rem;
}
}
.image-top,
.image-bottom,
img {
border: 0;
border-radius: 0;
}
}

443
src/components/_forms.scss Normal file
View file

@ -0,0 +1,443 @@
input,
select,
textarea {
@include color('color', 'primary');
@include color('border-color', 'primary');
background: transparent;
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-style: solid;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
border-width: 2px;
display: block;
font-size: 1rem;
outline: none;
padding: 0.5rem;
&:focus {
@include color('border-color', 'secondary');
border-style: solid;
border-width: 2px;
}
&.disabled,
&[disabled] {
@extend .disabled;
}
}
select {
height: 2.35rem;
}
.disabled {
cursor: not-allowed;
opacity: 0.5;
}
.form-group {
margin-bottom: 1rem;
> label,
legend {
display: inline-block;
margin-bottom: 0.5rem;
}
.input-block {
width: 100%;
}
textarea {
max-height: 90vh;
max-width: 100%;
}
textarea.no-resize {
resize: none;
}
// TODO: make these classes implicit. We can find out what class to apply based on its type
.paper-radio,
.paper-check {
cursor: pointer;
display: block;
margin-bottom: 0.5rem;
/* the basic, unchecked style */
input {
border: 0;
height: 1px;
margin: -1px;
opacity: 0;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
& + span {
display: block;
&::before {
@include color('border-color', 'primary');
border-style: solid;
border-width: 2px;
content: '';
display: inline-block;
height: 1rem;
margin-right: 0.75em;
position: relative;
vertical-align: -0.25em;
width: 1rem;
}
}
/* radio styles */
&[type='radio'] {
& + span::before {
border-bottom-left-radius: 0.7rem 1rem;
border-bottom-right-radius: 1rem 0.9rem;
border-top-left-radius: 1rem 1rem;
border-top-right-radius: 1rem 0.6rem;
}
&:checked + span::before {
$radio-fill: "data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%20100%20100'%3E%3Cpath%20fill%3D'#{$secondary}'%20d%3D'M49.346,46.341c-3.79-2.005,3.698-10.294,7.984-8.89%20c8.713,2.852,4.352,20.922-4.901,20.269c-4.684-0.33-12.616-7.405-14.38-11.818c-2.375-5.938,7.208-11.688,11.624-13.837%20c9.078-4.42,18.403-3.503,22.784,6.651c4.049,9.378,6.206,28.09-1.462,36.276c-7.091,7.567-24.673,2.277-32.357-1.079%20c-11.474-5.01-24.54-19.124-21.738-32.758c3.958-19.263,28.856-28.248,46.044-23.244c20.693,6.025,22.012,36.268,16.246,52.826%20c-5.267,15.118-17.03,26.26-33.603,21.938c-11.054-2.883-20.984-10.949-28.809-18.908C9.236,66.096,2.704,57.597,6.01,46.371%20c3.059-10.385,12.719-20.155,20.892-26.604C40.809,8.788,58.615,1.851,75.058,12.031c9.289,5.749,16.787,16.361,18.284,27.262%20c0.643,4.698,0.646,10.775-3.811,13.746'%3E%3C/path%3E%3C/svg%3E";
background: url('#{str-replace($radio-fill, "#", "%23")}') left center no-repeat;
}
}
/* checkbox styles */
&[type='checkbox'] {
& + span::before {
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
}
/* checked */
&:checked + span::before {
$check-fill: "data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%20100%20100'%3E%3Cpath%20stroke%3D'#{$secondary}'%20fill-opacity%3D'0'%20stroke-width%3D'16'%20d%3D'm13,62c0.61067,1.6%201.3045,2.3045%201.75717,2.75716c0.72683,0.72684%201.24283,1.24284%202.07617,2.07617c0.54133,0.54133%201.04116,1.06035%201.82833,1.82383c0.5781,0.5607%201.00502,0.96983%202.02633,1.74417c0.55877,0.42365%201.191,0.84034%201.884,1.284c1.16491,0.74577%201.59777,1.00147%202.5,1.55067c0.4692,0.28561%201.43689,0.86868%201.93067,1.16534c0.99711,0.59904%201.99667,1.19755%202.49283,1.49866c0.98501,0.59779%201.47073,0.89648%201.94733,1.2c1.3971,0.88972%201.83738,1.19736%202.7,1.7955c0.42201,0.29262%201.24022,0.87785%202.05583,1.41917c0.79531,0.52785%201.59376,1.0075%202.38,1.43867c0.74477,0.40842%201.45167,0.75802%202.37817,1.22517c0.76133,0.38387%201.54947,0.82848%202.40717,1.41084c0.7312,0.49647%201.49563,1.08231%202.27884,1.258c0.35564,0.07978%200.14721,-0.95518%200.35733,-1.86867c0.18092,-0.78651%200.98183,-1.2141%200.99983,-2.07867c0.02073,-0.99529%200.07916,-1.79945%200.42533,-2.56133c0.43607,-0.95973%200.53956,-1.66774%200.79617,-2.68183c0.18888,-0.74645%200.39764,-1.31168%200.7785,-2.6235c0.20865,-0.71867%200.41483,-1.48614%200.708,-2.28c0.15452,-0.41843%200.77356,-1.73138%201.348,-2.64133c0.30581,-0.48443%200.65045,-0.97043%201.0065,-1.4745c0.74776,-1.05863%201.1531,-1.60163%201.9375,-2.77084c0.40621,-0.60548%200.80272,-1.23513%201.2045,-1.8765c0.40757,-0.65062%200.81464,-1.31206%201.2315,-1.9755c0.41946,-0.66757%200.83374,-1.34258%201.73067,-2.648c0.44696,-0.65053%200.91436,-1.28356%201.386,-1.9095c0.46972,-0.6234%200.94725,-1.2364%201.422,-1.8465c0.94116,-1.20947%201.86168,-2.40844%202.30367,-3.0105c0.438,-0.59664%200.86246,-1.19396%201.27501,-1.7895c0.40743,-0.58816%200.80352,-1.17234%201.185,-1.7535c1.10526,-1.68381%201.44079,-2.23511%201.77633,-2.7705c0.32878,-0.52461%200.96306,-1.5459%201.27467,-2.04c0.60654,-0.96177%201.20782,-1.88193%201.51051,-2.325c0.59013,-0.86381%201.17888,-1.68032%201.46416,-2.075c0.5498,-0.76063%201.31747,-1.8231%201.77883,-2.4895c0.43918,-0.63437%200.85266,-1.25267%201.45717,-2.15717c0.59549,-0.891%200.96531,-1.46814%201.51466,-2.22933c0.58413,-0.80936%201.12566,-1.40253%201.83801,-2.12333c0.61304,-0.62031%200.45171,-1.48306%200.7045,-2.34733c0.25668,-0.87762%200.75447,-1.62502%201,-2.40983c0.25128,-0.8032%200.7633,-1.39453%201.33217,-2.25417c0.54528,-0.82398%200.73415,-1.6714%201.31516,-2.336c0.55639,-0.63644%201.38658,-1.22588%201.8595,-1.9c0.5082,-0.72441%200.78867,-1.4%201.60266,-1.56667l0.71184,-0.4905'%3E%3C/path%3E%3C/svg%3E";
background: url('#{str-replace($check-fill, "#", "%23")}') left center no-repeat;
}
}
}
}
.paper-switch-label,
.paper-switch-2-label {
cursor: pointer;
float: left;
}
.paper-switch-label {
margin: -6px 10px 0 0;
}
.paper-switch-2-label {
margin: 0 10px 0 0;
}
.paper-switch,
.paper-switch-2 {
display: block;
float: left;
margin: 0 10px 0 0;
position: relative;
input {
height: 0;
opacity: 0;
width: 0;
&:checked + .paper-switch-slider {
@include color('background-color', 'success-light');
}
&:checked + .paper-switch-slider::before {
transform: translateX(26px);
}
&:focus + .paper-switch-slider {
box-shadow: 0 0 3px $secondary;
}
}
.paper-switch-slider {
@include color('border-color', 'primary');
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-style: solid;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
border-width: 2px;
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
transition: 0.4s;
&::before {
@include color('background', 'secondary');
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
content: '';
left: 4px;
position: absolute;
transition: 0.4s;
}
}
.paper-switch-slider.round {
@include color('border-color', 'primary');
border-bottom-left-radius: 0.7rem 1rem;
border-bottom-right-radius: 1rem 0.9rem;
border-style: solid;
border-top-left-radius: 1rem 1rem;
border-top-right-radius: 1rem 0.6rem;
border-width: 2px;
&::before {
background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%20100%20100'%3E%3Cpath%20fill%3D'%230071de'%20d%3D'M49.346,46.341c-3.79-2.005,3.698-10.294,7.984-8.89%20c8.713,2.852,4.352,20.922-4.901,20.269c-4.684-0.33-12.616-7.405-14.38-11.818c-2.375-5.938,7.208-11.688,11.624-13.837%20c9.078-4.42,18.403-3.503,22.784,6.651c4.049,9.378,6.206,28.09-1.462,36.276c-7.091,7.567-24.673,2.277-32.357-1.079%20c-11.474-5.01-24.54-19.124-21.738-32.758c3.958-19.263,28.856-28.248,46.044-23.244c20.693,6.025,22.012,36.268,16.246,52.826%20c-5.267,15.118-17.03,26.26-33.603,21.938c-11.054-2.883-20.984-10.949-28.809-18.908C9.236,66.096,2.704,57.597,6.01,46.371%20c3.059-10.385,12.719-20.155,20.892-26.604C40.809,8.788,58.615,1.851,75.058,12.031c9.289,5.749,16.787,16.361,18.284,27.262%20c0.643,4.698,0.646,10.775-3.811,13.746'%3E%3C/path%3E%3C/svg%3E") left center no-repeat;
border-bottom-left-radius: 0.7rem 1rem;
border-bottom-right-radius: 1rem 0.9rem;
border-top-left-radius: 1rem 1rem;
border-top-right-radius: 1rem 0.6rem;
left: 4px;
}
}
}
.paper-switch {
height: 12px;
width: 60px;
.paper-switch-slider {
&::before {
bottom: -6px;
height: 20px;
width: 20px;
}
}
.paper-switch-slider.round {
&::before {
bottom: -7px;
height: 23px;
width: 23px;
}
}
}
.paper-switch-2 {
height: 22px;
width: 50px;
.paper-switch-slider {
&::before {
bottom: 2px;
height: 14px;
width: 14px;
}
}
.paper-switch-slider.round {
&::before {
bottom: 2px;
height: 14px;
width: 14px;
}
}
}
.paper-switch-tile {
cursor: pointer;
display: block;
float: left;
height: 80px;
margin: 40px 0 0 40px;
perspective: 1000px;
position: relative;
transform: translate(-50%, -50%);
transform-style: preserve-3d;
width: 80px;
&:hover {
.paper-switch-tile-card {
box-shadow: 2px 8px 4px -5px rgba(0, 0, 0, 0.2);
transform: rotateX(30deg);
}
&:checked + .paper-switch-tile-card {
background-color: transparent;
box-shadow: 0 10px 15px -15px rgba(0, 0, 0, 0.9);
transform: rotateX(150deg);
}
}
input {
display: none;
&:checked + .paper-switch-tile-card {
transform: rotateX(180deg);
}
}
}
.paper-switch-tile-card {
background-color: transparent;
border-color: transparent;
height: 100%;
position: relative;
transform-style: preserve-3d;
transition: all 600ms;
width: 100%;
div {
backface-visibility: hidden;
box-shadow: 2px 8px 8px -5px rgba(0, 0, 0, 0.3);
height: 100%;
line-height: 70px;
position: absolute;
text-align: center;
width: 100%;
}
.paper-switch-tile-card-back {
transform: rotateX(180deg);
}
}
input[type='range'] {
appearance: none;
border-width: 0;
padding: 0;
/* For Chromium */
&::-webkit-slider-runnable-track {
@include color('background', 'secondary');
@include color('border-color', 'primary');
border-radius: 18px;
border-style: solid;
border-width: 1px;
box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
cursor: pointer;
height: 8px;
margin: 10px 0;
width: 100%;
}
&::-webkit-slider-thumb {
@include color('background', 'white');
@include color('border-color', 'primary');
appearance: none;
border-bottom-left-radius: 0.7rem 1rem;
border-bottom-right-radius: 1rem 0.9rem;
border-style: solid;
border-top-left-radius: 1rem 1rem;
border-top-right-radius: 1rem 0.6rem;
border-width: 1px;
box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
cursor: pointer;
height: 36px;
margin-top: -14px;
width: 16px;
}
/* For Mozilla Firefox */
&::-moz-range-track {
@include color('background', 'secondary');
@include color('border-color', 'primary');
border-radius: 18px;
box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
cursor: pointer;
height: 8px;
width: 100%;
}
&::-moz-range-thumb {
@include color('background', 'white');
@include color('border-color', 'primary');
border-bottom-left-radius: 0.7rem 1rem;
border-bottom-right-radius: 1rem 0.9rem;
border-style: solid;
border-top-left-radius: 1rem 1rem;
border-top-right-radius: 1rem 0.6rem;
border-width: 1px;
box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
cursor: pointer;
height: 36px;
width: 16px;
}
/* For IE */
&::-ms-track {
background: transparent;
border-color: transparent;
border-width: 16px 0;
color: transparent;
cursor: pointer;
height: 8px;
width: 100%;
}
&::-ms-fill-lower,
&::-ms-fill-upper {
@include color('background', 'secondary');
@include color('border-color', 'primary');
border-radius: 18px;
border-style: solid;
border-width: 1px;
box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
}
&::-ms-thumb {
@include color('background', 'white');
@include color('border-color', 'primary');
border: 1px solid $primary;
border-bottom-left-radius: 0.7rem 1rem;
border-bottom-right-radius: 1rem 0.9rem;
border-style: solid;
border-top-left-radius: 1rem 1rem;
border-top-right-radius: 1rem 0.6rem;
border-width: 1px;
box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
cursor: pointer;
height: 36px;
width: 16px;
}
}
}
fieldset.form-group {
border: 0;
padding: 0;
}

124
src/components/_modals.scss Normal file
View file

@ -0,0 +1,124 @@
.modal {
@include transition(opacity);
background: rgba(#000, 0.6);
bottom: 0;
flex: 1 1 auto;
left: 0;
opacity: 0;
position: fixed;
right: 0;
text-align: left;
top: 0;
visibility: hidden;
word-wrap: break-word;
z-index: 200;
// modal background
&-bg {
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
}
.modal-body {
@include color('color', 'primary');
@include color('background', 'main-background');
@include color('border-color', 'muted-light');
@include transition;
backface-visibility: hidden;
border: 2px solid;
left: 50%;
padding: 1.25rem;
position: absolute;
top: 0;
transform: translate(-50%, -50%);
@include resp(sm) {
box-sizing: border-box;
width: 90%;
}
}
.btn-close {
@include color('color', 'primary-light');
@include transition;
cursor: pointer;
font-size: 30px;
height: 1.1rem;
position: absolute;
right: 1rem;
text-decoration: none;
top: 1rem;
width: 1.1rem;
&:hover,
&:active,
&:focus {
@include color('color', 'primary');
}
}
h4,
.modal-title {
margin-bottom: 0.5rem;
margin-top: 0;
}
h5,
.modal-subtitle {
@include color('color', 'secondary');
margin-bottom: 0.5rem;
margin-top: 0;
}
p,
.modal-text {
margin-bottom: 1rem;
margin-top: 0;
}
.modal-link+.modal-link,
a+a {
margin-left: 1.25rem;
}
.paper-btn {
@include color('background', 'main-background');
display: inline-block;
text-decoration: none;
}
.modal-link,
a {
background-image: linear-gradient(5deg, transparent 65%, $secondary 80%, transparent 90%), linear-gradient(165deg, transparent 5%, $secondary 15%, transparent 25%), linear-gradient(165deg, transparent 45%, $secondary 55%, transparent 65%), linear-gradient(15deg, transparent 25%, $secondary 35%, transparent 50%);
background-position: 0 90%;
background-repeat: repeat-x;
background-size: 4px 3px;
cursor: pointer;
text-decoration: none;
&:hover,
&:focus,
&:visited {
@include color('color', 'primary');
text-decoration: none;
}
}
}
.modal-state {
display: none;
&:checked+.modal {
opacity: 1;
visibility: visible;
.modal-body {
top: 50%;
}
}
}

174
src/components/_navbar.scss Normal file
View file

@ -0,0 +1,174 @@
nav {
@include color('background-color', 'main-background');
display: flex;
padding: 0.3rem;
position: relative;
width: 100%;
z-index: 100;
@include resp(small) {
display: block;
}
.bar1,
.bar2,
.bar3 {
@include color('background-color', 'primary');
@include color('border-color', 'primary');
@include color('color', 'primary');
border-bottom-left-radius: 15px 5px;
border-bottom-right-radius: 15px 3px;
border-bottom-style: solid;
border-bottom-width: 5px;
margin: 6px 0;
transition: 0.4s;
width: 2rem;
}
.collapsible input[id^=collapsible]:checked + button, // Leaving for backwards compatibility. See docs for proper usage
.collapsible input[id^=collapsible]:checked + label {
.bar1 {
transform: rotate(-45deg) translate(-9px, 7px);
}
.bar2 {
opacity: 0;
}
.bar3 {
transform: rotate(45deg) translate(-8px, -9px);
}
}
&.split-nav {
justify-content: space-between;
}
&.fixed {
left: 0;
position: fixed;
right: 0;
top: 0;
}
div {
margin: 0 1rem;
}
ul.inline {
margin-bottom: 0;
margin-top: 10px;
padding: 0;
}
ul.inline li {
display: inline-block;
margin: 0 0.5rem;
@include resp(small) {
display: block;
margin: 1rem 0;
}
}
a {
@include color('color', 'primary');
@include color('border-bottom-color', 'primary');
background-image: none;
border-bottom-left-radius: 15px 3px;
border-bottom-right-radius: 15px 5px;
border-bottom-style: solid;
border-bottom-width: 5px;
padding-bottom: 0.1rem;
}
a:hover {
@include color('border-color', 'primary-light');
border-bottom-style: solid;
border-bottom-width: 5px;
}
ul.inline li a {
font-size: 1.3rem;
}
ul.inline li::before {
content: '';
}
ul {
@include resp(medium) {
text-align: center;
}
}
.nav-brand {
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
margin-bottom: 0.2rem;
}
}
.collapsible {
@include resp(small) {
width: 100%;
}
}
.collapsible input[id^=collapsible]:checked ~ div.collapsible-body {
margin: 0;
max-height: 960px;
opacity: 1;
padding: 0;
}
.collapsible:nth-of-type(1),
.collapsible .collapsible-body {
border: 0;
@include resp(null, $small-screen + 1px) {
display: contents;
}
}
div.collapsible-body {
padding: none;
}
.collapsible label {
@include color('border-color', 'primary');
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-style: solid;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
border-width: 2px;
}
.collapsible > button {
// Leaving for backwards compatibility. See docs for proper usage
border: 0;
}
.collapsible > button, // Leaving for backwards compatibility. See docs for proper usage
.collapsible > label {
@include color('background-color', 'main-background');
display: none;
font-size: 0.5rem;
margin-right: 1rem;
padding: 0.25rem;
position: absolute;
right: 0;
top: 0.2rem;
@include resp(small) {
display: block;
}
}
}

View file

@ -0,0 +1,99 @@
// Core popovers
[popover-top],
[popover-right],
[popover-bottom],
[popover-left] {
margin: 24px;
position: relative;
// Popover hover trigger
&:hover {
&::after {
opacity: 1;
transition: opacity 235ms ease-in-out, visibility 0s linear;
visibility: visible;
}
}
// Creating popover::after element
&::after {
@include border-style();
@include color('background-color', 'light-dark');
@include color('border-color', 'light-dark');
@include color('color', 'primary-inverse');
border-style: solid;
border-width: 2px;
font-size: 0.7em;
left: 50%;
min-width: 80px;
opacity: 0;
padding: 4px 2px;
position: absolute;
text-align: center;
top: -6px;
transform: translateX(-50%) translateY(-100%);
transition: opacity 235ms ease-in-out, visibility 0s linear 235ms;
visibility: hidden;
}
}
// Popover positioning: left, right, top, bottom
[popover-left] {
&::before {
left: 0;
margin-left: -12px;
top: 50%;
transform: translateY(-50%) rotate(-90deg);
}
&::after {
content: attr(popover-left);
left: 0;
margin-left: -8px;
top: 50%;
transform: translateX(-100%) translateY(-50%);
}
}
[popover-right] {
&::before {
left: 100%;
margin-left: 1px;
top: 50%;
transform: translatey(-50%) rotate(90deg);
}
&::after {
content: attr(popover-right);
left: 100%;
margin-left: 8px;
top: 50%;
transform: translateX(0%) translateY(-50%);
}
}
[popover-top] {
&::before {
left: 50%;
}
&::after {
content: attr(popover-top);
left: 50%;
}
}
[popover-bottom] {
&::before {
margin-top: 8px;
top: 100%;
transform: translateX(-50%) translatey(-100%) rotate(-180deg);
}
&::after {
content: attr(popover-bottom);
margin-top: 8px;
top: 100%;
transform: translateX(-50%) translateY(0%);
}
}

View file

@ -0,0 +1,49 @@
.progress {
@include border-style(5);
@include color('border-color', 'primary');
border: 2px solid;
box-shadow: $shadow-hover;
height: 1.2rem;
overflow: hidden;
width: 100%;
.bar {
@include border-style(5);
@include transition;
@include color('background-color', 'primary-light');
@include color('border-color', 'primary');
border-right: 2px solid;
display: flex;
flex-direction: column;
font-size: 0.6rem;
height: 100%;
justify-content: center;
text-align: center;
width: 0%;
&.striped {
@include striped-background($primary-light);
}
@each $colorName, $color, $color-light in $colors {
&.#{$colorName} {
@include color('background-color', #{$colorName}-light);
&.striped {
@include striped-background($color-light);
}
}
}
@for $i from 0 through 100 {
&.w-#{$i} {
width: $i * 1%;
}
}
&.w-0,
&.w-100 {
border-right: 0;
}
}
}

38
src/components/_tabs.scss Normal file
View file

@ -0,0 +1,38 @@
.tabs {
.content {
display: none;
flex-basis: 100%;
padding: 0.75rem 0 0;
}
input {
display: none;
&:checked + label {
@include color(color, 'primary');
@include color('border-bottom-color', 'secondary');
border-bottom-style: solid;
border-bottom-width: 3px;
}
@for $num from 1 through 5 {
&[id$='tab#{$num}']:checked~div[id$='content#{$num}'] {
display: block;
}
}
}
label {
@include color('color', primary-light);
display: inline-block;
font-weight: 600;
margin: 0 0 -1px;
padding: 0.75rem;
text-align: center;
&:hover {
@include color('color', muted);
cursor: pointer;
}
}
}

View file

@ -0,0 +1,163 @@
$base: 1rem;
$large: 2rem;
$small: 0.5rem;
.margin {
margin: $base;
&-top {
margin-top: $base;
&-large {
margin-top: $large;
}
&-small {
margin-top: $small;
}
&-none {
margin-top: 0;
}
}
&-right {
margin-right: $base;
&-large {
margin-right: $large;
}
&-small {
margin-right: $small;
}
&-none {
margin-right: 0;
}
}
&-bottom {
margin-bottom: $base;
&-large {
margin-bottom: $large;
}
&-small {
margin-bottom: $small;
}
&-none {
margin-bottom: 0;
}
}
&-left {
margin-left: $base;
&-large {
margin-left: $large;
}
&-small {
margin-left: $small;
}
&-none {
margin-left: 0;
}
}
&-large {
margin: $large;
}
&-small {
margin: $small;
}
&-none {
margin: 0;
}
}
.padding {
padding: $base;
&-top {
padding-top: $base;
&-large {
padding-top: $large;
}
&-small {
padding-top: $small;
}
&-none {
padding-top: 0;
}
}
&-right {
padding-right: $base;
&-large {
padding-right: $large;
}
&-small {
padding-right: $small;
}
&-none {
padding-right: 0;
}
}
&-bottom {
padding-bottom: $base;
&-large {
padding-bottom: $large;
}
&-small {
padding-bottom: $small;
}
&-none {
padding-bottom: 0;
}
}
&-left {
padding-left: $base;
&-large {
padding-left: $large;
}
&-small {
padding-left: $small;
}
&-none {
padding-left: 0;
}
}
&-large {
padding: $large;
}
&-small {
padding: $small;
}
&-none {
padding: 0;
}
}

View file

@ -1,56 +0,0 @@
@large-screen: ~"screen and (max-width: 1200px)";
@medium-screen: ~"screen and (max-width: 992px)";
@small-screen: ~"screen and (max-width: 768px)";
@xsmall-screen: ~"screen and (max-width: 480px)";
.container {
width: 100%;
max-width: 960px;
position: relative;
margin: 0 auto;
@media @medium-screen {
width: 85%;
}
@media @xsmall-screen {
width: 90%;
}
}
.hr-after() {
text-align: center;
color: lighten(@primary, 30%);
display: block;
content: "~~~";
position: relative;
font-size: 1.5rem;
}
.section {
margin-top: 1rem;
margin-bottom: 2rem;
}
.section:after {
.hr-after;
}
hr {
border: 0;
}
hr:after {
.hr-after;
top: -.75rem;
}
.paper {
border: 1px solid @primary-light;
background-color: #FFF;
padding: 2rem;
margin-top: 1rem;
margin-bottom: 1rem;
-webkit-box-shadow: -1px 5px 35px -9px hsla(0,0%,0%,.2);
-moz-box-shadow: -1px 5px 35px -9px hsla(0,0%,0%,.2);
box-shadow: -1px 5px 35px -9px hsla(0,0%,0%,.2);
@media @xsmall-screen {
padding: 1rem;
width: 100%;
margin-top: 0;
margin-bottom: 0;
}
}

42
src/content/_code.scss Normal file
View file

@ -0,0 +1,42 @@
code {
@include color('color', 'secondary');
@include color('background-color', 'primary-shaded-70');
border-radius: 3px;
font-size: 80%;
padding: 2px 4px;
}
kbd {
@include color('color', 'primary-inverse');
@include color('background-color', 'primary');
border-radius: 3px;
font-size: 80%;
padding: 2px 4px;
}
pre {
@include color('color', 'inverse-primary');
@include color('background-color', 'primary-shaded-70');
@include color('border-color', 'primary-shaded-50');
border-radius: 3px;
border-style: solid;
border-width: 1px;
display: block;
font-size: 80%;
line-height: 1.5;
overflow-x: auto;
padding: 1em;
white-space: pre;
word-break: break-all;
word-wrap: break-word;
code {
@include color('color', 'inverse-primary');
background: transparent;
display: block;
font-size: inherit;
padding: initial;
white-space: pre;
}
}

68
src/content/_fonts.scss Normal file
View file

@ -0,0 +1,68 @@
html {
@include color('color', 'primary');
font-family: $body-font, sans-serif;
font-size: $global-font-size;
}
p,
a,
button,
li,
table,
thead,
tbody,
th,
tr,
td,
input,
textarea,
select,
option {
font-family: $body-font, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: $header-font, sans-serif;
font-weight: normal;
}
h1 {
font-size: 4rem;
}
h2 {
font-size: 3rem;
}
h3 {
font-size: 2rem;
}
h4 {
font-size: 1.5rem;
}
h5 {
font-size: 1rem;
}
h6 {
font-size: 0.8rem;
}
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}

30
src/content/_images.scss Normal file
View file

@ -0,0 +1,30 @@
img {
@include border-style();
@include color('border-color', 'primary');
border-style: solid;
border-width: 2px;
display: block;
height: auto;
max-width: 100%;
&.float-left {
float: left;
margin: 1rem 1rem 1rem 0;
}
&.float-right {
float: right;
margin: 1rem 0 1rem 1rem;
}
&.no-responsive {
display: initial;
height: initial;
max-width: initial;
}
&.no-border {
border: 0;
border-radius: 0;
}
}

63
src/content/_lists.scss Normal file
View file

@ -0,0 +1,63 @@
ol {
list-style-type: decimal;
ol {
list-style-type: upper-alpha;
ol {
list-style-type: upper-roman;
ol {
list-style-type: lower-alpha;
ol {
list-style-type: lower-roman;
}
}
}
}
}
ul {
@include li-bullet('-');
list-style: none;
margin-left: 0;
li {
text-indent: -7px;
.badge,
[popover-bottom]::after,
[popover-left]::after,
[popover-right]::after,
[popover-top]::after {
text-indent: 0;
}
&::before {
left: -7px;
position: relative;
}
}
ul {
@include li-bullet('+');
ul {
@include li-bullet('~');
ul {
@include li-bullet('');
ul {
@include li-bullet('');
}
}
}
}
&.inline li {
display: inline;
margin-left: 5px;
}
}

38
src/content/_tables.scss Normal file
View file

@ -0,0 +1,38 @@
table {
box-sizing: border-box;
max-width: 100%;
overflow-x: auto;
width: 100%;
@include resp(xsmall) {
thead tr th {
padding: 2%;
}
tbody tr td {
padding: 2%;
}
}
thead tr th {
line-height: 1.5;
padding: 8px;
text-align: left;
vertical-align: bottom;
}
tbody tr td {
border-top: 1px dashed lighten($primary, 60%);
line-height: 1.5;
padding: 8px;
vertical-align: top;
}
&.table-hover tbody tr:hover {
@include color('color', 'secondary');
}
&.table-alternating tbody tr:nth-of-type(even) {
color: lighten($primary, 25%);
}
}

300
src/core/_config.scss Normal file
View file

@ -0,0 +1,300 @@
/**
Global PaperCSS Config
*/
// The src for fonts (false to disable)
$font-src: 'https://fonts.googleapis.com/css?family=Neucha|Patrick+Hand+SC&display=swap' !default;
// Imports
@if $font-src {
@import url($font-src);
}
// Set theme colors
$primary: #41403e !default;
$secondary: #0b74d5 !default;
$success: #86a361 !default;
$warning: #ddcd45 !default;
$danger: #a7342d !default;
$muted: #868e96 !default;
$primary-light: lighten($primary, 55%) !default;
$secondary-light: lighten($secondary, 48%) !default;
$success-light: lighten($success, 32%) !default;
$warning-light: lighten($warning, 30%) !default;
$danger-light: lighten($danger, 45%) !default;
$muted-light: lighten($muted, 35%) !default;
$primary-dark: darken($primary, 50%) !default;
$secondary-dark: darken($secondary, 50%) !default;
$success-dark: darken($success, 30%) !default;
$warning-dark: darken($warning, 30%) !default;
$danger-dark: darken($danger, 45%) !default;
$muted-dark: darken($muted, 35%) !default;
$primary-light-10: lighten($primary, 10%) !default;
$secondary-light-10: lighten($secondary, 10%) !default;
$success-light-10: lighten($success, 10%) !default;
$warning-light-10: lighten($warning, 10%) !default;
$danger-light-10: lighten($danger, 10%) !default;
$muted-light-10: lighten($muted, 10%) !default;
$primary-dark-10: darken($primary, 10%) !default;
$secondary-dark-10: darken($secondary, 10%) !default;
$success-dark-10: darken($success, 23%) !default;
$warning-dark-10: darken($warning, 30%) !default;
$danger-dark-10: darken($danger, 10%) !default;
$muted-dark-10: darken($muted, 10%) !default;
$primary-shaded-70: lighten($primary, 70%) !default;
$primary-shaded-50: lighten($primary, 50%) !default;
$white-dark: rgba(#000, 0.03) !default;
$white-dark-light-80: lighten($white-dark, 80%) !default;
$light-dark: rgba(#000, 0.7) !default;
$white: rgba(#fff, 1) !default;
$main-background: rgba(#fff, 1) !default;
$black: rgba(#000, 1) !default;
$main-background-light: lighten($main-background, 50%) !default;
$primary-text: $primary-dark-10 !default;
$secondary-text: $secondary-dark-10 !default;
$success-text: $success-dark-10 !default;
$warning-text: $warning-dark-10 !default;
$danger-text: $danger-dark-10 !default;
$muted-text: $muted-dark-10 !default;
$shadow-color-regular: hsla(0, 0%, 0%, 0.2) !default;
$shadow-color-hover: hsla(0, 0%, 0%, 0.3) !default;
$primary-inverse: #fff !default;
// Set dark theme colors
$dark-primary: #fff !default;
$dark-secondary: #5595ce !default;
$dark-success: #70c272 !default;
$dark-warning: #d4c252 !default;
$dark-danger: #df4c57 !default;
$dark-muted: #868e96 !default;
$dark-primary-light: lighten($dark-primary, 5%) !default;
$dark-secondary-light: lighten($dark-secondary, 5%) !default;
$dark-success-light: lighten($dark-success, 5%) !default;
$dark-warning-light: lighten($dark-warning, 5%) !default;
$dark-danger-light: lighten($dark-danger, 5%) !default;
$dark-muted-light: lighten($dark-muted, 5%) !default;
$dark-primary-dark: darken($dark-primary, 50%) !default;
$dark-secondary-dark: darken($dark-secondary, 30%) !default;
$dark-success-dark: darken($dark-success, 35%) !default;
$dark-warning-dark: darken($dark-warning, 30%) !default;
$dark-danger-dark: darken($dark-danger, 30%) !default;
$dark-muted-dark: darken($dark-muted, 35%) !default;
$dark-primary-light-10: lighten($dark-primary, 10%) !default;
$dark-secondary-light-10: lighten($dark-secondary, 10%) !default;
$dark-success-light-10: lighten($dark-success, 10%) !default;
$dark-warning-light-10: lighten($dark-warning, 10%) !default;
$dark-danger-light-10: lighten($dark-danger, 10%) !default;
$dark-muted-light-10: lighten($dark-muted, 10%) !default;
$dark-primary-dark-10: darken($dark-primary, 10%) !default;
$dark-secondary-dark-10: darken($dark-secondary, 10%) !default;
$dark-success-dark-10: darken($dark-success, 10%) !default;
$dark-warning-dark-10: darken($dark-warning, 10%) !default;
$dark-danger-dark-10: darken($dark-danger, 10%) !default;
$dark-muted-dark-10: darken($dark-muted, 10%) !default;
$dark-primary-shaded-70: darken($primary, 7%) !default;
$dark-primary-shaded-50: darken($primary, 5%) !default;
$dark-white-dark: rgba(#fff, 0.03) !default;
$dark-white-dark-light-80: lighten($dark-white-dark, 80%) !default;
$dark-light-dark: rgba(#fff, 0.7) !default;
$dark-white: rgba(#fff, 1) !default;
$dark-main-background: rgba($primary, 1) !default;
$dark-main-background-light: lighten($dark-main-background, 50%) !default;
$dark-black: rgba(#000, 1) !default;
$dark-primary-text: $primary !default;
$dark-secondary-text: $dark-secondary-dark !default;
$dark-success-text: $dark-success-dark !default;
$dark-warning-text: $dark-warning-dark !default;
$dark-danger-text: $dark-danger-dark !default;
$dark-muted-text: $dark-muted-light !default;
$dark-shadow-color-regular: hsla(0, 0%, 0%, 0.2) !default;
$dark-shadow-color-hover: hsla(0, 0%, 0%, 0.3) !default;
$dark-primary-inverse: $primary !default;
$theme-map: (
light: (
primary: $primary,
secondary: $secondary,
success: $success,
warning: $warning,
danger: $danger,
muted: $muted,
primary-light: $primary-light,
secondary-light:$secondary-light,
success-light:$success-light,
warning-light:$warning-light,
danger-light:$danger-light,
muted-light:$muted-light,
primary-dark: $primary-dark,
secondary-dark:$secondary-dark,
success-dark:$success-dark,
warning-dark:$warning-dark,
danger-dark:$danger-dark,
muted-dark:$muted-dark,
primary-light-10:$primary-light-10,
secondary-light-10:$secondary-light-10,
success-light-10:$success-light-10,
warning-light-10:$warning-light-10,
danger-light-10:$danger-light-10,
muted-light-10:$muted-light-10,
primary-dark-10:$primary-dark-10,
secondary-dark-10:$secondary-dark-10,
success-dark-10:$success-dark-10,
warning-dark-10:$warning-dark-10,
danger-dark-10:$danger-dark-10,
muted-dark-10:$muted-dark-10,
primary-shaded-50: $primary-shaded-50,
primary-shaded-70: $primary-shaded-70,
white-dark:$white-dark,
white-dark-light-80:$white-dark-light-80,
light-dark:$light-dark,
'white':$white,
main-background: $main-background,
main-background-light: $main-background-light,
'black': $black,
primary-text:$primary-text,
secondary-text:$secondary-text,
success-text:$success-text,
warning-text:$warning-text,
danger-text:$danger-text,
muted-text:$muted-text,
shadow-color-regular: $shadow-color-regular,
shadow-color-hover: $shadow-color-hover,
primary-inverse: $primary-inverse,
),
dark: (
primary: $dark-primary,
secondary: $dark-secondary,
success: $dark-success,
warning: $dark-warning,
danger: $dark-danger,
muted: $dark-muted,
primary-light: $dark-primary-light,
secondary-light:$dark-secondary-light,
success-light:$dark-success-light,
warning-light:$dark-warning-light,
danger-light:$dark-danger-light,
muted-light:$dark-muted-light,
primary-dark: $dark-primary-dark,
secondary-dark:$dark-secondary-dark,
success-dark:$dark-success-dark,
warning-dark:$dark-warning-dark,
danger-dark:$dark-danger-dark,
muted-dark:$dark-muted-dark,
primary-light-10:$dark-primary-light-10,
secondary-light-10:$dark-secondary-light-10,
success-light-10:$dark-success-light-10,
warning-light-10:$dark-warning-light-10,
danger-light-10:$dark-danger-light-10,
muted-light-10:$dark-muted-light-10,
primary-dark-10:$dark-primary-dark-10,
secondary-dark-10:$dark-secondary-dark-10,
success-dark-10:$dark-success-dark-10,
warning-dark-10:$dark-warning-dark-10,
danger-dark-10:$dark-danger-dark-10,
muted-dark-10:$dark-muted-dark-10,
primary-shaded-50: $dark-primary-shaded-50,
primary-shaded-70: $dark-primary-shaded-70,
white-dark:$dark-white-dark,
white-dark-light-80:$dark-white-dark-light-80,
light-dark:$dark-light-dark,
'white':$dark-white,
main-background: $dark-main-background,
main-background-light: $dark-main-background-light,
'black': $dark-black,
primary-text:$dark-primary-text,
secondary-text:$dark-secondary-text,
success-text:$dark-success-text,
warning-text:$dark-warning-text,
danger-text:$dark-danger-text,
muted-text:$dark-muted-text,
shadow-color-regular: $dark-shadow-color-regular,
shadow-color-hover: $dark-shadow-color-hover,
primary-inverse: $dark-primary-inverse,
)
);
html {
@each $var in map-keys(map-get($theme-map, 'light')) {
--#{$var}: #{map-get(map-get($theme-map, 'light'), $var)};
}
}
html.dark {
@each $var in map-keys(map-get($theme-map, 'dark')) {
--#{$var}: #{map-get(map-get($theme-map, 'dark'), $var)};
}
}
@mixin color($property, $varName) {
// IE falls back to light theme always
#{$property}: #{map-get(map-get($theme-map, 'light'), 'primary')};
#{$property}: var(--#{$varName});
}
// Map to set your color names
/* stylelint-disable */
$colors: (primary, $primary, $primary-light, $primary-text),
(secondary, $secondary, $secondary-light, $secondary-text),
(success, $success, $success-light, $success-text),
(warning, $warning, $warning-light, $warning-text),
(danger, $danger, $danger-light, $danger-text),
(muted, $muted, $muted-light, $muted-text);
/* stylelint-enable */
/**
This Loop will generate the various .text- and .background- classes
based on the $colors map above.
*/
@each $colorName, $color, $color-light in $colors {
.text-#{$colorName} {
@include color('color',#{$colorName});
}
.background-#{$colorName} {
@include color('background-color',#{$colorName}-light);
}
}
// Font settings
$global-font-size: 20px !default;
$header-font: 'Patrick Hand SC' !default;
$body-font: 'Neucha' !default;
$font-color: $primary !default;
// Responsive breakpoints
$large-screen: 1200px !default;
$medium-screen: 992px !default;
$small-screen: 768px !default;
$xsmall-screen: 480px !default;
// Sizes for shadows
$shadow-small: 10px 19px 17px -13px $shadow-color-regular !default;
$shadow-regular: 15px 28px 25px -18px $shadow-color-regular !default;
$shadow-large: 20px 38px 34px -26px $shadow-color-regular !default;
$shadow-hover: 2px 8px 8px -5px $shadow-color-hover !default;

Some files were not shown because too many files have changed in this diff Show more