Summary Files Commits Branches @commit @diff @stats
path: root / src / chips.less
diff options
context:
space:
mode:
Commitab0f22217c31268346e808b40b346cc070171c41 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-26 15:48:17 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-26 15:48:17 +0800
Filesd2626e8ce93e8a9f8b2a6b361c4cac181022c61b /src/chips.less
Spectre-Dark-Gruvbox-ab0f22217c31268346e808b40b346cc070171c41.tar
Spectre-Dark-Gruvbox-ab0f22217c31268346e808b40b346cc070171c41.tar.gz
Spectre-Dark-Gruvbox-ab0f22217c31268346e808b40b346cc070171c41.zip
Parentb07f6a38233b570c4604e6cf2d853cfe3044a58f (diff)
cleanup btn-clear and chip code
1 files changed, 17 insertions, 28 deletions
-rw-r--r--src/chips.less45
diff --git a/src/chips.less b/src/chips.less
index 7ef1bc4..626d5bc 100644
--- a/src/chips.less
+++ b/src/chips.less
@@ -8,7 +8,7 @@
display: flex;
list-style: none;
margin: 0;
- padding: .3rem .8rem;
+ padding: .5rem;
.chip-icon {
flex: 0 0 auto;
@@ -20,25 +20,13 @@
}
.chip-action {
flex: 0 0 auto;
-
- .btn {
- border-color: transparent;
- color: @control-color;
- padding: .7rem .5rem;
-
- &:hover,
- &:focus {
- background: transparent;
- border-color: transparent;
- color: @core-color;
- }
- &:active,
- &.active {
- background: transparent;
- border-color: transparent;
- color: darken(@core-color, 5%);
- }
- }
+ }
+ .chip-title {
+ font-size: 1.4rem;
+ }
+ .chip-meta {
+ color: lighten(@body-font-color, 50%);
+ font-size: 1.2rem;
}
}
@@ -61,10 +49,12 @@
background: lighten(@core-color, 38%);
}
- .btn {
- &::before,
- &::after {
- background: darken(@core-color, 10%);
+ .btn-clear {
+ margin-top: -.1rem;
+
+ &::before {
+ color: darken(@core-color, 10%);
+ font-size: 1.6rem;
}
}
@@ -72,10 +62,9 @@
background: @core-color;
color: @core-text-color;
- .btn {
- &::before,
- &::after {
- background: lighten(@core-color, 40%);
+ .btn-clear {
+ &::before {
+ color: lighten(@core-color, 40%);
}
}
}