insomnia/app/ui/css/components/keyvalueeditor.less
Gregory Schier d89aa525da Workspace Settings (#66)
* Started on workspace settings modal

* Added keyboard shortcut for workspace settings

* More work on workspace settings

* Actually use client certificates

* Only add cmd+w on mac closes #64
2016-11-29 12:55:31 -08:00

58 lines
1.0 KiB
Plaintext

@import '../constants/dimensions';
@import '../constants/colors';
.key-value-editor {
padding: @padding-md 0;
.key-value-editor__label {
padding: 0 @padding-md;
opacity: 0.5;
font-size: @font-size-sm;
}
.key-value-editor__row {
display: grid;
grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr) auto auto auto;
grid-template-rows: auto;
padding-bottom: @padding-sm;
&.key-value-editor__row--disabled input,
&.key-value-editor__row--disabled button {
text-decoration: line-through;
color: @hl-xxl;
}
input {
background: transparent;
height: @line-height-sm;
}
& > * {
padding: 0 @padding-sm;
&:first-child {
padding-left: @padding-md;
}
&:last-child {
padding-right: @padding-md;
}
}
& > button,
.dropdown > button {
color: @hl;
&:hover,
&:focus {
background: transparent;
}
&:hover,
&:focus {
color: inherit;
}
}
}
}