2016-05-01 19:56:30 +00:00
|
|
|
@import '../constants/dimensions';
|
|
|
|
@import '../constants/colors';
|
|
|
|
|
|
|
|
.key-value-editor {
|
2016-05-01 20:46:11 +00:00
|
|
|
padding: $padding-md 0;
|
|
|
|
|
2016-05-01 19:56:30 +00:00
|
|
|
li {
|
|
|
|
|
2016-07-20 23:16:28 +00:00
|
|
|
.key-value-editor__label {
|
|
|
|
padding: 0 $padding-md;
|
|
|
|
opacity: 0.5;
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
}
|
2016-05-01 20:46:11 +00:00
|
|
|
|
2016-07-20 23:16:28 +00:00
|
|
|
.key-value-editor__row {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 0.5fr 0.5fr auto;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
padding: 0 $padding-sm;
|
2016-05-01 19:56:30 +00:00
|
|
|
|
2016-07-20 23:16:28 +00:00
|
|
|
&:first-child {
|
|
|
|
padding-left: $padding-md;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-right: $padding-md;
|
|
|
|
}
|
2016-05-01 19:56:30 +00:00
|
|
|
}
|
|
|
|
|
2016-07-20 23:16:28 +00:00
|
|
|
& > button {
|
|
|
|
color: $hl;
|
2016-05-01 19:56:30 +00:00
|
|
|
|
2016-07-20 23:16:28 +00:00
|
|
|
&:hover {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2016-05-01 19:56:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|