Summary Files Commits Branches @commit @diff @stats
path: root / src / timelines.less
diff options
context:
space:
mode:
Commit7fdb8b4ca18e1758bf4453cc5f8c32b7a7ad2701 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-10 22:41:26 +0800
Committer
 GitHub <noreply@github.com>
2017-04-10 22:41:26 +0800
Filescd6ab1574f3b67ff8995413df5205c3c662fa251 /src/timelines.less
Spectre-Dark-Gruvbox-0.2.13.tar
Spectre-Dark-Gruvbox-0.2.13.tar.gz
Spectre-Dark-Gruvbox-0.2.13.zip
Parent01fb412a0508412f683aa58fdf766859d0733314 (diff)
Parent467cad45938f14cd5d725b85d72be96f9ff8d0cb (diff)
Merge pull request #188 from picturepan2/0.2.13 v0.2.13
0.2.13
1 files changed, 55 insertions, 0 deletions
-rw-r--r--src/timelines.less55
diff --git a/src/timelines.less b/src/timelines.less
new file mode 100644
index 0000000..277d10c
--- /dev/null
+++ b/src/timelines.less
@@ -0,0 +1,55 @@
+// Timelines
+.timeline {
+ .timeline-item {
+ display: flex;
+ margin-bottom: 2.4rem;
+ position: relative;
+ &::before {
+ background: @border-color;
+ content: "";
+ height: 100%;
+ left: 1.1rem;
+ position: absolute;
+ top: 2.4rem;
+ width: .2rem;
+ }
+
+ .timeline-left {
+ flex: 0 0 auto;
+ }
+
+ .timeline-content {
+ flex: 1 1 auto;
+ padding: .2rem 0 .2rem @layout-padding-lg;
+ }
+
+ .timeline-icon {
+ border-radius: 50%;
+ color: @light-color;
+ display: block;
+ height: 2.4rem;
+ text-align: center;
+ width: 2.4rem;
+ &::before {
+ border: .2rem solid @primary-color;
+ border-radius: 50%;
+ content: "";
+ display: block;
+ height: .8rem;
+ left: .8rem;
+ position: absolute;
+ top: .8rem;
+ width: .8rem;
+ }
+
+ &.icon-lg {
+ background: @primary-color;
+ font-size: 1.6rem;
+ line-height: 2rem;
+ &::before {
+ content: none;
+ }
+ }
+ }
+ }
+}