Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities.less
diff options
context:
space:
mode:
Commit33c89ed8fd6535dc21d0132ef61fc560099279f7 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-03-19 17:55:09 +0800
Committer
 GitHub <noreply@github.com>
2017-03-19 17:55:09 +0800
Filesb854b458761aead1e009db59e503e36e7862110f /src/utilities.less
Spectre-Dark-Gruvbox-0.2.10.tar
Spectre-Dark-Gruvbox-0.2.10.tar.gz
Spectre-Dark-Gruvbox-0.2.10.zip
Parentee309ce40db4bc0fb5b4ccc076a054dd9574ac5f (diff)
Parent1d63c12eebb44b76947726dfeee98919627c9d9b (diff)
Merge pull request #170 from picturepan2/feature/0.2.10 v0.2.10
Feature/0.2.10
1 files changed, 28 insertions, 6 deletions
-rw-r--r--src/utilities.less34
diff --git a/src/utilities.less b/src/utilities.less
index fe98dd6..428a09c 100644
--- a/src/utilities.less
+++ b/src/utilities.less
@@ -1,8 +1,20 @@
// Divider
.divider {
- border-bottom: .1rem solid @border-color;
+ border-top: @border-width solid @border-color;
display: block;
- margin: .8rem 0;
+ height: .1rem;
+ margin: 1rem 0;
+ position: relative;
+
+ &[data-content]::before {
+ background: @light-color;
+ color: @gray-color-light;
+ content: attr(data-content);
+ display: inline-block;
+ font-size: @font-size-sm;
+ padding: 0 .8rem;
+ transform: translateY(-1.1rem);
+ }
}
// Loading
@@ -26,6 +38,7 @@
position: absolute;
top: 50%;
width: 1.6rem;
+ z-index: @zindex-0;
}
}
@@ -206,11 +219,20 @@
}
// Shadow
-.shadow {
- box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3);
+.shadow-0 {
+ box-shadow: @shadow-0;
+}
+.shadow-1 {
+ box-shadow: @shadow-1;
+}
+.shadow-2 {
+ box-shadow: @shadow-2;
+}
+.shadow-3 {
+ box-shadow: @shadow-3;
}
-.light-shadow {
- box-shadow: 0 .1rem .2rem rgba(0, 0, 0, .15);
+.shadow-4 {
+ box-shadow: @shadow-4;
}
// Shapes