Summary Files Commits Branches @commit @diff @stats
path: root / src / base.less
diff options
context:
space:
mode:
Commit18d385b636db17c409fa0e36da15053e4f8354bf (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 09:18:11 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-19 09:18:11 +0800
Files0837aab5deec0e9a915af6fc283c4d751fc75ab3 /src/base.less
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.tar
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.tar.gz
Spectre-Dark-Gruvbox-18d385b636db17c409fa0e36da15053e4f8354bf.zip
Parent8fd6c598d692e690fee006a9ea2b57f3dcebc2e7 (diff)
Parentf3f78136d631892b9247bb345aa70a4d8812507c (diff)
Merge pull request #18 from picturepan2/master
merge master to gh-pages
1 files changed, 10 insertions, 11 deletions
-rw-r--r--src/base.less21
diff --git a/src/base.less b/src/base.less
index 01d06bb..284e9b5 100644
--- a/src/base.less
+++ b/src/base.less
@@ -1,20 +1,19 @@
// Base
-* {
- box-sizing: border-box;
-}
-*:before,
-*:after {
- box-sizing: border-box;
+*,
+*::before,
+*::after {
+ box-sizing: inherit;
}
html {
+ box-sizing: border-box;
font-size: 10px;
-webkit-tap-highlight-color: transparent;
}
body {
+ background-color: @body-bg;
color: @body-font-color;
font-family: @body-font-family;
font-size: @body-font-size;
- background-color: @body-bg;
}
a {
color: @core-link-color;
@@ -28,8 +27,8 @@ a {
// Disabled state
&[disabled],
.disabled {
- opacity: .5;
cursor: default;
+ opacity: .5;
pointer-events: none;
}
@@ -38,9 +37,9 @@ a {
.toast,
.menu {
.icon {
- margin-right: .2rem;
font-size: 1.3333em;
- line-height: 0.8em;
+ line-height: .8em;
+ margin-right: .2rem;
vertical-align: -20%;
}
-} \ No newline at end of file
+}