Summary Files Commits Branches @commit @diff @stats
path: root / src / timelines.less
diff options
context:
space:
mode:
Commit78de8f1a1f423a86c05f361e87012a8ea1f1211b (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-07-01 15:33:02 +0800
Files4efd8509510b7b831dd665a6273b07ec9cc0da5e /src/timelines.less
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.tar.gz
Spectre-Dark-Gruvbox-78de8f1a1f423a86c05f361e87012a8ea1f1211b.zip
Parentef4918530c3d332abbfd4e3076ffc8f9405d4da7 (diff)
IMPORTANT: Replace all rem units to px
1 files changed, 14 insertions, 14 deletions
-rw-r--r--src/timelines.less28
diff --git a/src/timelines.less b/src/timelines.less
index 277d10c..02b421e 100644
--- a/src/timelines.less
+++ b/src/timelines.less
@@ -2,16 +2,16 @@
.timeline {
.timeline-item {
display: flex;
- margin-bottom: 2.4rem;
+ margin-bottom: @unit-6;
position: relative;
&::before {
background: @border-color;
content: "";
height: 100%;
- left: 1.1rem;
+ left: 11px;
position: absolute;
- top: 2.4rem;
- width: .2rem;
+ top: @unit-6;
+ width: 2px;
}
.timeline-left {
@@ -20,32 +20,32 @@
.timeline-content {
flex: 1 1 auto;
- padding: .2rem 0 .2rem @layout-padding-lg;
+ padding: 2px 0 2px @layout-spacing-lg;
}
.timeline-icon {
border-radius: 50%;
color: @light-color;
display: block;
- height: 2.4rem;
+ height: @unit-6;
text-align: center;
- width: 2.4rem;
+ width: @unit-6;
&::before {
- border: .2rem solid @primary-color;
+ border: @border-width-lg solid @primary-color;
border-radius: 50%;
content: "";
display: block;
- height: .8rem;
- left: .8rem;
+ height: @unit-2;
+ left: @unit-2;
position: absolute;
- top: .8rem;
- width: .8rem;
+ top: @unit-2;
+ width: @unit-2;
}
&.icon-lg {
background: @primary-color;
- font-size: 1.6rem;
- line-height: 2rem;
+ font-size: @font-size-lg;
+ line-height: @line-height;
&::before {
content: none;
}