Add 'list'/'text' toggle buttons

This commit is contained in:
Bryan Housel
2019-05-02 13:49:26 -04:00
parent cebe4ced8a
commit b17e4e4f1d
5 changed files with 53 additions and 9 deletions
+32 -2
View File
@@ -2407,10 +2407,40 @@ div.combobox {
flex-flow: row nowrap;
flex-direction: row-reverse;
margin-top: -25px;
padding: 0 3px;
}
.raw-tag-option {
padding: 5px;
button.raw-tag-option {
flex: 0 0 20px;
height: 20px;
width: 20px;
background: #aaa;
color: #eee;
margin: 0 3px;
}
button.raw-tag-option:focus,
button.raw-tag-option:hover,
button.raw-tag-option.active {
color: #fff;
background: #597be7;
}
button.raw-tag-option.selected {
color: #fff;
background: #7092ff;
}
button.raw-tag-option svg.icon {
width: 14px;
height: 14px;
vertical-align: text-bottom;
}
[dir='ltr'] button.raw-tag-option-list {
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: FlipH;
-ms-filter: "FlipH";
}
.tag-text {
width: 100%;