Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities.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/utilities.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, 15 insertions, 15 deletions
-rw-r--r--src/utilities.less30
diff --git a/src/utilities.less b/src/utilities.less
index c47f5a0..9cea197 100644
--- a/src/utilities.less
+++ b/src/utilities.less
@@ -101,11 +101,11 @@
visibility: hidden;
}
.text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
background-color: transparent;
border: 0;
+ color: transparent;
+ font: 0/0 a;
+ text-shadow: none;
}
// Text
.text-left {
@@ -142,19 +142,19 @@
}
.text-ellipsis {
- white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
.text-clip {
- white-space: nowrap;
overflow: hidden;
text-overflow: clip;
+ white-space: nowrap;
}
.text-break {
+ hyphens: auto;
word-break: break-word;
word-wrap: break-word;
- hyphens: auto;
}
.hand {
cursor: pointer;
@@ -178,25 +178,25 @@
// Loading
.loading {
+ color: transparent !important;
min-height: 1.6rem;
- position: relative;
pointer-events: none;
- color: transparent !important;
+ position: relative;
&::after {
+ animation: loading 500ms infinite linear;
border: .2rem solid @core-color;
+ border-radius: .8rem;
border-right-color: transparent;
border-top-color: transparent;
- border-radius: .8rem;
content: "";
- position: absolute;
+ display: block;
+ height: 1.6rem;
left: 50%;
- top: 50%;
margin-left: -.8rem;
margin-top: -.8rem;
- display: block;
+ position: absolute;
+ top: 50%;
width: 1.6rem;
- height: 1.6rem;
- animation: loading 500ms infinite linear;
}
-} \ No newline at end of file
+}