Summary Files Commits Branches @commit @diff @stats
path: root / src / menus.less
diff options
context:
space:
mode:
Commiteb700ab7e2af0cda8ef0f6d317d04ff056ff1da6 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-21 15:59:44 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-02-21 15:59:44 +0800
Filesed649b2235fa2c8fa9be5b5a942012588ae5f4ad /src/menus.less
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.tar
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.tar.gz
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.zip
Parentb4e87e9a0f799a803d509d43b0508167967c57cf (diff)
Add: Tiles component and many bugs fixed
1 files changed, 13 insertions, 14 deletions
-rw-r--r--src/menus.less27
diff --git a/src/menus.less b/src/menus.less
index 2b3a8d7..60b2f3b 100644
--- a/src/menus.less
+++ b/src/menus.less
@@ -5,7 +5,7 @@
display: block;
margin: 0;
min-width: @control-min-width;
- padding: .5rem;
+ padding: .8rem;
.shadow;
text-align: left;
transform: translateY(.5rem);
@@ -15,8 +15,8 @@
border-radius: @border-radius;
display: block;
line-height: 2.4rem;
- margin-top: .1rem;
- padding: .2rem .8rem;
+ margin-top: 0;
+ padding: .3rem .8rem;
text-decoration: none;
user-select: none;
@@ -24,8 +24,8 @@
border-radius: @border-radius;
color: inherit;
display: block;
- margin: -.2rem -.8rem;
- padding: .2rem .8rem;
+ margin: -.3rem -.8rem;
+ padding: .3rem .8rem;
text-decoration: none;
&:focus,
&:hover {
@@ -46,6 +46,14 @@
line-height: 1.8rem;
margin-top: 0;
padding: .2rem .8rem;
+ &::after {
+ border-bottom: .1rem solid @core-border-color;
+ content: "";
+ display: block;
+ height: .1rem;
+ transform: translateY(-1rem);
+ width: 100%;
+ }
.menu-header-text {
background: #fff;
@@ -55,14 +63,5 @@
position: relative;
z-index: 99;
}
-
- &::after {
- border-bottom: .1rem solid @core-border-color;
- content: "";
- display: block;
- height: .1rem;
- transform: translateY(-1rem);
- width: 100%;
- }
}
}