mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
.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: var(--height-nav);
|
|
}
|
|
}
|
|
|
|
.urlbar__send-btn {
|
|
padding-right: var(--padding-md);
|
|
padding-left: var(--padding-md);
|
|
margin-left: 0.75em;
|
|
min-width: 5em;
|
|
text-align: center;
|
|
background: var(--color-surprise);
|
|
color: var(--color-font-surprise);
|
|
}
|
|
|
|
form {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-left: var(--padding-xxs);
|
|
|
|
* {
|
|
font-size: var(--font-size-md);
|
|
}
|
|
}
|
|
|
|
.urlbar__send-btn,
|
|
& > .dropdown {
|
|
height: 100%;
|
|
}
|
|
|
|
button:focus,
|
|
button:hover {
|
|
filter: brightness(0.8);
|
|
}
|
|
|
|
& > .dropdown > button {
|
|
padding-left: var(--padding-md);
|
|
padding-right: calc(var(--padding-md) / 2);
|
|
}
|
|
}
|