2016-05-01 19:56:30 +00:00
|
|
|
@import '../constants/dimensions';
|
|
|
|
@import '../constants/colors';
|
|
|
|
|
|
|
|
.key-value-editor {
|
2016-08-29 17:58:59 +00:00
|
|
|
padding: @padding-md 0;
|
2016-05-01 20:46:11 +00:00
|
|
|
|
2016-11-22 19:42:10 +00:00
|
|
|
.key-value-editor__label {
|
|
|
|
padding: 0 @padding-md;
|
|
|
|
opacity: 0.5;
|
|
|
|
font-size: @font-size-sm;
|
|
|
|
}
|
2016-05-01 19:56:30 +00:00
|
|
|
|
2016-11-22 19:42:10 +00:00
|
|
|
.key-value-editor__row {
|
|
|
|
display: grid;
|
2016-11-23 19:33:24 +00:00
|
|
|
grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr) auto auto auto;
|
2016-11-22 19:42:10 +00:00
|
|
|
grid-template-rows: auto;
|
2016-11-29 20:55:31 +00:00
|
|
|
padding-bottom: @padding-sm;
|
2016-05-01 20:46:11 +00:00
|
|
|
|
2016-11-24 00:57:54 +00:00
|
|
|
&.key-value-editor__row--disabled input,
|
|
|
|
&.key-value-editor__row--disabled button {
|
2016-11-22 19:42:10 +00:00
|
|
|
text-decoration: line-through;
|
2017-01-23 22:41:31 +00:00
|
|
|
color: @hl-xl;
|
2016-11-22 19:42:10 +00:00
|
|
|
}
|
2016-07-20 23:16:28 +00:00
|
|
|
|
2016-11-29 20:55:31 +00:00
|
|
|
input {
|
|
|
|
background: transparent;
|
|
|
|
height: @line-height-sm;
|
|
|
|
}
|
|
|
|
|
2016-11-22 19:42:10 +00:00
|
|
|
& > * {
|
|
|
|
padding: 0 @padding-sm;
|
2016-05-01 19:56:30 +00:00
|
|
|
|
2016-11-22 19:42:10 +00:00
|
|
|
&:first-child {
|
|
|
|
padding-left: @padding-md;
|
|
|
|
}
|
2016-07-20 23:16:28 +00:00
|
|
|
|
2016-11-22 19:42:10 +00:00
|
|
|
&:last-child {
|
|
|
|
padding-right: @padding-md;
|
2016-05-01 19:56:30 +00:00
|
|
|
}
|
2016-11-22 19:42:10 +00:00
|
|
|
}
|
2016-05-01 19:56:30 +00:00
|
|
|
|
2016-11-23 19:33:24 +00:00
|
|
|
& > button,
|
|
|
|
.dropdown > button {
|
2016-11-22 19:42:10 +00:00
|
|
|
color: @hl;
|
2016-05-01 19:56:30 +00:00
|
|
|
|
2016-11-22 19:42:10 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2016-05-01 19:56:30 +00:00
|
|
|
|
2016-11-23 19:33:24 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2016-11-22 19:44:08 +00:00
|
|
|
color: inherit;
|
2016-05-01 19:56:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|