diff --git a/index.html b/index.html
index 4eb2837..e3ef9b9 100644
--- a/index.html
+++ b/index.html
@@ -1264,14 +1264,14 @@
Download and Link
Download
-
Download the latest version (1.3.0) using either of the links below. Or download an older release via Github.
+
Download the latest version (1.3.1) using either of the links below. Or download an older release via Github.
NPM
-
PaperCSS is now available on NPM as of version 1.3.0. Install with npm install papercss --save
and find the CSS in:
+
PaperCSS is now available on NPM as of version 1.3.1. Install with npm install papercss --save
and find the CSS in:
- node_modules/papercss/dist/paper.css
- node_modules/papercss/dist/paper.min.css
@@ -1279,8 +1279,8 @@
CDN
Don't want to download it? That's cool. You can just link to PaperCSS via unpkg's CDN. You can use either:
Here's a quck snippet to get started with PaperCSS:
@@ -1290,7 +1290,7 @@
<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.3.0/dist/paper.min.css">
+ <link rel="stylesheet" href="https://unpkg.com/papercss@1.3.1/dist/paper.min.css">
<title>Document</title>
</head>
<body>
diff --git a/package.json b/package.json
index 3d31a52..36b50bb 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "papercss",
- "version": "1.3.0",
- "description": "Another CSS framework",
+ "version": "1.3.1",
+ "description": "The less formal CSS framework.",
"main": "index.js",
"scripts": {
"start": "node node_modules/gulp/bin/gulp.js",
diff --git a/src/modals.less b/src/modals.less
index fbd66cb..27d0224 100644
--- a/src/modals.less
+++ b/src/modals.less
@@ -1,12 +1,12 @@
+@import './colors.less';
+@import './container.less';
+@import './utilities.less';
+
.translate(@x; @y) {
-webkit-transform: translate(@x, @y);
-ms-transform: translate(@x, @y);
transform: translate(@x, @y);
}
-.transition(@transition) {
- -webkit-transition: @transition;
- transition: @transition;
-}
.transition-transform(@transition) {
-webkit-transition: -webkit-transform @transition;
-moz-transition: -moz-transform @transition;
@@ -15,24 +15,24 @@
}
.modal{
-
+
&:before{
- content: "";
+ content: "";
display: none;
background: rgba(0,0,0,.6);
position: fixed;
- top: 0; left: 0; right: 0; bottom: 0;
+ top: 0; left: 0; right: 0; bottom: 0;
z-index: 10;
}
&:target{
-
+
&:before{
display: flex;
- }
+ }
.modal-body{
- .translate(0, 0);
- top: 20%;
+ .translate(0, 0);
+ top: 20%;
}
}
@@ -65,7 +65,7 @@
&:hover{
color: @muted;
}
-
+
}
.modal-title, h4 {