Summary Files Commits Branches @commit @diff @stats
path: root / src / bars.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/bars.less
Spectre-Dark-Gruvbox-33c89ed8fd6535dc21d0132ef61fc560099279f7.tar
Spectre-Dark-Gruvbox-33c89ed8fd6535dc21d0132ef61fc560099279f7.tar.gz
Spectre-Dark-Gruvbox-33c89ed8fd6535dc21d0132ef61fc560099279f7.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, 5 insertions, 4 deletions
-rw-r--r--src/bars.less9
diff --git a/src/bars.less b/src/bars.less
index 2569bce..193f9e4 100644
--- a/src/bars.less
+++ b/src/bars.less
@@ -1,6 +1,6 @@
// Bars
.bar {
- background: @border-color;
+ background: @bg-color-dark;
border-radius: @border-radius;
display: flex;
flex-wrap: nowrap;
@@ -16,19 +16,20 @@
background: @primary-color;
color: @light-color;
display: block;
- font-size: 1.2rem;
+ font-size: @font-size-sm;
flex-shrink: 0;
line-height: 1;
height: 100%;
padding: .2rem 0;
+ position: relative;
text-align: center;
width: 0;
- &:first-of-type {
+ &:first-child {
border-bottom-left-radius: @border-radius;
border-top-left-radius: @border-radius;
}
- &:last-of-type {
+ &:last-child {
border-bottom-right-radius: @border-radius;
border-top-right-radius: @border-radius;
flex-shrink: 1;