aboutsummaryrefslogtreecommitdiff
path: root/assets/style.scss
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-02-28 12:00:50 +0100
committercodecalm <codecalm@gmail.com>2020-02-28 12:00:50 +0100
commit4fcdf32cff825bc93defe0001c482dc17e8b648b (patch)
tree83a5e6e923ff319c09d386177d38dc8425eca992 /assets/style.scss
parentsimple icon manager (diff)
downloadtabler-icons-4fcdf32cff825bc93defe0001c482dc17e8b648b.tar.xz
css fix
Diffstat (limited to 'assets/style.scss')
-rw-r--r--assets/style.scss32
1 files changed, 20 insertions, 12 deletions
diff --git a/assets/style.scss b/assets/style.scss
index 5c331aa1..a2dfe167 100644
--- a/assets/style.scss
+++ b/assets/style.scss
@@ -1,11 +1,12 @@
---
---
-$breakpoint: (min-width: 50rem);
+$breakpoint: 50rem;
$primary: #206bc4;
$border: #eeeeee;
$muted: #aaaaaa;
$btn-form-height: 2rem;
+$hover: rgba(0, 0, 0, .04);
* {
box-sizing: border-box;
@@ -42,7 +43,7 @@ a {
display: flex;
flex-direction: column;
- @media #{$breakpoint} {
+ @media (min-width: #{$breakpoint}) {
flex-direction: row;
}
}
@@ -55,7 +56,7 @@ a {
width: 15rem;
margin-top: 2rem;
- @media #{$breakpoint} {
+ @media (min-width: #{$breakpoint}) {
margin-top: 0;
margin-left: 2rem;
flex-direction: row;
@@ -69,7 +70,6 @@ a {
}
.icon-preview-wrap {
- margin-bottom: 3rem;
position: relative;
&:before {
@@ -100,19 +100,27 @@ a {
.icons-list {
display: flex;
- margin: -1rem;
+ margin: -.25rem;
+}
+
+.icons-list-icon {
+ margin: .25rem;
+ width: 2rem;
+ height: 2rem;
+ color: inherit;
+ border-radius: 3px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+
+ &:hover {
+ background-color: $hover;
+ }
.icon {
display: block;
- margin: .5rem;
width: 1.5rem;
height: 1.5rem;
- }
-
- svg {
- display: block;
- width: 100%;
- height: 100%;
stroke-width: 2;
}
}