Compare commits

..

49 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
24 changed files with 2528 additions and 4308 deletions

View file

@ -4,7 +4,6 @@
/img
/node_modules
/public
/src
.browserslistrc
.editorconfig
.stylelintrc.json
@ -12,4 +11,3 @@ CODE_OF_CONDUCT.md
CONTRIBUTING.md
netlify.toml
npm-debug.log
yarn.lock

View file

@ -6,16 +6,15 @@ This project is open source and contributions are very welcomed. It is also as b
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), ...
We use node-sass to transform the SCSS to plain CSS. Compiling on Windows machines require the [node-gyp prerequisites](https://github.com/nodejs/node-gyp#on-windows) (including an instalation of Python).
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-"
- Start the local web-server: `gulp` or `npm start`
- 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**!

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

View file

@ -12,12 +12,12 @@
- [Table of contents](#table-of-contents)
- [Quick-start](#quick-start)
- [Status](#status)
- [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
@ -29,15 +29,8 @@ There are several options available:
- 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`
## Status
[![Build status](https://travis-ci.org/papercss/papercss.svg?branch=master)](https://travis-ci.org/papercss/papercss)
[![Dependencies](https://img.shields.io/david/papercss/papercss.svg)](https://david-dm.org/papercss/papercss)
[![Peer dependencies](https://img.shields.io/david/peer/papercss/papercss.svg)](https://david-dm.org/papercss/papercss?type=peer)
[![Dev dependencies](https://img.shields.io/david/dev/papercss/papercss.svg)](https://david-dm.org/papercss/papercss?type=dev)
- `https://unpkg.com/papercss/dist/paper.min.css`
- `https://unpkg.com/papercss/dist/paper.css`
## Content of the framework
@ -59,7 +52,7 @@ You can customize PaperCSS easily, clone the repo, run `npm install` and make an
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 `gulp build` and get them from the `dist/` folder.
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
@ -67,16 +60,15 @@ This project is open source and contributions are very welcomed. It is also as b
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), ...
We use node-sass to transform the SCSS to plain CSS. Compiling on Windows machines require the [node-gyp prerequisites](https://github.com/nodejs/node-gyp#on-windows) (including an instalation of Python).
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-"
- Start the local web-server: `gulp` or `npm start`
- 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**!
@ -86,7 +78,7 @@ Note: If you have a hotfix (usually typos and minor documentation tweaks), creat
## About
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).
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.
@ -94,6 +86,22 @@ Feel free to use it for wireframes, web apps, blogs, or whatever else you can th
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.
## Resources
Components:
- [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
Icons:
- [handdrawn.css](https://fxaeberhard.github.io/handdrawn.css/) Another hand-drawn css library with rich icons included
- [hand-drawn-icons](https://github.com/nikhilol/hand-drawn-icons) Icon pack with a hand-drawn style
## Credits and license
Code and documentation under [ISC license](https://github.com/papercss/papercss/blob/master/license).

View file

@ -1,32 +1,27 @@
const fs = require('fs');
const path = require('path');
const sass = require('sass');
const chalk = require('chalk');
const write = require('write');
const rimraf = require('rimraf');
const postcss = require('postcss');
const cssnano = require('cssnano');
const autoprefixer = require('autoprefixer');
function log(...args) {
return console.log('📦', chalk.cyan(...args));
}
const constants = require('./constants');
const log = require('./log');
async function build() {
const entrypoint = path.resolve(__dirname, '../src/styles.scss');
const paperDocsPath = path.resolve(__dirname, '../docs/static/assets/paper.css');
log('Starting PaperCSS build...');
log('Cleaning "dist/, docs/static/assets/paper.css" folder...');
rimraf.sync('dist', { disableGlob: true });
if (fs.existsSync(paperDocsPath)) {
fs.unlinkSync(paperDocsPath);
if (fs.existsSync(constants.PAPER_DOCS_PATH)) {
fs.unlinkSync(constants.PAPER_DOCS_PATH);
}
log('Compiling SCSS to CSS, entrypoint:', entrypoint);
log('Compiling SCSS to CSS, entrypoint:', constants.ENTRYPOINT_PATH);
const compiledCSS = sass.renderSync({ file: entrypoint });
const compiledCSS = sass.renderSync({ file: constants.ENTRYPOINT_PATH });
log('Processing CSS: autoprefixer...');
@ -36,14 +31,11 @@ async function build() {
const minifiedCSS = await postcss([cssnano]).process(autoprefixedCSS.css, { from: undefined });
const paperPath = path.resolve(__dirname, '../dist/paper.css');
const paperminpath = path.resolve(__dirname, '../dist/paper.min.css');
log('Writing paper.css and paper.min.css files to dist/ and docs/ folders...');
write(paperPath, autoprefixedCSS.css);
write(paperminpath, minifiedCSS.css);
write(paperDocsPath, autoprefixedCSS.css);
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!');
}

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;

230
dist/paper.css vendored
View file

@ -3,17 +3,17 @@
/**
Global PaperCSS Config
*/
@import url("https://fonts.googleapis.com/css?family=Neucha|Patrick+Hand+SC");
@import url("https://fonts.googleapis.com/css?family=Neucha|Patrick+Hand+SC&display=swap");
html {
--primary: #41403e;
--secondary: #0071de;
--secondary: #0b74d5;
--success: #86a361;
--warning: #ddcd45;
--danger: #a7342d;
--muted: #868e96;
--primary-light: #c1c0bd;
--secondary-light: #deefff;
--success-light: #d0dbc2;
--primary-light: #cdcccb;
--secondary-light: #d8ebfd;
--success-light: #d5dfc8;
--warning-light: #f5f0c6;
--danger-light: #f0cbc9;
--muted-light: #e6e7e9;
@ -24,15 +24,15 @@ html {
--danger-dark: black;
--muted-dark: #313538;
--primary-light-10: #5b5a57;
--secondary-light-10: #128bff;
--secondary-light-10: #208ef3;
--success-light-10: #9fb681;
--warning-light-10: #e5d970;
--danger-light-10: #cb453c;
--muted-light-10: #a1a8ae;
--primary-dark-10: #272625;
--secondary-dark-10: #0057ab;
--success-dark-10: #6c844d;
--warning-dark-10: #cab925;
--secondary-dark-10: #085aa5;
--success-dark-10: #4a5a35;
--warning-dark-10: #746a15;
--danger-dark-10: #7f2722;
--muted-dark-10: #6c757d;
--primary-shaded-50: #c1c0bd;
@ -45,9 +45,9 @@ html {
--main-background-light: white;
--black: black;
--primary-text: #272625;
--secondary-text: #0057ab;
--success-text: #6c844d;
--warning-text: #cab925;
--secondary-text: #085aa5;
--success-text: #4a5a35;
--warning-text: #746a15;
--danger-text: #7f2722;
--muted-text: #6c757d;
--shadow-color-regular: rgba(0, 0, 0, 0.2);
@ -57,34 +57,34 @@ html {
html.dark {
--primary: #fff;
--secondary: #0071de;
--success: #189418;
--warning: #ddcd45;
--danger: #ff8c86;
--secondary: #5595ce;
--success: #70c272;
--warning: #d4c252;
--danger: #df4c57;
--muted: #868e96;
--primary-light: white;
--secondary-light: #007ef8;
--success-light: #1caa1c;
--warning-light: #e1d35b;
--danger-light: #ffa4a0;
--secondary-light: #69a1d4;
--success-light: #82ca84;
--warning-light: #d9c966;
--danger-light: #e3626b;
--muted-light: #949ba2;
--primary-dark: gray;
--secondary-dark: black;
--success-dark: #031003;
--warning-dark: #746a15;
--danger-dark: #a00800;
--secondary-dark: #1f476b;
--success-dark: #265927;
--warning-dark: #71651c;
--danger-dark: #7c161e;
--muted-dark: #313538;
--primary-light-10: white;
--secondary-light-10: #128bff;
--success-light-10: #1fc01f;
--warning-light-10: #e5d970;
--danger-light-10: #ffbcb9;
--secondary-light-10: #7daed9;
--success-light-10: #94d195;
--warning-light-10: #ded07b;
--danger-light-10: #e77780;
--muted-light-10: #a1a8ae;
--primary-dark-10: #e6e6e6;
--secondary-dark-10: #0057ab;
--success-dark-10: #116811;
--warning-dark-10: #cab925;
--danger-dark-10: #ff5c53;
--secondary-dark-10: #367cba;
--success-dark-10: #4cb34f;
--warning-dark-10: #c3ae30;
--danger-dark-10: #d22633;
--muted-dark-10: #6c757d;
--primary-shaded-50: #343332;
--primary-shaded-70: #2f2e2d;
@ -96,11 +96,11 @@ html.dark {
--main-background-light: #c1c0bd;
--black: black;
--primary-text: #41403e;
--secondary-text: #0057ab;
--success-text: #116811;
--warning-text: #cab925;
--danger-text: #ff5c53;
--muted-text: #6c757d;
--secondary-text: #1f476b;
--success-text: #265927;
--warning-text: #71651c;
--danger-text: #7c161e;
--muted-text: #949ba2;
--shadow-color-regular: rgba(0, 0, 0, 0.2);
--shadow-color-hover: rgba(0, 0, 0, 0.3);
--primary-inverse: #41403e;
@ -517,7 +517,7 @@ hr::after {
.paper {
background-color: #41403e;
background-color: var(--main-background);
border: 1px solid #c1c0bd;
border: 1px solid #cdcccb;
box-shadow: -1px 5px 35px -9px rgba(0, 0, 0, 0.2);
margin-bottom: 1rem;
margin-top: 1rem;
@ -970,6 +970,7 @@ html {
p,
a,
button,
li,
table,
thead,
tbody,
@ -1281,6 +1282,10 @@ table.table-alternating tbody tr:nth-of-type(even) {
box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
}
.child-shadows .shadow-none {
box-shadow: none;
}
.child-shadows-hover > * {
transition: all 235ms ease 0s;
box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
@ -1315,20 +1320,20 @@ table.table-alternating tbody tr:nth-of-type(even) {
overflow: hidden;
padding: 0 0.75rem;
}
.collapsible input {
.collapsible > input {
display: none;
}
.collapsible input:checked + label {
.collapsible > input:checked + label {
color: #41403e;
color: var(--primary);
}
.collapsible input[id^=collapsible]:checked ~ div.collapsible-body {
.collapsible > input[id^=collapsible]:checked ~ div.collapsible-body {
margin: 0;
max-height: 960px;
opacity: 1;
padding: 0.75rem;
}
.collapsible label {
.collapsible > label {
color: #41403e;
color: var(--primary);
border-bottom-color: #41403e;
@ -1341,7 +1346,7 @@ table.table-alternating tbody tr:nth-of-type(even) {
padding: 0.75rem;
text-align: center;
}
.collapsible label:hover {
.collapsible > label:hover {
color: #41403e;
color: var(--muted);
cursor: pointer;
@ -1370,13 +1375,13 @@ table.table-alternating tbody tr:nth-of-type(even) {
.alert .btn-close {
transition: all 235ms ease-in-out 0s;
color: #41403e;
color: var(--#41403e-light-10);
color: var(--primary-text);
cursor: pointer;
margin-left: 0.75rem;
}
.alert .btn-close:hover, .alert .btn-close:active, .alert .btn-close:focus {
color: #41403e;
color: var(--#41403e-dark-10);
color: var(--primary-dark);
}
.alert-primary {
@ -1389,11 +1394,11 @@ table.table-alternating tbody tr:nth-of-type(even) {
}
.alert-primary .btn-close {
color: #41403e;
color: var(--#41403e-light-10);
color: var(--primary-text);
}
.alert-primary .btn-close:hover, .alert-primary .btn-close:active, .alert-primary .btn-close:focus {
color: #41403e;
color: var(--#41403e-dark-10);
color: var(--primary-dark);
}
.alert-secondary {
@ -1406,11 +1411,11 @@ table.table-alternating tbody tr:nth-of-type(even) {
}
.alert-secondary .btn-close {
color: #41403e;
color: var(--#0071de-light-10);
color: var(--secondary-text);
}
.alert-secondary .btn-close:hover, .alert-secondary .btn-close:active, .alert-secondary .btn-close:focus {
color: #41403e;
color: var(--#0071de-dark-10);
color: var(--secondary-dark);
}
.alert-success {
@ -1423,11 +1428,11 @@ table.table-alternating tbody tr:nth-of-type(even) {
}
.alert-success .btn-close {
color: #41403e;
color: var(--#86a361-light-10);
color: var(--success-text);
}
.alert-success .btn-close:hover, .alert-success .btn-close:active, .alert-success .btn-close:focus {
color: #41403e;
color: var(--#86a361-dark-10);
color: var(--success-dark);
}
.alert-warning {
@ -1440,11 +1445,11 @@ table.table-alternating tbody tr:nth-of-type(even) {
}
.alert-warning .btn-close {
color: #41403e;
color: var(--#ddcd45-light-10);
color: var(--warning-text);
}
.alert-warning .btn-close:hover, .alert-warning .btn-close:active, .alert-warning .btn-close:focus {
color: #41403e;
color: var(--#ddcd45-dark-10);
color: var(--warning-dark);
}
.alert-danger {
@ -1457,11 +1462,11 @@ table.table-alternating tbody tr:nth-of-type(even) {
}
.alert-danger .btn-close {
color: #41403e;
color: var(--#a7342d-light-10);
color: var(--danger-text);
}
.alert-danger .btn-close:hover, .alert-danger .btn-close:active, .alert-danger .btn-close:focus {
color: #41403e;
color: var(--#a7342d-dark-10);
color: var(--danger-dark);
}
.alert-muted {
@ -1474,11 +1479,11 @@ table.table-alternating tbody tr:nth-of-type(even) {
}
.alert-muted .btn-close {
color: #41403e;
color: var(--#868e96-light-10);
color: var(--muted-text);
}
.alert-muted .btn-close:hover, .alert-muted .btn-close:active, .alert-muted .btn-close:focus {
color: #41403e;
color: var(--#868e96-dark-10);
color: var(--muted-dark);
}
.alert-state {
@ -1696,7 +1701,7 @@ button.disabled, button[disabled],
a {
color: #41403e;
color: var(--secondary);
background-image: linear-gradient(5deg, transparent 65%, #0071de 80%, transparent 90%), linear-gradient(165deg, transparent 5%, #0071de 15%, transparent 25%), linear-gradient(165deg, transparent 45%, #0071de 55%, transparent 65%), linear-gradient(15deg, transparent 25%, #0071de 35%, transparent 50%);
background-image: linear-gradient(5deg, transparent 65%, #0b74d5 80%, transparent 90%), linear-gradient(165deg, transparent 5%, #0b74d5 15%, transparent 25%), linear-gradient(165deg, transparent 45%, #0b74d5 55%, transparent 65%), linear-gradient(15deg, transparent 25%, #0b74d5 35%, transparent 50%);
background-position: 0 90%;
background-repeat: repeat-x;
background-size: 4px 3px;
@ -1721,7 +1726,7 @@ button.btn-primary,
button.btn-primary:hover:active,
.paper-btn.btn-primary:hover:active,
[type=button].btn-primary:hover:active {
background-color: #a8a6a3;
background-color: #b4b3b0;
}
button.btn-secondary,
@ -1737,7 +1742,7 @@ button.btn-secondary,
button.btn-secondary:hover:active,
.paper-btn.btn-secondary:hover:active,
[type=button].btn-secondary:hover:active {
background-color: #abd6ff;
background-color: #a7d3fa;
}
button.btn-success,
@ -1753,7 +1758,7 @@ button.btn-success,
button.btn-success:hover:active,
.paper-btn.btn-success:hover:active,
[type=button].btn-success:hover:active {
background-color: #b7c9a1;
background-color: #bccca8;
}
button.btn-warning,
@ -1807,72 +1812,80 @@ button.btn-muted:hover:active,
button.btn-primary-outline,
.paper-btn.btn-primary-outline,
[type=button].btn-primary-outline {
background-color: white;
border-color: #a8a6a3;
background-color: #41403e;
background-color: var(--main-background);
color: #41403e;
color: var(--primary);
border-color: #41403e;
border-color: var(--primary);
}
button.btn-primary-outline:hover,
.paper-btn.btn-primary-outline:hover,
[type=button].btn-primary-outline:hover {
background-color: #c1c0bd;
border-color: #41403e;
background-color: #cdcccb;
}
button.btn-primary-outline:hover:active,
.paper-btn.btn-primary-outline:hover:active,
[type=button].btn-primary-outline:hover:active {
background-color: #a8a6a3;
background-color: #b4b3b0;
}
button.btn-secondary-outline,
.paper-btn.btn-secondary-outline,
[type=button].btn-secondary-outline {
background-color: white;
border-color: #abd6ff;
color: #0057ab;
background-color: #41403e;
background-color: var(--main-background);
color: #41403e;
color: var(--secondary);
border-color: #41403e;
border-color: var(--secondary);
}
button.btn-secondary-outline:hover,
.paper-btn.btn-secondary-outline:hover,
[type=button].btn-secondary-outline:hover {
background-color: #deefff;
border-color: #0071de;
background-color: #d8ebfd;
}
button.btn-secondary-outline:hover:active,
.paper-btn.btn-secondary-outline:hover:active,
[type=button].btn-secondary-outline:hover:active {
background-color: #abd6ff;
background-color: #a7d3fa;
}
button.btn-success-outline,
.paper-btn.btn-success-outline,
[type=button].btn-success-outline {
background-color: white;
border-color: #b7c9a1;
color: #6c844d;
background-color: #41403e;
background-color: var(--main-background);
color: #41403e;
color: var(--success);
border-color: #41403e;
border-color: var(--success);
}
button.btn-success-outline:hover,
.paper-btn.btn-success-outline:hover,
[type=button].btn-success-outline:hover {
background-color: #d0dbc2;
border-color: #86a361;
background-color: #d5dfc8;
}
button.btn-success-outline:hover:active,
.paper-btn.btn-success-outline:hover:active,
[type=button].btn-success-outline:hover:active {
background-color: #b7c9a1;
background-color: #bccca8;
}
button.btn-warning-outline,
.paper-btn.btn-warning-outline,
[type=button].btn-warning-outline {
background-color: white;
border-color: #ede49b;
color: #cab925;
background-color: #41403e;
background-color: var(--main-background);
color: #41403e;
color: var(--warning);
border-color: #41403e;
border-color: var(--warning);
}
button.btn-warning-outline:hover,
.paper-btn.btn-warning-outline:hover,
[type=button].btn-warning-outline:hover {
background-color: #f5f0c6;
border-color: #ddcd45;
}
button.btn-warning-outline:hover:active,
.paper-btn.btn-warning-outline:hover:active,
@ -1883,15 +1896,17 @@ button.btn-warning-outline:hover:active,
button.btn-danger-outline,
.paper-btn.btn-danger-outline,
[type=button].btn-danger-outline {
background-color: white;
border-color: #e6a5a1;
color: #7f2722;
background-color: #41403e;
background-color: var(--main-background);
color: #41403e;
color: var(--danger);
border-color: #41403e;
border-color: var(--danger);
}
button.btn-danger-outline:hover,
.paper-btn.btn-danger-outline:hover,
[type=button].btn-danger-outline:hover {
background-color: #f0cbc9;
border-color: #a7342d;
}
button.btn-danger-outline:hover:active,
.paper-btn.btn-danger-outline:hover:active,
@ -1902,15 +1917,17 @@ button.btn-danger-outline:hover:active,
button.btn-muted-outline,
.paper-btn.btn-muted-outline,
[type=button].btn-muted-outline {
background-color: white;
border-color: #caced1;
color: #6c757d;
background-color: #41403e;
background-color: var(--main-background);
color: #41403e;
color: var(--muted);
border-color: #41403e;
border-color: var(--muted);
}
button.btn-muted-outline:hover,
.paper-btn.btn-muted-outline:hover,
[type=button].btn-muted-outline:hover {
background-color: #e6e7e9;
border-color: #868e96;
}
button.btn-muted-outline:hover:active,
.paper-btn.btn-muted-outline:hover:active,
@ -1964,7 +1981,7 @@ button.btn-muted-outline:hover:active,
}
.card .card-body .card-subtitle,
.card .card-body h5 {
color: #0071de;
color: #0b74d5;
margin-bottom: 0.5rem;
margin-top: 0;
}
@ -2089,7 +2106,7 @@ textarea[disabled] {
}
.form-group .paper-radio input[type=radio]:checked + span::before,
.form-group .paper-check input[type=radio]:checked + span::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;
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'%230b74d5'%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;
}
.form-group .paper-radio input[type=checkbox],
.form-group .paper-check input[type=checkbox] {
@ -2104,7 +2121,7 @@ textarea[disabled] {
}
.form-group .paper-radio input[type=checkbox]:checked + span::before,
.form-group .paper-check input[type=checkbox]:checked + span::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%20stroke%3D'%230071de'%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") left center no-repeat;
background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%20100%20100'%3E%3Cpath%20stroke%3D'%230b74d5'%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") left center no-repeat;
}
.form-group .paper-switch-label,
.form-group .paper-switch-2-label {
@ -2141,7 +2158,7 @@ textarea[disabled] {
}
.form-group .paper-switch input:focus + .paper-switch-slider,
.form-group .paper-switch-2 input:focus + .paper-switch-slider {
box-shadow: 0 0 3px #0071de;
box-shadow: 0 0 3px #0b74d5;
}
.form-group .paper-switch .paper-switch-slider,
.form-group .paper-switch-2 .paper-switch-slider {
@ -2396,7 +2413,7 @@ fieldset.form-group {
top: 0;
visibility: hidden;
word-wrap: break-word;
z-index: 12;
z-index: 200;
}
.modal-bg {
bottom: 0;
@ -2475,7 +2492,7 @@ fieldset.form-group {
}
.modal .modal-link,
.modal a {
background-image: linear-gradient(5deg, transparent 65%, #0071de 80%, transparent 90%), linear-gradient(165deg, transparent 5%, #0071de 15%, transparent 25%), linear-gradient(165deg, transparent 45%, #0071de 55%, transparent 65%), linear-gradient(15deg, transparent 25%, #0071de 35%, transparent 50%);
background-image: linear-gradient(5deg, transparent 65%, #0b74d5 80%, transparent 90%), linear-gradient(165deg, transparent 5%, #0b74d5 15%, transparent 25%), linear-gradient(165deg, transparent 45%, #0b74d5 55%, transparent 65%), linear-gradient(15deg, transparent 25%, #0b74d5 35%, transparent 50%);
background-position: 0 90%;
background-repeat: repeat-x;
background-size: 4px 3px;
@ -2514,7 +2531,8 @@ fieldset.form-group {
[popover-bottom]:hover::after,
[popover-left]:hover::after {
opacity: 1;
transition: opacity 0.2s ease-out;
transition: opacity 235ms ease-in-out, visibility 0s linear;
visibility: visible;
}
[popover-top]::after,
[popover-right]::after,
@ -2524,14 +2542,14 @@ fieldset.form-group {
border-bottom-right-radius: 225px 15px;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
transition: opacity 235ms ease-in-out 0s;
background-color: #41403e;
background-color: var(--light-dark);
border-color: #41403e;
border-color: var(--primary);
border-color: var(--light-dark);
color: #41403e;
color: var(--primary-inverse);
border-style: solid;
border-width: 2px;
color: white;
font-size: 0.7em;
left: 50%;
min-width: 80px;
@ -2541,6 +2559,8 @@ fieldset.form-group {
text-align: center;
top: -6px;
transform: translateX(-50%) translateY(-100%);
transition: opacity 235ms ease-in-out, visibility 0s linear 235ms;
visibility: hidden;
}
[popover-left]::before {
@ -2624,28 +2644,28 @@ fieldset.form-group {
width: 0%;
}
.progress .bar.striped {
background: repeating-linear-gradient(45deg, #c1c0bd, #c1c0bd 0.25rem, #a8a6a3 0.25rem, #a8a6a3 0.5rem);
background: repeating-linear-gradient(45deg, #cdcccb, #cdcccb 0.25rem, #b4b3b0 0.25rem, #b4b3b0 0.5rem);
}
.progress .bar.primary {
background-color: #41403e;
background-color: var(--primary-light);
}
.progress .bar.primary.striped {
background: repeating-linear-gradient(45deg, #c1c0bd, #c1c0bd 0.25rem, #a8a6a3 0.25rem, #a8a6a3 0.5rem);
background: repeating-linear-gradient(45deg, #cdcccb, #cdcccb 0.25rem, #b4b3b0 0.25rem, #b4b3b0 0.5rem);
}
.progress .bar.secondary {
background-color: #41403e;
background-color: var(--secondary-light);
}
.progress .bar.secondary.striped {
background: repeating-linear-gradient(45deg, #deefff, #deefff 0.25rem, #abd6ff 0.25rem, #abd6ff 0.5rem);
background: repeating-linear-gradient(45deg, #d8ebfd, #d8ebfd 0.25rem, #a7d3fa 0.25rem, #a7d3fa 0.5rem);
}
.progress .bar.success {
background-color: #41403e;
background-color: var(--success-light);
}
.progress .bar.success.striped {
background: repeating-linear-gradient(45deg, #d0dbc2, #d0dbc2 0.25rem, #b7c9a1 0.25rem, #b7c9a1 0.5rem);
background: repeating-linear-gradient(45deg, #d5dfc8, #d5dfc8 0.25rem, #bccca8 0.25rem, #bccca8 0.5rem);
}
.progress .bar.warning {
background-color: #41403e;
@ -3168,6 +3188,8 @@ nav .bar3 {
color: var(--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;

4
dist/paper.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -6,48 +6,51 @@ weight: -270
#### Download
Download the latest version (1.8.0) using either of the links below. Or
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.8.0/paper.css">CSS File</a>
<a class="paper-btn margin" href="https://github.com/rhyneav/papercss/releases/download/v1.8.0/paper.min.css">Minified CSS File</a>
<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.8.0. Install with <code>npm install papercss --save</code> and find the CSS in:
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
- 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.8.0/dist/paper.css](https://unpkg.com/papercss@1.8.0/dist/paper.css)
* [https://unpkg.com/papercss@1.8.0/dist/paper.min.css](https://unpkg.com/papercss@1.8.0/dist/paper.min.css)
- [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.8.0/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>
<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>
```
@ -64,4 +67,4 @@ 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.
You can also go into src/core/\_config.scss before building to change around the global styles of your new CSS.

View file

@ -136,7 +136,7 @@ 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</div>
<div class="sm-3 col shadow-none">No Shadow</div>
</div>
#### Code:
@ -145,7 +145,7 @@ 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</div>
<div class="sm-3 col shadow-none">No Shadow</div>
</div>
```

View file

@ -8,4 +8,4 @@
{{ partial "head/opengraph" . }}
{{ .Hugo.Generator }}
{{ hugo.Generator }}

6230
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,16 +1,18 @@
{
"name": "papercss",
"version": "1.8.0",
"version": "1.9.2",
"description": "The less formal CSS framework.",
"main": "dist/paper.css",
"scripts": {
"build": "npm run css:build && npm run hugo:build",
"css:build": "node ./build/build.js",
"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",
"build": "npm run css:build && npm run hugo:build",
"lint": "npm run stylelint",
"start": "npm run hugo:serve",
"stylelint": "stylelint 'src/**/*.scss'"
"stylelint": "stylelint src/**/*.scss"
},
"repository": {
"type": "git",
@ -27,17 +29,19 @@
"autoprefixer": "^9.8.6",
"chai": "^4.1.2",
"chalk": "^4.1.0",
"chokidar": "^3.4.2",
"concurrently": "^5.3.0",
"cssnano": "^4.1.10",
"hugo-bin": "^0.62.3",
"postcss": "^7.0.32",
"pre-commit": "^1.2.2",
"rimraf": "^3.0.2",
"sass": "^1.26.10",
"stylelint": "8.4.0",
"stylelint-config-sass-guidelines": "4.0.1",
"stylelint-config-standard": "18.0.0",
"stylelint-order": "0.8.0",
"stylelint-scss": "2.2.0",
"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": [

View file

@ -21,7 +21,7 @@
padding: 0 0.75rem;
}
input {
> input {
display: none;
&:checked + label {
@ -36,7 +36,7 @@
}
}
label {
> label {
@include color('color', 'primary');
@include color('border-bottom-color', 'muted-light');
border-bottom-style: solid;

View file

@ -1,10 +1,10 @@
@mixin btn-close-color($base-color-name) {
@include color('color', #{$base-color-name}-light-10);
@include color('color', #{$base-color-name}-text);
&:hover,
&:active,
&:focus {
@include color('color', #{$base-color-name}-dark-10);
@include color('color', #{$base-color-name}-dark);
}
}
@ -27,20 +27,20 @@
.btn-close {
@include transition;
@include btn-close-color($primary);
@include btn-close-color(primary);
cursor: pointer;
margin-left: 0.75rem;
}
}
@each $colorName, $color, $color-light in $colors {
.alert-#{$colorName} {
@include color('color', #{$colorName}-text);
@include color('background-color', #{$colorName}-light);
@include color('border-color', #{$colorName});
@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);
@include btn-close-color($color-name);
}
}
}

View file

@ -98,17 +98,12 @@ a {
button.btn-#{$colorName}-outline,
.paper-btn.btn-#{$colorName}-outline,
[type='button'].btn-#{$colorName}-outline {
background-color: $white;
border-color: darken($color-light, 10%);
@if $colorName == primary {
color: $color;
} @else {
color: $color-text;
}
@include color('background-color', main-background);
@include color('color', #{$colorName});
@include color('border-color', #{$colorName});
&:hover {
background-color: $color-light;
border-color: $color;
}
&:hover {

View file

@ -11,7 +11,7 @@
top: 0;
visibility: hidden;
word-wrap: break-word;
z-index: 12;
z-index: 200;
// modal background
&-bg {

View file

@ -18,6 +18,8 @@ nav {
@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;

View file

@ -10,19 +10,19 @@
&:hover {
&::after {
opacity: 1;
transition: opacity 0.2s ease-out;
transition: opacity 235ms ease-in-out, visibility 0s linear;
visibility: visible;
}
}
// Creating popover::after element
&::after {
@include border-style();
@include transition(opacity);
@include color('background-color', 'light-dark');
@include color('border-color', 'primary');
@include color('border-color', 'light-dark');
@include color('color', 'primary-inverse');
border-style: solid;
border-width: 2px;
color: $white;
font-size: 0.7em;
left: 50%;
min-width: 80px;
@ -32,6 +32,8 @@
text-align: center;
top: -6px;
transform: translateX(-50%) translateY(-100%);
transition: opacity 235ms ease-in-out, visibility 0s linear 235ms;
visibility: hidden;
}
}

View file

@ -7,6 +7,7 @@ html {
p,
a,
button,
li,
table,
thead,
tbody,

View file

@ -2,21 +2,26 @@
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
@import url('https://fonts.googleapis.com/css?family=Neucha|Patrick+Hand+SC');
@if $font-src {
@import url($font-src);
}
// Set theme colors
$primary: #41403e !default;
$secondary: #0071de !default;
$secondary: #0b74d5 !default;
$success: #86a361 !default;
$warning: #ddcd45 !default;
$danger: #a7342d !default;
$muted: #868e96 !default;
$primary-light: lighten($primary, 50%) !default;
$secondary-light: lighten($secondary, 50%) !default;
$success-light: lighten($success, 30%) !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;
@ -37,8 +42,8 @@ $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, 10%) !default;
$warning-dark-10: darken($warning, 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;
@ -60,8 +65,8 @@ $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;
$shadow-color-regular: hsla(0, 0%, 0%, 0.2) !default;
$shadow-color-hover: hsla(0, 0%, 0%, 0.3) !default;
$primary-inverse: #fff !default;
@ -69,11 +74,11 @@ $primary-inverse: #fff !default;
// Set dark theme colors
$dark-primary: #fff !default;
$dark-secondary: #0071de !default;
$dark-secondary: #5595ce !default;
$dark-success: #189418 !default;
$dark-warning: #ddcd45 !default;
$dark-danger: #ff8c86 !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;
@ -84,10 +89,10 @@ $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, 50%) !default;
$dark-success-dark: darken($dark-success, 30%) !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, 45%) !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;
@ -116,14 +121,14 @@ $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-10 !default;
$dark-success-text: $dark-success-dark-10 !default;
$dark-warning-text: $dark-warning-dark-10 !default;
$dark-danger-text: $dark-danger-dark-10 !default;
$dark-muted-text: $dark-muted-dark-10 !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-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;

View file

@ -20,6 +20,12 @@
@include shadow();
}
.child-shadows {
.shadow-none {
box-shadow: none;
}
}
.child-shadows-hover > * {
@include shadow();