2016-05-01 19:56:30 +00:00
|
|
|
@import '../constants/colors';
|
|
|
|
@import '../constants/dimensions';
|
|
|
|
|
|
|
|
.urlbar {
|
|
|
|
width: 100%;
|
2016-09-10 01:51:49 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2016-05-01 19:56:30 +00:00
|
|
|
align-items: stretch;
|
|
|
|
align-self: stretch;
|
|
|
|
|
|
|
|
& > .dropdown > button {
|
|
|
|
height: 100%;
|
2016-07-20 21:15:11 +00:00
|
|
|
min-width: 4.5em;
|
|
|
|
|
|
|
|
// Need a div inside the button because we can't display:grid buttons
|
|
|
|
& > div {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
align-content: center;
|
|
|
|
|
|
|
|
// Pad the method name on the right
|
|
|
|
& > *:first-child {
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Make everything the same height
|
|
|
|
&,
|
|
|
|
& > i.fa {
|
2016-08-29 17:58:59 +00:00
|
|
|
line-height: @line-height-sm;
|
2016-07-20 21:15:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown .tag {
|
|
|
|
border-radius: 0;
|
2016-08-29 17:58:59 +00:00
|
|
|
font-size: @font-size-md;
|
2016-07-20 21:15:11 +00:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '\25cf';
|
|
|
|
font-weight: bold;
|
|
|
|
position: relative;
|
|
|
|
font-size: 1.2em;
|
|
|
|
-webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag__inner {
|
2016-08-29 17:58:59 +00:00
|
|
|
color: @hl;
|
|
|
|
padding-left: @padding-sm;
|
2016-07-20 21:15:11 +00:00
|
|
|
}
|
2016-05-01 19:56:30 +00:00
|
|
|
}
|
|
|
|
|
2016-09-10 01:51:49 +00:00
|
|
|
input {
|
|
|
|
min-width: 0;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
|
2016-09-10 01:51:49 +00:00
|
|
|
.urlbar__send-button {
|
2016-08-29 17:58:59 +00:00
|
|
|
padding-right: @padding-md;
|
|
|
|
padding-left: @padding-md;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
|
2016-09-10 01:51:49 +00:00
|
|
|
.form-control {
|
|
|
|
width: 100%;
|
2016-08-15 17:04:36 +00:00
|
|
|
height: 100%;
|
2016-09-10 01:51:49 +00:00
|
|
|
display: inline-block;
|
2016-08-15 17:04:36 +00:00
|
|
|
}
|
|
|
|
|
2016-09-10 01:51:49 +00:00
|
|
|
.urlbar__send-button,
|
2016-05-01 19:56:30 +00:00
|
|
|
& > .dropdown {
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&:hover {
|
2016-08-29 17:58:59 +00:00
|
|
|
background-color: @hl-xs;
|
2016-05-01 19:56:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > *:first-child {
|
2016-08-29 17:58:59 +00:00
|
|
|
padding-left: @padding-md;
|
|
|
|
padding-right: @padding-md / 2;
|
2016-07-09 04:49:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& > *:nth-child(2) {
|
2016-08-29 17:58:59 +00:00
|
|
|
padding-left: @padding-md / 2;
|
2016-05-01 19:56:30 +00:00
|
|
|
}
|
|
|
|
}
|