summaryrefslogtreecommitdiff
path: root/paper/bootswatch.less
diff options
context:
space:
mode:
Diffstat (limited to 'paper/bootswatch.less')
-rw-r--r--paper/bootswatch.less56
1 files changed, 28 insertions, 28 deletions
diff --git a/paper/bootswatch.less b/paper/bootswatch.less
index 88569de7..263a612a 100644
--- a/paper/bootswatch.less
+++ b/paper/bootswatch.less
@@ -9,6 +9,34 @@
}
.web-font(@web-font-path);
+// Effects =================================================================
+
+.ripple() {
+ position: relative;
+
+ &:after {
+ content: "";
+ display: block;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ #gradient > .radial(#000 10%, transparent 10.01%);
+ background-size: 1000% 1000%;
+ background-position: 50%;
+ opacity: 0;
+ pointer-events: none;
+ transition: background .5s, opacity 1s;
+ }
+
+ &:active:after {
+ background-size: 0% 0%;
+ opacity: .2;
+ transition: 0s;
+ }
+}
+
// Navbar =====================================================================
.navbar {
@@ -614,32 +642,4 @@ input[type="checkbox"],
color: inherit;
}
}
-}
-
-// Effects =================================================================
-
-.ripple {
- position: relative;
-
- &:after {
- content: "";
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- #gradient > .radial(#000 10%, transparent 10.01%);
- background-size: 1000% 1000%;
- background-position: 50%;
- opacity: 0;
- pointer-events: none;
- transition: background .5s, opacity 1s;
- }
-
- &:active:after {
- background-size: 0% 0%;
- opacity: .2;
- transition: 0s;
- }
} \ No newline at end of file