mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Add 'list'/'text' toggle buttons
This commit is contained in:
+32
-2
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user