Summary Files Commits Branches @commit @diff @stats
path: root / src / chips.less
diff options
context:
space:
mode:
Commiteb700ab7e2af0cda8ef0f6d317d04ff056ff1da6 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-21 15:59:44 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-02-21 15:59:44 +0800
Filesed649b2235fa2c8fa9be5b5a942012588ae5f4ad /src/chips.less
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.tar
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.tar.gz
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.zip
Parentb4e87e9a0f799a803d509d43b0508167967c57cf (diff)
Add: Tiles component and many bugs fixed
1 files changed, 1 insertions, 38 deletions
-rw-r--r--src/chips.less39
diff --git a/src/chips.less b/src/chips.less
index 6b48df9..7b02924 100644
--- a/src/chips.less
+++ b/src/chips.less
@@ -1,42 +1,5 @@
// Chips
.chip {
- align-content: space-around;
- align-items: center;
- border-radius: @border-radius;
- display: flex;
- list-style: none;
- margin: 0;
- padding: .5rem 0;
-
- .chip-icon {
- flex: 0 0 auto;
- }
- .chip-content {
- flex: 1 1 auto;
- .text-ellipsis;
- &:not(:first-child) {
- padding-left: 1rem;
- }
- &:not(:last-child) {
- padding-right: 1rem;
- }
- }
- .chip-action {
- flex: 0 0 auto;
- }
- .chip-title {
- font-size: 1.4rem;
- line-height: 1.6rem;
- }
- .chip-meta {
- color: lighten(@body-font-color, 50%);
- font-size: 1.2rem;
- line-height: 1.6rem;
- }
-}
-
-// Small chips
-.chip-sm {
align-items: center;
background: @core-border-color;
border-radius: @border-radius;
@@ -49,7 +12,7 @@
text-decoration: none;
vertical-align: middle;
- &.selected {
+ &.is-selected {
background: @core-color;
color: @core-light-color;
}