Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit8c0f6b2d3ae609b581af7d71610d50e00ab49990 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-29 21:43:06 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-29 21:43:06 +0800
Files589f23b1d81df9b04cbb0014f5240a6c928378cb /src
Spectre-Dark-Gruvbox-8c0f6b2d3ae609b581af7d71610d50e00ab49990.tar
Spectre-Dark-Gruvbox-8c0f6b2d3ae609b581af7d71610d50e00ab49990.tar.gz
Spectre-Dark-Gruvbox-8c0f6b2d3ae609b581af7d71610d50e00ab49990.zip
Parente78b3c34348f26d40a813612c5a3786f1c56607a (diff)
Improve Docs navbar
4 files changed, 21 insertions, 1 deletions
-rw-r--r--src/_accordions.scss2
-rw-r--r--src/_chips.scss1
-rw-r--r--src/_tooltips.scss2
-rw-r--r--src/utilities/_display.scss17
diff --git a/src/_accordions.scss b/src/_accordions.scss
index e2022c6..685c9a5 100644
--- a/src/_accordions.scss
+++ b/src/_accordions.scss
@@ -10,7 +10,7 @@
}
}
& ~ .accordion-body {
- max-height: 1000px;
+ max-height: 50rem;
}
}
}
diff --git a/src/_chips.scss b/src/_chips.scss
index 0610470..3fc0d73 100644
--- a/src/_chips.scss
+++ b/src/_chips.scss
@@ -6,6 +6,7 @@
color: $gray-color-dark;
display: inline-flex;
height: $unit-6;
+ line-height: 1rem;
margin: $unit-h;
max-width: 100%;
padding: $unit-h ($unit-2 + $unit-h);
diff --git a/src/_tooltips.scss b/src/_tooltips.scss
index 90cf1ad..1ee4d97 100644
--- a/src/_tooltips.scss
+++ b/src/_tooltips.scss
@@ -47,6 +47,7 @@
}
}
}
+
&.tooltip-bottom {
&::after {
bottom: auto;
@@ -60,6 +61,7 @@
}
}
}
+
&.tooltip-left {
&::after {
bottom: 50%;
diff --git a/src/utilities/_display.scss b/src/utilities/_display.scss
index 550124d..ffd352a 100644
--- a/src/utilities/_display.scss
+++ b/src/utilities/_display.scss
@@ -42,6 +42,23 @@
position: absolute;
width: 1px;
}
+
+// Cursor
.c-hand {
cursor: pointer;
}
+.c-move {
+ cursor: move;
+}
+.c-zoom-in {
+ cursor: zoom-in;
+}
+.c-zoom-out {
+ cursor: zoom-out;
+}
+.c-not-allowed {
+ cursor: not-allowed;
+}
+.c-auto {
+ cursor: auto;
+} \ No newline at end of file