@mixin entry() {
  entry {
    padding: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: gtkshade($borders, 0.9);
    border-right-color: gtkshade($light_shadow, 0.95);
    border-bottom-color: gtkshade($light_shadow, 0.95);
    background-color: $base_color;
    box-shadow: inset 0 0 0 1px gtkshade($bg_color, 0.65), inset -1px -1px gtkshade($bg_color, 1.02);
    color: $text_color;
    caret-color: currentColor;

    &:active, &:focus {
      box-shadow: inset 0 0 0 1px #0000dd;
    }

    &:selected, &:selected:focus, selection, selection:focus {
      color: $selected_fg_color;
      background-color: $selected_bg_color;
    }

    &:disabled {
      color: $disabled_text_color;

      &:backdrop {
        color: $unfocused_disabled_fg_color;
        border-color: $unfocused_borders;
      }
    }

    &:backdrop {
      color: $unfocused_fg_color;
      background-color: $unfocused_base_color;
    }

    > image {
      &.left {
        padding-right: 5px;
      }
      
      &.right {
        padding-left: 5px;
      }
    }

    progress {
      margin: -4px -4px;
      border-width: 0 0 2px;
      border-radius: 0;
      border-style: solid;
      border-color: #3196ff;
      background-color: transparent;
    }

    &.flat, &.flat:focus {
      min-height: 0;
      padding: 3px;
      border-radius: 0;
      box-shadow: none;
      background-image: none;
      border-color: transparent;
    }

    &.search {
      border-radius: 40px;
    }
    
    // gedit search entry
    entry {
      background-color: transparent;
      box-shadow: none;
    }
  }
}
