@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; } } .dropdown__inner { border-radius: 0; font-size: @font-size-md; padding: 0; &::before { content: '\25cf'; color: inherit; font-weight: bold; position: relative; font-size: 1.2em; -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1); } } .dropdown__text { color: @hl; padding-left: @padding-sm; } input { min-width: 0; } form button { padding-right: @padding-md; padding-left: @padding-md; } .form-control { width: 100%; height: 100%; display: inline-block; } form { width: 100%; display: flex; flex-direction: row; } form button, & > .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; } }