insomnia/app/ui/css/components/urlbar.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

67 lines
1.1 KiB
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;
}
input {
display: block;
width: 100%;
height: 100%;
min-width: 0;
}
form {
width: 100%;
display: flex;
flex-direction: row;
}
.urlbar__send-btn,
& > .dropdown {
height: 100%;
}
button:hover {
background-color: @hl-xs;
}
& > .dropdown > button {
padding-left: @padding-md;
padding-right: @padding-md / 2;
}
& > *:nth-child(2) {
padding-left: @padding-md / 2;
}
}