insomnia/app/ui/css/components/request-url-bar.less
Gregory Schier 56a86168c4 Nunjucks Variable Editor Modal (#110)
* Fixed duplication kve bug

* Some minor css

* Fix modal refs

* Got variable modal showing

* A bit more

* Errors and debounced render

* Finished naive editors

* Some key value editor fixes

* Yet even more one-line fixes

* Added some transitions

* Small fixes

* Added key flattening util
2017-03-08 22:23:23 -08:00

60 lines
994 B
Plaintext

@import '../constants/colors';
@import '../constants/dimensions';
.urlbar {
width: 100%;
display: flex;
flex-direction: row;
align-items: stretch;
align-self: stretch;
& > .dropdown > button {
height: 100%;
min-width: 4.5em;
display: flex;
justify-content: space-between;
// Pad the method name on the right
& > *:first-child {
padding-left: 0.5em;
}
// Make everything the same height
&,
& > i.fa {
line-height: @line-height-sm;
}
}
.urlbar__send-btn {
padding-right: @padding-md;
padding-left: @padding-md;
min-width: 5em;
text-align: center;
}
form {
width: 100%;
display: flex;
flex-direction: row;
* {
font-size: @font-size-md;
}
}
.urlbar__send-btn,
& > .dropdown {
height: 100%;
}
button:focus,
button:hover {
background-color: @hl-xs;
}
& > .dropdown > button {
padding-left: @padding-md;
padding-right: @padding-md / 2;
}
}