Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitad7ee1b9af6a081b83369efacb088150d42f03a3 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-07-19 18:29:23 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-07-19 18:29:23 +0800
Filesec5cb78a0f58b87f3bd2ed5bcfad924de44f603a /src
Spectre-Dark-Gruvbox-ad7ee1b9af6a081b83369efacb088150d42f03a3.tar
Spectre-Dark-Gruvbox-ad7ee1b9af6a081b83369efacb088150d42f03a3.tar.gz
Spectre-Dark-Gruvbox-ad7ee1b9af6a081b83369efacb088150d42f03a3.zip
Parentef7586bdc6f8f3eb4ea76193001c5bb6d28ffe08 (diff)
New Docs experience
3 files changed, 11 insertions, 8 deletions
-rw-r--r--src/accordions.less10
-rw-r--r--src/menus.less6
-rw-r--r--src/pagination.less3
diff --git a/src/accordions.less b/src/accordions.less
index df630ea..384f9eb 100644
--- a/src/accordions.less
+++ b/src/accordions.less
@@ -6,22 +6,22 @@
& ~ .accordion-header {
.icon {
transform: rotate(90deg);
- transition: all .25s ease;
+ transition: all .2s ease;
}
}
& ~ .accordion-body {
max-height: 1000px;
- transition: max-height 3s ease;
+ transition: max-height 2s ease;
}
}
}
.accordion-header {
display: block;
- padding: @layout-spacing;
+ padding: @unit-1 @unit-2;
.icon {
- transition: all .25s ease;
+ transition: all .2s ease;
}
}
@@ -29,7 +29,7 @@
margin-bottom: @layout-spacing;
max-height: 0;
overflow: hidden;
- transition: max-height .3s ease;
+ transition: max-height .2s ease;
}
}
}
diff --git a/src/menus.less b/src/menus.less
index 06de453..e055127 100644
--- a/src/menus.less
+++ b/src/menus.less
@@ -5,7 +5,7 @@
list-style: none;
margin: 0;
min-width: @control-min-width;
- padding: @layout-spacing;
+ padding: @unit-2;
.shadow-variant(1px);
transform: translateY(@layout-spacing-sm);
z-index: @zindex-1;
@@ -22,6 +22,7 @@
& > a {
border-radius: @border-radius;
+ box-shadow: none;
color: inherit;
display: block;
margin: 0 -@unit-2;
@@ -29,11 +30,12 @@
text-decoration: none;
&:focus,
&:hover {
+ background: @secondary-color-light;
color: @primary-color;
}
&:active,
&.active {
- background: @secondary-color-light;
+ background: @secondary-color;
color: @primary-color;
}
}
diff --git a/src/pagination.less b/src/pagination.less
index e79f873..a896e0e 100644
--- a/src/pagination.less
+++ b/src/pagination.less
@@ -1,9 +1,10 @@
// Pagination
.pagination {
display: flex;
+ padding: @unit-1 0;
.page-item {
- margin: 10px 1px;
+ margin: @unit-1 1px;
span {
display: inline-block;