-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: Make quicklist more compact (#734)
* Reduce font size on quick list * Missing files * Fix
- Loading branch information
1 parent
9891d4e
commit 6675930
Showing
18 changed files
with
161 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
@import "app/styles/variables"; | ||
|
||
bl-quick-list-item { | ||
cursor: pointer; | ||
outline: none; | ||
|
||
.quick-list-item { | ||
display: flex; | ||
width: 100%; | ||
height: 48px; | ||
white-space: nowrap; | ||
|
||
&.selected { | ||
background-color: map-get($primary, 100); | ||
|
||
p { | ||
color: $mineShaftGray; | ||
} | ||
} | ||
|
||
&.focused { | ||
background-color: map-get($primary, 200); | ||
} | ||
|
||
&:hover:not(.selected) { | ||
background-color: $altoGray; | ||
} | ||
|
||
.quick-list-details { | ||
flex: 1 1 auto; | ||
overflow: hidden; | ||
padding: 5px; | ||
text-overflow: ellipsis; | ||
min-width: 0; | ||
|
||
[bl-quick-list-item-title] { | ||
color: $headings-color; | ||
} | ||
|
||
[bl-quick-list-item-title], [bl-quick-list-item-field] { | ||
display: flex; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
|
||
> bl-tags { | ||
margin-left: 5px; | ||
} | ||
} | ||
} | ||
|
||
[bl-quick-list-item-preview] { | ||
padding: 5px; | ||
|
||
i { | ||
padding-left: 4px; | ||
} | ||
|
||
.fa-hourglass-half { | ||
color: map-get($primary, 400); | ||
} | ||
} | ||
|
||
bl-quick-list-item-status { | ||
position: relative; | ||
color: map-get($primary, 500); | ||
flex: 0 0 8px; | ||
display: flex; | ||
align-items: stretch; | ||
> .status-badge { | ||
width: 100%; | ||
|
||
&.warning { | ||
background-color: map-get($danger, 500); | ||
} | ||
|
||
&.lightaccent { | ||
background: map-get($primary, 100); | ||
|
||
} | ||
|
||
&.accent { | ||
background: map-get($primary, 300); | ||
} | ||
|
||
&.important { | ||
background: repeating-linear-gradient( | ||
45deg, | ||
transparent, | ||
transparent 5px, | ||
$concreteGray 5px, | ||
$concreteGray 10px | ||
), map-get($primary, 500); | ||
} | ||
} | ||
} | ||
|
||
.select-item-container { | ||
width: 17px; | ||
padding: 7px 0 0 3px; | ||
} | ||
|
||
.quick-list-details { | ||
flex: 1 1 auto; | ||
overflow: hidden; | ||
padding: 3px; | ||
text-overflow: ellipsis; | ||
min-width: 0; | ||
|
||
[bl-quick-list-item-title], [bl-quick-list-item-field] { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
} | ||
|
||
[bl-quick-list-item-preview] { | ||
padding: 3px 10px 0 0; | ||
} | ||
|
||
.quick-list-other { | ||
.select-item-checkbox { | ||
position: absolute; | ||
right: 0; | ||
|
||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@import "app/styles/variables"; | ||
|
||
bl-quick-list { | ||
display: block; | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.